2012-02-14 17:13:09

by Tomas Henzl

[permalink] [raw]
Subject: [PATCH] cciss: add some older controllers to the kdump blacklist

Some other older controllers also do have problems to perform a kdump.
Adding controllers to this list means that the driver will signal
this non-ability via a resettable flag correctly.
The unsupported list was created after a consultation with HP.

Signed-off-by: Tomas Henzl <[email protected]>


diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 2047978..e394f2c 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -585,6 +585,12 @@ static u32 unresettable_controller[] = {
0x40800E11, /* Smart Array 5i */
0x409C0E11, /* Smart Array 6400 */
0x409D0E11, /* Smart Array 6400 EM */
+ 0x40700E11, /* Smart Array 5300 */
+ 0x40820E11, /* Smart Array 532 */
+ 0x40830E11, /* Smart Array 5312 */
+ 0x409A0E11, /* Smart Array 641 */
+ 0x409B0E11, /* Smart Array 642 */
+ 0x40910E11, /* Smart Array 6i */
};

/* List of controllers which cannot even be soft reset */
@@ -592,6 +598,12 @@ static u32 soft_unresettable_controller[] = {
0x40800E11, /* Smart Array 5i */
0x409C0E11, /* Smart Array 6400 */
0x409D0E11, /* Smart Array 6400 EM */
+ 0x40700E11, /* Smart Array 5300 */
+ 0x40820E11, /* Smart Array 532 */
+ 0x40830E11, /* Smart Array 5312 */
+ 0x409A0E11, /* Smart Array 641 */
+ 0x409B0E11, /* Smart Array 642 */
+ 0x40910E11, /* Smart Array 6i */
};

static int ctlr_is_hard_resettable(u32 board_id)


2012-02-14 17:33:51

by Mike Miller

[permalink] [raw]
Subject: Re: [PATCH] cciss: add some older controllers to the kdump blacklist

On 02/14/2012 11:12 AM, Tomas Henzl wrote:
> Some other older controllers also do have problems to perform a kdump.
> Adding controllers to this list means that the driver will signal
> this non-ability via a resettable flag correctly.
> The unsupported list was created after a consultation with HP.
>
> Signed-off-by: Tomas Henzl<[email protected]>

Acked-by: Mike Miller <[email protected]>

>
>
> diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
> index 2047978..e394f2c 100644
> --- a/drivers/block/cciss.c
> +++ b/drivers/block/cciss.c
> @@ -585,6 +585,12 @@ static u32 unresettable_controller[] = {
> 0x40800E11, /* Smart Array 5i */
> 0x409C0E11, /* Smart Array 6400 */
> 0x409D0E11, /* Smart Array 6400 EM */
> + 0x40700E11, /* Smart Array 5300 */
> + 0x40820E11, /* Smart Array 532 */
> + 0x40830E11, /* Smart Array 5312 */
> + 0x409A0E11, /* Smart Array 641 */
> + 0x409B0E11, /* Smart Array 642 */
> + 0x40910E11, /* Smart Array 6i */
> };
>
> /* List of controllers which cannot even be soft reset */
> @@ -592,6 +598,12 @@ static u32 soft_unresettable_controller[] = {
> 0x40800E11, /* Smart Array 5i */
> 0x409C0E11, /* Smart Array 6400 */
> 0x409D0E11, /* Smart Array 6400 EM */
> + 0x40700E11, /* Smart Array 5300 */
> + 0x40820E11, /* Smart Array 532 */
> + 0x40830E11, /* Smart Array 5312 */
> + 0x409A0E11, /* Smart Array 641 */
> + 0x409B0E11, /* Smart Array 642 */
> + 0x40910E11, /* Smart Array 6i */
> };
>
> static int ctlr_is_hard_resettable(u32 board_id)
>
>