search for: io_port

Displaying 20 results from an estimated 29 matches for "io_port".

Did you mean: io_ports
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote: > From: Hannes Reinecke <hare at suse.com> > > Add a new field 'nr_reserved_cmds' to the SCSI host template to > instruct the block layer to set aside a tag space for reserved > commands. > > Signed-off-by: Hannes Reinecke <hare at suse.com> > --- > drivers/scsi/scsi_lib.c | 1 + >
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote: > From: Hannes Reinecke <hare at suse.com> > > Add a new field 'nr_reserved_cmds' to the SCSI host template to > instruct the block layer to set aside a tag space for reserved > commands. > > Signed-off-by: Hannes Reinecke <hare at suse.com> > --- > drivers/scsi/scsi_lib.c | 1 + >
2012 Feb 01
0
[PATCH 1/2] virtio-pci: add setup_vqs flag in vp_try_to_find_vqs
...u) 12 Jan 2012 [09:20:06], zanghongyong at huawei.com wrote: > From: Hongyong Zang <zanghongyong at huawei.com> > > changes in vp_try_to_find_vqs: > Virtio-serial's probe() calls it to request irqs and setup vqs of port0 and > controls; add_port() calls it to set up vqs of io_port. > it will not create virtqueue if the name is null. > > Signed-off-by: Hongyong Zang <zanghongyong at huawei.com> > --- > drivers/virtio/virtio_pci.c | 17 +++++++++++++---- > 1 files changed, 13 insertions(+), 4 deletions(-) > > diff --git a/drivers/virtio/virti...
2012 Feb 01
0
[PATCH 1/2] virtio-pci: add setup_vqs flag in vp_try_to_find_vqs
...u) 12 Jan 2012 [09:20:06], zanghongyong at huawei.com wrote: > From: Hongyong Zang <zanghongyong at huawei.com> > > changes in vp_try_to_find_vqs: > Virtio-serial's probe() calls it to request irqs and setup vqs of port0 and > controls; add_port() calls it to set up vqs of io_port. > it will not create virtqueue if the name is null. > > Signed-off-by: Hongyong Zang <zanghongyong at huawei.com> > --- > drivers/virtio/virtio_pci.c | 17 +++++++++++++---- > 1 files changed, 13 insertions(+), 4 deletions(-) > > diff --git a/drivers/virtio/virti...
2013 Apr 08
0
[PATCH 0/2] virtio-serial: set up vqs on demand
On (Thu) 12 Jan 2012 [09:20:05], zanghongyong at huawei.com wrote: > From: Hongyong Zang <zanghongyong at huawei.com> > > Virtio-serial set up (max_ports+1)*2 vqs when device probes, but may not all > io_ports are used. > These patches create vqs of port0 and control port when probing the device, then > create io-vqs when called add_port(). Hi, Can you resurrect this series? I think last time we were waiting for a v2, but looks like it got lost. Let me know if you're not interested anymor...
2013 Apr 08
0
[PATCH 0/2] virtio-serial: set up vqs on demand
On (Thu) 12 Jan 2012 [09:20:05], zanghongyong at huawei.com wrote: > From: Hongyong Zang <zanghongyong at huawei.com> > > Virtio-serial set up (max_ports+1)*2 vqs when device probes, but may not all > io_ports are used. > These patches create vqs of port0 and control port when probing the device, then > create io-vqs when called add_port(). Hi, Can you resurrect this series? I think last time we were waiting for a v2, but looks like it got lost. Let me know if you're not interested anymor...
2020 Mar 11
0
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
...number of commands; check eg. hpsa: static int hpsa_scsi_host_alloc(struct ctlr_info *h) { struct Scsi_Host *sh; sh = scsi_host_alloc(&hpsa_driver_template, sizeof(h)); if (sh == NULL) { dev_err(&h->pdev->dev, "scsi_host_alloc failed\n"); return -ENOMEM; } sh->io_port = 0; sh->n_io_port = 0; sh->this_id = -1; sh->max_channel = 3; sh->max_cmd_len = MAX_COMMAND_SIZE; sh->max_lun = HPSA_MAX_LUN; sh->max_id = HPSA_MAX_LUN; sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; sh->cmd_per_lun = sh->can_queue; So the idea of this pat...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c 2006-03-12 19:49:53.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/apic.c 2006-03-12 19:57:42.000000000 -0800 @@ -39,6 +39,7 @@ #include <mach_apic.h> #include <mach_ipi.h> +#include <mach_apictimer.h> #include "io_ports.h" @@ -1322,7 +1323,7 @@ int __init APIC_init_uniprocessor (void) if (!skip_ioapic_setup && nr_ioapics) setup_IO_APIC(); #endif - setup_boot_APIC_clock(); + mach_setup_boot_local_clock(); return 0; } Index: linux-2.6.16-rc6/arch/i386/kernel/i8259.c =====================...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c 2006-03-12 19:49:53.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/apic.c 2006-03-12 19:57:42.000000000 -0800 @@ -39,6 +39,7 @@ #include <mach_apic.h> #include <mach_ipi.h> +#include <mach_apictimer.h> #include "io_ports.h" @@ -1322,7 +1323,7 @@ int __init APIC_init_uniprocessor (void) if (!skip_ioapic_setup && nr_ioapics) setup_IO_APIC(); #endif - setup_boot_APIC_clock(); + mach_setup_boot_local_clock(); return 0; } Index: linux-2.6.16-rc6/arch/i386/kernel/i8259.c =====================...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...linux/clocksource.h> +#include <linux/clockchips.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> +#include <asm/arch_hooks.h> +#include <asm/apicdef.h> +#include <asm/apic.h> +#include <asm/timer.h> + +#include <irq_vectors.h> +#include "io_ports.h" + +#define VMI_ONESHOT (VMI_ALARM_IS_ONESHOT | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) +#define VMI_PERIODIC (VMI_ALARM_IS_PERIODIC | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) + +static DEFINE_PER_CPU(struct clock_event_device, local_events); + +static inline u32 vmi_counter(u32 flags)...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...linux/clocksource.h> +#include <linux/clockchips.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> +#include <asm/arch_hooks.h> +#include <asm/apicdef.h> +#include <asm/apic.h> +#include <asm/timer.h> + +#include <irq_vectors.h> +#include "io_ports.h" + +#define VMI_ONESHOT (VMI_ALARM_IS_ONESHOT | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) +#define VMI_PERIODIC (VMI_ALARM_IS_PERIODIC | VMI_CYCLES_REAL | vmi_get_alarm_wiring()) + +static DEFINE_PER_CPU(struct clock_event_device, local_events); + +static inline u32 vmi_counter(u32 flags)...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...386/kernel/apic.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/apic.c 2006-03-12 19:57:53.000000000 -0800 @@ -40,6 +40,7 @@ #include <mach_apic.h> #include <mach_ipi.h> #include <mach_apictimer.h> +#include <mach_idletimer.h> #include "io_ports.h" @@ -1193,6 +1194,7 @@ fastcall void smp_apic_timer_interrupt(s * interrupt lock, which is the WrongThing (tm) to do. */ irq_enter(); + restart_hz_timer(regs); smp_local_timer_interrupt(regs); irq_exit(); } @@ -1242,6 +1244,7 @@ fastcall void smp_spurious_interrupt(str unsi...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...386/kernel/apic.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/apic.c 2006-03-12 19:57:53.000000000 -0800 @@ -40,6 +40,7 @@ #include <mach_apic.h> #include <mach_ipi.h> #include <mach_apictimer.h> +#include <mach_idletimer.h> #include "io_ports.h" @@ -1193,6 +1194,7 @@ fastcall void smp_apic_timer_interrupt(s * interrupt lock, which is the WrongThing (tm) to do. */ irq_enter(); + restart_hz_timer(regs); smp_local_timer_interrupt(regs); irq_exit(); } @@ -1242,6 +1244,7 @@ fastcall void smp_spurious_interrupt(str unsi...
2007 Apr 18
2
refactoring io_apic.c
...t; +#include <linux/sysdev.h> + +#include <asm/atomic.h> +#include <asm/smp.h> +#include <asm/mtrr.h> +#include <asm/mpspec.h> +#include <asm/desc.h> +#include <asm/arch_hooks.h> +#include <asm/hpet.h> + +#include <mach_apic.h> + +#include "io_ports.h" + +void disconnect_bsp_APIC(void) +{ + if (pic_mode) { + /* + * Put the board back into PIC mode (has an effect + * only on certain older boards). Note that APIC + * interrupts, including IPIs, won't work beyond + * this point! The only exception are INIT IPIs. + */ + api...
2007 Apr 18
2
refactoring io_apic.c
...t; +#include <linux/sysdev.h> + +#include <asm/atomic.h> +#include <asm/smp.h> +#include <asm/mtrr.h> +#include <asm/mpspec.h> +#include <asm/desc.h> +#include <asm/arch_hooks.h> +#include <asm/hpet.h> + +#include <mach_apic.h> + +#include "io_ports.h" + +void disconnect_bsp_APIC(void) +{ + if (pic_mode) { + /* + * Put the board back into PIC mode (has an effect + * only on certain older boards). Note that APIC + * interrupts, including IPIs, won't work beyond + * this point! The only exception are INIT IPIs. + */ + api...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...sc.c =================================================================== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:48.000000000 -0800 @@ -22,6 +22,7 @@ #include "io_ports.h" #include "mach_timer.h" +#include "mach_schedclock.h" #include <asm/hpet.h> #include <asm/i8253.h> @@ -36,6 +37,7 @@ static inline void cpufreq_delayed_get(v int tsc_disable __devinitdata = 0; +int use_sched_clock_cycles; static int use_tsc; /* N...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...sc.c =================================================================== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:48.000000000 -0800 @@ -22,6 +22,7 @@ #include "io_ports.h" #include "mach_timer.h" +#include "mach_schedclock.h" #include <asm/hpet.h> #include <asm/i8253.h> @@ -36,6 +37,7 @@ static inline void cpufreq_delayed_get(v int tsc_disable __devinitdata = 0; +int use_sched_clock_cycles; static int use_tsc; /* N...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...source.h> + +#include <asm/timer.h> +#include <asm/io.h> +#include <asm/apic.h> +#include <asm/div64.h> +#include <asm/timer.h> +#include <asm/desc.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> + +#include <mach_timer.h> +#include <io_ports.h> + +#ifdef CONFIG_X86_LOCAL_APIC +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT +#else +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 +#endif + +/* Cached VMI operations */ +struct vmi_timer_ops vmi_timer_ops; + +#ifdef CONFIG_NO_IDLE_HZ + +/* /proc/sys/kernel/hz_timer state. */ +int sysctl...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...source.h> + +#include <asm/timer.h> +#include <asm/io.h> +#include <asm/apic.h> +#include <asm/div64.h> +#include <asm/timer.h> +#include <asm/desc.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> + +#include <mach_timer.h> +#include <io_ports.h> + +#ifdef CONFIG_X86_LOCAL_APIC +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT +#else +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 +#endif + +/* Cached VMI operations */ +struct vmi_timer_ops vmi_timer_ops; + +#ifdef CONFIG_NO_IDLE_HZ + +/* /proc/sys/kernel/hz_timer state. */ +int sysctl...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...source.h> + +#include <asm/timer.h> +#include <asm/io.h> +#include <asm/apic.h> +#include <asm/div64.h> +#include <asm/timer.h> +#include <asm/desc.h> + +#include <asm/vmi.h> +#include <asm/vmi_time.h> + +#include <mach_timer.h> +#include <io_ports.h> + +#ifdef CONFIG_X86_LOCAL_APIC +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT +#else +#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 +#endif + +/* Cached VMI operations */ +struct vmi_timer_ops vmi_timer_ops; + +#ifdef CONFIG_NO_IDLE_HZ + +/* /proc/sys/kernel/hz_timer state. */ +int sysctl...