[PATCH] hid-apple.c: Set APPLE_ISO_KEYBOARD at USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO

2012-11-03 Thread Johannes Thumshirn
Set APPLE_ISO_KEYBOARD flag on USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO so we get the ISO translation on German keyboards for the MacBook4,1 as well. Signed-off-by: Johannes Thumshirn --- drivers/hid/hid-apple.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid

[RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-27 Thread Johannes Thumshirn
I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog, this patch addresses this error. Signed-off-by: Johannes Thumshirn Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc

Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-27 Thread Johannes Thumshirn
On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: > On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: > > I accidently put the devicetree bindings for the MEN A21 watchdog driver in > > Documentation/devicetree/bindings/gpio instead of > > Documentation/devicet

Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-28 Thread Johannes Thumshirn
On Wed, Aug 28, 2013 at 08:38:56AM -0600, Stephen Warren wrote: > On 08/28/2013 12:22 AM, Johannes Thumshirn wrote: > > On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: > >> On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: > >>> I accidently put the d

Re: [PATCH] kconfig: Make diffconfig work with Python 3

2013-08-29 Thread Johannes Thumshirn
On Wed, Aug 28, 2013 at 07:29:53AM -0700, Tim Bird wrote: > On Fri, Aug 9, 2013 at 5:27 AM, Johannes Thumshirn > wrote: > > Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and > > Python 2 (2.7.5) > > > > Signed-off-by: Johannes Thumshirn > >

Re: [PATCH RESEND v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-07-07 Thread Johannes Thumshirn
On Fri, Jul 05, 2013 at 11:01:19PM +0200, Wim Van Sebroeck wrote: > Hi Johannes, > > > This patch adds the driver for the watchdog devices found on MEN Mikro > > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > > watchdog framework. > &g

Re: [PATCH RESEND v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-07-08 Thread Johannes Thumshirn
* fastmode: > > Shows if the CPLD is running in fast mode (1s timeout), once it is in > > fastmode it can't be switched back to slow mode (30s timeout) until the > > next reboot. > > > > Signed-off-by: Johannes Thumshirn > > I will not add this patch and put it

Re: [PATCH] mpc85xx_edac: Remove unused function

2013-10-07 Thread Johannes Thumshirn
On Mon, Oct 07, 2013 at 05:13:55PM +0200, Thierry Reding wrote: > Commit 905e75c (powerpc/fsl-pci: Unify pci/pcie initialization code) > removed the struct platform_driver that held the last reference to the > mpc85xx_pci_err_remove() function. Remove the function since it is > effectively dead cod

Re: [PATCH] kconfig: Make diffconfig work with Python 3

2013-09-03 Thread Johannes Thumshirn
On Tue, Sep 03, 2013 at 03:08:09PM +0200, Michal Marek wrote: > On 29.8.2013 17:10, Johannes Thumshirn wrote: > > On Wed, Aug 28, 2013 at 07:29:53AM -0700, Tim Bird wrote: > >> On Fri, Aug 9, 2013 at 5:27 AM, Johannes Thumshirn > >> wrote: > >>> Adjus

[RFC] PWM: Add support for pwm-bcm2835

2013-09-21 Thread Johannes Thumshirn
Add support for the PWM controller of the BCM2835 SoC found on Raspberry PI The driver isn't as much tested as I wanted it to be and devicetree support is still missing, but I thought it would be nice to have some comments if I'm in the right direction. Signed-off-by: Johannes

[PATCH 2/3] edac/85xx: Add PCIe error interrupt edac support

2013-09-23 Thread Johannes Thumshirn
report error interrupts to mpic via interrupt 0. This patch can handle both of them. Signed-off-by: Chunhe Lan Cc: Doug Thompson Cc: Dave Jiang Cc: Borislav Petkov Signed-off-by: Johannes Thumshirn --- drivers/edac/mpc85xx_edac.c | 98 ++- drivers

[PATCH 1/3] MAINTAINERS: Add edac-mpc85xx driver to MAINTAINERS

2013-09-23 Thread Johannes Thumshirn
Add drivers/edac/mpc85xx_edac.[ch] to MAINTAINERS file and me as maintainer. Signed-off-by: Johannes Thumshirn Cc: Doug Thompson Cc: Dave Jiang Cc: Borislav Petkov --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e61c2e8..9c400b4

[PATCH 0/3] edac/85xx: New Maintainership for MPC85xx EDAC driver

2013-09-23 Thread Johannes Thumshirn
PATCH] edac/85xx: Request shared interrupts for PCI" by Barry Grussling is not included, as Chunhe Lan's patch incorporates that fix. Thanks. Johannes Chunhe Lan (1): edac/85xx: Add PCIe error interrupt edac support Johannes Thumshirn (2): MAINTAINERS: Add edac-mpc85xx driver to MAI

[PATCH 3/3] edac/85xx: Remove mpc85xx_pci_err_remove

2013-09-23 Thread Johannes Thumshirn
From: Johannes Thumshirn Remove mpc85xx_pci_err_remove(...) which is obsolete, this removes the compiler warning which can be seen when building the driver either statically or as a module. Signed-off-by: Johannes Thumshirn Signed-off-by: Johannes Thumshirn --- drivers/edac/mpc85xx_edac.c

Re: [RFC] PWM: Add support for pwm-bcm2835

2013-09-24 Thread Johannes Thumshirn
On Mon, Sep 23, 2013 at 11:45:48AM +0200, Thierry Reding wrote: > On Sat, Sep 21, 2013 at 12:09:02PM +0200, Johannes Thumshirn wrote: > > The subject prefix should be "pwm: ". Also something like this might be > better as a subject: > > pwm: Add BCM2835 SoC P

Re: [patch 1/2] staging: line6: delete an unused function

2012-12-06 Thread johannes thumshirn
On Thu, Dec 6, 2012 at 6:18 AM, Stefan Hajnoczi wrote: > On Wed, Dec 5, 2012 at 7:43 PM, Dan Carpenter > wrote: >> line6_send_sysex_message_async() isn't called from anywhere. >> >> Signed-off-by: Dan Carpenter > > Reviewed-by: Stefan Hajnoczi Rev

Re: [PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
On Thu, Jun 13, 2013 at 08:55:33PM -0700, Guenter Roeck wrote: [...] > > Signed-off-by: Johannes Thumshirn > > Almost good. One comment below. > > Thanks, > Guenter > Nice to hear. Thanks for the review by the way. [...] > > + > > + drv->num_gpios

[PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason

[PATCH v9 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-14 Thread Johannes Thumshirn
until the next reboot. Signed-off-by: Johannes Thumshirn --- Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Revision 4: * Re-worked sysfs patch to apply on re-worked base drivers/watchdog/mena21_wdt.c |

Re: [PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-16 Thread Johannes Thumshirn
On Sun, Jun 16, 2013 at 03:07:15PM -0700, Guenter Roeck wrote: > On Fri, Jun 14, 2013 at 12:58:37PM +0200, Johannes Thumshirn wrote: > > This patch adds the driver for the watchdog devices found on MEN Mikro > > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses t

[PATCH v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-17 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason

[PATCH v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-17 Thread Johannes Thumshirn
until the next reboot. Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Signed-off-by: Johannes Thumshirn --- drivers/watchdog/mena21_wdt.c | 89 + 1 file changed, 89 inser

Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-06 Thread Johannes Thumshirn
On Mon, Jun 03, 2013 at 11:50:26AM +0200, Johannes Thumshirn wrote: > On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: > > On Fri, May 31, 2013 at 02:55:19PM +0200, Johannes Thumshirn wrote: > > > Hi Guenther, > > > On Fri, May 31, 2013 at 04:40:37AM

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-06 Thread Johannes Thumshirn
On Thu, Jun 06, 2013 at 04:31:10AM -0700, Guenter Roeck wrote: > On Thu, Jun 06, 2013 at 12:51:03PM +0200, Johannes Thumshirn wrote: > > On Mon, Jun 03, 2013 at 11:50:26AM +0200, Johannes Thumshirn wrote: > > > On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: >

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-07 Thread Johannes Thumshirn
On Thu, Jun 06, 2013 at 10:08:28AM -0700, Guenter Roeck wrote: > On Thu, Jun 06, 2013 at 03:00:55PM +0200, Johannes Thumshirn wrote: > > On Thu, Jun 06, 2013 at 04:31:10AM -0700, Guenter Roeck wrote: > > > On Thu, Jun 06, 2013 at 12:51:03PM +0200, Johannes Thumshirn wrote: >

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-07 Thread Johannes Thumshirn
On Fri, Jun 07, 2013 at 02:14:19AM -0700, Guenter Roeck wrote: > On Fri, Jun 07, 2013 at 09:45:19AM +0200, Johannes Thumshirn wrote: > > On Thu, Jun 06, 2013 at 10:08:28AM -0700, Guenter Roeck wrote: > > > On Thu, Jun 06, 2013 at 03:00:55PM +0200, Johannes Thumshirn wrote: >

[PATCH v8 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-07 Thread Johannes Thumshirn
until the next reboot. Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Signed-off-by: Johannes Thumshirn --- drivers/watchdog/mena21_wdt.c | 88 + 1 file changed, 88 inser

[PATCH RESEND v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-18 Thread Johannes Thumshirn
until the next reboot. Signed-off-by: Johannes Thumshirn --- Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base drivers/watchdog/mena21_wdt.c | 89 + 1 file changed, 89 inser

[PATCH RESEND v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-18 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn Reviewed-by: Guenter Roeck --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
Hi Guenther, On Thu, May 30, 2013 at 03:02:47PM -0700, Guenter Roeck wrote: > On Thu, May 30, 2013 at 11:59:28PM +0200, Wim Van Sebroeck wrote: > > Hi Guenter, > > [...] > > I even thought about adding this capability to the infrastructure. Actually this would be pretty nice to have > > Thanks, >

[PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
by chip Revision 4: * Remove reboot_notifier and place disable code into platform_device's shutdown function * Removed sysfs interface Revision 5: * Added setting of .bootstatus on driver init * Added initial timeout on driver init Signed-off-by: Johannes Thumshirn --- MAINTAINERS

[PATCH v2 2/2] This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards.

2013-05-31 Thread Johannes Thumshirn
base Signed-off-by: Johannes Thumshirn --- drivers/watchdog/mena21_wdt.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/watchdog/mena21_wdt.c b/drivers/watchdog/mena21_wdt.c index e586c2e..e11d869 100644 --- a/drivers/watchdog/mena21_wdt.c

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 10:58:48AM +0200, Johannes Thumshirn wrote: > This patch adds the driver for the watchdog devices found on MEN Mikro > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > watchdog framework. [...] > +MODULE_DESCRIPTION("

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 03:36:54AM -0700, Guenter Roeck wrote: > On Fri, May 31, 2013 at 10:58:48AM +0200, Johannes Thumshirn wrote: > > This patch adds the driver for the watchdog devices found on MEN Mikro > > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses t

[PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
e 100644 drivers/watchdog/mena21_wdt.c diff --git a/MAINTAINERS b/MAINTAINERS index 7714c3c..023945a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5307,6 +5307,12 @@ F: drivers/mtd/ F: include/linux/mtd/ F: include/uapi/mtd/ +MEN A21 WATCHDOG DRIVER +M: Johannes Thumshirn +L: linux

Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
Hi Guenther, On Fri, May 31, 2013 at 04:40:37AM -0700, Guenter Roeck wrote: > > +#define GPIO_WD_ENAB 169 > > +#define GPIO_WD_FAST 170 > > +#define GPIO_WD_TRIG 171 > > + > > +#define GPIO_RST_CAUSE_BASE 166 > > + > > I think I asked that before ... as you are supporting devicetr

[PATCH v7] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
imeout Revision 7: * Fix possible get_bootstatus race condition Signed-off-by: Johannes Thumshirn --- MAINTAINERS |6 ++ drivers/watchdog/Kconfig |8 ++ drivers/watchdog/Makefile |1 + drivers/watchdog/mena21_wdt.c | 234 ++

Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-03 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: > On Fri, May 31, 2013 at 02:55:19PM +0200, Johannes Thumshirn wrote: > > Hi Guenther, > > On Fri, May 31, 2013 at 04:40:37AM -0700, Guenter Roeck wrote: > > > > +#define GPIO_WD_ENAB 169 > >

[PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-03 Thread Johannes Thumshirn
include/linux/mtd/ F: include/uapi/mtd/ +MEN A21 WATCHDOG DRIVER +M: Johannes Thumshirn +L: linux-watch...@vger.kernel.org +S: Supported +F: drivers/watchdog/mena21_wdt.c + METAG ARCHITECTURE M: James Hogan S: Supported diff --git a/drivers/watchdog/Kconfig b/dr

[PATCH] edac: mpc85xx_edac.c: Remove mpc85xx_pci_err_remove

2013-06-24 Thread Johannes Thumshirn
Remove mpc85xx_pci_err_remove(...) which is obsolete, this removes the compiler warning which can be seen when building the driver either statically or as a module. Signed-off-by: Johannes Thumshirn --- drivers/edac/mpc85xx_edac.c | 22 -- 1 file changed, 22 deletions

Re: [PATCH RESEND v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-07-01 Thread Johannes Thumshirn
Hi Wim, I just wanted to know if you already had time to review the driver? With Guenter's help I got rid of some of the quirks still in and he issued his Reviewed-by. I also imporoved devicetree support and wrote the dts binding document as Arnd Bergmann suggested. I know you're probably quite b

[PATCH] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-21 Thread Johannes Thumshirn
I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog, this patch addresses this error. Signed-off-by: Johannes Thumshirn Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc

Re: [PATCH] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-22 Thread Johannes Thumshirn
On Wed, Aug 21, 2013 at 11:34:00AM -0600, Stephen Warren wrote: > On 08/21/2013 06:42 AM, Johannes Thumshirn wrote: > > I accidently put the devicetree bindings for the MEN A21 watchdog driver in > > Documentation/devicetree/bindings/gpio instead of > > Documentation/devicet

[PATCH] kconfig: Make diffconfig work with Python 3

2013-08-09 Thread Johannes Thumshirn
Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and Python 2 (2.7.5) Signed-off-by: Johannes Thumshirn --- scripts/diffconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/diffconfig b/scripts/diffconfig index b91f3e3

[RESEND PATCH] kconfig: Make diffconfig work with Python 3

2013-08-09 Thread Johannes Thumshirn
Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and Python 2 (2.7.5) Signed-off-by: Johannes Thumshirn --- scripts/diffconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/diffconfig b/scripts/diffconfig index b91f3e3

[PATCH] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-13 Thread johannes . thumshirn
From: Johannes Thumshirn This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn --- MAINTAINERS |6 + drivers/watchdog/Kconfig

[PATCH v2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-14 Thread johannes . thumshirn
From: Johannes Thumshirn This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason code from gpio

[PATCH v3] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-15 Thread johannes . thumshirn
From: Johannes Thumshirn This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason code from gpio

[PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-27 Thread johannes . thumshirn
From: Johannes Thumshirn This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason code from gpio

[PATCH v4 2/2] watchdog: Add sysfs interface for MEN A21 watchdog

2013-05-27 Thread johannes . thumshirn
From: Johannes Thumshirn This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad, Invalid or BDI and shows the

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-28 Thread Johannes Thumshirn
On Mon, May 27, 2013 at 08:25:54PM +0200, Wim Van Sebroeck wrote: [...] > > + watchdog_set_drvdata(&a21_wdt, drv); > > I am missing the initialisation of the watchdog's timeout value here... This watchdog only knows two timeout values, 1s and 30s with the constraint that you can't go back to 30s

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-29 Thread Johannes Thumshirn
On Tue, May 28, 2013 at 09:22:18AM -0700, Guenter Roeck wrote: > On Tue, May 28, 2013 at 10:10:53AM +0200, Johannes Thumshirn wrote: > > On Mon, May 27, 2013 at 08:25:54PM +0200, Wim Van Sebroeck wrote: > > [...] > > > > + watchdog_set_drvdata(&a21_wdt, drv

Re: [PATCH v4 2/2] watchdog: Add sysfs interface for MEN A21 watchdog

2013-05-29 Thread Johannes Thumshirn
On Mon, May 27, 2013 at 09:41:54PM +0200, Wim Van Sebroeck wrote: > Hi Johannes, > > > This patch adds a sysfs interface for the watchdog device found on MEN A21 > > Boards. > > > > The newly generated files are: > > * rebootcause: > > Can be one of: > > Power on Reset, > > CPU Reset Request, > > P

[PATCH] line6: pcm.c: Changed simple_strtoul to kstrtoint

2012-08-06 Thread Johannes Thumshirn
Changed call to simple_strtoul to kstrtoint in pcm_set_impulse_volume(...) Signed-off-by: Johannes Thumshirn --- drivers/staging/line6/pcm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6/pcm.c index 5e319e3

staging: Line6 - Steps needed to get driver out of staging area

2012-09-16 Thread Johannes Thumshirn
Hi LKML, I wanted to ask for the steps that are needed to get the line6 driver out of the staging area (apart from minor getpatch.pl fixes). Regards, Johannes Thumshirn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: staging: Line6 - Steps needed to get driver out of staging area

2012-09-18 Thread Johannes Thumshirn
On 09/17/2012 10:22 PM, Greg KH wrote: On Sun, Sep 16, 2012 at 07:29:03PM +0200, Johannes Thumshirn wrote: Hi LKML, I wanted to ask for the steps that are needed to get the line6 driver out of the staging area (apart from minor getpatch.pl fixes). First try asking on the proper mailing list

[PATCH] staging: line6: variax.c: Eliminated remaining strict_stroul()s

2012-08-14 Thread Johannes Thumshirn
Eliminated remaining calls to strict_stroul() and replaced them with strict_kstrtou8(). Signed-off-by: Johannes Thumshirn --- drivers/staging/line6/variax.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6

[PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
In twl6030_pwm_disable() use to_twl() instead of container_of() like in the rest of the driver. Signed-off-by: Johannes Thumshirn --- drivers/pwm/pwm-twl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index f783efc..a34c235

Re: [PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
On Sat, Feb 16, 2013 at 07:56:18PM +0100, Thierry Reding wrote: > On Sat, Feb 16, 2013 at 07:20:51PM +0100, Johannes Thumshirn wrote: > > In twl6030_pwm_disable() use to_twl() instead of container_of() like in the > > rest of the driver. > > > > Signed

[PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
Always use to_twl() for converting into private data instead of container_of() Signed-off-by: Johannes Thumshirn --- drivers/pwm/pwm-twl.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index a34c235..9cd2c9a 100644 --- a

[PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn --- drivers/pwm/pwm-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index 9cd2c9a..bf3fda2 100644 --- a/drivers/pwm/pwm-twl.c +++ b

Re: [PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
On Sun, Feb 17, 2013 at 11:26:30AM +0100, Thierry Reding wrote: > On Sun, Feb 17, 2013 at 11:08:13AM +0100, Johannes Thumshirn wrote: > > Fix a little type that unfortunately broke the build :-( > > Signed-off-by: Johannes Thumshirn > > --- > > drivers/pwm/pwm-twl.c |

Re: [PATCH] radix-tree: fix comment about "exceptional" bits

2016-07-20 Thread Johannes Thumshirn
lly implemented in radix-tree.h. > > So, fix the comment. > > Signed-off-by: Ross Zwisler Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfel

Re: [PATCH] x86/mm: only allow memmap=XX!YY over existing RAM

2016-06-21 Thread Johannes Thumshirn
ith the PRAM type. This way, > passing the wrong memmap will either not give you a pmem at all or give > you a smaller one that actually has RAM behind it. > > And if someone still needs to fake a pmem that doesn't have RAM behind > it, they can simply do memmap=XX@YY,XX!YY. >

Re: [PATCH] [SCSI] mvsas: mark symbols static where possible

2016-09-26 Thread Johannes Thumshirn
act, these functions are only used in the file in which they are > declared and don't need a declaration, but can be made static. > so this patch marks these functions with 'static'. > > Signed-off-by: Baoyou Xie > --- Looks good, Reviewed-by: Johannes Thumshirn -- Jo

Re: [PATCH v2] sysfs print name of undiscoverable attribute group

2016-09-27 Thread Johannes Thumshirn
On Mon, Sep 19, 2016 at 10:14:54AM +0200, Johannes Thumshirn wrote: > Print the name of an undiscoverable attribute group and not the > pointer's address. > > Signed-off-by: Johannes Thumshirn > --- > fs/sysfs/group.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 dele

Re: [PATCH 0/2] MCB patches for v4.9

2016-09-27 Thread Johannes Thumshirn
On Wed, Sep 14, 2016 at 12:05:22PM +0200, Johannes Thumshirn wrote: > Hi Greg, > > Here are the additional MCB patches for v4.9. > > They're around enabling of DMA for devices on an MCBus, are tested and > apply cleanly against your char-misc-next tree. > > Thanks,

Re: [PATCH 0/2] MCB patches for v4.9

2016-09-27 Thread Johannes Thumshirn
On Tue, Sep 27, 2016 at 12:32:34PM +0200, Greg KH wrote: > On Tue, Sep 27, 2016 at 10:30:45AM +0200, Johannes Thumshirn wrote: > > On Wed, Sep 14, 2016 at 12:05:22PM +0200, Johannes Thumshirn wrote: > > > Hi Greg, > > > > > > Here are the additional MCB pa

Re: [PATCH] lpfc: Fix possible NULL pointer dereference

2016-07-29 Thread Johannes Thumshirn
On Thu, Jul 28, 2016 at 09:21:47PM -0400, Martin K . Petersen wrote: > >>>>> "James" == James Smart writes: > > James> This patch is good. > > Johannes: You were going to tweak a few things and resubmit. Please do. Oh yes, sorry totally forgot about

Re: [PATCH 1/3] storvsc: use tagged SRB requests if supported by the device

2016-09-07 Thread Johannes Thumshirn
ction = SRB_SIMPLE_TAG_REQUEST; > + } > + > /* Build the SRB */ > switch (scmnd->sc_data_direction) { > case DMA_TO_DEVICE: > -- > 1.8.5.6 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sc

Re: [PATCH] scsi: squash lines for simple wrapper functions

2016-09-08 Thread Johannes Thumshirn
1_get_gsm_dump(cdev, SYSFS_OFFSET, buf); > - return count; > + return pm8001_get_gsm_dump(cdev, SYSFS_OFFSET, buf); > } > > static DEVICE_ATTR(gsm_log, S_IRUGO, pm8001_ctl_gsm_log_show, NULL); Probably just like the above, haven't checked. > diff --git a/drive

[PATCH 0/2] MCB patches for v4.9

2016-09-14 Thread Johannes Thumshirn
Hi Greg, Here are the additional MCB patches for v4.9. They're around enabling of DMA for devices on an MCBus, are tested and apply cleanly against your char-misc-next tree. Thanks, Johannes Michael Moese (2): Enable PCI bus mastering by default Add a dma_device to mcb_device driv

[PATCH 2/2] Add a dma_device to mcb_device

2016-09-14 Thread Johannes Thumshirn
MA operations. Signed-off-by: Michael Moese Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-core.c | 1 + include/linux/mcb.h| 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c index 5306966..921a5d2 100644 --- a/drivers/mcb/mcb-core.c

[PATCH 1/2] Enable PCI bus mastering by default

2016-09-14 Thread Johannes Thumshirn
From: Michael Moese In order to successfully perform DMA operations on PCI devices, it is necessary to enble PCI bus mastering, so enable it by default. Signed-off-by: Michael Moese Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] sysfs print name of undiscoverable attribute group as well

2016-09-15 Thread Johannes Thumshirn
Print the name of an undiscoverable attribute group as well, not just the pointer's address. Signed-off-by: Johannes Thumshirn --- fs/sysfs/group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index dc1358b..b1a3557 100644 ---

Re: [PATCH v2 1/2] Enable PCI bus mastering by default

2016-08-31 Thread Johannes Thumshirn
the commit's out, as I'll wait if Greg to applies the mcb-for-4.8 patches before or not. This would remove the burden of a rebase and force-push. -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689

Re: [PATCH v2 2/2] Add a dma_device to mcb_device

2016-08-31 Thread Johannes Thumshirn
to ensure the MCB device driver uses the correct device for DMA > operations. > > Signed-off-by: Michael Moese > --- Applied, thanks. -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX G

Re: [PATCH] bfa: do not dereference port before it is null checked

2016-08-31 Thread Johannes Thumshirn
re > port is not null. > > Signed-off-by: Colin Ian King > --- Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF:

Re: [PATCH 1/8] block: add WRITE_BG

2016-09-01 Thread Johannes Thumshirn
On Wed, Aug 31, 2016 at 11:05:44AM -0600, Jens Axboe wrote: > This adds a new request flag, REQ_BG, that callers can use to tell > the block layer that this is background (non-urgent) IO. > > Signed-off-by: Jens Axboe > --- s/WRITE_BG/REQ_BG/ in Subject? -- Joh

Re: [PATCH 1/8] block: add WRITE_BG

2016-09-01 Thread Johannes Thumshirn
On Thu, Sep 01, 2016 at 09:55:18AM +0200, Johannes Thumshirn wrote: > On Wed, Aug 31, 2016 at 11:05:44AM -0600, Jens Axboe wrote: > > This adds a new request flag, REQ_BG, that callers can use to tell > > the block layer that this is background (non-urgent) IO. > > > >

Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac

2016-08-05 Thread Johannes Thumshirn
t; functions... I can give it a shot, but I don't have too much spare time atm and no hardware to test, so it'll have a strong RFC smell attached to it. Byte, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de

Re: [PATCH v4 2/3] ses: use scsi_is_sas_rphy instead of is_sas_attached

2016-08-24 Thread Johannes Thumshirn
rl: > https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/Fix-panic-when-a-SES-device-is-attached-to-a-hpsa-logical-volume/20160815-231901 > base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next > config: x86_64-randconfig-n0-08182202 (attached as .config) >

[RESEND PATCH 0/4] mcb changes for v4.8 or v4.9

2016-08-26 Thread Johannes Thumshirn
git://git.kernel.org/pub/scm/linux/kernel/git/jth/linux.git tags/for-v4.8 Thanks, Johannes Andreas Werner (2): mcb: Added support for LPC or non PCI based MCB carrier mcb: Added bar descriptor support for non PCI bus MCB carrier Johannes Thumshirn (2): mcb: Introduce type safet

[RESEND PATCH 3/4] mcb: Introduce type safety for to_mcb_*

2016-08-26 Thread Johannes Thumshirn
The to_mcb_{bus,device,driver}() macros lacked type safety, so convert them to inline functions to enforce compile time type checking. Signed-off-by: Johannes Thumshirn --- include/linux/mcb.h | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/include/linux

[RESEND PATCH 2/4] mcb: Added bar descriptor support for non PCI bus MCB carrier

2016-08-26 Thread Johannes Thumshirn
header. Signed-off-by: Andreas Werner [ free bar descriptor in the non-error case ] Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-internal.h | 9 drivers/mcb/mcb-parse.c| 126 - 2 files changed, 121 insertions(+), 14 deletions

[RESEND PATCH 1/4] mcb: Added support for LPC or non PCI based MCB carrier

2016-08-26 Thread Johannes Thumshirn
From: Andreas Werner Add support for MCB bases FPGAs connected to the LPC or non PCI Bus. This driver currently supports the SC24 board. The FPGA is connected to the LPC bus and is identified using the BIOS DMI string. Signed-off-by: Andreas Werner Signed-off-by: Johannes Thumshirn

[RESEND PATCH 4/4] mcb: remove sub-device handling code

2016-08-26 Thread Johannes Thumshirn
technically dead code, but it gets executed on a device add, I've decided to remove it. Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-core.c | 17 - include/linux/mcb.h| 4 2 files changed, 21 deletions(-) diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-c

[PATCH] nvme: add hostid token to fabric options

2017-06-20 Thread Johannes Thumshirn
Currently we have no way to define a stable host-id but always use the one which is randomly generated when we add the host or use the default host. Provide a "hostid=%s" for user-space to pass in a persistent host-id which overrides the randomly generated one. Signed-off-by: Johannes

[PATCH RESEND 4/7] [media] cx25821: use MEDIA_REVISION instead of KERNEL_VERSION

2017-06-21 Thread Johannes Thumshirn
Use MEDIA_REVISION instead of KERNEL_VERSION to encode the CX25821_VERSION_CODE. Signed-off-by: Johannes Thumshirn --- drivers/media/pci/cx25821/cx25821.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821

[PATCH RESEND 1/7] [media] media: introduce MEDIA_REVISION macro

2017-06-21 Thread Johannes Thumshirn
Currently the media code abuses the KERNEL_VERSION macro to encode a version triplet. Introduce a MEDIA_REVISION macro to get rid of the confusing and creative KERNEL_VERSION usage in the media subsystem. Signed-off-by: Johannes Thumshirn --- include/uapi/linux/media.h | 4 +++- 1 file changed

[PATCH RESEND 0/7] Introduce MEDIA_VERSION to end KENREL_VERSION abuse in media

2017-06-21 Thread Johannes Thumshirn
clearly has media centric semantics and doesn't fool someone into thinking specific parts are defined for a specific kernel version only like in out of tree drivers. Johannes Thumshirn (7): [media] media: introduce MEDIA_REVISION macro video: fbdev: don't use KERNEL_VERSION macro for MEDI

[PATCH RESEND 6/7] [media] media: bcm2048: use MEDIA_REVISION isntead of KERNEL_VERSION

2017-06-21 Thread Johannes Thumshirn
Use MEDIA_REVISION isntead of KERNEL_VERSION to encode the bcm2048 driver version. Signed-off-by: Johannes Thumshirn --- drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers

[PATCH RESEND 5/7] [media] media: s3c-camif: Use MEDIA_REVISON instead of KERNEL_VERSION

2017-06-21 Thread Johannes Thumshirn
Use MEDIA_REVISON instead of KERNEL_VERSION to encode the driver version. Signed-off-by: Johannes Thumshirn --- drivers/media/platform/s3c-camif/camif-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media

[PATCH RESEND 7/7] staging/atomisp: use MEDIA_VERSION instead of KERNEL_VERSION

2017-06-21 Thread Johannes Thumshirn
Use MEDIA_VERSION instead of KERNEL_VERSION to encode the driver version of the Atom ISP driver. Signed-off-by: Johannes Thumshirn --- drivers/staging/media/atomisp/include/linux/atomisp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/atomisp

[PATCH RESEND 2/7] video: fbdev: don't use KERNEL_VERSION macro for MEDIA_REVISION

2017-06-21 Thread Johannes Thumshirn
Don't use the KERNEL_VERSION() macro for the v4l2 capabilities, use MEDIA_REVISION instead. Signed-off-by: Johannes Thumshirn --- drivers/video/fbdev/matrox/matroxfb_base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/matrox/matroxfb_base

[PATCH RESEND 3/7] [media] media: document the use of MEDIA_REVISION instead of KERNEL_VERSION

2017-06-21 Thread Johannes Thumshirn
Update the documentation to introduce the use of MEDIA_REVISON instead of KERNEL_VERSION for the verison triplets of a media drivers hardware revision or driver version. Signed-off-by: Johannes Thumshirn --- Documentation/media/uapi/cec/cec-ioc-adap-g-caps.rst| 2 +- Documentation/media

Re: [PATCH 1/2] hpsa: limit transfer length to 1MB

2017-06-22 Thread Johannes Thumshirn
bsc#1025461 and our internal Bugzilla IDs How about: The hpsa firmware will bypass the cache for any requests larger than 1MB, so we shoould cap the request size to avoid any performance regressions in kernels later than 4.3 The same applies for Patch 2/2 -- J

Re: [PATCH] scsi: libfc: Convert timers to use timer_setup()

2017-10-17 Thread Johannes Thumshirn
Looks good, Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

[PATCH 0/7] Implement NVMe Namespace Descriptor Identification

2017-05-30 Thread Johannes Thumshirn
r nvmetcli will follow shortly. Johannes Thumshirn (7): nvme: rename uuid to nguid in nvme_ns nvmet: add uuid field to nvme_ns and populate via configfs nvmet: add eui64 field to nvme_ns and populate via configfs nvme: also report include the EUI-64 in identify NS report nvmet: implement

[PATCH 2/7] nvmet: add uuid field to nvme_ns and populate via configfs

2017-05-30 Thread Johannes Thumshirn
Add the UUID field from the NVMe Namespace Identification Descriptor to the nvmet_ns structure and allow it's population via configfs. Signed-off-by: Johannes Thumshirn --- drivers/nvme/target/configfs.c | 48 ++ drivers/nvme/target/nvmet.h| 1

  1   2   3   4   5   6   7   8   9   10   >