smartpqi: add module parameter disable_managed_interrupts
PATCH v4 1/1 smartpqi: add module parameter disable_managed_interrupts
Add in a description for module parameter disable_managed_interrupts.
This module parameter allows users to disable automatic irq affinity setting by turning off the PCI_IRQ_AFFINITY flag when requesting interrupts.
When the flag PCI_IRQ_AFFINITY is set, users cannot change the interrupt affinity through /proc/irq/<irq#>/*affinity*
Some customers would like to change interrupt affinity based on their requirements.
--- man4/smartpqi.4 | 7 +++++++ 1 file changed, 7 insertions(+)
man4/smartpqi.4 +7 -0
@@ -16,6 +16,7 @@ smartpqi \- Microchip Smart Storage SCSI driver .RB [ lockup_action= { none | reboot | panic }] .RB [ expose_ld_first= { 0 | 1 }] .RB [ hide_vsep= { 0 | 1 }] +.RB [ disable_managed_interrupts= { 0 | 1 }] .YS .SH DESCRIPTION .B smartpqi
@@ -100,6 +101,12 @@ The default value is 0 (physical devices exposed first). .BR hide_vsep= { 0 | 1 } This option disables exposure of the virtual SEP to the OS. The default value is 0 (virtual SEP is exposed). +.TP +.BR disable_managed_interrupts= { 0 | 1 } +Disables driver utilization of Linux kernel managed interrupts for +controllers. The managed interrupts feature automatically distributes +interrupts to all available CPUs and assigns SMP affinity. +The default value is 0 (managed interrupts enabled). .SH FILES .SS Device nodes Logical drives are accessed via the SCSI disk driver
Signature · 1 line
2.42.0.158.g94e83dcf5b
PATCH 1/1 smartpqi: add sg entry to see_also
The sg driver can interface with smartpqi. Add this into the SEE ALSO section of the man page.
--- man4/smartpqi.4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
man4/smartpqi.4 +2 -1
@@ -462,7 +462,8 @@ which can be found by searching for the specific controller at .BR cciss (4), .BR hpsa (4), .BR sd (4), -.BR st (4) +.BR st (4), +.BR sg (4) .PP .I Documentation/ABI/testing/sysfs\-bus\-pci\-devices\-cciss in the Linux kernel source tree.
Signature · 1 line
2.42.0.158.g94e83dcf5b
Alejandro Colomar
maintainerRe: [PATCH] smartpqi: add sg entry to see_also
Hi Don,
Quoted 8 lines · Don Brace
The sg driver can interface with smartpqi. Add this into the SEE ALSO section of the man page.
Reviewed-by Scott Benesh <[email protected]>Reviewed-by Scott Teel <[email protected]>Reviewed-by Mike McGowen <[email protected]>Reviewed-by Kevin Barnett <[email protected]>Signed-off-by Don Brace <[email protected]>
Patch applied.
Thanks,
Alex
Quoted 21 lines
--- man4/smartpqi.4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)man4/smartpqi.4 +2
-1@@ -462,7 +462,8 @@ which can be found by searching for the specific controller at .BR cciss (4), .BR hpsa (4), .BR sd (4), -.BR st (4) +.BR st (4), +.BR sg (4) .PP .I Documentation/ABI/testing/sysfs\-bus\-pci\-devices\-cciss in the Linux kernel source tree.Signature · 1 line
2.42.0.158.g94e83dcf5b
Alejandro Colomar
maintainerQuoted 9 lines · Don Brace
Add in a description for module parameter
disable_managed_interrupts.This module parameter allows users to disable automatic irq affinity setting by turning off the
PCI_IRQ_AFFINITYflag when requesting interrupts.When the flag
PCI_IRQ_AFFINITYis set, users cannot change the interrupt affinity through /proc/irq/<irq#>/*affinity*
Quoted 8 lines
Some customers would like to change interrupt affinity based on their requirements.
Reviewed-by Scott Benesh <[email protected]>Reviewed-by Scott Teel <[email protected]>Reviewed-by Mike McGowen <[email protected]>Reviewed-by Kevin Barnett <[email protected]>Signed-off-by Don Brace <[email protected]>
Patch applied, Don.
Thanks,
Alex
Quoted 32 lines
--- man4/smartpqi.4 | 7 +++++++ 1 file changed, 7 insertions(+)man4/smartpqi.4 +7
-0@@ -16,6 +16,7 @@ smartpqi \- Microchip Smart Storage SCSI driver .RB [ lockup_action= { none | reboot | panic }] .RB [ expose_ld_first= { 0 | 1 }] .RB [ hide_vsep= { 0 | 1 }] +.RB [ disable_managed_interrupts= { 0 | 1 }] .YS .SH DESCRIPTION .B smartpqi@@ -100,6 +101,12 @@ The default value is 0 (physical devices exposed first). .BR hide_vsep= { 0 | 1 } This option disables exposure of the virtual SEP to the OS. The default value is 0 (virtual SEP is exposed). +.TP +.BR disable_managed_interrupts= { 0 | 1 } +Disables driver utilization of Linux kernel managed interrupts for +controllers. The managed interrupts feature automatically distributes +interrupts to all available CPUs and assigns SMP affinity. +The default value is 0 (managed interrupts enabled). .SH FILES .SS Device nodes Logical drives are accessed via the SCSI disk driverSignature · 1 line
2.42.0.158.g94e83dcf5b