Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Thu, Dec 28, 2017 at 06:15:19PM -0600, Bjorn Helgaas wrote: > On Thu, Dec 28, 2017 at 06:30:58PM -0500, Alexandru Chirvasitu wrote: > > Attached, but heads up on this: when redirecting the output of lspci > > -vvv to a text file as root I get > > > > pcilib: sysfs_read_vpd: read failed: Input/o

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Bjorn Helgaas
On Thu, Dec 28, 2017 at 06:30:58PM -0500, Alexandru Chirvasitu wrote: > Attached, but heads up on this: when redirecting the output of lspci > -vvv to a text file as root I get > > pcilib: sysfs_read_vpd: read failed: Input/output error > > I can find bugs filed for various distros to this same e

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Fri, Dec 29, 2017 at 12:36:37AM +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > Attached, but heads up on this: when redirecting the output of lspci > > -vvv to a text file as root I get > > > > pcilib: sysfs_read_vpd: read failed: Input/output error > >

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > Attached, but heads up on this: when redirecting the output of lspci > -vvv to a text file as root I get > > pcilib: sysfs_read_vpd: read failed: Input/output error > > I can find bugs filed for various distros to this same effect, but > haven't

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
Attached, but heads up on this: when redirecting the output of lspci -vvv to a text file as root I get pcilib: sysfs_read_vpd: read failed: Input/output error I can find bugs filed for various distros to this same effect, but haven't tracked down any explanations. On Fri, Dec 29, 2017 at 12:19:1

Re: [PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses

2017-12-28 Thread Ozgur
29.12.2017, 02:07, "Philippe Loctaux" : > Removed unnecessary parentheses in a if statement. > > Signed-off-by: Philippe Loctaux > --- >  drivers/staging/most/aim-sound/sound.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/most/aim-sound/sound.c > b/dr

Re: [PATCH 0/2] Staging: most: aim-sound: sound.c: coding style

2017-12-28 Thread Ozgur
29.12.2017, 02:07, "Philippe Loctaux" : > Fixes checkpatch coding style issues. Hello, how can i see is changed/patched code lines? Ozgur > Philippe Loctaux (2): >   Staging: most: aim-sound: sound.c: fixed an alignment issue >   Staging: most: aim-sound: sound.c: removed unnecessary parenthese

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > Attached. > > > > I don't have a 4.14 family kernel available at the moment on that > > machine. What I'm attaching comes from the 4.13 one I was playing with > > yesterday, what with kexec and a

[PATCH 1/2] Staging: most: aim-sound: sound.c: fixed an alignment issue

2017-12-28 Thread Philippe Loctaux
Fixed a coding style issue. Signed-off-by: Philippe Loctaux --- drivers/staging/most/aim-sound/sound.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c index ea1366a44..ab2b0d833 1006

[PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses

2017-12-28 Thread Philippe Loctaux
Removed unnecessary parentheses in a if statement. Signed-off-by: Philippe Loctaux --- drivers/staging/most/aim-sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c index ab2b0d833..0e79

[PATCH 0/2] Staging: most: aim-sound: sound.c: coding style

2017-12-28 Thread Philippe Loctaux
Fixes checkpatch coding style issues. Philippe Loctaux (2): Staging: most: aim-sound: sound.c: fixed an alignment issue Staging: most: aim-sound: sound.c: removed unnecessary parentheses drivers/staging/most/aim-sound/sound.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > Attached. > > I don't have a 4.14 family kernel available at the moment on that > machine. What I'm attaching comes from the 4.13 one I was playing with > yesterday, what with kexec and all. Good enough. Thanks !

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
Attached. I don't have a 4.14 family kernel available at the moment on that machine. What I'm attaching comes from the 4.13 one I was playing with yesterday, what with kexec and all. On Thu, Dec 28, 2017 at 10:54:25PM +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > >

[PATCH] Staging: vme: vme_user: removed unnecessary parentheses

2017-12-28 Thread Philippe Loctaux
Removed unnecessary parentheses in the if statement. Signed-off-by: Philippe Loctaux --- drivers/staging/vme/devices/vme_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index 41a5b32e0..61

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > No; it seems to be tied to this specific issue, and I was seeing even > > before getting logs just now, whenever I'd start one of the bad > > kernels in recovery mode. > > > > But no, I've never s

[PATCH] Staging: vme: vme_user: fixed an alignment coding style issue

2017-12-28 Thread Philippe Loctaux
Fixed a coding style issue. Signed-off-by: Philippe Loctaux --- drivers/staging/vme/devices/vme_user.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index a3d4610fb..41a5b32e0 10064

RE: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Dexuan Cui wrote: > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > Sent: Thursday, December 28, 2017 03:03 > > > > On Wed, Dec 20, 2017 at 02:12:05AM +, Dexuan Cui wrote: > > > > > > For Linux VM running on Hyper-V, we did get "spurious APIC interrupt > > > > thr

RE: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Dexuan Cui
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, December 28, 2017 03:03 > > > On Wed, Dec 20, 2017 at 02:12:05AM +, Dexuan Cui wrote: > > > > For Linux VM running on Hyper-V, we did get "spurious APIC interrupt > > > through vector " and a patchset, which included the pat

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > No; it seems to be tied to this specific issue, and I was seeing even > before getting logs just now, whenever I'd start one of the bad > kernels in recovery mode. > > But no, I've never seen that in any other logs, or on any other > screens outs

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
No; it seems to be tied to this specific issue, and I was seeing even before getting logs just now, whenever I'd start one of the bad kernels in recovery mode. But no, I've never seen that in any other logs, or on any other screens outside of those popping up in relation to this problem. On Thu,

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > On Thu, Dec 28, 2017 at 05:10:28PM +0100, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > Actually, it decided to cooperate for just long enough for me to get > > > the dmesg out. Attached. > > > > > > This is fro

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > Actually, it decided to cooperate for just long enough for me to get > the dmesg out. Attached. > > This is from the kernel you asked about: Dou's patch + yours, i.e. the > latest one in that git log I just sent, booted up with 'apic=debug'. Ok.

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Thu, Dec 28, 2017 at 10:48:35AM -0500, Alexandru Chirvasitu wrote: > On Thu, Dec 28, 2017 at 03:48:15PM +0100, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > On Thu, Dec 28, 2017 at 12:00:47PM +0100, Thomas Gleixner wrote: > > > > Ok, lets take a step back. The

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Thu, Dec 28, 2017 at 03:48:15PM +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > On Thu, Dec 28, 2017 at 12:00:47PM +0100, Thomas Gleixner wrote: > > > Ok, lets take a step back. The bisect/kexec attempts led us away from the > > > initial problem which is the

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > On Thu, Dec 28, 2017 at 12:00:47PM +0100, Thomas Gleixner wrote: > > Ok, lets take a step back. The bisect/kexec attempts led us away from the > > initial problem which is the machine locking up after login, right? > > > > Yes; sorry about that..

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Wed, 20 Dec 2017, Alexandru Chirvasitu wrote: > Merging the contents of another exchange spawned from the original > > On Wed, Dec 20, 2017 at 02:12:05AM +, Dexuan Cui wrote: > > For Linux VM running on Hyper-V, we did get "spurious APIC interrupt > > through vector " and a patchset, which

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Wed, 20 Dec 2017, Alexandru Chirvasitu wrote: > On Wed, Dec 20, 2017 at 11:58:57AM +0800, Dou Liyang wrote: > > At 12/20/2017 08:31 AM, Thomas Gleixner wrote: > > > > I had never heard of 'bisect' before this casual mention (you might tell > > > > I am a bit out of my depth). I've since applied

[PATCH] staging: ccree: ssi_hash: remove unnecessary parentheses

2017-12-28 Thread Elad Wexler
Fixed a coding style issue Signed-off-by: Elad Wexler --- drivers/staging/ccree/ssi_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index 2035835..8d56fa7 100644 --- a/drivers/staging/ccree/ssi_has

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Dou Liyang
Hi Alexandru, At 12/28/2017 10:51 AM, Alexandru Chirvasitu wrote: Ah, of course. Attached is the output of `journalctl --boot=-1` after booting, getting locked up, and then rebooting a good kernel. For the Hard lockups on both CPUs after login: Please try the patch in the attachment by git a