Regarding USER_HZ and the exposure of kernel jiffies in userspace

2015-08-22 Thread William Breathitt Gray
to be scaled via USER_HZ, and when are they not? Thanks, William Breathitt Gray -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-27 Thread William Breathitt Gray
On 10/27/2015 07:13 AM, Simon Guinot wrote: > On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: >> On Mon, Oct 19, 2015 at 6:59 PM, William Breathitt Gray >> <vilhelm.g...@gmail.com> wrote: >> >>> The ACCES 104-IDIO-16 family of PC/104 utility boar

Re: [PATCH] gpio: 104-idio-16: Use lowercase symbol names for const variables

2015-11-08 Thread William Breathitt Gray
r them to be positioned? William Breathitt Gray -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] gpio: 104-idio-16: Use lowercase symbol names for const variables

2015-11-04 Thread William Breathitt Gray
To prevent confusion and to match existing coding style used in other gpio drivers symbol names within the 104-idio-16 gpio driver should be lowercase. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/gpio/gpio-104-idio-16.c | 31 +++

[PATCH v7] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v7: - Return -EINVAL when gpio_get ope

[PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-19 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v10: - Rename symbols to be more concise - Allocat

[BUG] x86: apic: Possible null pointer dereference by apic_ack_edge

2015-10-10 Thread William Breathitt Gray
->move_in_progress)) Sincerely, William Breathitt Gray -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

[PATCH v5] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v5 - Remove owner field from a_104_idio_16_driver

[PATCH v6] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-07 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v6: - Add support for gpio_get_direction functio

[PATCH v4] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-06 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v4: - Replace compile-time co

[PATCH v8] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-08 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v8: - Remove value inversion before output sinc

[PATCH v9] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-09 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. The base port address for the device may be set via the a_104_idio_16_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v9: - Initialize GPIO device private data str

[PATCH v2] gpio: 104-idio-16: Use lowercase symbol names for const variables

2015-11-17 Thread William Breathitt Gray
To prevent confusion, and to match the existing coding style used in other GPIO drivers, symbol names within the 104-idio-16 GPIO driver should be lowercase. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Alexandre Courbot <acour...@nvidia.com> --- C

[PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-09-30 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/gpio/Kconfig| 14 drivers/gpio/Makefile | 1 + drivers/gpio/gpio-104-idio-16.c

[PATCH v2] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-04 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: - Add X86 dependency for CONFIG_GPIO_104_IDIO_16 - Encapsulate container_of macro within static function drivers/gpio/K

Re: [PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
On 10/05/2015 04:29 AM, Linus Walleij wrote: >> +struct a_104_idio_16_gpio { >> + struct gpio_chip chip; >> + spinlock_t lock; >> + unsigned base; > > Isn't this void __iomem *base? The 'base' member is used to hold the I/O port base address passed to the inb/outb functions for

[PATCH v3] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
to digital outputs 0-15, while GPIO 16-31 correspond to digital inputs 0-15. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v3: - Replace gpio.h include with gpio/driver.h since all needed relevant symbols and resources are within the latter - Rename

Re: [PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-10-05 Thread William Breathitt Gray
On 10/05/2015 06:47 PM, Bjorn Helgaas wrote: > I'm really not familiar with PC/104, but wikipedia claims it only uses > ISA. Apparently PCI/104-Plus, PCI-104, PCI/104-Express, and PCIe/104 > *do* have PCI and/or PCIe, but it looks like the base PC/104 does not. > > Bjorn > This is correct:

[PATCH] gpio: Add GPIO support for the WinSystems WS16C48

2016-01-03 Thread William Breathitt Gray
. The base port address for the device may be configured via the ws16c48_base module parameter. The interrupt line number for the device may be configured via the ws16c48_irq module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- MAINTAINERS | 6 + d

[PATCH v2] gpio: Add GPIO support for the WinSystems WS16C48

2016-01-05 Thread William Breathitt Gray
. The base port address for the device may be configured via the ws16c48_base module parameter. The interrupt line number for the device may be configured via the ws16c48_irq module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: - Use gpio_chip data p

[PATCH v2] gpio: Add GPIO support for the ACCES 104-IDI-48

2015-11-29 Thread William Breathitt Gray
number for the device may be configured via the idi_48_irq module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: - Reimplement irq_ack callback as a NOOP since status register read in idi_48_irq_handler clears all pending interrupts. MAINT

Re: [PATCH] gpio: Add GPIO support for the ACCES 104-IDI-48

2015-12-01 Thread William Breathitt Gray
ange as a separate patch based on top of this commit? - William Breathitt Gray -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read th

[PATCH] gpio: 104-idio-16: Disable IRQ on device probe

2015-11-22 Thread William Breathitt Gray
IRQ should be disabled on device probe so that the device IRQ is in a known starting state. If IRQ is not disabled, interrupts may be reported as handled by the IRQ handler, despite no irq_unmask calls made by the user. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- d

[PATCH] gpio: Add GPIO support for the ACCES 104-IDI-48

2015-11-23 Thread William Breathitt Gray
number for the device may be configured via the idi_48_irq module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- MAINTAINERS| 6 + drivers/gpio/Kconfig | 9 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-104-id

[PATCH] gpio: 104-dio-48e: Fix control port offset computation off-by-one error

2016-06-02 Thread William Breathitt Gray
array memory access for a non-existent third control port. Fixes: 1b06d64f7374 ("gpio: Add GPIO support for the ACCES 104-DIO-48E") Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/gpio/gpio-104-dio-48e.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

2016-06-03 Thread William Breathitt Gray
The Apex Embedded Systems STX104 device features eight lines of digital I/O (four digital inputs and four digital outputs). This patch adds GPIO support for these eight lines of digital I/O via GPIOLIB. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/iio/dac/K

[PATCH v2] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

2016-06-03 Thread William Breathitt Gray
The Apex Embedded Systems STX104 device features eight lines of digital I/O (four digital inputs and four digital outputs). This patch adds GPIO support for these eight lines of digital I/O via GPIOLIB. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: -

Re: [PATCH v2 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-03 Thread William Breathitt Gray
ers to ISA_BUS_API, thus >> allowing them to build for X86_64 as they are expected to. >> >> Cc: Guenter Roeck <li...@roeck-us.net> >> Cc: Linus Walleij <linus.wall...@linaro.org> >> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> >> --

Re: [PATCH v2 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-05 Thread William Breathitt Gray
On Sun, Jun 05, 2016 at 09:24:24PM +0200, Pavel Machek wrote: >On Sat 2016-06-04 07:12:21, William Breathitt Gray wrote: >> I think I see the merit of a prompt for PC104 devices. I've encountered >> a use case recently which I'm curious about in this scenario. Given the >> c

[PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

2016-06-13 Thread William Breathitt Gray
m> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v3: - Revert v2 change; any arch should be able to select GPIOLIB - Return -EINVAL when attempting to set a GPIO to a direction it cannot be - Call stx104_gpio_set to have an initial value w

Re: [PATCH v2] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

2016-06-13 Thread William Breathitt Gray
On Mon, Jun 13, 2016 at 02:15:43PM +0200, Linus Walleij wrote: >On Fri, Jun 3, 2016 at 7:42 PM, William Breathitt Gray ><vilhelm.g...@gmail.com> wrote: > >> The Apex Embedded Systems STX104 device features eight lines of digital >> I/O (four digital inputs and four d

Re: [PATCH v2 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-04 Thread William Breathitt Gray
On Sat, Jun 04, 2016 at 09:14:08AM +0200, Pavel Machek wrote: >On Fri 2016-06-03 17:12:44, William Breathitt Gray wrote: >> On Fri, Jun 03, 2016 at 10:57:03PM +0200, Pavel Machek wrote: >> >Should we do "depends on PC104" here, because that is what it really >> &

Re: [gpio] 86ea8a95a4: kernel BUG at drivers/base/driver.c:153!

2016-05-30 Thread William Breathitt Gray
e -display none > -monitor null > > > > > >Thanks, >Xiaolong Hello, I believe this bug occurs when isa_register_driver is called before isa_bus_init; this is possible with built-in drivers since isa_bus_init is registered via device_initcall within the drivers/base/isa.c file. I submitted a patch addressing this on May 11; see: https://lkml.org/lkml/2016/5/11/857. Let me know if this fixes the bug, or if there are any other issues. Thank you, William Breathitt Gray

Re: [PATCH v4 3/4] iio: stx104: Allow build for X86_64

2016-05-27 Thread William Breathitt Gray
On Fri, May 27, 2016 at 11:20:57AM -0700, Guenter Roeck wrote: >On Mon, May 23, 2016 at 08:31:07PM -0400, William Breathitt Gray wrote: >> With the introduction of the ISA_BUS_API Kconfig option, ISA-style >> drivers may be built for X86_64 architectures. This patch changes the

[PATCH v5 1/4] isa: Allow ISA-style drivers on modern systems

2016-05-27 Thread William Breathitt Gray
viewed-by: Guenter Roeck <li...@roeck-us.net> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- arch/Kconfig | 3 +++ arch/x86/Kconfig | 9 + drivers/base/Makefile | 2 +- include/linux/isa.h | 2 +- 4 files changed, 14 insertions(+), 2 deleti

[PATCH v5 4/4] watchdog: ebc-c384_wdt: Allow build for X86_64

2016-05-27 Thread William Breathitt Gray
: Wim Van Sebroeck <w...@iguana.be> Reviewed-by: Guenter Roeck <li...@roeck-us.net> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watc

[PATCH v5 3/4] iio: stx104: Allow build for X86_64

2016-05-27 Thread William Breathitt Gray
: Hartmut Knaack <knaac...@gmx.de> Cc: Lars-Peter Clausen <l...@metafoo.de> Cc: Peter Meerwald-Stadler <pme...@pmeerw.net> Cc: Jonathan Cameron <ji...@kernel.org> Reviewed-by: Guenter Roeck <li...@roeck-us.net> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com&

[PATCH v5 2/4] gpio: Allow PC/104 devices on X86_64

2016-05-27 Thread William Breathitt Gray
gnu...@gmail.com> Cc: Linus Walleij <linus.wall...@linaro.org> Reviewed-by: Guenter Roeck <li...@roeck-us.net> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/gpio/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v5 0/4] Allow ISA-style drivers on modern systems

2016-05-27 Thread William Breathitt Gray
GPIO driver William Breathitt Gray (4): isa: Allow ISA-style drivers on modern systems gpio: Allow PC/104 devices on X86_64 iio: stx104: Allow build for X86_64 watchdog: ebc-c384_wdt: Allow build for X86_64 arch/Kconfig | 3 +++ arch/x86/Kconfig | 9 + drivers/

[PATCH] can: tscan1: Utilize the module_isa_driver macro

2016-06-01 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/net/can/sja1000/tscan1.c | 12 +---

[PATCH] watchdog: pcwd: Utilize the module_isa_driver macro

2016-06-01 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/watchdog/pcwd.c | 14 +- 1 file chan

Re: [PATCH v5 2/4] gpio: Allow PC/104 devices on X86_64

2016-05-31 Thread William Breathitt Gray
On Tue, May 31, 2016 at 10:41:49AM +0200, Linus Walleij wrote: >On Sat, May 28, 2016 at 12:08 AM, William Breathitt Gray ><vilhelm.g...@gmail.com> wrote: > >> With the introduction of the ISA_BUS_API Kconfig option, ISA-style >> drivers may be built for X86_64 archit

[PATCH] i2c: elektor: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/i2c/busses/i2c-elektor.c | 13 +

[PATCH 05/11] ALSA: cs4231: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/cs423x/cs4231.c | 13 + 1 file chan

[PATCH 04/11] ALSA: cmi8328: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/cmi8328.c | 13 + 1 file chan

[PATCH 02/11] ALSA: jazz16: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/sb/jazz16.c | 13 + 1 file chan

[PATCH 06/11] ALSA: gusmax: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/gus/gusmax.c | 13 + 1 file chan

[PATCH 07/11] ALSA: gusextreme: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/gus/gusextreme.c | 13 + 1 file chan

[PATCH 03/11] ALSA: ad1848: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/ad1848/ad1848.c | 13 + 1 file chan

[PATCH 11/11] ALSA: adlib: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/adlib.c | 13 + 1 file changed, 1 ins

[PATCH 01/11] ALSA: sb8: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/sb/sb8.c | 13 + 1 file chan

[PATCH 00/11] ALSA: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
The module_isa_driver macro is a helper macro for ISA drivers which do not do anything special in module init/exit. This patchset eliminates a lot of ISA driver registration boilerplate code by utilizing module_isa_driver, which replaces module_init and module_exit. William Breathitt Gray (11

[PATCH 08/11] ALSA: gusclassic: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/gus/gusclassic.c | 13 + 1 file chan

[PATCH 10/11] ALSA: galaxy: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/galaxy/galaxy.c | 13 + 1 file chan

[PATCH 09/11] ALSA: sc6000: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- sound/isa/sc6000.c | 13 + 1 file chan

[PATCH] i2c: pca-isa: Utilize the module_isa_driver macro

2016-05-31 Thread William Breathitt Gray
This driver does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/i2c/busses/i2c-pca-isa.c | 13 +

Re: [PATCH v5 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-17 Thread William Breathitt Gray
On Fri, Jun 17, 2016 at 08:18:10PM -0700, Greg KH wrote: >On Fri, Jun 17, 2016 at 10:49:59PM -0400, William Breathitt Gray wrote: >> The PC/104 drivers were changed to utilize the ISA bus driver as part of >> the original patchset which attempted to decouple the X86_32 dependency

Re: [PATCH v5 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-17 Thread William Breathitt Gray
On Fri, Jun 17, 2016 at 07:36:07PM -0700, Greg KH wrote: >On Fri, Jun 17, 2016 at 12:47:14PM +0200, Thorsten Leemhuis wrote: >> On 31.05.2016 17:25, Greg KH wrote: >> > On Tue, May 31, 2016 at 07:23:06AM -0400, William Breathitt Gray wrote: >> >> On Tue, May 31, 2

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread William Breathitt Gray
On Wed, Feb 10, 2016 at 06:55:45PM +, Jonathan Cameron wrote: >On 10/02/16 02:19, William Breathitt Gray wrote: >> On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >>> My only real question is on the naming of the module parameter. >>> Is it the e

Re: [PATCH] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-08 Thread William Breathitt Gray
On Sat, Feb 06, 2016 at 07:15:41PM +, Jonathan Cameron wrote: >On 02/02/16 23:30, William Breathitt Gray wrote: >> The Apex Embedded Systems STX104 is a 16-channel 16-bit analog input and >> 2-channel 16-bit analog output PC/104 card. The STX104 incorporates a >> large

[PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-08 Thread William Breathitt Gray
be configured via the stx104_base module parameter array. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: - Inline use of dev_name macro - Use devm_iio_device_register to simplify cleanup code - Use ISA bus driver instead of platform driver - Provide stx104_base

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-09 Thread William Breathitt Gray
eline Linux kernel); see drivers/gpio/gpio-104-idio-16.c and drivers/gpio/gpio-104-idi-48.c for example. I have thus far been following the convention of naming the base address module parameter as "modname_base," where "modname" is the respective module name. William Breathitt Gray

Re: [PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-27 Thread William Breathitt Gray
dress until the hardware has been identified; this second method may not be the best route either. What do you think? William Breathitt Gray

[PATCH 7/7] gpio: ws16c48: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the WinSystems WS16C48 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH 6/7] gpio: sch311x: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the SMSC SCH311x GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

[PATCH 1/7] gpio: 104-dio-48e: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-DIO-48E GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH 5/7] gpio: ich: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
com> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drivers/gpio/gpio-ich.c | 51 + 1 file changed, 9 insertions(+), 42 deletions(-) diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c index a489338..4f

[PATCH 1/4] gpio: 104-dio-48e: Pass correct license string to MODULE_LICENSE

2016-02-01 Thread William Breathitt Gray
The ACCES 104-DIO-48E GPIO driver copyright boilerplate lacks the "or later" verbiage regarding GPL compliant distribution. The MODULE_LICENSE string should reflect the actual copyright license terms used. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drive

[PATCH 2/4] gpio: 104-idi-48: Pass the correct license string to MODULE_LICENSE

2016-02-01 Thread William Breathitt Gray
The ACCES 104-IDI-48 GPIO driver copyright boilerplate lacks the "or later" verbiage regarding GPL compliant distribution. The MODULE_LICENSE string should reflect the actual copyright license terms used. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drive

[PATCH 0/7] Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in several GPIO drivers, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. William Breathitt Gray (7): gpio: 104-dio-48e

[PATCH 4/7] gpio: amd8111: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the AMD 8111 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

[PATCH 2/7] gpio: 104-idi-48: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-IDI-48 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

[PATCH 3/7] gpio: 104-idio-16: Use devm_request_region

2016-02-01 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-IDIO-16 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH 0/4] Pass correct license string to MODULE_LICENSE

2016-02-01 Thread William Breathitt Gray
Several of the GPIO drivers have a copyright boilerplate lacking the "or later" verbiage regarding GPL compliant distribution. The MODULE_LICENSE string should reflect the actual copyright license terms used. William Breathitt Gray (4): gpio: 104-dio-48e: Pass correct lice

[PATCH 4/4] gpio: ws16c48: Pass the correct license string to MODULE_LICENSE

2016-02-01 Thread William Breathitt Gray
The WinSystems WS16C48 GPIO driver copyright boilerplate lacks the "or later" verbiage regarding GPL compliant distribution. The MODULE_LICENSE string should reflect the actual copyright license terms used. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- d

[PATCH 3/4] gpio: 104-idio-16: Pass the correct license string to MODULE_LICENSE

2016-02-01 Thread William Breathitt Gray
The ACCES 104-IDIO-16 GPIO driver copyright boilerplate lacks the "or later" verbiage regarding GPL compliant distribution. The MODULE_LICENSE string should reflect the actual copyright license terms used. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- drive

[PATCH] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-02 Thread William Breathitt Gray
via the stx104_base module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- MAINTAINERS | 6 ++ drivers/iio/dac/Kconfig | 8 +++ drivers/iio/dac/Makefile | 1 + drivers/iio/dac/stx104.c | 178 +++ 4

Re: [lkp] [gpio] 1b06d64f73: kmsg.dio-#e#-dio-#e:Unable_to_lock#-dio-#e_port_addresses(#-#)

2016-01-31 Thread William Breathitt Gray
-idi-48 module: base port address for the hardware must be manually set by the user since the hardware lacks discovery functionality. William Breathitt Gray

[PATCH v2 7/7] gpio: ws16c48: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the WinSystems WS16C48 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH v2 3/7] gpio: 104-idio-16: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-IDIO-16 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH v2 5/7] gpio: ich: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
com> Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Alexandre Courbot <acour...@nvidia.com> --- drivers/gpio/gpio-ich.c | 51 + 1 file changed, 9 insertions(+), 42 deletions(-) diff --git a/drivers/gpio/gp

[PATCH v2 4/7] gpio: amd8111: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the AMD 8111 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

Re: [PATCH 0/7] Use devm_request_region

2016-02-02 Thread William Breathitt Gray
On 02/02/2016 07:26 PM, Alexandre Courbot wrote: > On Tue, Feb 2, 2016 at 8:54 AM, William Breathitt Gray > <vilhelm.g...@gmail.com> wrote: >> By the time request_region is called in several GPIO drivers, a >> corresponding device structure has already been allocated. Th

[PATCH v2 0/7] Use devm_request_region

2016-02-03 Thread William Breathitt Gray
from 104-dio-48e, 104-idi-48, 104-idio-16, and ws16c48 respective private data structures - Remove unused pdata pointer from sch311x_gpio_remove function William Breathitt Gray (7): gpio: 104-dio-48e: Use devm_request_region gpio: 104-idi-48: Use devm_request_region gpio: 104-idio-16: Use

[PATCH v2 2/7] gpio: 104-idi-48: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-IDI-48 GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

[PATCH v2 1/7] gpio: 104-dio-48e: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the ACCES 104-DIO-48E GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt

[PATCH v2 6/7] gpio: sch311x: Use devm_request_region

2016-02-03 Thread William Breathitt Gray
By the time request_region is called in the SMSC SCH311x GPIO driver, a corresponding device structure has already been allocated. The devm_request_region function should be used to help simplify the cleanup code and reduce the possible points of failure. Signed-off-by: William Breathitt Gray

Re: [PATCH v5] gpio: Add GPIO support for the WinSystems WS16C48

2016-01-28 Thread William Breathitt Gray
hopes that it will be useful to someone, and perhaps even motivate the companies to improve and share their own Linux drivers. William Breathitt Gray

[PATCH v5] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
watchdog timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Guenter Roeck <li...@roeck-us.net> --- Changes in v5: - Round up rather than down when converting seconds to minutes

[PATCH v6] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
watchdog timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Guenter Roeck <li...@roeck-us.net> --- Changes in v6: - Use DIV_ROUND_UP to round up to minutes from seconds MAINTAINERS

Re: [PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
that the watchdog timer will wait at least that amount of time (with the understanding that it may be somewhat late due to the granularity of the timer). This behavior follows a lot of other timer standards (e.g. nanosleep) so it's what the user expects and what we should follow for now. I'll submit a version 5 patch with this change. William Breathitt Gray

[PATCH v7] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
watchdog timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Guenter Roeck <li...@roeck-us.net> --- Changes in v7: - Make sure timeout member is in seconds resolution despite minutes

Re: [PATCH v7] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
On 02/28/2016 11:20 PM, William Breathitt Gray wrote: > The WinSystems EBC-C384 has an onboard watchdog timer. The timeout range > supported by the watchdog timer is 1 second to 255 minutes. Timeouts > under 256 seconds have a 1 second granularity, while the rest have a 1 > minute

[PATCH v7 RESEND] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
watchdog timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> Reviewed-by: Guenter Roeck <li...@roeck-us.net> --- MAINTAINERS | 6 ++ drivers/watchdog/Kconfig| 9 ++ drivers/watch

[PATCH v8] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-02-28 Thread William Breathitt Gray
watchdog timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v8: - Utilize the roundup macro to round up second resolution to minute granularity when setting the timeout member MAINT

[PATCH] base: isa: Remove X86_32 dependency

2016-01-21 Thread William Breathitt Gray
dependency should be removed from the ISA configuration option in order to support these newer motherboards. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/ar

Re: [PATCH] base: isa: Remove X86_32 dependency

2016-01-21 Thread William Breathitt Gray
should be removed. William Breathitt Gray

Re: [PATCH] base: isa: Remove X86_32 dependency

2016-01-21 Thread William Breathitt Gray
cy tree and fix the build errors with explicit CONFIG_X86_32 dependencies. I'll submit a new patch with those changes when complete. William Breathitt Gray

[PATCH] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-21 Thread William Breathitt Gray
timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- MAINTAINERS | 6 ++ drivers/watchdog/Kconfig| 9 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/ebc-c384

[PATCH v2] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-25 Thread William Breathitt Gray
timer. The timeout may be configured via the timeout module parameter. Signed-off-by: William Breathitt Gray <vilhelm.g...@gmail.com> --- Changes in v2: - Reimplement the start and set_timeout callback to reflect the watchdog API - Remove unnecessary synchronization locks - Fi

  1   2   3   4   5   6   7   8   9   10   >