[linux-yocto] [PATCH] common-pc*.scc: Add igb to common-pc drivers

2017-12-06 Thread Saul Wold
The IGB driver is showing up on some general hardware (like MinnowBoard) which is one of the Yocto Project Reference Platforms. Signed-off-by: Saul Wold --- Bruce, this is for 4.9 and newer. Thanks! bsp/common-pc-64/common-pc-64.scc | 1 + bsp/common-pc/common-pc.scc | 2 +- 2 files

Re: [linux-yocto] [PATCH] common-pc-wifi: fix warning

2017-08-28 Thread Saul Wold
On Mon, 2017-08-28 at 09:18 -0400, Bruce Ashfield wrote: > On 08/25/2017 12:53 PM, Saul Wold wrote: > > > > This fixes the warning: > > Config: CONFIG_BRCMFMAC_PROTO_MSGBUF > > From: .../tmp/work-shared/intel-corei7-64/kernel-source/.kernel- > > meta/configs/stand

[linux-yocto] [PATCH] common-pc-wifi: fix warning

2017-08-25 Thread Saul Wold
7; has the following conditionals: Dependency values are: Signed-off-by: Saul Wold --- bsp/common-pc/common-pc-wifi.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/bsp/common-pc/common-pc-wifi.cfg b/bsp/common-pc/common-pc-wifi.cfg index 998a7897..14d82b16 100644 --- a/bsp/common-pc/common-pc-wifi

[linux-yocto] [PATCH] common-pc-wifi: Enable SDIO for BroadCom BRCMFMAC

2017-07-12 Thread Saul Wold
Enable Broadcom Wifi driver for SDIO mounted hardware on Intel boards Signed-off-by: Saul Wold --- Please apply to 4.9 and beyond. bsp/common-pc/common-pc-wifi.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/common-pc/common-pc-wifi.cfg b/bsp/common-pc/common-pc-wifi.cfg index

[linux-yocto] [PATCH] base.cfg: Add POSIX_TIMERS to fix ping hang

2017-04-17 Thread Saul Wold
-by: Saul Wold --- Targeted for 4.10 and beyond ktypes/base/base.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg index 91a140b..062f6e3 100644 --- a/ktypes/base/base.cfg +++ b/ktypes/base/base.cfg @@ -23,6 +23,7 @@ CONFIG_LOCALVERSION

[linux-yocto] [PATCH 0/2] Clean up some cfg files

2017-03-29 Thread Saul Wold
Found this trying to debug something else. The ip_nf goes into 4.1 and newer. The firmware one goes into 4.4 and newer. Sau! Saul Wold (2): ip_nf.cfg: clean up bad merge lines firmware.cfg: clean up bad merge lines cfg/net/ip_nf.cfg | 5 - features/firmware/firmware.cfg

[linux-yocto] [PATCH 2/2] firmware.cfg: clean up bad merge lines

2017-03-29 Thread Saul Wold
The '+' dont belong here and cause warnings Signed-off-by: Saul Wold --- features/firmware/firmware.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/firmware/firmware.cfg b/features/firmware/firmware.cfg index c8e436c..c013129 100644 --- a/feature

[linux-yocto] [PATCH 1/2] ip_nf.cfg: clean up bad merge lines

2017-03-29 Thread Saul Wold
These lines don't belong in the .cfg and cause warnings during the configme process Signed-off-by: Saul Wold --- cfg/net/ip_nf.cfg | 5 - 1 file changed, 5 deletions(-) diff --git a/cfg/net/ip_nf.cfg b/cfg/net/ip_nf.cfg index 3b3eed0..f43e7b2 100644 --- a/cfg/net/ip_nf.cfg +++ b/cf

[linux-yocto] [PATCH] baytrail: Update DW_DMAC_PCI

2017-03-02 Thread Saul Wold
C_PCI' has the following conditionals: PCI (value: y) Dependency values are: PCI [y] Signed-off-by: Saul Wold --- features/soc/baytrail/baytrail.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/soc/baytrail/baytrail.cfg b/features/soc/baytrail/baytrail

Re: [linux-yocto] [PATCH] ver_linux: Use /usr/bin/awk instead of /bin/awk

2017-01-30 Thread Saul Wold
On Sun, 2017-01-29 at 23:04 -0500, Bruce Ashfield wrote: > On 2017-01-25 1:35 PM, Saul Wold wrote: > > > > Most Linux distributions contain awk in /usr/bin by default, not > > in /bin. > > > > As Paul mentioned, this is worth sending upstream .. at least to >

[linux-yocto] [PATCH] ver_linux: Use /usr/bin/awk instead of /bin/awk

2017-01-25 Thread Saul Wold
Most Linux distributions contain awk in /usr/bin by default, not in /bin. Signed-off-by: Saul Wold --- scripts/ver_linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 430b201..b51de8a 100755 --- a/scripts/ver_linux +++ b/scripts

Re: [linux-yocto] no wlan interface

2016-10-20 Thread Saul Wold
On Thu, 2016-10-20 at 15:02 +0530, adam paul wrote: > > Hi, >     I have loaded yocto krogoth branch bsp to boot raspberry pi 3. > After the boot up, ifconfig lists only eth0 and lo. no wlan0 is > listed. > i have checked the loaded modules, lsmod lists cfg80211. How to > enable wlan0? You might

Re: [linux-yocto] [PATCH] Backport smack patch from 4.6 to 4.4

2016-10-11 Thread Saul Wold
On Tue, 2016-10-11 at 11:58 -0400, Bruce Ashfield wrote: > On 2016-10-11 11:51 AM, Saul Wold wrote: > > > > Bruce, > > > > Please merge this backported patch to 4.4, it's a backport so it > > can go in either standard/base or standard/intel/base.  Ultimately

[linux-yocto] [PATCH] Smack: File receive for sockets

2016-10-11 Thread Saul Wold
problem. Signed-off-by: Casey Schaufler Signed-off-by: Saul Wold --- security/smack/smack_lsm.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 7c57c7f..bd249cf 100644 --- a/security/smack/smack_lsm.c

[linux-yocto] [PATCH] Backport smack patch from 4.6 to 4.4

2016-10-11 Thread Saul Wold
Bruce, Please merge this backported patch to 4.4, it's a backport so it can go in either standard/base or standard/intel/base. Ultimately it's needed in standard/intel/bxt-rebase. Thanks Sau! Casey Schaufler (1): Smack: File receive for sockets security/smack/smack_lsm.c | 22 +++

Re: [linux-yocto] [yocto-kernel-cache] [PATCH] bsp: leafhill: add new SoC and BSP

2016-09-02 Thread Saul Wold
On Fri, 2016-09-02 at 10:45 +0800, Rebecca Chang Swee Fun wrote: > Add new leafhill bsp type using standard x86_64 base and re-using > some of the intel-common config fragments. This new bsp type will > support Intel Atom E3900 SoC family platform, named Leaf Hill and > its derivatives. > > This b

Re: [linux-yocto] [PATCH 1/3] features: Fix dependencies and =m vs =y discrepancies for corei7

2016-08-24 Thread Saul Wold
On Fri, 2016-08-19 at 20:40 -0700, California Sullivan wrote: > I missed these in my first pass. This should fix the remaining > warnings > that occur with the intel-corei7-64 configurations. The ISDN > configurations might need to be broken out into their own feature but > for now just enable them

Re: [linux-yocto] [PATCH 1/3] features: Fix dependencies and =m vs =y discrepancies for corei7

2016-08-22 Thread Saul Wold
On Mon, 2016-08-22 at 18:33 +, Sullivan, California L wrote: > On 08/20/2016 08:45 PM, Wold, Saul wrote: > > > > On Fri, 2016-08-19 at 20:40 -0700, California Sullivan wrote: > > > > > > I missed these in my first pass. This should fix the remaining > > > warnings > > > that occur with the in

[linux-yocto] [PATCH] drivers/mfd/pca9685-pwm.c: Update to reflect changes in patches from upstream

2016-07-21 Thread Saul Wold
There are some patches brought into to 4.4 from upstream that change the pwm structure and move period and duty_cycle into a state structure so fix these up. Additional address the removal of PWMF_ENABLED in favor checking the state via pwm_is_enabled(). Signed-off-by: Saul Wold --- drivers/mfd

Re: [linux-yocto] [PATCH] features/powertop: To provide wakeup/seconds events

2016-07-21 Thread Saul Wold
On Wed, 2016-07-20 at 16:20 -0700, Nilesh Bacchewar wrote: > > for powertop to provide wakeup/seconds events > > Signed-off-by: Nilesh Bacchewar > --- >  features/powertop/powertop.cfg   | 5 + >  features/soc/broxton/broxton.scc | 2 ++ >  2 files changed, 7 insertions(+) >  create mode 10064

Re: [linux-yocto] [PATCH] cpumask: Export cpumask_any_but()

2016-06-30 Thread Saul Wold
This fixes the build if the IOSF_MBI and INTEL_RAPL are not set to =y Acked and Tested by: Saul Wold Sau! On Thu, 2016-06-30 at 15:30 -0700, Nilesh Bacchewar wrote: > > Almost every cpumask function is exported, just not the one I need to > make the > Intel uncore driver modular.

[linux-yocto] [PATCH] mei.cfg: Add CONFIG_INTEL_MEI_TXE=m

2016-06-30 Thread Saul Wold
This will create the TXE based Intel Management Excution Interface to support additional chipsets. Signed-off-by: Saul Wold --- features/amt/mei/mei.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/features/amt/mei/mei.cfg b/features/amt/mei/mei.cfg index 3195218..de6f657 100644 --- a

[linux-yocto] [PATCH 2/2] x86 tsc: enumerate BXT tsc_khz via CPUID

2016-06-30 Thread Saul Wold
-off-by: Len Brown (cherry picked from commit dad7a9a9376716ffdf33aa719981a43cefa19ff4) Signed-off-by: Saul Wold --- arch/x86/kernel/tsc.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 0123365..dd85b3c

[linux-yocto] [PATCH 1/2] x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID

2016-06-30 Thread Saul Wold
. CPUID.0x16 is preferred over MSR and timer calibration for CPU frequency discovery. CPUID.0x15 takes precedence over CPU-frequency for TSC frequency discovery. Signed-off-by: Len Brown (cherry picked from commit 19fa5e73647fde1e6a7038a8f05cddf4c43f08d3) Signed-off-by: Saul Wold --- arch/x86

[linux-yocto] [PATCH 0/2] TSC Backports for 4.4

2016-06-30 Thread Saul Wold
Bruce, Here are the 2 patches that failed to apply for 4.4 Sau! Len Brown (2): x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID x86 tsc: enumerate BXT tsc_khz via CPUID arch/x86/include/asm/tsc.h | 1 + arch/x86/include/asm/x86_init.h | 4 +- arch/x86/kernel/tsc.c | 90

Re: [linux-yocto] [PATCH 0/2] Use CPUID to estimate clock frequency for linux-yocto-4.1

2016-06-23 Thread Saul Wold
Bruce, I think we need these in 4.4 bxt-rebase also. They are pending in Lenb's tree. Sau! On Thu, 2016-06-23 at 04:25 +, Yong, Jonathan wrote: > > This patch allows clock frequencies to be calibrated if TSC and CPU > frequencies differ. This is not in the latest kernel tree yet, so > this

Re: [linux-yocto] [PATCH 0/2] Use CPUID to estimate clock frequency for linux-yocto-4.1

2016-06-23 Thread Saul Wold
Bruce, I think we need these in 4.4 bxt-rebase also. They are pending in Lenb's tree. Sau! On Thu, 2016-06-23 at 04:25 +, Yong, Jonathan wrote: > This patch allows clock frequencies to be calibrated if TSC and CPU > frequencies differ. This is not in the latest kernel tree yet, so > this >

Re: [linux-yocto] [PULL REQUEST] add standard/bxt-rebase branch

2016-06-01 Thread Saul Wold
On Tue, 2016-05-31 at 23:31 -0400, Bruce Ashfield wrote: > > On 2016-05-31 6:24 PM, Ranostay, Matt wrote: > > > > > > This pull request is for adding the standard/bxt-rebase branch with > > has various backports from 4.6 and 4.5, which are have an > > unacceptable risk of breaking other platform

Re: [linux-yocto] [PATCH 0/2] iio: Set correct iio name

2016-05-28 Thread Saul Wold
is newer, it would break those rather than the other way around. Sau! > Thanks, > Yong > > 2016-05-27 23:51 GMT+08:00 Saul Wold : > > > > On Fri, 2016-05-27 at 10:24 -0400, Bruce Ashfield wrote: > > > > > > On 2016-05-27 12:58 AM, Yong Li wrote: > >

Re: [linux-yocto] [PULL REQUEST] Broxton related backports for linux-yocto-4.4

2016-05-27 Thread Saul Wold
On Wed, 2016-05-25 at 12:17 -0400, Bruce Ashfield wrote: > On 2016-05-24 4:19 PM, California Sullivan wrote: > > > > Hi Bruce, > > > > This is a set of backports from upstream. I have tested > > allyesconfig, > > allnoconfig, and standard builds and can't find anything wrong > > there. > > I have

Re: [linux-yocto] [PATCH 0/2] iio: Set correct iio name

2016-05-27 Thread Saul Wold
On Fri, 2016-05-27 at 10:24 -0400, Bruce Ashfield wrote: > On 2016-05-27 12:58 AM, Yong Li wrote: > > > > Dear Maintainers, > > > > This patch fixes the “incorrect IIO device name” issue. > > > > Please merge it into standard/base branch for linux-yocto-4.4 if > > this looks okay. > The change l

Re: [linux-yocto] How to resolve ERROR: ...../poky/meta/recipes-support/libsoup/libsoup-2.4_2.54.1.bb, do_compile) failed with exit code '1'

2016-05-23 Thread Saul Wold
On Sun, 2016-05-22 at 12:35 -0400, Gerard Bucas wrote: > I am trying to bitbake core-image-sato with Chromium (as per > https://github.com/ds-hwang/wiki/wiki/build-chromium-on-yocto ) > > BUT I keep getting a build error on libsoup (using master). Can't > seem to > resolve it. > > Any ideas from

Re: [linux-yocto] [PATCH] UVC: Add support for R200 depth camera

2016-04-01 Thread Saul Wold
On Fri, 2016-04-01 at 15:39 -0400, Bruce Ashfield wrote: > On 2016-04-01 10:45 AM, Saul Wold wrote: > > > > From: Aviv Greenberg > Remind me .. this is for 4.4, correct ? Yup 4.4 Sau! > Bruce > > > > > > > Add support for Intel R200 depth camera i

[linux-yocto] [PATCH] UVC: Add support for R200 depth camera

2016-04-01 Thread Saul Wold
Signed-off-by: Aviv Greenberg Signed-off-by: Sakari Ailus Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Saul Wold --- drivers/media/usb/uvc/uvc_driver.c | 20 drivers/media/usb/uvc/uvcvideo.h | 12 include/uapi

[linux-yocto] [PATCH] gpio-pca953x: add "drive" property

2016-03-10 Thread Saul Wold
Puustinen Signed-off-by: Jussi Laako Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 57 +++ drivers/gpio/gpiolib-sysfs.c | 78 +++ drivers/gpio/gpiolib.c| 18 ++ drivers/gpio/gpiolib.h| 4

[linux-yocto] [PATCH 3/7 v2] pca9685: PCA9685 PWM and GPIO multi-function device.

2016-02-19 Thread Saul Wold
, because the upstream kernel already uses a different (non-mfd) driver for handling the same chip, and doesn't need to be backwards compatible. Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- drivers/mfd/Kconfig

[linux-yocto] [PATCH 5/7 v2] staging:iio: add support for ADC1x8s102.

2016-02-19 Thread Saul Wold
r Kit Quark BSP Original author is Bogdan Pricop . Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- drivers/staging/iio/adc/Kconfig | 13 ++ drivers/staging/iio/adc/Makefile | 1 + drivers/staging/iio/adc/adc1x8s102.c | 387 +++ include/linu

[linux-yocto] [PATCH 7/7 v2] gpio-pca953x: add "drive" property.

2016-02-19 Thread Saul Wold
states of the GPIO pins, but there isn't a userspace interface yet for that. Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 57 +++ drivers/gpio/gpiolib-sysfs.c

[linux-yocto] [PATCH 1/7 v2] acpi: added a custom DSDT file.

2016-02-19 Thread Saul Wold
From: Ismo Puustinen The file has fixed GPIO IRQ assignment and moved SPI devices to be under the SPI bus in the ACPI definitions as assumed by ACPI version 5. Upstream-status: Inappropriate, custom firmware Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- include/DSDT.hex | 1191

[linux-yocto] [PATCH 4/7 v2] spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.

2016-02-19 Thread Saul Wold
SPI/ACPI interaction. Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- drivers/spi/spi-pxa2xx-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index fa7399e..c5a7111 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b

[linux-yocto] [PATCH 2/7 v2] gpio: pca953x: provide GPIO base based on _UID

2016-02-19 Thread Saul Wold
: Inappropriate, custom code for legacy userspace Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 44 +--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 32a56d5..0227cde 100644

[linux-yocto] [PATCH 6/7 v2] adc1x8s102: support ACPI-based enumeration.

2016-02-19 Thread Saul Wold
From: Ismo Puustinen Upstream-status: Pending for ADC1x8s102 patch upstreaming to Linux kernel Signed-off-by: Ismo Puustinen Signed-off-by: Saul Wold --- drivers/staging/iio/adc/adc1x8s102.c | 76 ++-- 1 file changed, 63 insertions(+), 13 deletions(-) diff

[linux-yocto] [PATCH 0/7 v2] Galileo Patches - non-upstreamed

2016-02-19 Thread Saul Wold
Bruce, This is this is a set of patches for 4.1, there is another similar that I will be sending shortly for 4.4. The only difference between the 4.1 and 4.4 patch set is 07/07 gpio-pca953x does not apply to 4.4, the other 6 do These patches are mostly targeted to Galileo Gen2 and deal with th

Re: [linux-yocto] [PATCH 0/7] Galileo Patches - non-upstreamed

2016-02-17 Thread Saul Wold
On Wed, 2016-02-17 at 11:25 -0500, Bruce Ashfield wrote: > On 16-02-16 05:01 PM, Saul Wold wrote: > > Bruce, > > > > This is  this is a set of patches for 4.1, there is another similar > > that I will be sending shortly for 4.4. The only difference between > > t

[linux-yocto] [PATCH 3/7] pca9685: PCA9685 PWM and GPIO multi-function device.

2016-02-16 Thread Saul Wold
From: Josef Ahmad There is also a driver for the same chip in drivers/pwm. This version has support for setting the output in GPIO mode in addition to the PWM mode. Upstream-status: Forward-ported from Intel IOT Develper Kit Quark BSP Signed-off-by: Ismo Puustinen --- drivers/mfd/Kconfig

[linux-yocto] [PATCH 1/7] acpi: added a custom DSDT file.

2016-02-16 Thread Saul Wold
From: Ismo Puustinen The file has fixed GPIO IRQ assignment and moved SPI devices to be under the SPI bus in the ACPI definitions as assumed by ACPI version 5. Upstream-status: Inappropriate, custom firmware Signed-off-by: Ismo Puustinen --- include/DSDT.hex | 1191 +++

[linux-yocto] [PATCH 5/7] staging:iio: add support for ADC1x8s102.

2016-02-16 Thread Saul Wold
From: Todor Minchev Original author is Bogdan Pricop . Upstream-status: Forward-ported from Intel IOT Develper Kit Quark BSP Signed-off-by: Ismo Puustinen --- drivers/staging/iio/adc/Kconfig | 13 ++ drivers/staging/iio/adc/Makefile | 1 + drivers/staging/iio/adc/adc1x8s10

[linux-yocto] [PATCH 7/7] gpio-pca953x: add "drive" property.

2016-02-16 Thread Saul Wold
From: Ismo Puustinen Galileo gen 2 has support for setting GPIO modes. Expose these properties through the GPIO sysfs interface. This approach is bit hacky, since it changes the interface semantics. The original patch was by Josef Ahmad and made on top of kernel 3.8. Upstream-status: Forward-p

[linux-yocto] [PATCH 6/7] adc1x8s102: support ACPI-based enumeration.

2016-02-16 Thread Saul Wold
From: Ismo Puustinen Upstream-status: Pending for ADC1x8s102 patch upstreaming to Linux kernel Signed-off-by: Ismo Puustinen --- drivers/staging/iio/adc/adc1x8s102.c | 76 ++-- 1 file changed, 63 insertions(+), 13 deletions(-) diff --git a/drivers/staging/iio/a

[linux-yocto] [PATCH 2/7] gpio: pca953x: provide GPIO base based on _UID

2016-02-16 Thread Saul Wold
From: Andy Shevchenko Custom kernel for Intel Galileo Gen2 provides and moreover libmraa relies on the continuous GPIO space. To do such we have to configure GPIO base per each GPIO expander. The only value we can use is the ACPI _UID. Signed-off-by: Andy Shevchenko Upstream-status: Inappropri

[linux-yocto] [PATCH 4/7] spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.

2016-02-16 Thread Saul Wold
From: Ismo Puustinen Slave devices were not enumerated by ACPI data because the ACPI handle for the spi-pxa2xx controller was NULL if it was itself enumerated by PCI. Upstream-status: Inappropriate, real fix forthcoming Signed-off-by: Ismo Puustinen --- drivers/spi/spi-pxa2xx-pci.c | 1 + 1 f

[linux-yocto] [PATCH 0/7] Galileo Patches - non-upstreamed

2016-02-16 Thread Saul Wold
Bruce, This is this is a set of patches for 4.1, there is another similar that I will be sending shortly for 4.4. The only difference between the 4.1 and 4.4 patch set is 07/07 gpio-pca953x does not apply to 4.4, the other 6 do These patches are mostly targeted to Galileo Gen2 and deal with th

Re: [linux-yocto] [PATCH 0/3] Backport Capabilities Patches to 4.1

2016-02-16 Thread Saul Wold
On Tue, 2016-02-16 at 09:38 -0500, Bruce Ashfield wrote: > On 16-02-11 11:16 AM, Saul Wold wrote: > > > > Add the Capabilities support that some projects would like to use > > in the linux-yocto-4.1 kernel. > > > > These 3 are all upstream in 4.3 or later > &

[linux-yocto] [PATCH] selftests/capabilities: Add tests for capability evolution

2016-02-11 Thread Saul Wold
From: Andy Lutomirski commit 32ae976ed3b5ba39c9208ace41bcdf4157d21db3 upstream. This test focuses on ambient capabilities. It requires either root or the ability to create user namespaces. Some of the test cases will be skipped for nonroot users. Signed-off-by: Andy Lutomirski Acked-by: Kees

[linux-yocto] [PATCH] capabilities: ambient capabilities

2016-02-11 Thread Saul Wold
From: Andy Lutomirski commit 58319057b7847667f0c9585b9de0e8932b0fdb08 upstream. Credit where credit is due: this idea comes from Christoph Lameter with a lot of valuable input from Serge Hallyn. This patch is heavily based on Christoph's patch. = The status quo = On Linux, there are a

[linux-yocto] [PATCH] capabilities: add a securebit to disable PR_CAP_AMBIENT_RAISE

2016-02-11 Thread Saul Wold
From: Andy Lutomirski commit 746bf6d64275be0c65b0631d8a72b16f1454cfa1 upstream. Per Andrew Morgan's request, add a securebit to allow admins to disable PR_CAP_AMBIENT_RAISE. This securebit will prevent processes from adding capabilities to their ambient set. For simplicity, this disables PR_CA

[linux-yocto] [PATCH 0/3] Backport Capabilities Patches to 4.1

2016-02-11 Thread Saul Wold
Add the Capabilities support that some projects would like to use in the linux-yocto-4.1 kernel. These 3 are all upstream in 4.3 or later Thanks Sau! Andy Lutomirski (3): capabilities: ambient capabilities selftests/capabilities: Add tests for capability evolution capabilities: add a

[linux-yocto] [PATCH 18/19] at24: enable ACPI device found on Galileo Gen2

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit afbc80ff5adf081edaa2ecb62e291580988f6643 upstream. There is a 24c08 chip connected to i2c bus on Intel Galileo Gen2 board. Enable it via ACPI ID INT3499. Signed-off-by: Andy Shevchenko Signed-off-by: Wolfram Sang (cherry picked from commit 40d8edc9bf056ea83e50152a

[linux-yocto] [PATCH 19/19] pwm-pca9685: enable ACPI device found on Galileo Gen2

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit c28d0a843b44f79f71249d5612804c29483b586d upstream. There is a chip connected to i2c bus on Intel Galileo Gen2 board. Enable it via ACPI ID INT3492. Cc: Thierry Reding Signed-off-by: Andy Shevchenko Signed-off-by: Thierry Reding (cherry picked from commit 912b8439

[linux-yocto] [PATCH 16/19] gpio: pca953x: store driver_data for future use

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit e0599e216341d4e0b69b57145c956a7028f06a81 upstream. Instead of using id->driver_data directly we copied it to the internal structure. This will help to adapt driver for ACPI use. Signed-off-by: Andy Shevchenko Signed-off-by: Linus Walleij (cherry picked from commit

[linux-yocto] [PATCH 17/19] gpio: pca953x: support ACPI devices found on Galileo Gen2

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit 99e17e265a9df3b2ef8fbc1a568cbb2b05a1b977 upstream. This patch adds a support of the expandes found on Intel Galileo Gen2 board. The platform information comes from ACPI. Signed-off-by: Andy Shevchenko Signed-off-by: Linus Walleij (cherry picked from commit f32517b

[linux-yocto] [PATCH 15/19] mfd: intel_quark_i2c_gpio: support devices behind i2c bus

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit 9b00926f46d882429bee435960c40b49d39e6a4f upstream. On Intel Galileo Gen2 the GPIO expanders are connected to the i2c bus. For those devices the ACPI table has specific parameters that refer to an actual i2c host controller. Since MFD now copes with that specific conf

[linux-yocto] [PATCH 12/19] i2c / ACPI: Rework I2C device scanning

2016-02-08 Thread Saul Wold
From: Mika Westerberg commit 4bba25bbe10ace5ad135020c1e6d621872d5faf5 upstream. The way we currently scan I2C devices behind an I2C host controller does not work in cases where the I2C device in question is not declared directly below the host controller ACPI node. This is perfectly legal accor

[linux-yocto] [PATCH 13/19] mfd: core: redo ACPI matching of the children devices

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit 541019157c6b5951f2a488dbf4f7fa5f4b8f9b98 upstream. There is at least one board on the market, i.e. Intel Galileo Gen2, that uses _ADR to distinguish the devices under one actual device. Due to this we have to improve the quirk in the MFD core to handle that board. A

[linux-yocto] [PATCH 11/19] gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found

2016-02-08 Thread Saul Wold
From: Mika Westerberg commit d8213ae03aebde8074f071d1da48007d55e3b41d upstream. If a driver requests a GPIO described in its _CRS but the GPIO host controller (gpiochip) driver providing the GPIO has not been loaded yet acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail. I

[linux-yocto] [PATCH 14/19] mfd: intel_quark_i2c_gpio: load gpio driver first

2016-02-08 Thread Saul Wold
From: Andy Shevchenko commit b91b0d397c3b35a039867ca0f43f1a0d5965cad6 upstream. On Intel Galileo boards the GPIO expander is connected to i2c bus. Moreover it is able to generate interrupt, but interrupt line is connected to GPIO. That's why we have to have GPIO driver in place when we will prob

[linux-yocto] [PATCH 07/19] i2c: core: only use set_scl for bus recovery after calling prepare_recovery

2016-02-08 Thread Saul Wold
From: Jan Luebbe commit 49c46cd7bf99f5a5af5df9a92b73db54b94f46f0 upstream. Using set_scl may be ineffective before calling the driver specific prepare_recovery callback, which might change into a test mode. So instead of setting SCL in i2c_generic_scl_recovery, move it to i2c_generic_recovery (a

[linux-yocto] [PATCH 10/19] GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use

2016-02-08 Thread Saul Wold
From: Hanjun Guo commit dd8f9d05019c5c086113b967850bf8e2f2a964e6 upstream. acpi_gpiochip_request(free)_interrupts can be used for modules, so export them. This also fixs a compile error when xgene-sb configured as kernel module. Fixes: 733cf014f020 "gpio: xgene: add ACPI support for APM X-Gene

[linux-yocto] [PATCH 09/19] gpio / ACPI: Add support for retrieving GpioInt resources from a device

2016-02-08 Thread Saul Wold
From: Mika Westerberg commit ad5b1c69a4ed2cc8486c6afa4d2545b21e5acd9b upstream. ACPI specification knows two types of GPIOs: GpioIo and GpioInt. The latter is used to describe that a given device interrupt line is connected to a specific GPIO pin. Typical ACPI _CRS entry for such device looks li

[linux-yocto] [PATCH 04/19] i2c: check for proper length of the reg property

2016-02-08 Thread Saul Wold
From: Wolfram Sang commit bc280e47bc3944af5c7ca3cebaaf07819805ecb6 upstream. int is vague, let's simply use the type of the variable in question. Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman Signed-off-by: Wolfram Sang (cherry picked from commit 4c1344f105b626c222ea64669dc6dcfe100cc

[linux-yocto] [PATCH 05/19] i2c: core: fix typo in comment

2016-02-08 Thread Saul Wold
From: Shailendra Verma commit 891e1f106f375232431587baa8a72e2be39a845a upstream. Signed-off-by: Shailendra Verma Signed-off-by: Wolfram Sang (cherry picked from commit 95cc1e3d76398c4e8003dafe652285e43be90ee7) --- drivers/i2c/i2c-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[linux-yocto] [PATCH 03/19] i2c: slave: add error messages to slave core

2016-02-08 Thread Saul Wold
From: Wolfram Sang commit 429d57334d73b2c515363d21ad58be16c01d8d25 upstream. Inform users what went wrong from the core, so drivers don't have to do it. Signed-off-by: Wolfram Sang Acked-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang (cherry picked from commit 0c7cab96ec413a69af86965d94f

[linux-yocto] [PATCH 00/19 v2] Galileo patches that are upstreamed or pending

2016-02-08 Thread Saul Wold
Bruce, I am refactoring the large patchset I sent earlier, this includes just the patches that have upstream commits, I have already sent one general iio, these are More galileo specific. These should all have the upstream commit info in them. These are all for the 4.1 linux-yocto, I will send

[linux-yocto] [PATCH 08/19] i2c: fix leaked device refcount on of_find_i2c_* error path

2016-02-08 Thread Saul Wold
From: Vladimir Zapolskiy commit 6b5d9d07c7ea4df3cf27f9eeb2fbb9c48a0c034b upstream. If of_find_i2c_device_by_node() or of_find_i2c_adapter_by_node() find a device by node, but its type does not match, a reference to that device is still held. This change fixes the problem. Signed-off-by: Vladimi

[linux-yocto] [PATCH 06/19] i2c: core: Reduce stack size of acpi_i2c_space_handler()

2016-02-08 Thread Saul Wold
From: Jarkko Nikula commit 8e5d11906f6409f0374527d181808411fa6001e1 upstream. sizeof(struct i2c_client) is 1088 bytes on a CONFIG_X86_64=y build and produces following warning when CONFIG_FRAME_WARN is set to 1024: drivers/i2c/i2c-core.c: In function ‘acpi_i2c_space_handler’: drivers/i2c/i2c-co

[linux-yocto] [PATCH 02/19] i2c / ACPI: Assign IRQ for devices that have GpioInt automatically

2016-02-08 Thread Saul Wold
From: Mika Westerberg commit ed457856e712370c6e77303d103ec0103a44e4e9 upstream. Following what DT already does. If the device does not have ACPI Interrupt resource but instead it has one or more GpioInt resources listed below it, we take the first GpioInt resource, convert it to suitable Linux I

[linux-yocto] [PATCH 01/19] i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

2016-02-08 Thread Saul Wold
From: Mika Westerberg commit ad5f75aed7f6241aeaf4de293b7caedbc794dcae upstream. This is the convention used in most parts of the kernel including DT counterpart of I2C slave enumeration. To make things consistent do the same for ACPI I2C slave enumeration path as well. Signed-off-by: Mika Weste

[linux-yocto] [PATCH v2] iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors

2016-02-08 Thread Saul Wold
From: Tomasz Duszynski commit 3a11fbb037a1ecd3e1070ee484f1ea887133f21b upstream Add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors. Signed-off-by: Tomasz Duszynski Signed-off-by: Jonathan Cameron --- v2: seperate from larger set and add upstream commit info driver

Re: [linux-yocto] [PATCH 01/29] i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

2016-02-08 Thread Saul Wold
On Sun, 2016-02-07 at 17:09 -0500, Paul Gortmaker wrote: > [[linux-yocto] [PATCH 01/29] i2c / ACPI: Use 0 to indicate that > device does not have interrupt assigned] On 05/02/2016 (Fri 06:53) > Saul Wold wrote: > > > From: Mika Westerberg > > Normally here at this

[linux-yocto] [PATCH 23/29] acpi: updated DSDT table for SPI devices.

2016-02-05 Thread Saul Wold
From: Ismo Puustinen ACPI version 5 assumes SPI devices to be under the SPI bus in the ACPI definitions. Upstream-status: Inappropriate, custom firmware Signed-off-by: Saul Wold --- include/DSDT.hex | 1600 +++--- 1 file changed, 803 insertions

[linux-yocto] [PATCH 20/29] acpi: added a custom DSDT file.

2016-02-05 Thread Saul Wold
From: Ismo Puustinen The file has fixed GPIO IRQ assignment. Upstream-status: Inappropriate, custom firmware Signed-off-by: Saul Wold --- include/DSDT.hex | 1160 ++ 1 file changed, 1160 insertions(+) create mode 100644 include/DSDT.hex

[linux-yocto] [PATCH 27/29] gpio-pca953x: add "drive" property.

2016-02-05 Thread Saul Wold
Puustinen Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 57 +++ drivers/gpio/gpiolib-sysfs.c | 78 +++ drivers/gpio/gpiolib.c| 18 ++ drivers/gpio/gpiolib.h| 7 +++- include/asm-generic/gpio.h

[linux-yocto] [PATCH 29/29] ARM: dts: am335x-boneblack: configure i2c1 and 2

2016-02-05 Thread Saul Wold
From: Nishanth Menon Configure i2c1 and 2 at 400KHz. Signed-off-by: Nishanth Menon Signed-off-by: Saul Wold --- arch/arm/boot/dts/am335x-boneblack.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot

[linux-yocto] [PATCH 28/29] iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors

2016-02-05 Thread Saul Wold
From: Tomasz Duszynski Add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors. Signed-off-by: Tomasz Duszynski Signed-off-by: Jonathan Cameron Signed-off-by: Saul Wold --- drivers/iio/light/Kconfig | 10 ++ drivers/iio/light/Makefile | 1 + drivers/iio/light

[linux-yocto] [PATCH 25/29] staging:iio: add support for ADC1x8s102.

2016-02-05 Thread Saul Wold
From: Todor Minchev Upstream-status: Pending Signed-off-by: Saul Wold --- drivers/staging/iio/adc/Kconfig | 13 ++ drivers/staging/iio/adc/Makefile | 1 + drivers/staging/iio/adc/adc1x8s102.c | 387 +++ include/linux/platform_data/adc1x8s102

[linux-yocto] [PATCH 22/29] pca9685: PCA9685 PWM and GPIO multi-function device.

2016-02-05 Thread Saul Wold
From: Josef Ahmad There is also a driver for the same chip in drivers/pwm. This version has support for setting the output in GPIO mode in addition to the PWM mode. Upstream-status: Pending Signed-off-by: Saul Wold --- drivers/mfd/Kconfig | 10 ++ drivers/mfd/Makefile

[linux-yocto] [PATCH 24/29] spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.

2016-02-05 Thread Saul Wold
From: Ismo Puustinen Slave devices were not enumerated by ACPI data because the ACPI handle for the spi-pxa2xx controller was NULL if it was itself enumerated by PCI. Upstream-status: Inappropriate, real fix forthcoming Signed-off-by: Saul Wold --- drivers/spi/spi-pxa2xx-pci.c | 1 + 1 file

[linux-yocto] [PATCH 26/29] adc1x8s102: support ACPI-based enumeration.

2016-02-05 Thread Saul Wold
From: Ismo Puustinen Upstream-status: Pending Signed-off-by: Saul Wold --- drivers/staging/iio/adc/adc1x8s102.c | 76 ++-- 1 file changed, 63 insertions(+), 13 deletions(-) diff --git a/drivers/staging/iio/adc/adc1x8s102.c b/drivers/staging/iio/adc/adc1x8s102

[linux-yocto] [PATCH 21/29] gpio: pca953x: provide GPIO base based on _UID

2016-02-05 Thread Saul Wold
: Inappropriate, custom code for legacy userspace Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 44 +--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 32a56d5..0227cde 100644

[linux-yocto] [PATCH 15/29] mfd: intel_quark_i2c_gpio: support devices behind i2c bus

2016-02-05 Thread Saul Wold
to distinguish devices in ACPI namespace. Here the _ADR values are provided. Acked-by: Lee Jones Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/mfd/intel_quark_i2c_gpio.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers

[linux-yocto] [PATCH 16/29] gpio: pca953x: store driver_data for future use

2016-02-05 Thread Saul Wold
From: Andy Shevchenko Instead of using id->driver_data directly we copied it to the internal structure. This will help to adapt driver for ACPI use. Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 17 ++---

[linux-yocto] [PATCH 19/29] pwm-pca9685: enable ACPI device found on Galileo Gen2

2016-02-05 Thread Saul Wold
From: Andy Shevchenko There is a chip connected to i2c bus on Intel Galileo Gen2 board. Enable it via ACPI ID INT3492. Cc: Thierry Reding Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/pwm/Kconfig | 2 +- drivers/pwm/pwm-pca9685.c | 20

[linux-yocto] [PATCH 14/29] mfd: intel_quark_i2c_gpio: load gpio driver first

2016-02-05 Thread Saul Wold
ff-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/mfd/intel_quark_i2c_gpio.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c index 1ce1603..e7c395e 1

[linux-yocto] [PATCH 18/29] at24: enable ACPI device found on Galileo Gen2

2016-02-05 Thread Saul Wold
From: Andy Shevchenko There is a 24c08 chip connected to i2c bus on Intel Galileo Gen2 board. Enable it via ACPI ID INT3499. Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/misc/eeprom/at24.c | 22 +++--- 1 file changed, 19

[linux-yocto] [PATCH 17/29] gpio: pca953x: support ACPI devices found on Galileo Gen2

2016-02-05 Thread Saul Wold
From: Andy Shevchenko This patch adds a support of the expandes found on Intel Galileo Gen2 board. The platform information comes from ACPI. Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/gpio/gpio-pca953x.c | 21 - 1 file

[linux-yocto] [PATCH 03/29] i2c: slave: add error messages to slave core

2016-02-05 Thread Saul Wold
From: Wolfram Sang Inform users what went wrong from the core, so drivers don't have to do it. Signed-off-by: Wolfram Sang Acked-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang Upstream-status: Backport Signed-off-by: Saul Wold --- drivers/i2c/i2c-core.c | 22 +---

[linux-yocto] [PATCH 09/29] gpio / ACPI: Add support for retrieving GpioInt resources from a device

2016-02-05 Thread Saul Wold
able Linux IRQ number. Signed-off-by: Mika Westerberg Acked-by: Rafael J. Wysocki Signed-off-by: Linus Walleij Upstream-status: Backport Signed-off-by: Saul Wold --- drivers/gpio/gpiolib-acpi.c | 29 + include/linux/acpi.h| 7 +++ 2 files changed,

[linux-yocto] [PATCH 12/29] i2c / ACPI: Rework I2C device scanning

2016-02-05 Thread Saul Wold
() connection pointing to the host controller in question. Signed-off-by: Mika Westerberg Signed-off-by: Andy Shevchenko Upstream-status: Submitted Signed-off-by: Saul Wold --- drivers/i2c/i2c-core.c | 82 -- 1 file changed, 59 insertions(+), 23

[linux-yocto] [PATCH 13/29] mfd: core: redo ACPI matching of the children devices

2016-02-05 Thread Saul Wold
Signed-off-by: Saul Wold --- Documentation/acpi/enumeration.txt | 11 +--- drivers/mfd/mfd-core.c | 52 ++ include/linux/mfd/core.h | 10 ++-- 3 files changed, 52 insertions(+), 21 deletions(-) diff --git a/Documentation/acpi

[linux-yocto] [PATCH 08/29] i2c: fix leaked device refcount on of_find_i2c_* error path

2016-02-05 Thread Saul Wold
: Backport Signed-off-by: Saul Wold --- drivers/i2c/i2c-core.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index be992b3..e93dc38 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c

  1   2   3   >