Re: [S390] cio: fix stsch_reset.

2007-01-08 Thread Michael Holzheu
[EMAIL PROTECTED] wrote on 12/31/2006 01:22:03 PM: > On Sun, Dec 31, 2006 at 01:31:43AM -0500, Chuck Ebbert wrote: > > In-Reply-To: <[EMAIL PROTECTED]> > > > > On Thu, 28 Dec 2006 11:39:25 +0100, Martin Schwidefsky wrote: > > > > > @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( > >

Re: [S390] cio: fix stsch_reset.

2006-12-31 Thread Heiko Carstens
On Sun, Dec 31, 2006 at 01:31:43AM -0500, Chuck Ebbert wrote: > In-Reply-To: <[EMAIL PROTECTED]> > > On Thu, 28 Dec 2006 11:39:25 +0100, Martin Schwidefsky wrote: > > > @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( > > static int stsch_reset(struct subchannel_id schid, volatile

Re: [S390] cio: fix stsch_reset.

2006-12-31 Thread Martin Schwidefsky
On Sun, 2006-12-31 at 01:31 -0500, Chuck Ebbert wrote: > > @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( > > static int stsch_reset(struct subchannel_id schid, volatile struct schib > > *addr) > > { > > int rc; > > + register struct subchannel_id reg1 asm ("1") = schid

Re: [S390] cio: fix stsch_reset.

2006-12-30 Thread Chuck Ebbert
In-Reply-To: <[EMAIL PROTECTED]> On Thu, 28 Dec 2006 11:39:25 +0100, Martin Schwidefsky wrote: > @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( > static int stsch_reset(struct subchannel_id schid, volatile struct schib > *addr) > { > int rc; > + register struct subcha

[S390] cio: fix stsch_reset.

2006-12-28 Thread Martin Schwidefsky
From: Michael Holzheu <[EMAIL PROTECTED]> [S390] cio: fix stsch_reset. Copy inline assembly of stsch and add "memory" to clobber list in order to prevent gcc from optimizing away the checking of the global variable "pgm_check_occured". Signed-off-by: Michael Holzheu