linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next: fuloong2e qemu boot failure due to 'MIPS: Loongson: Add Loongson-3A R2 basic support'
@ 2016-04-20  2:54 Guenter Roeck
  2016-04-20  3:37 ` Re:next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A " 陈华才
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-04-20  2:54 UTC (permalink / raw)
  To: Huacai Chen; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

Hi,

qemu fails to boot in -next for machine fulong2e with configuration
fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
Loongson-3A R2 basic support'. qemu hangs in boot, after displaying 
"Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".

Bisect log is attached.

Guenter

---
# bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next specific files for 20160418
# good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
git bisect start 'HEAD' 'v4.6-rc3'
# bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking branch 'ipvs-next/master'
git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
# bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking branch 'btrfs-kdave/for-next'
git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
# good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking branch 'omap/for-next'
git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
# good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking branch 'microblaze/next'
git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
# bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT
git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
# good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to be used on non-R2 or R6 cores
git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
# good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add Loongson1 architecture entry
git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
# good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h to use strict posix types
git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
# good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace hw watchpoints on MIPS R6
git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
# good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3: Adjust irq dispatch to speedup processing
git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
# bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set cache flush handlers to cache_noop
git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
# bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support
git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
# first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support

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

* Re:next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-04-20  2:54 next: fuloong2e qemu boot failure due to 'MIPS: Loongson: Add Loongson-3A R2 basic support' Guenter Roeck
@ 2016-04-20  3:37 ` 陈华才
  2016-04-20  4:43   ` next: " Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: 陈华才 @ 2016-04-20  3:37 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

Hi,

Could you please remove the line "#define cpu_hwrena_impl_bits    0xc0000000" in arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h and try again?Thanks.

Huacai
 
------------------ Original ------------------
From:  "Guenter Roeck"<linux@roeck-us.net>;
Date:  Wed, Apr 20, 2016 10:54 AM
To:  "Huacai Chen"<chenhc@lemote.com>;
Cc:  "Ralf Baechle"<ralf@linux-mips.org>; "linux-mips"<linux-mips@linux-mips.org>; "linux-next"<linux-next@vger.kernel.org>; "linux-kernel"<linux-kernel@vger.kernel.org>;
Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
 
Hi,

qemu fails to boot in -next for machine fulong2e with configuration
fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
Loongson-3A R2 basic support'. qemu hangs in boot, after displaying 
"Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".

Bisect log is attached.

Guenter

---
# bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next specific files for 20160418
# good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
git bisect start 'HEAD' 'v4.6-rc3'
# bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking branch 'ipvs-next/master'
git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
# bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking branch 'btrfs-kdave/for-next'
git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
# good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking branch 'omap/for-next'
git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
# good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking branch 'microblaze/next'
git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
# bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT
git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
# good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to be used on non-R2 or R6 cores
git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
# good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add Loongson1 architecture entry
git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
# good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h to use strict posix types
git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
# good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace hw watchpoints on MIPS R6
git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
# good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3: Adjust irq dispatch to speedup processing
git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
# bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set cache flush handlers to cache_noop
git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
# bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support
git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
# first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support

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

* Re: next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-04-20  3:37 ` Re:next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A " 陈华才
@ 2016-04-20  4:43   ` Guenter Roeck
  2016-04-20  5:41     ` Huacai Chen
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-04-20  4:43 UTC (permalink / raw)
  To: 陈华才
  Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

On 04/19/2016 08:37 PM, 陈华才 wrote:
> Hi,
>
> Could you please remove the line "#define cpu_hwrena_impl_bits    0xc0000000" in arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h and try again?Thanks.
>

That fixes the problem.

Does this need to be addressed in qemu or in the Linux kernel ?

Thanks,
Guenter

> Huacai
>
> ------------------ Original ------------------
> From:  "Guenter Roeck"<linux@roeck-us.net>;
> Date:  Wed, Apr 20, 2016 10:54 AM
> To:  "Huacai Chen"<chenhc@lemote.com>;
> Cc:  "Ralf Baechle"<ralf@linux-mips.org>; "linux-mips"<linux-mips@linux-mips.org>; "linux-next"<linux-next@vger.kernel.org>; "linux-kernel"<linux-kernel@vger.kernel.org>;
> Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
>
> Hi,
>
> qemu fails to boot in -next for machine fulong2e with configuration
> fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
> Loongson-3A R2 basic support'. qemu hangs in boot, after displaying
> "Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".
>
> Bisect log is attached.
>
> Guenter
>
> ---
> # bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next specific files for 20160418
> # good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
> git bisect start 'HEAD' 'v4.6-rc3'
> # bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking branch 'ipvs-next/master'
> git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
> # bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking branch 'btrfs-kdave/for-next'
> git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
> # good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking branch 'omap/for-next'
> git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
> # good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking branch 'microblaze/next'
> git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
> # bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT
> git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
> # good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to be used on non-R2 or R6 cores
> git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
> # good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add Loongson1 architecture entry
> git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
> # good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h to use strict posix types
> git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
> # good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace hw watchpoints on MIPS R6
> git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
> # good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3: Adjust irq dispatch to speedup processing
> git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
> # bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set cache flush handlers to cache_noop
> git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
> # bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support
> git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
> # first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add Loongson-3A R2 basic support
>

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

* Re: next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-04-20  4:43   ` next: " Guenter Roeck
@ 2016-04-20  5:41     ` Huacai Chen
  2016-05-13  3:46       ` Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: Huacai Chen @ 2016-04-20  5:41 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

This is a kernel bug, I'll send a patch.

Huacai

On Wed, Apr 20, 2016 at 12:43 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> On 04/19/2016 08:37 PM, 陈华才 wrote:
>>
>> Hi,
>>
>> Could you please remove the line "#define cpu_hwrena_impl_bits
>> 0xc0000000" in arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h
>> and try again?Thanks.
>>
>
> That fixes the problem.
>
> Does this need to be addressed in qemu or in the Linux kernel ?
>
> Thanks,
> Guenter
>
>
>> Huacai
>>
>> ------------------ Original ------------------
>> From:  "Guenter Roeck"<linux@roeck-us.net>;
>> Date:  Wed, Apr 20, 2016 10:54 AM
>> To:  "Huacai Chen"<chenhc@lemote.com>;
>> Cc:  "Ralf Baechle"<ralf@linux-mips.org>;
>> "linux-mips"<linux-mips@linux-mips.org>;
>> "linux-next"<linux-next@vger.kernel.org>;
>> "linux-kernel"<linux-kernel@vger.kernel.org>;
>> Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson:
>> AddLoongson-3A R2 basic support'
>>
>> Hi,
>>
>> qemu fails to boot in -next for machine fulong2e with configuration
>> fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
>> Loongson-3A R2 basic support'. qemu hangs in boot, after displaying
>> "Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".
>>
>> Bisect log is attached.
>>
>> Guenter
>>
>> ---
>> # bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next specific
>> files for 20160418
>> # good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
>> git bisect start 'HEAD' 'v4.6-rc3'
>> # bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking
>> branch 'ipvs-next/master'
>> git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
>> # bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking
>> branch 'btrfs-kdave/for-next'
>> git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
>> # good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking
>> branch 'omap/for-next'
>> git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
>> # good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking
>> branch 'microblaze/next'
>> git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
>> # bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3:
>> Introduce CONFIG_LOONGSON3_ENHANCEMENT
>> git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
>> # good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to be
>> used on non-R2 or R6 cores
>> git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
>> # good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add
>> Loongson1 architecture entry
>> git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
>> # good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h to
>> use strict posix types
>> git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
>> # good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace hw
>> watchpoints on MIPS R6
>> git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
>> # good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3:
>> Adjust irq dispatch to speedup processing
>> git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
>> # bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set
>> cache flush handlers to cache_noop
>> git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
>> # bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add
>> Loongson-3A R2 basic support
>> git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
>> # first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS:
>> Loongson: Add Loongson-3A R2 basic support
>>
>
>

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

* Re: next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-04-20  5:41     ` Huacai Chen
@ 2016-05-13  3:46       ` Guenter Roeck
  2016-05-13  5:49         ` Huacai Chen
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-05-13  3:46 UTC (permalink / raw)
  To: Huacai Chen; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

On 04/19/2016 10:41 PM, Huacai Chen wrote:
> This is a kernel bug, I'll send a patch.
>

Did you ever send a patch to fix this problem ? It is still broken in next-20160512.

Guenter

> Huacai
>
> On Wed, Apr 20, 2016 at 12:43 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>> On 04/19/2016 08:37 PM, 陈华才 wrote:
>>>
>>> Hi,
>>>
>>> Could you please remove the line "#define cpu_hwrena_impl_bits
>>> 0xc0000000" in arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h
>>> and try again?Thanks.
>>>
>>
>> That fixes the problem.
>>
>> Does this need to be addressed in qemu or in the Linux kernel ?
>>
>> Thanks,
>> Guenter
>>
>>
>>> Huacai
>>>
>>> ------------------ Original ------------------
>>> From:  "Guenter Roeck"<linux@roeck-us.net>;
>>> Date:  Wed, Apr 20, 2016 10:54 AM
>>> To:  "Huacai Chen"<chenhc@lemote.com>;
>>> Cc:  "Ralf Baechle"<ralf@linux-mips.org>;
>>> "linux-mips"<linux-mips@linux-mips.org>;
>>> "linux-next"<linux-next@vger.kernel.org>;
>>> "linux-kernel"<linux-kernel@vger.kernel.org>;
>>> Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson:
>>> AddLoongson-3A R2 basic support'
>>>
>>> Hi,
>>>
>>> qemu fails to boot in -next for machine fulong2e with configuration
>>> fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
>>> Loongson-3A R2 basic support'. qemu hangs in boot, after displaying
>>> "Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".
>>>
>>> Bisect log is attached.
>>>
>>> Guenter
>>>
>>> ---
>>> # bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next specific
>>> files for 20160418
>>> # good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
>>> git bisect start 'HEAD' 'v4.6-rc3'
>>> # bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking
>>> branch 'ipvs-next/master'
>>> git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
>>> # bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking
>>> branch 'btrfs-kdave/for-next'
>>> git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
>>> # good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking
>>> branch 'omap/for-next'
>>> git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
>>> # good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking
>>> branch 'microblaze/next'
>>> git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
>>> # bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3:
>>> Introduce CONFIG_LOONGSON3_ENHANCEMENT
>>> git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
>>> # good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to be
>>> used on non-R2 or R6 cores
>>> git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
>>> # good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add
>>> Loongson1 architecture entry
>>> git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
>>> # good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h to
>>> use strict posix types
>>> git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
>>> # good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace hw
>>> watchpoints on MIPS R6
>>> git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
>>> # good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3:
>>> Adjust irq dispatch to speedup processing
>>> git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
>>> # bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set
>>> cache flush handlers to cache_noop
>>> git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
>>> # bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add
>>> Loongson-3A R2 basic support
>>> git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
>>> # first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS:
>>> Loongson: Add Loongson-3A R2 basic support
>>>
>>
>>
>

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

* Re: next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-05-13  3:46       ` Guenter Roeck
@ 2016-05-13  5:49         ` Huacai Chen
  2016-05-13 13:42           ` Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: Huacai Chen @ 2016-05-13  5:49 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

I'll send a patch, but it seems be ignored by maintainer.
https://patchwork.linux-mips.org/patch/13136/

Huacai

On Fri, May 13, 2016 at 11:46 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> On 04/19/2016 10:41 PM, Huacai Chen wrote:
>>
>> This is a kernel bug, I'll send a patch.
>>
>
> Did you ever send a patch to fix this problem ? It is still broken in
> next-20160512.
>
> Guenter
>
>
>> Huacai
>>
>> On Wed, Apr 20, 2016 at 12:43 PM, Guenter Roeck <linux@roeck-us.net>
>> wrote:
>>>
>>> On 04/19/2016 08:37 PM, 陈华才 wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> Could you please remove the line "#define cpu_hwrena_impl_bits
>>>> 0xc0000000" in
>>>> arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h
>>>> and try again?Thanks.
>>>>
>>>
>>> That fixes the problem.
>>>
>>> Does this need to be addressed in qemu or in the Linux kernel ?
>>>
>>> Thanks,
>>> Guenter
>>>
>>>
>>>> Huacai
>>>>
>>>> ------------------ Original ------------------
>>>> From:  "Guenter Roeck"<linux@roeck-us.net>;
>>>> Date:  Wed, Apr 20, 2016 10:54 AM
>>>> To:  "Huacai Chen"<chenhc@lemote.com>;
>>>> Cc:  "Ralf Baechle"<ralf@linux-mips.org>;
>>>> "linux-mips"<linux-mips@linux-mips.org>;
>>>> "linux-next"<linux-next@vger.kernel.org>;
>>>> "linux-kernel"<linux-kernel@vger.kernel.org>;
>>>> Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson:
>>>> AddLoongson-3A R2 basic support'
>>>>
>>>> Hi,
>>>>
>>>> qemu fails to boot in -next for machine fulong2e with configuration
>>>> fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
>>>> Loongson-3A R2 basic support'. qemu hangs in boot, after displaying
>>>> "Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".
>>>>
>>>> Bisect log is attached.
>>>>
>>>> Guenter
>>>>
>>>> ---
>>>> # bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next
>>>> specific
>>>> files for 20160418
>>>> # good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
>>>> git bisect start 'HEAD' 'v4.6-rc3'
>>>> # bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking
>>>> branch 'ipvs-next/master'
>>>> git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
>>>> # bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking
>>>> branch 'btrfs-kdave/for-next'
>>>> git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
>>>> # good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking
>>>> branch 'omap/for-next'
>>>> git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
>>>> # good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking
>>>> branch 'microblaze/next'
>>>> git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
>>>> # bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3:
>>>> Introduce CONFIG_LOONGSON3_ENHANCEMENT
>>>> git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
>>>> # good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to
>>>> be
>>>> used on non-R2 or R6 cores
>>>> git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
>>>> # good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add
>>>> Loongson1 architecture entry
>>>> git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
>>>> # good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h
>>>> to
>>>> use strict posix types
>>>> git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
>>>> # good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace
>>>> hw
>>>> watchpoints on MIPS R6
>>>> git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
>>>> # good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3:
>>>> Adjust irq dispatch to speedup processing
>>>> git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
>>>> # bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set
>>>> cache flush handlers to cache_noop
>>>> git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
>>>> # bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add
>>>> Loongson-3A R2 basic support
>>>> git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
>>>> # first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS:
>>>> Loongson: Add Loongson-3A R2 basic support
>>>>
>>>
>>>
>>
>
>

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

* Re: next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A R2 basic support'
  2016-05-13  5:49         ` Huacai Chen
@ 2016-05-13 13:42           ` Guenter Roeck
  0 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2016-05-13 13:42 UTC (permalink / raw)
  To: Huacai Chen; +Cc: Ralf Baechle, linux-mips, linux-next, linux-kernel

On 05/12/2016 10:49 PM, Huacai Chen wrote:
> I'll send a patch, but it seems be ignored by maintainer.
> https://patchwork.linux-mips.org/patch/13136/
>

It is marked as accepted, so it should be in Ralf's queue.

Thanks,
Guenter

> Huacai
>
> On Fri, May 13, 2016 at 11:46 AM, Guenter Roeck <linux@roeck-us.net> wrote:
>> On 04/19/2016 10:41 PM, Huacai Chen wrote:
>>>
>>> This is a kernel bug, I'll send a patch.
>>>
>>
>> Did you ever send a patch to fix this problem ? It is still broken in
>> next-20160512.
>>
>> Guenter
>>
>>
>>> Huacai
>>>
>>> On Wed, Apr 20, 2016 at 12:43 PM, Guenter Roeck <linux@roeck-us.net>
>>> wrote:
>>>>
>>>> On 04/19/2016 08:37 PM, 陈华才 wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Could you please remove the line "#define cpu_hwrena_impl_bits
>>>>> 0xc0000000" in
>>>>> arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h
>>>>> and try again?Thanks.
>>>>>
>>>>
>>>> That fixes the problem.
>>>>
>>>> Does this need to be addressed in qemu or in the Linux kernel ?
>>>>
>>>> Thanks,
>>>> Guenter
>>>>
>>>>
>>>>> Huacai
>>>>>
>>>>> ------------------ Original ------------------
>>>>> From:  "Guenter Roeck"<linux@roeck-us.net>;
>>>>> Date:  Wed, Apr 20, 2016 10:54 AM
>>>>> To:  "Huacai Chen"<chenhc@lemote.com>;
>>>>> Cc:  "Ralf Baechle"<ralf@linux-mips.org>;
>>>>> "linux-mips"<linux-mips@linux-mips.org>;
>>>>> "linux-next"<linux-next@vger.kernel.org>;
>>>>> "linux-kernel"<linux-kernel@vger.kernel.org>;
>>>>> Subject:  next: fuloong2e qemu boot failure due to 'MIPS: Loongson:
>>>>> AddLoongson-3A R2 basic support'
>>>>>
>>>>> Hi,
>>>>>
>>>>> qemu fails to boot in -next for machine fulong2e with configuration
>>>>> fuloong2e_defconfig. Bisect points to commit 'MIPS: Loongson: Add
>>>>> Loongson-3A R2 basic support'. qemu hangs in boot, after displaying
>>>>> "Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)".
>>>>>
>>>>> Bisect log is attached.
>>>>>
>>>>> Guenter
>>>>>
>>>>> ---
>>>>> # bad: [1bd7a2081d2c7b096f75aa934658e404ccaba5fd] Add linux-next
>>>>> specific
>>>>> files for 20160418
>>>>> # good: [bf16200689118d19de1b8d2a3c314fc21f5dc7bb] Linux 4.6-rc3
>>>>> git bisect start 'HEAD' 'v4.6-rc3'
>>>>> # bad: [493ac92ff65ec4c4cd4c43870e778760a012951d] Merge remote-tracking
>>>>> branch 'ipvs-next/master'
>>>>> git bisect bad 493ac92ff65ec4c4cd4c43870e778760a012951d
>>>>> # bad: [20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792] Merge remote-tracking
>>>>> branch 'btrfs-kdave/for-next'
>>>>> git bisect bad 20ca3ae9c517eee9b2f1bd0fb2a06e2d14153792
>>>>> # good: [c454e65fb9ade11d0f84718d06a6888e2c92804d] Merge remote-tracking
>>>>> branch 'omap/for-next'
>>>>> git bisect good c454e65fb9ade11d0f84718d06a6888e2c92804d
>>>>> # good: [6f5c70fb9b4fc0534157bfa40cea9b402e6f2506] Merge remote-tracking
>>>>> branch 'microblaze/next'
>>>>> git bisect good 6f5c70fb9b4fc0534157bfa40cea9b402e6f2506
>>>>> # bad: [7f053cd68fd14243c8f202b4086d7dd75c409e6f] MIPS: Loongson-3:
>>>>> Introduce CONFIG_LOONGSON3_ENHANCEMENT
>>>>> git bisect bad 7f053cd68fd14243c8f202b4086d7dd75c409e6f
>>>>> # good: [e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8] MIPS: Allow RIXI to
>>>>> be
>>>>> used on non-R2 or R6 cores
>>>>> git bisect good e9aacdd7f0b66c4ace17e5950c48e7cc61a253c8
>>>>> # good: [d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d] MAINTAINERS: add
>>>>> Loongson1 architecture entry
>>>>> git bisect good d1e8b9a8dc6c7fa9add5dfa7083e035ce037e56d
>>>>> # good: [13ff6275bb389c3669082d3ef8483592a31eb0ea] MIPS: Fix siginfo.h
>>>>> to
>>>>> use strict posix types
>>>>> git bisect good 13ff6275bb389c3669082d3ef8483592a31eb0ea
>>>>> # good: [66e74bdd51e617023fa2e79a807b704fb3eed8aa] MIPS: Enable ptrace
>>>>> hw
>>>>> watchpoints on MIPS R6
>>>>> git bisect good 66e74bdd51e617023fa2e79a807b704fb3eed8aa
>>>>> # good: [f7cabc2dac8adf5986dbc700584bc3b8fe493d4d] MIPS: Loongson-3:
>>>>> Adjust irq dispatch to speedup processing
>>>>> git bisect good f7cabc2dac8adf5986dbc700584bc3b8fe493d4d
>>>>> # bad: [4978c8477e96fb9e9d870d8f42328dcabf1a65e9] MIPS: Loongson-3: Set
>>>>> cache flush handlers to cache_noop
>>>>> git bisect bad 4978c8477e96fb9e9d870d8f42328dcabf1a65e9
>>>>> # bad: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS: Loongson: Add
>>>>> Loongson-3A R2 basic support
>>>>> git bisect bad 04a35922c1dac1b4864b8b366a37474e9e51d8c0
>>>>> # first bad commit: [04a35922c1dac1b4864b8b366a37474e9e51d8c0] MIPS:
>>>>> Loongson: Add Loongson-3A R2 basic support
>>>>>
>>>>
>>>>
>>>
>>
>>
>

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

end of thread, other threads:[~2016-05-13 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20  2:54 next: fuloong2e qemu boot failure due to 'MIPS: Loongson: Add Loongson-3A R2 basic support' Guenter Roeck
2016-04-20  3:37 ` Re:next: fuloong2e qemu boot failure due to 'MIPS: Loongson: AddLoongson-3A " 陈华才
2016-04-20  4:43   ` next: " Guenter Roeck
2016-04-20  5:41     ` Huacai Chen
2016-05-13  3:46       ` Guenter Roeck
2016-05-13  5:49         ` Huacai Chen
2016-05-13 13:42           ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).