Re: [PATCH] kcsan: kconfig: Move to menu 'Generic Kernel Debugging Instruments'

2020-09-05 Thread Randy Dunlap
On 9/4/20 8:22 AM, Changbin Du wrote: > This moves the KCSAN kconfig items under menu 'Generic Kernel Debugging > Instruments' where UBSAN resides. > > Signed-off-by: Changbin Du LGTM. Thanks. Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap > --- > lib/Kconfig.debug

[PATCH] kcsan: kconfig: Move to menu 'Generic Kernel Debugging Instruments'

2020-09-04 Thread Changbin Du
This moves the KCSAN kconfig items under menu 'Generic Kernel Debugging Instruments' where UBSAN resides. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e068c3c7189a

[RESEND PATCH v3 9/9] hacking: Move DEBUG_FS to 'Generic Kernel Debugging Instruments'

2019-10-03 Thread Changbin Du
DEBUG_FS does not belong to 'Compile-time checks and compiler options'. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Kconfig.debug

[RESEND PATCH v3 1/9] hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

2019-10-03 Thread Changbin Du
Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du Acked-by: Randy Dunlap Tested-by: Randy Dunlap --- lib/Kconfig.debug | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug b/lib

[PATCH v3 9/9] hacking: Move DEBUG_FS to 'Generic Kernel Debugging Instruments'

2019-09-09 Thread Changbin Du
DEBUG_FS does not belong to 'Compile-time checks and compiler options'. Cc: Randy Dunlap Signed-off-by: Changbin Du --- lib/Kconfig.debug | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index

[PATCH v3 1/9] hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

2019-09-09 Thread Changbin Du
Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 10023dbac8e4..bd3938483514

[PATCH v2 9/9] kconfig/hacking: Move DEBUG_FS to 'Generic Kernel Debugging Instruments'

2019-09-09 Thread Changbin Du
DEBUG_FS does not belong to 'Compile-time checks and compiler options'. Cc: Randy Dunlap Signed-off-by: Changbin Du --- lib/Kconfig.debug | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index

[PATCH v2 1/9] kconfig/hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

2019-09-09 Thread Changbin Du
Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 10023dbac8e4..bd3938483514

[PATCH 1/8] kconfig/hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments'

2019-09-07 Thread Changbin Du
Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 5960e2980a8a..868fa64a0901

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread H. Nikolaus Schaller
Hi Russell, > Am 09.11.2017 um 18:35 schrieb Russell King - ARM Linux > : > > Hi Nikkylos, > > On Thu, Nov 09, 2017 at 06:16:29PM +0100, H. Nikolaus Schaller wrote: >> Hi Russel, >> >>> Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux >>>

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread H. Nikolaus Schaller
Hi Russell, > Am 09.11.2017 um 18:35 schrieb Russell King - ARM Linux > : > > Hi Nikkylos, > > On Thu, Nov 09, 2017 at 06:16:29PM +0100, H. Nikolaus Schaller wrote: >> Hi Russel, >> >>> Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux >>> : >>> >>> On Thu, Nov 09, 2017 at 06:44:49AM

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread Russell King - ARM Linux
Hi Nikkylos, On Thu, Nov 09, 2017 at 06:16:29PM +0100, H. Nikolaus Schaller wrote: > Hi Russel, > > > Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux > > : > > > > On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: > >> Hi Russel, > > > >

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread Russell King - ARM Linux
Hi Nikkylos, On Thu, Nov 09, 2017 at 06:16:29PM +0100, H. Nikolaus Schaller wrote: > Hi Russel, > > > Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux > > : > > > > On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: > >> Hi Russel, > > > > Nikolus, > > > >>> Am

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread H. Nikolaus Schaller
Hi Russel, > Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux > : > > On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: >> Hi Russel, > > Nikolus, > >>> Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux >>> : >>>

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread H. Nikolaus Schaller
Hi Russel, > Am 09.11.2017 um 17:58 schrieb Russell King - ARM Linux > : > > On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: >> Hi Russel, > > Nikolus, > >>> Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux >>> : >>> >>> On Wed, Nov 08, 2017 at 10:36:04PM +,

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread Russell King - ARM Linux
On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: > Hi Russel, Nikolus, > > Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux > > : > > > > On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: > >> We don't need a compiler

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-09 Thread Russell King - ARM Linux
On Thu, Nov 09, 2017 at 06:44:49AM +0100, H. Nikolaus Schaller wrote: > Hi Russel, Nikolus, > > Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux > > : > > > > On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: > >> We don't need a compiler warning there, we

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread H. Nikolaus Schaller
Hi Russel, > Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux > : > > On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: >> We don't need a compiler warning there, we probably need better help >> text against DEBUG_LL and against

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread H. Nikolaus Schaller
Hi Russel, > Am 08.11.2017 um 23:38 schrieb Russell King - ARM Linux > : > > On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: >> We don't need a compiler warning there, we probably need better help >> text against DEBUG_LL and against EARLY_PRINTK. > > Actually, this

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Russell King - ARM Linux
On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: > We don't need a compiler warning there, we probably need better help > text against DEBUG_LL and against EARLY_PRINTK. Actually, this is already clearly stated against DEBUG_LL: Note that selecting this option

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Russell King - ARM Linux
On Wed, Nov 08, 2017 at 10:36:04PM +, Russell King - ARM Linux wrote: > We don't need a compiler warning there, we probably need better help > text against DEBUG_LL and against EARLY_PRINTK. Actually, this is already clearly stated against DEBUG_LL: Note that selecting this option

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Russell King - ARM Linux
On Wed, Nov 08, 2017 at 02:27:55PM -0800, Tony Lindgren wrote: > * H. Nikolaus Schaller [171108 21:32]: > > commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and > > omap3/4/5 common uarts") > > commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Russell King - ARM Linux
On Wed, Nov 08, 2017 at 02:27:55PM -0800, Tony Lindgren wrote: > * H. Nikolaus Schaller [171108 21:32]: > > commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and > > omap3/4/5 common uarts") > > commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") > >

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Tony Lindgren
* H. Nikolaus Schaller [171108 21:32]: > commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and > omap3/4/5 common uarts") > commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") > > switched to generic 8250 debug_ll code which seems

Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread Tony Lindgren
* H. Nikolaus Schaller [171108 21:32]: > commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and > omap3/4/5 common uarts") > commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") > > switched to generic 8250 debug_ll code which seems to be incompatible >

[PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread H. Nikolaus Schaller
commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and omap3/4/5 common uarts") commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") switched to generic 8250 debug_ll code which seems to be incompatible with at least OMAP5 boards (OMAP5EVM, Pyra) if

[PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled

2017-11-08 Thread H. Nikolaus Schaller
commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and omap3/4/5 common uarts") commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") switched to generic 8250 debug_ll code which seems to be incompatible with at least OMAP5 boards (OMAP5EVM, Pyra) if

[PATCH v12 00/28] Add gdb python scripts as kernel debugging helpers

2015-01-29 Thread Jan Kiszka
Hi Andrew, this is an update to address the review comments provided by Michal Marek on v11. Changes since v11: - drop redundant subdir rule - fold *.pyo into existing clean-files rules See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v12 00/28] Add gdb python scripts as kernel debugging helpers

2015-01-29 Thread Jan Kiszka
Hi Andrew, this is an update to address the review comments provided by Michal Marek on v11. Changes since v11: - drop redundant subdir rule - fold *.pyo into existing clean-files rules See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v11 00/28] Add gdb python scripts as kernel debugging helpers

2015-01-28 Thread Jan Kiszka
Hi Andrew, here comes the requested update of the series. Changes since v10: - rebase over recent Linus master (rc6+) - fix stuck gdb pagination during modprobe related symbol reloading See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v11 00/28] Add gdb python scripts as kernel debugging helpers

2015-01-28 Thread Jan Kiszka
Hi Andrew, here comes the requested update of the series. Changes since v10: - rebase over recent Linus master (rc6+) - fix stuck gdb pagination during modprobe related symbol reloading See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v10 00/27] Add gdb python scripts as kernel debugging helpers

2014-11-20 Thread Jan Kiszka
Hi Thomas, as discussed earlier today, I'm sending out a fresh rebase of the gdb scripts so that you can organize the next steps towards merge. Thanks for this in advance! Changes since v9: - rebase over recent Linux version - use a generator instead of iterator for task list, fixes

[PATCH v10 00/27] Add gdb python scripts as kernel debugging helpers

2014-11-20 Thread Jan Kiszka
Hi Thomas, as discussed earlier today, I'm sending out a fresh rebase of the gdb scripts so that you can organize the next steps towards merge. Thanks for this in advance! Changes since v9: - rebase over recent Linux version - use a generator instead of iterator for task list, fixes

[PATCH v9 00/23] Add gdb python scripts as kernel debugging helpers

2014-08-27 Thread Jan Kiszka
Another refresh of this feature series. Changes since v8: - Ignore byte-compiled python files [Daniel Thompson] - rebase over recent Linux version, resolving a trivial conflict See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v9 00/23] Add gdb python scripts as kernel debugging helpers

2014-08-27 Thread Jan Kiszka
Another refresh of this feature series. Changes since v8: - Ignore byte-compiled python files [Daniel Thompson] - rebase over recent Linux version, resolving a trivial conflict See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 11:18 PM, Nick Krause wrote: > On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause wrote: >> On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp >> wrote: >>> On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman wrote:

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause wrote: > On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp > wrote: >> On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: >>> On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman >>> wrote: >>> >> From: Nick Krause [mailto:xerofo...@gmail.com] >> >>

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp wrote: > On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: >> On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman >> wrote: >> >> From: Nick Krause [mailto:xerofo...@gmail.com] > > [snip] > >> >> Paul , >> >> My computer is rather old now as of

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: > On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman > wrote: > >> From: Nick Krause [mailto:xerofo...@gmail.com] [snip] > >> Paul , > >> My computer is rather old now as of Sandy Bridge days, so I probably > >> can't test the patch > >>

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman wrote: >> From: Nick Krause [mailto:xerofo...@gmail.com] >> Sent: Monday, August 04, 2014 3:50 PM >> >> On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman >> wrote: >> >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] >> >> Sent: Monday,

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: Nick Krause [mailto:xerofo...@gmail.com] > Sent: Monday, August 04, 2014 3:50 PM > > On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman > wrote: > >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > >> Sent: Monday, August 04, 2014 1:28 PM > >> > >> On Mon, 04 Aug 2014

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman wrote: >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] >> Sent: Monday, August 04, 2014 1:28 PM >> >> On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: >> >> > Ah, you didn't read far enough down the page :) >> >> I'm willing

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > Sent: Monday, August 04, 2014 1:28 PM > > On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: > > > Ah, you didn't read far enough down the page :) > > I'm willing to bet a large pizza with everything but anchovies that >

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: > Ah, you didn't read far enough down the page :) I'm willing to bet a large pizza with everything but anchovies that out in the real world, a lot of implementors didn't read further either. :) > So I have to believe there are a *lot* of

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > Sent: Monday, August 04, 2014 12:23 PM > > On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: > > > Are you sure about that? Last I heard, xHCI debug support was a logo > > requirement from Microsoft for Windows 8 and

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: > Are you sure about that? Last I heard, xHCI debug support was a logo > requirement from Microsoft for Windows 8 and above, so I would have > thought that most vendors would have implemented it by now. There's a lot of gear out in the

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Sarah Sharp > Sent: Monday, August 04, 2014 9:47 AM > > Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially > retired from USB development and have moved onto other projects. :) >

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Sat, Aug 02, 2014 at 12:47:59AM -0400, Nick Krause wrote: > Hey Sharp, Hi Krause, Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially retired from USB development and have moved onto other projects. :) > After reading around seems people want support for usb debugging in

Re: Kernel Debugging Support

2014-08-04 Thread Richard Weinberger
On Mon, Aug 4, 2014 at 4:29 PM, Austin S Hemmelgarn wrote: > On 2014-08-04 10:21, Alan Stern wrote: >> On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: >> >>> On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: > Hey Sharp, > After reading around seems

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-04 10:21, Alan Stern wrote: > On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: > >> On 2014-08-02 09:48, Alan Stern wrote: >>> On Sat, 2 Aug 2014, Nick Krause wrote: >>> Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based

Re: Kernel Debugging Support

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: > On 2014-08-02 09:48, Alan Stern wrote: > > On Sat, 2 Aug 2014, Nick Krause wrote: > > > >> Hey Sharp, > >> After reading around seems people want support for usb debugging in > >> kgdb or other usb based solutions. > >> If you and the other

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-02 09:48, Alan Stern wrote: > On Sat, 2 Aug 2014, Nick Krause wrote: > >> Hey Sharp, >> After reading around seems people want support for usb debugging in >> kgdb or other usb based solutions. >> If you and the other developers are able to help me out a bit as I am >> new I can

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit as I am new I can definitively write

Re: Kernel Debugging Support

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-04 10:21, Alan Stern wrote: On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and

Re: Kernel Debugging Support

2014-08-04 Thread Richard Weinberger
On Mon, Aug 4, 2014 at 4:29 PM, Austin S Hemmelgarn ahferro...@gmail.com wrote: On 2014-08-04 10:21, Alan Stern wrote: On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Sat, Aug 02, 2014 at 12:47:59AM -0400, Nick Krause wrote: Hey Sharp, Hi Krause, Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially retired from USB development and have moved onto other projects. :) After reading around seems people want support for usb debugging in

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Sarah Sharp Sent: Monday, August 04, 2014 9:47 AM Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially retired from USB development and have moved onto other projects. :)

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: Are you sure about that? Last I heard, xHCI debug support was a logo requirement from Microsoft for Windows 8 and above, so I would have thought that most vendors would have implemented it by now. There's a lot of gear out in the real

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Monday, August 04, 2014 12:23 PM On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: Are you sure about that? Last I heard, xHCI debug support was a logo requirement from Microsoft for Windows 8 and above, so I

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: Ah, you didn't read far enough down the page :) I'm willing to bet a large pizza with everything but anchovies that out in the real world, a lot of implementors didn't read further either. :) So I have to believe there are a *lot* of

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Monday, August 04, 2014 1:28 PM On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: Ah, you didn't read far enough down the page :) I'm willing to bet a large pizza with everything but anchovies that out in the

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Monday, August 04, 2014 1:28 PM On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: Ah, you didn't read far enough down the page :)

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
From: Nick Krause [mailto:xerofo...@gmail.com] Sent: Monday, August 04, 2014 3:50 PM On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Monday, August 04, 2014 1:28 PM On Mon, 04 Aug

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: Nick Krause [mailto:xerofo...@gmail.com] Sent: Monday, August 04, 2014 3:50 PM On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: valdis.kletni...@vt.edu

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: Nick Krause [mailto:xerofo...@gmail.com] [snip] Paul , My computer is rather old now as of Sandy Bridge days, so I probably can't test

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: Nick Krause [mailto:xerofo...@gmail.com] [snip] Paul ,

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause xerofo...@gmail.com wrote: On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman paul.zimmer...@synopsys.com

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 11:18 PM, Nick Krause xerofo...@gmail.com wrote: On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause xerofo...@gmail.com wrote: On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon,

Re: Kernel Debugging Support

2014-08-02 Thread Nick Krause
On Sat, Aug 2, 2014 at 9:48 AM, Alan Stern wrote: > On Sat, 2 Aug 2014, Nick Krause wrote: > >> Hey Sharp, >> After reading around seems people want support for usb debugging in >> kgdb or other usb based solutions. >> If you and the other developers are able to help me out a bit as I am >> new I

Re: Kernel Debugging Support

2014-08-02 Thread Alan Stern
On Sat, 2 Aug 2014, Nick Krause wrote: > Hey Sharp, > After reading around seems people want support for usb debugging in > kgdb or other usb based solutions. > If you and the other developers are able to help me out a bit as I am > new I can definitively write this > area of kgdb support.

Re: Kernel Debugging Support

2014-08-02 Thread Alan Stern
On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit as I am new I can definitively write this area of kgdb support. Doesn't

Re: Kernel Debugging Support

2014-08-02 Thread Nick Krause
On Sat, Aug 2, 2014 at 9:48 AM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 2 Aug 2014, Nick Krause wrote: Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit

Kernel Debugging Support

2014-08-01 Thread Nick Krause
Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit as I am new I can definitively write this area of kgdb support. Regards Nick P.S. If you want Sharp I can change the

Kernel Debugging Support

2014-08-01 Thread Nick Krause
Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit as I am new I can definitively write this area of kgdb support. Regards Nick P.S. If you want Sharp I can change the

Re: [PATCH v8 00/22] Add gdb python scripts as kernel debugging helpers

2014-06-09 Thread Andi Kleen
I looked through the patches and from a quick look they all look good to me. I especially like the support for per cpu variables. I had a lot of trouble with those in the past with various debugging setups. Acked-by: Andi Kleen -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To

Re: [PATCH v8 00/22] Add gdb python scripts as kernel debugging helpers

2014-06-09 Thread Andi Kleen
I looked through the patches and from a quick look they all look good to me. I especially like the support for per cpu variables. I had a lot of trouble with those in the past with various debugging setups. Acked-by: Andi Kleen a...@linux.intel.com -Andi -- a...@linux.intel.com -- Speaking

[PATCH v8 00/22] Add gdb python scripts as kernel debugging helpers

2014-06-06 Thread Jan Kiszka
Some time passed since the last posting. Basically, this round comes with two changes: - make the code Python 3 compatible [Pantelis Koukousoulas] - rebase over recent Linux version, resolving a trivial conflict See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the

[PATCH v8 00/22] Add gdb python scripts as kernel debugging helpers

2014-06-06 Thread Jan Kiszka
Some time passed since the last posting. Basically, this round comes with two changes: - make the code Python 3 compatible [Pantelis Koukousoulas] - rebase over recent Linux version, resolving a trivial conflict See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the

[PATCH v7 00/21] Add gdb python scripts as kernel debugging helpers

2013-11-11 Thread Jan Kiszka
Another round, addressing the following review comments on v6: - introduce CONFIG_GDB_SCRIPTS to enable/disable this feature - adjust documentation and fix a minor detail See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v7 00/21] Add gdb python scripts as kernel debugging helpers

2013-11-11 Thread Jan Kiszka
Another round, addressing the following review comments on v6: - introduce CONFIG_GDB_SCRIPTS to enable/disable this feature - adjust documentation and fix a minor detail See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v6 00/21] Add gdb python scripts as kernel debugging helpers

2013-10-28 Thread Jan Kiszka
It's been a while since my last update of these patches. This one is mostly about cleaning up and making some details more convenient: - proper registration of module data segments to access module variables - this obsoletes lx_modvar again - stable breakpoint target on do_init_module in

[PATCH v6 00/21] Add gdb python scripts as kernel debugging helpers

2013-10-28 Thread Jan Kiszka
It's been a while since my last update of these patches. This one is mostly about cleaning up and making some details more convenient: - proper registration of module data segments to access module variables - this obsoletes lx_modvar again - stable breakpoint target on do_init_module in

Re: [PATCH v5 00/20] Add gdb python scripts as kernel debugging helpers

2013-01-29 Thread Borislav Petkov
On Tue, Jan 29, 2013 at 01:37:43PM +0100, Jan Kiszka wrote: > Version 5 comes with the following changes: > - moved tutorial into Documentation/gdb-kernel-debugging.txt > - improved caching of gdb.Type objects, ensure they are in sync with >currently loaded symbols > - added new functions

[PATCH v5 00/20] Add gdb python scripts as kernel debugging helpers

2013-01-29 Thread Jan Kiszka
Version 5 comes with the following changes: - moved tutorial into Documentation/gdb-kernel-debugging.txt - improved caching of gdb.Type objects, ensure they are in sync with currently loaded symbols - added new functions and commands - lx_module -- Find module by name and return the

[PATCH v5 00/20] Add gdb python scripts as kernel debugging helpers

2013-01-29 Thread Jan Kiszka
Version 5 comes with the following changes: - moved tutorial into Documentation/gdb-kernel-debugging.txt - improved caching of gdb.Type objects, ensure they are in sync with currently loaded symbols - added new functions and commands - lx_module -- Find module by name and return the

Re: [PATCH v5 00/20] Add gdb python scripts as kernel debugging helpers

2013-01-29 Thread Borislav Petkov
On Tue, Jan 29, 2013 at 01:37:43PM +0100, Jan Kiszka wrote: Version 5 comes with the following changes: - moved tutorial into Documentation/gdb-kernel-debugging.txt - improved caching of gdb.Type objects, ensure they are in sync with currently loaded symbols - added new functions and

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Jan Kiszka
On 2013-01-23 12:32, Borislav Petkov wrote: > Ok, first of all, I gotta say, this is very cool stuff, thanks for doing > this. I'm playing with your tutorial and I'm having some trouble, see > below: > > On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: >> o Let's examine the current

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Borislav Petkov
Ok, first of all, I gotta say, this is very cool stuff, thanks for doing this. I'm playing with your tutorial and I'm having some trouble, see below: On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: > o Let's examine the current task a bit: > (gdb) p ().pid when I do that, it

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Borislav Petkov
Ok, first of all, I gotta say, this is very cool stuff, thanks for doing this. I'm playing with your tutorial and I'm having some trouble, see below: On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: o Let's examine the current task a bit: (gdb) p ().pid when I do that, it says:

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Jan Kiszka
On 2013-01-23 12:32, Borislav Petkov wrote: Ok, first of all, I gotta say, this is very cool stuff, thanks for doing this. I'm playing with your tutorial and I'm having some trouble, see below: On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: o Let's examine the current task a

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 23:15, Andi Kleen wrote: >> >> o Install that kernel on the guest > > If you use a static kernel you can also do > > - copy the initrd out of the guest once > > qemu... -bzImage kernel -initrd initrd -kernel/append/initrd, of course. > > This saves the step of getting the

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 22:21, Andi Kleen wrote: >> >> And this is a tutorial for the gdb extension using QEMU/KVM as target >> platform: > > Can you add the tutorial as a file in Documentation? Sure, will do. > Other than that everything looks good to me. Thanks, Jan -- Siemens AG, Corporate

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 22:21, Andi Kleen wrote: And this is a tutorial for the gdb extension using QEMU/KVM as target platform: Can you add the tutorial as a file in Documentation? Sure, will do. Other than that everything looks good to me. Thanks, Jan -- Siemens AG, Corporate Technology, CT

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 23:15, Andi Kleen wrote: o Install that kernel on the guest If you use a static kernel you can also do - copy the initrd out of the guest once qemu... -bzImage kernel -initrd initrd -kernel/append/initrd, of course. This saves the step of getting the kernel into

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Andi Kleen
> > o Install that kernel on the guest If you use a static kernel you can also do - copy the initrd out of the guest once qemu... -bzImage kernel -initrd initrd This saves the step of getting the kernel into the kernel. Doesn't work with modules unfortunately. -Andi -- To unsubscribe from

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Ben Widawsky
; While waiting for feedback who could imagine picking this up for merge, > I wrote a tiny tutorial, see below. > > > Here is the original series intro again: > > This adds the infrastructure and first tools that make kernel debugging > through gdb more comfortable. Sinc

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Andi Kleen
> > And this is a tutorial for the gdb extension using QEMU/KVM as target > platform: Can you add the tutorial as a file in Documentation? Other than that everything looks good to me. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Jan Kiszka
tutorial, see below. Here is the original series intro again: This adds the infrastructure and first tools that make kernel debugging through gdb more comfortable. Since 7.0, gdb supports python scripting. And this opens the doors to automate steps like the tedious loading of module symbols

[PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Jan Kiszka
tutorial, see below. Here is the original series intro again: This adds the infrastructure and first tools that make kernel debugging through gdb more comfortable. Since 7.0, gdb supports python scripting. And this opens the doors to automate steps like the tedious loading of module symbols

  1   2   >