Linux-parisc archive on lore.kernel.org
 help / Atom feed
* [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
@ 2019-01-07  9:56 Sergey Senozhatsky
  2019-01-08  7:44 ` Helge Deller
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Senozhatsky @ 2019-01-07  9:56 UTC (permalink / raw)
  To: James E . J . Bottomley, Helge Deller
  Cc: linux-parisc, linux-kernel, Sergey Senozhatsky

Use bust_spinlocks() function to set oops_in_progress.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
 arch/parisc/kernel/traps.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index 472a818e8c17..7e1ccafadf57 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -218,7 +218,7 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)
 		return;
 	}
 
-	oops_in_progress = 1;
+	bust_spinlocks(1);
 
 	oops_enter();
 
@@ -396,7 +396,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
 {
 	static DEFINE_SPINLOCK(terminate_lock);
 
-	oops_in_progress = 1;
+	bust_spinlocks(1);
 
 	set_eiem(0);
 	local_irq_disable();
-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
  2019-01-07  9:56 [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks() Sergey Senozhatsky
@ 2019-01-08  7:44 ` Helge Deller
  2019-01-09  5:39   ` Sergey Senozhatsky
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Deller @ 2019-01-08  7:44 UTC (permalink / raw)
  To: Sergey Senozhatsky, James E . J . Bottomley
  Cc: linux-parisc, linux-kernel, Sergey Senozhatsky

On 07.01.19 10:56, Sergey Senozhatsky wrote:
> Use bust_spinlocks() function to set oops_in_progress.
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

I've added this patch to the parisc for-next tree.

Thanks,
Helge


> ---
>  arch/parisc/kernel/traps.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
> index 472a818e8c17..7e1ccafadf57 100644
> --- a/arch/parisc/kernel/traps.c
> +++ b/arch/parisc/kernel/traps.c
> @@ -218,7 +218,7 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)
>  		return;
>  	}
>  
> -	oops_in_progress = 1;
> +	bust_spinlocks(1);
>  
>  	oops_enter();
>  
> @@ -396,7 +396,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
>  {
>  	static DEFINE_SPINLOCK(terminate_lock);
>  
> -	oops_in_progress = 1;
> +	bust_spinlocks(1);
>  
>  	set_eiem(0);
>  	local_irq_disable();
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
  2019-01-08  7:44 ` Helge Deller
@ 2019-01-09  5:39   ` Sergey Senozhatsky
  2019-01-09  5:53     ` Sergey Senozhatsky
  2019-01-09  7:16     ` Helge Deller
  0 siblings, 2 replies; 6+ messages in thread
From: Sergey Senozhatsky @ 2019-01-09  5:39 UTC (permalink / raw)
  To: Helge Deller, James Bottomley, James Bottomley
  Cc: Sergey Senozhatsky, James E . J . Bottomley, linux-parisc,
	linux-kernel, Sergey Senozhatsky

On (01/08/19 08:44), Helge Deller wrote:
> Date: Tue, 8 Jan 2019 08:44:19 +0100
> From: Helge Deller <deller@gmx.de>
> To: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, "James E . J .
>  Bottomley" <jejb@parisc-linux.org>
> Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey
>  Senozhatsky <sergey.senozhatsky@gmail.com>
> Subject: Re: [PATCH] parisc: replace oops_in_progress manipulation with
>  bust_spinlocks()
> Message-ID: <d09f4a9a-f966-80d7-01e1-5d92401b5d7e@gmx.de>
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
>  Thunderbird/60.4.0
> 
> On 07.01.19 10:56, Sergey Senozhatsky wrote:
> > Use bust_spinlocks() function to set oops_in_progress.
> > 
> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> 
> I've added this patch to the parisc for-next tree.

Thanks.

BTW,
    jejb at parisc-linux.org bounces. Shall it be replaced with
HansenPartnership.com email address?

---

diff --git a/MAINTAINERS b/MAINTAINERS
index 7fc7813cd9c2..86b174dbe506 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11511,7 +11511,7 @@ F:	Documentation/blockdev/paride.txt
 F:	drivers/block/paride/
 
 PARISC ARCHITECTURE
-M:	"James E.J. Bottomley" <jejb@parisc-linux.org>
+M:	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
 M:	Helge Deller <deller@gmx.de>
 L:	linux-parisc@vger.kernel.org
 W:	http://www.parisc-linux.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
  2019-01-09  5:39   ` Sergey Senozhatsky
@ 2019-01-09  5:53     ` Sergey Senozhatsky
  2019-01-09  7:16     ` Helge Deller
  1 sibling, 0 replies; 6+ messages in thread
From: Sergey Senozhatsky @ 2019-01-09  5:53 UTC (permalink / raw)
  To: Helge Deller, James Bottomley
  Cc: James Bottomley, James E . J . Bottomley, linux-parisc,
	linux-kernel, Sergey Senozhatsky, Sergey Senozhatsky

I didn't pay enough attention. Seems to be a temp problem
on parisc-linux.org side:

: There was a temporary problem delivering your message to jejb at parisc-linux.org.
:
: The response was:
:
: The recipient server did not accept our requests to connect.
: [mail.parisc-linux.org. 140.ZZZ.X.YY: generic::failed_precondition: connect error (0): error]

	-ss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
  2019-01-09  5:39   ` Sergey Senozhatsky
  2019-01-09  5:53     ` Sergey Senozhatsky
@ 2019-01-09  7:16     ` Helge Deller
  2019-01-09  7:56       ` Sergey Senozhatsky
  1 sibling, 1 reply; 6+ messages in thread
From: Helge Deller @ 2019-01-09  7:16 UTC (permalink / raw)
  To: Sergey Senozhatsky, James Bottomley, James Bottomley
  Cc: James E . J . Bottomley, linux-parisc, linux-kernel, Sergey Senozhatsky

On 09.01.19 06:39, Sergey Senozhatsky wrote:
> On (01/08/19 08:44), Helge Deller wrote:
>> Date: Tue, 8 Jan 2019 08:44:19 +0100
>> From: Helge Deller <deller@gmx.de>
>> To: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, "James E . J .
>>  Bottomley" <jejb@parisc-linux.org>
>> Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey
>>  Senozhatsky <sergey.senozhatsky@gmail.com>
>> Subject: Re: [PATCH] parisc: replace oops_in_progress manipulation with
>>  bust_spinlocks()
>> Message-ID: <d09f4a9a-f966-80d7-01e1-5d92401b5d7e@gmx.de>
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
>>  Thunderbird/60.4.0
>>
>> On 07.01.19 10:56, Sergey Senozhatsky wrote:
>>> Use bust_spinlocks() function to set oops_in_progress.
>>>
>>> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
>>
>> I've added this patch to the parisc for-next tree.
> 
> Thanks.
> 
> BTW,
>     jejb at parisc-linux.org bounces. Shall it be replaced with
> HansenPartnership.com email address?
> 
> ---
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 7fc7813cd9c2..86b174dbe506 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -11511,7 +11511,7 @@ F:	Documentation/blockdev/paride.txt
>  F:	drivers/block/paride/
>  
>  PARISC ARCHITECTURE
> -M:	"James E.J. Bottomley" <jejb@parisc-linux.org>
> +M:	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
>  M:	Helge Deller <deller@gmx.de>
>  L:	linux-parisc@vger.kernel.org
>  W:	http://www.parisc-linux.org/
> 

I prefer that change.
In my role as admin of the parisc-linux.org domain I plan to retire
all @parisc-linux.org email addresses soon anyway.

Helge

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()
  2019-01-09  7:16     ` Helge Deller
@ 2019-01-09  7:56       ` Sergey Senozhatsky
  0 siblings, 0 replies; 6+ messages in thread
From: Sergey Senozhatsky @ 2019-01-09  7:56 UTC (permalink / raw)
  To: Helge Deller
  Cc: Sergey Senozhatsky, James Bottomley, James Bottomley,
	James E . J . Bottomley, linux-parisc, linux-kernel,
	Sergey Senozhatsky

On (01/09/19 08:16), Helge Deller wrote:
> I prefer that change.
> In my role as admin of the parisc-linux.org domain I plan to retire
> all @parisc-linux.org email addresses soon anyway.

I see. Well, I can send a formal patch, but I think James
would know better which one of his email addresses he'd
prefer to use; so it seems that a patch from James would
be more appropriate.

	-ss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07  9:56 [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks() Sergey Senozhatsky
2019-01-08  7:44 ` Helge Deller
2019-01-09  5:39   ` Sergey Senozhatsky
2019-01-09  5:53     ` Sergey Senozhatsky
2019-01-09  7:16     ` Helge Deller
2019-01-09  7:56       ` Sergey Senozhatsky

Linux-parisc archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-parisc/0 linux-parisc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-parisc linux-parisc/ https://lore.kernel.org/linux-parisc \
		linux-parisc@vger.kernel.org linux-parisc@archiver.kernel.org
	public-inbox-index linux-parisc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-parisc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox