[PATCH 2/4] aic7xxx: fix aicasm out-of-tree build

2017-07-28 Thread Michał Mirosław
ers/scsi/aic7xxx/' failed make[2]: *** [drivers/scsi/aic7xxx/] Error 2 [...] Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/Makefile| 36 ++-- drivers/scsi/aic7xxx/aicasm/Makefile | 3 ++- 2 files changed, 20 insertions(+), 19 deletions(-) dif

[PATCH 4/4] aic7xxx: printk() lines unbroken

2017-07-28 Thread Michał Mirosław
Current code is not SMP-friendly and since now each printk() call generates a separate line in the log, the output is mostly unreadable. Make it better formatted. Signed-off-by: Michał Mirosław --- drivers/scsi/Kconfig | 3 +- drivers/scsi/aic7xxx/Kconfig

[PATCH 1/4] aic7xxx: remove empty function

2017-07-28 Thread Michał Mirosław
ahc_platform_dump_card_state() does nothing. Remove it. Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/aic7xxx_core.c | 1 - drivers/scsi/aic7xxx/aic7xxx_osm.c | 5 - drivers/scsi/aic7xxx/aic7xxx_osm.h | 1 - 3 files changed, 7 deletions(-) diff --git a/drivers/scsi/aic7xxx

[PATCH 0/4] aic7xxx: fix debugging printks

2017-07-28 Thread Michał Mirosław
This series aims to clean up printing of card state after a problem event. Now the output is pretty much unreadable, as it is spread over a lot of single-word lines. This series compiles (on x86), but is not tested, yet. Best Regards, Michał Mirosław --- Michał Mirosław (4): aic7xxx: remove

[PATCH 3/4] aic7xxx: regenerate firmware files

2017-07-28 Thread Michał Mirosław
Regenerate firmware files to make cleaner base for following fix. This removes some unused definitions and reorders some #defines, but the code remains the same. Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/aic79xx_reg.h_shipped | 1267 -- drivers/scsi

[PATCH v2 3/5] aic7xxx: remove rules for shipped files

2017-08-03 Thread Michał Mirosław
There are Kbuild rules for that already. Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/aic7xxx/Makefile b/drivers/scsi/aic7xxx/Makefile index b03ba0df7a83..1a5509d40f8a 100644 --- a/drivers/scsi/aic7xxx

[PATCH v2 4/5] aic7xxx: regenerate firmware files

2017-08-03 Thread Michał Mirosław
Regenerate firmware files to make cleaner base for following fix. This removes some unused definitions and reorders some #defines, but the code remains the same. Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/aic79xx_reg.h_shipped | 1267 -- drivers/scsi

[PATCH v2 2/5] aic7xxx: fix firmware build deps

2017-08-03 Thread Michał Mirosław
We need to override Kbuild rules for copying shipped files, otherwise aic7xxx_reg.h and aic7xxx_reg_print.c will be ovewritten by old versions. Fixes: 516b7db593f3a541e2e98867575c3c697f41a247 Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/Makefile | 6 -- 1 file changed, 4

[PATCH v2 0/4] aic7xxx: fix debugging printks

2017-08-03 Thread Michał Mirosław
build with O=path") Michał Mirosław (5): aic7xxx: remove empty function aic7xxx: fix firmware build deps aic7xxx: remove rules for shipped files aic7xxx: regenerate firmware files aic7[9x]xx: printk() lines unbroken drivers/scsi/Kconfig |3 +- dr

[PATCH v2 1/5] aic7xxx: remove empty function

2017-08-03 Thread Michał Mirosław
ahc_platform_dump_card_state() does nothing. Remove it. Signed-off-by: Michał Mirosław --- drivers/scsi/aic7xxx/aic7xxx_core.c | 1 - drivers/scsi/aic7xxx/aic7xxx_osm.c | 5 - drivers/scsi/aic7xxx/aic7xxx_osm.h | 1 - 3 files changed, 7 deletions(-) diff --git a/drivers/scsi/aic7xxx

[PATCH v2 5/5] aic7[9x]xx: printk() lines unbroken

2017-08-03 Thread Michał Mirosław
Current code is not SMP-friendly and since now each printk() call generates a separate line in the log, the output is mostly unreadable. Make it better formatted. Signed-off-by: Michał Mirosław --- drivers/scsi/Kconfig | 3 +- drivers/scsi/aic7xxx/Kconfig

Re: [PATCH v2 3/5] aic7xxx: remove rules for shipped files

2017-08-09 Thread Michał Mirosław
On Fri, Aug 04, 2017 at 01:28:09AM +0200, Michał Mirosław wrote: [...] > --- a/drivers/scsi/aic7xxx/Makefile > +++ b/drivers/scsi/aic7xxx/Makefile > @@ -61,8 +61,6 @@ $(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg > $(obj)/aicasm/aicasm [...] > -else > -$(obj)/a

[RFT PATCH v3 1/1] aic7xxx: printk() lines unbroken (WIP)

2017-08-09 Thread Michał Mirosław
Current code is not SMP-friendly and since now each printk() call generates a separate line in the log, the output is mostly unreadable. This patch makes printed lines consistent and unbroken. It is necessarily big since it touches almost every printk() in the driver. Signed-off-by: Michał

[PATCH] scsi: sd: make disk spin-up quieter

2017-08-29 Thread Michał Mirosław
Currently disk spin-up is generating one line per second. Make it less verbose by setting DEBUG level for progress indicators. Add device id prefixes while at it. Signed-off-by: Michał Mirosław --- drivers/scsi/sd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH] scsi: sd: add missing KERN_CONT for disk spin-up

2017-11-24 Thread Michał Mirosław
KERN_CONT is now required for continued printks(). Add it. Signed-off-by: Michał Mirosław --- drivers/scsi/sd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index d175c5c5ccf8..9743b5f0800d 100644 --- a/drivers/scsi/sd.c +++ b