Commit 744353b6 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe

skd: Change default interrupt mode to MSI-X

Since MSI support on some motherboards is unreliable, change the
default interrupt mode from MSI to MSI-X. This patch avoids that
the following message appears sporadially in the kernel logs of
my test setup:

do_IRQ: 3.193 No irq handler for vector
Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f2fe4459
...@@ -310,7 +310,7 @@ static inline void skd_reg_write64(struct skd_device *skdev, u64 val, ...@@ -310,7 +310,7 @@ static inline void skd_reg_write64(struct skd_device *skdev, u64 val,
} }
#define SKD_IRQ_DEFAULT SKD_IRQ_MSI #define SKD_IRQ_DEFAULT SKD_IRQ_MSIX
static int skd_isr_type = SKD_IRQ_DEFAULT; static int skd_isr_type = SKD_IRQ_DEFAULT;
module_param(skd_isr_type, int, 0444); module_param(skd_isr_type, int, 0444);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment