[PATCH v12 2/6] pci: add Altera PCI vendor ID

2015-10-23 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index d9ba49c..08e4462 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1550,6 +1550,8 @@

Re: [PATCH v3 1/3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-10-23 Thread Heiko Stübner
Am Freitag, 23. Oktober 2015, 10:39:19 schrieb Krzysztof Kozlowski: > SRAM bindings for various SoCs, using the mmio-sram genalloc > API, are spread over different places - per SoC vendor. Since all of > these are quite similar (they depend on mmio-sram) move them to a common > place. > >

Re: [PATCH v3 2/2] ARM: dts: mediatek: add MT2701 basic support

2015-10-23 Thread Matthias Brugger
On 20/10/15 08:34, Erin Lo wrote: This adds basic chip support for Mediatek 2701. Signed-off-by: Erin Lo --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/mt2701-evb.dts | 29 arch/arm/boot/dts/mt2701.dtsi | 146

Re: [PATCH v3 0/2] Add basic support for Mediatek MT2701 SoC

2015-10-23 Thread Matthias Brugger
On 20/10/15 08:34, Erin Lo wrote: MT2701 is a SoC based on 32bit ARMv7 architecture. It contains 4 CA7 cores. MT2701 share many HW IP with MT65xx series. This patchset was tested on MT2701 evaluation board, and boot to shell ok. This series contains document bindings, device tree including

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-23 Thread Masahiro Yamada
2015-10-23 0:34 GMT+09:00 Rob Herring : > On Tue, Oct 20, 2015 at 8:20 PM, Masahiro Yamada > wrote: >> Hi Peter, >> (+ Rob Herring, Stefan Agner) >> >> 2015-10-20 23:00 GMT+09:00 Peter Hurley : >>> On 10/19/2015 11:36 PM,

Re: [PATCH v2 2/2] i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver

2015-10-23 Thread Wolfram Sang
On Fri, Oct 23, 2015 at 07:52:00PM +0900, Masahiro Yamada wrote: > Add support for on-chip I2C controller used on newer UniPhier SoCs > such as PH1-Pro4, PH1-Pro5, etc. This adapter is equipped with > 8-depth TX/RX FIFOs. > > Signed-off-by: Masahiro Yamada

Re: [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Marc Gonzalez
On 22/10/2015 16:02, Mans Rullgard wrote: > This adds a binding for the Aurora VLSI NB8800 Ethernet controller > using the "aurora,nb8800" compatible string. When used in Sigma > Designs chips a few additional control registers are available. > This variant is indicated by the

Re: [PATCH 2/2] Staging: lustre: lnet: lib-move return of an errno should typically be negative (ie: return -EAGAIN)

2015-10-23 Thread Nilesh Kokane
On Fri, Oct 23, 2015 at 5:10 PM, Dilger, Andreas wrote: > On 2015/10/22, 22:30, "Nilesh Kokane" wrote: >>Fixed- Return of an errno should typically be negative (ie: return >>-EAGAIN) > > Nak. Please do not change these function return values.

Re: [PATCH V3] hp_sdc: convert struct timeval to ktime_t

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 20:19:46 Pingbo Wen wrote: > > > Also, we don't normally have enumerated lists in a changelog, just use > > normal text. The best changelogs typically have three paragraphs: > > > > The first paragraph describes what the driver currently does. For really > > obvious

Re: [Y2038] [PATCH] hil_mlc: convert timeval to timespec64

2015-10-23 Thread Pingbo Wen
> 在 2015年10月23日,17:45,Arnd Bergmann 写道: > > On Friday 23 October 2015 17:12:38 Pingbo Wen wrote: >> On Monday, October 19, 2015 04:58 PM, Arnd Bergmann wrote: -do_gettimeofday(); - > Handling the jiffies overflow is trivially done through the

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-23 Thread David Miller
From: Jason Wang Date: Fri, 23 Oct 2015 00:57:05 -0400 > We don't have fraglist support in TAP_FEATURES. This will lead > software segmentation of gro skb with frag list. Fixes by having > frag list support in TAP_FEATURES. > > With this patch single session of netperf

[PATCH v2 3/4] KVM: X86: Migration is supported

2015-10-23 Thread Jian Zhou
Supported bits of MSR_IA32_DEBUGCTLMSR are DEBUGCTLMSR_LBR(bit 0), DEBUGCTLMSR_BTF(bit 1) and DEBUGCTLMSR_FREEZE_LBRS_ON_PMI(bit 11). Qemu can get/set contents of LBR MSRs and LBR status in order to support migration. Signed-off-by: Jian Zhou Signed-off-by: Stephen He

[PATCH v4 0/5] enable I2C devices behind I2C bus on Gen2

2015-10-23 Thread Andy Shevchenko
There is a board in the wild, i.e. Intel Galileo Gen2, that has ACPI enumerated devices behind I2C bus. This patch series dedicated to enable those devices. The MFD framework is also updated to cope with interesting implementation of the cell descriptions under ACPI MFD (patch 1). The patches 5

[PATCH v4 2/5] mfd: intel_quark_i2c_gpio: load gpio driver first

2015-10-23 Thread Andy Shevchenko
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 probe i2c host with device connected to it. Acked-by: Lee Jones

[PATCH v4 5/5] pwm-pca9685: enable ACPI device found on Galileo Gen2

2015-10-23 Thread 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 --- drivers/pwm/Kconfig | 2 +- drivers/pwm/pwm-pca9685.c | 20

[PATCH 2/2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-23 Thread Ard Biesheuvel
From: Taku Izumi Commit 0f96a99dab36 ("efi: Add "efi_fake_mem" boot option") introduces the following warning message: drivers/firmware/efi/fake_mem.c:186:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_memmap_phy was

[PATCH 1/2] efi: use correct type for struct efi_memory_map::phys_map

2015-10-23 Thread Ard Biesheuvel
We have been getting away with using a void* for the physical address of the UEFI memory map, since, even on 32-bit platforms with 64-bit physical addresses, no truncation takes place if the memory map has been allocated by the firmware (which only uses 1:1 virtually addressable memory), which is

[PATCH] iommu/vt-d: Propagate error-value from ir_parse_ioapic_hpet_scope()

2015-10-23 Thread Joerg Roedel
On Thu, Oct 22, 2015 at 02:00:51PM +0800, Baoquan He wrote: > Adjust the return value of parse_ioapics_under_ir as negative value > representing > failure and "0" representing succcess. Just make it consistent with other > function implementation, and we can judge if calling is successfull by >

Re: [PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

2015-10-23 Thread Wolfram Sang
On Fri, Oct 23, 2015 at 11:40:13AM +0300, Mika Westerberg wrote: > On Thu, Oct 22, 2015 at 02:17:42AM -0700, Dustin Byford wrote: > > Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or > > device property compatible string match), enumerating I2C client devices > > connected

Re: [GIT PULL] ARM: SoC fixes for 4.3-rc

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 18:41:32 Linus Torvalds wrote: > On Thu, 22 Oct 2015, Arnd Bergmann wrote: > > > > are available in the git repository at: > > > > git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git > > tags/fixes-for-linus > > Anyway, I've pulled using the

Re: [PATCH] pci: Update VPD size with correct length

2015-10-23 Thread kbuild test robot
Hi Hannes, [auto build test WARNING on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-size-with-correct-length/20151023-171224 reproduce: # apt-get

[RFC PATCH] pci: pci_vpd_pci22_size can be static

2015-10-23 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- access.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 3a49b14..41d86f6 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c @@ -495,7 +495,7 @@ static int

[PATCH v7 04/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-10-23 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps,

Re: [PATCH 1/8] mm: page_counter: let page_counter_try_charge() return bool

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:29, Johannes Weiner wrote: > page_counter_try_charge() currently returns 0 on success and -ENOMEM > on failure, which is surprising behavior given the function name. > > Make it follow the expected pattern of try_stuff() functions that > return a boolean true to indicate

[PATCH] of/fdt: fix error checking for earlycon address

2015-10-23 Thread Masahiro Yamada
fdt_translate_address() returns OF_BAD_ADDR on error. It is defined as a u64 value, so the variable "addr" should be defined as u64 as well. Fixes: fb11ffe74c79 ("of/fdt: add FDT serial scanning for earlycon") Signed-off-by: Masahiro Yamada --- drivers/of/fdt.c

[PATCH 2/2] cpuidle: mvebu: disable the bind/unbind attributes and use builtin_platform_driver

2015-10-23 Thread Daniel Lezcano
From: Russell King As the driver doesn't support unbinding, nor does it support arbitary binding of devices, disable the bind/unbind attributes for this driver. Also, as the driver has no remove function, it can never be modular, so use builtin_platform_driver() to

[PATCH 1/2] cpuidle: mvebu: clean up multiple platform drivers

2015-10-23 Thread Daniel Lezcano
From: Russell King There's no need to use multiple platform drivers, especially when we want to do something different in the probe, but we still use a common probe function. We can use the platform ID system to only register one platform driver, but have it match

[PATCH 03/11] net: llc: change copied to size_t in llc_ui_sendmsg

2015-10-23 Thread LABBE Corentin
The variable copied in llc_ui_sendmsg() cannot be negative and is used in functions that wait for unsigned value, so set it as size_t (like it is in llc_ui_recvmsg()) Signed-off-by: LABBE Corentin --- net/llc/af_llc.c | 3 ++- 1 file changed, 2 insertions(+), 1

[no subject]

2015-10-23 Thread LABBE Corentin
Hello This patch series was begun by my finding that memcpy_[to|from]_msg have a parameter len which is an int but used as size_t in whole functions. Without blindly changing the parameter to size_t, I have tried to see if anywhere in linux source code, someone give a negative argument with the

Re: [PATCH cgroup/for-4.4 3/3] cgroup: replace unified-hierarchy.txt with a proper cgroup v2 documentation

2015-10-23 Thread Vivek Goyal
On Fri, Oct 23, 2015 at 10:18:07AM +0900, Tejun Heo wrote: > Hello, > > On Thu, Oct 22, 2015 at 11:36:05PM +0900, Tejun Heo wrote: > > It works with ext2 and 4 and btrfs. Will document it. Thanks. > > Updated to include all writeback information from > blkio-controller.txt. > Thanks Tejun.

Re: [Y2038] [PATCH V2] hil_mlc: convert timeval to ktime_t

2015-10-23 Thread Arnd Bergmann
On Friday 23 October 2015 17:24:59 WEN Pingbo wrote: > Using struct timeval will cause time overflow in 2038, replacing it with > ktime_t. And we don't need to handle sec and nsec separately. > > Since mlc->lcv_t is only interested in seconds, directly using > time64_t here. > > And monotonic

Re: [PATCH v2 09/10] hwmon: (fam15h_power) Add documentation for accumulated power algorithm

2015-10-23 Thread Borislav Petkov
On Tue, Oct 20, 2015 at 10:28:28AM +0800, Huang Rui wrote: > This patch adds the description to explain the accumulated power > algorithm. > > Signed-off-by: Huang Rui > Cc: Borislav Petkov > Cc: Guenter Roeck > Cc: Peter Zijlstra

[PATCH v12 4/6] pci: altera: Add Altera PCIe MSI driver

2015-10-23 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan Reviewed-by: Marc Zyngier --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile

[PATCH v12 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer

2015-10-23 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8577ad9..96b9fac 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7958,6 +7958,14 @@ F: include/linux/pci* F:

[PATCH v12 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-23 Thread Ley Foon Tan
This patch adds the bindings for Altera PCIe host controller driver and Altera PCIe MSI driver. Signed-off-by: Ley Foon Tan Acked-by: Rob Herring --- .../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +

Re: [PATCH V3] hp_sdc: convert struct timeval to ktime_t

2015-10-23 Thread Pingbo Wen
> 在 2015年10月23日,19:45,Arnd Bergmann 写道: > > On Friday 23 October 2015 19:29:39 WEN Pingbo wrote: >> 1. struct timeval is not y2038 safe, convert it to ktime_t, and there is no >> need to handle sec and usec separately >> >> > > The patch looks good now, but the changelog

Re: [PATCH v5 2/2] lib/test-string_helpers.c: add string_get_size() tests

2015-10-23 Thread Vitaly Kuznetsov
Rasmus Villemoes writes: > On Thu, Sep 17 2015, Vitaly Kuznetsov wrote: > >> + >> +static __init void test_string_get_size(void) >> +{ >> +test_string_get_size_one(16384, 512, STRING_UNITS_2, "8.00 MiB"); >> +test_string_get_size_one(8192,

[PATCH v9 3/5] iio: core: Introduce IIO software triggers

2015-10-23 Thread Daniel Baluta
A software trigger associates an IIO device trigger with a software interrupt source (e.g: timer, sysfs). This patch adds the generic infrastructure for handling software triggers. Software interrupts sources are kept in a iio_trigger_types_list and registered separately when the associated

[PATCH v9 1/5] configfs: Allow dynamic group creation

2015-10-23 Thread Daniel Baluta
We don't want to hardcode default groups at subsystem creation time. We export: * configfs_register_group * configfs_unregister_group to allow drivers to programatically create/destroy groups later, after module init time. This is needed for IIO configfs support. Suggested-by:

[PATCH v9 4/5] iio: trigger: Introduce IIO hrtimer based trigger

2015-10-23 Thread Daniel Baluta
This patch registers a new IIO software trigger interrupt source based on high resolution timers. Notice that if configfs is enabled we create sampling_frequency attribute allowing users to change hrtimer period (1/sampling_frequency). The IIO hrtimer trigger has a long history, this patch is

Re: [PATCH 08/11] net: bluetooth: change the len parameter of sco_send_frame() to size_t

2015-10-23 Thread kbuild test robot
Hi LABBE, [auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/net-change-len-parameter-type-for-memcpy_-to-from-_msg/20151023-201642 config: sparc64

[PATCH v9 0/5] Add initial configfs support for IIO

2015-10-23 Thread Daniel Baluta
This patchset introduces IIO software triggers, offers a way of configuring them via configfs and adds the IIO hrtimer based interrupt source to be used with software triggers. The arhitecture is now split in 3 parts, to remove all IIO trigger specific parts from IIO configfs core: (1) IIO

[PATCH v9 2/5] iio: core: Introduce IIO configfs support

2015-10-23 Thread Daniel Baluta
This patch creates the IIO configfs root group. The group will appear under /iio/, usually /config/iio. We introduce configfs support in IIO in order to be able to easily create IIO objects from userspace. The first supported IIO objects are triggers introduced with next patches. Signed-off-by:

[PATCH v9 5/5] iio: Documentation: Add IIO configfs documentation

2015-10-23 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/configfs-iio | 21 Documentation/iio/iio_configfs.txt | 93 ++ 2 files changed, 114 insertions(+) create mode 100644 Documentation/ABI/testing/configfs-iio create

Re: [PATCH 4/8] mm: memcontrol: prepare for unified hierarchy socket accounting

2015-10-23 Thread Michal Hocko
On Thu 22-10-15 00:21:32, Johannes Weiner wrote: > The unified hierarchy memory controller will account socket > memory. Move the infrastructure functions accordingly. > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > mm/memcontrol.c | 136

[PATCH v3 0/7] VFIO platform reset module rework

2015-10-23 Thread Eric Auger
This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new

[PATCH 1/3] DT binding: gpio-zynq: Document interrupt-controller

2015-10-23 Thread Soren Brinkmann
HW and driver support the GPIO as interrupt-controller. Document that in the DT binding. Signed-off-by: Soren Brinkmann --- Documentation/devicetree/bindings/gpio/gpio-zynq.txt | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 3/3] ARM64: zynqmp: DT: Add interrupt-controller property to GPIO

2015-10-23 Thread Soren Brinkmann
GPIO can be used as interrupt-controller. Add the missing properties to the GPIO node. Signed-off-by: Soren Brinkmann --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi

Re: [RFC] hwmon: ina2xx: port to using remap, improve bandwidth.

2015-10-23 Thread Guenter Roeck
On 10/23/2015 09:13 AM, Marc Titinger wrote: With the current implementation, the driver will prevent a readout at a pace faster than the default conversion time (2ms) times the averaging setting, min AVG being 1:1. Any sysfs "show" read access from the client app faster than 500 Hz will be

Re: [PATCH 1/2] pstore: check PSTORE_FLAGS_FRAGILE in pstore_unregister

2015-10-23 Thread Kees Cook
On Fri, Oct 23, 2015 at 7:56 AM, Geliang Tang wrote: > When PSTORE_FLAGS_FRAGILE flag is set, only kmsg is registered in > pstore_register. So, under these circumstances, only kmsg needs to > be unregistered in pstore_unregister. > > Signed-off-by: Geliang Tang

Re: [PATCH v2] EDAC: Add ARM64 EDAC

2015-10-23 Thread Stephen Boyd
Drive by nitpicks On 10/21, Brijesh Singh wrote: > diff --git a/drivers/edac/cortex_arm64_edac.c > b/drivers/edac/cortex_arm64_edac.c > new file mode 100644 > index 000..c37bb94 > --- /dev/null > +++ b/drivers/edac/cortex_arm64_edac.c > + > +#define L1_CACHE 0 > +#define

Re: [PATCH 05/31] perf record: Load eBPF object into kernel

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 12:41:16PM +, Wang Nan escreveu: > This patch utilizes bpf_object__load() provided by libbpf to load all > objects into kernel. So, testing this, using that other proggie, I get; # perf record --event /tmp/foo.o sleep 1 libbpf: load bpf program failed: Invalid

HI

2015-10-23 Thread Lina Ding
Hello,how are you today? my name is Lina I have important thing to discuss with you. Please reply me back with this My private email address(lina.din...@outlook.com)   -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH 4.2 43/54] drm/radeon: attach tile property to mst connector

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit bc8c131ccdd62d4ed4f33c6b50f92907e7c32dee upstream. This allows tiled monitors to work with radeon once mst is enabled. Signed-off-by: Dave Airlie

[PATCH 4.2 27/54] btrfs: fix use after free iterating extrefs

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit dc6c5fb3b514221f2e9d21ee626a9d95d3418dff upstream. The code for btrfs inode-resolve has never worked properly for files with enough hard links to trigger

[PATCH 4.2 42/54] drm/dp/mst: make mst i2c transfer code more robust.

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit ae491542cbbbcca0ec8938c37d4079a985e58440 upstream. This zeroes the msg so no random stack data ends up getting sent, it also limits the function to not

[PATCH 4.1 11/46] act_mirred: clear sender cpu before sending to tx

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit d40496a56430eac0d330378816954619899fe303 ] Similar to commit c29390c6dfee ("xps: must clear sender_cpu before forwarding") the

[PATCH 3.14 19/25] workqueue: make sure delayed work run in local cpu

2015-10-23 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 874bbfe600a660cba9c776b3957b1ce393151b76 upstream. My system keeps crashing with below message. vmstat_update() schedules a delayed work in current cpu and

[PATCH 3.14 21/25] drm/radeon: add pm sysfs files late

2015-10-23 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5 upstream. They were added relatively early in the driver init process which meant that in some cases

[PATCH 4.1 23/46] btrfs: fix use after free iterating extrefs

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit dc6c5fb3b514221f2e9d21ee626a9d95d3418dff upstream. The code for btrfs inode-resolve has never worked properly for files with enough hard links to trigger

Re: [PATCH -next] mtd: fsl-quadspi: Never build on SPARC

2015-10-23 Thread Han Xu
On Thu, Oct 22, 2015 at 8:13 PM, Guenter Roeck wrote: > On 10/22/2015 06:07 PM, Brian Norris wrote: >> >> + Han >> >> On Wed, Oct 21, 2015 at 07:31:46AM -0700, Guenter Roeck wrote: >>> >>> Attempts to build fsl-quadspi on SPARC fail with >>> >>>

Re: [PATCH v10 3/5] iio: core: Introduce IIO software triggers

2015-10-23 Thread kbuild test robot
Hi Daniel, [auto build test WARNING on next-20151022 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Daniel-Baluta/Add-initial-configfs-support-for-IIO/20151023-233520 coccinelle warnings: (new ones

[PATCH] iio: core: fix ptr_ret.cocci warnings

2015-10-23 Thread kbuild test robot
drivers/iio/industrialio-sw-trigger.c:169:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci CC: Daniel Baluta Signed-off-by: Fengguang Wu

Re: Should audit_seccomp check audit_enabled?

2015-10-23 Thread Kees Cook
On Fri, Oct 23, 2015 at 9:19 AM, Andy Lutomirski wrote: > I would argue that, if auditing is off, audit_seccomp shouldn't do > anything. After all, unlike e.g. selinux, seccomp is not a systemwide > policy, and seccomp signals might be ordinary behavior that's internal > to

Re: [PATCH v4 4/5] at24: enable ACPI device found on Galileo Gen2

2015-10-23 Thread Ben Gardner
Hi, On Fri, Oct 23, 2015 at 4:16 AM, Andy Shevchenko wrote: > There is a 24c08 chip connected to i2c bus on Intel Galileo Gen2 board. Enable > it via ACPI ID INT3499. I'm looking to do something similar with a 24C02 and would like to know if there is an ID

[PATCH v6 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-23 Thread Punit Vara
This warning is reported by coccicheck: Signed-off-by: Punit Vara --- drivers/net/wireless/ath/wcn36xx/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index

[PATCH 4.2 45/54] drm/amdgpu: add pm sysfs files late

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit fa022a9b65d2886486a022fd66b20c823cd76ad9 upstream. They were added relatively early in the driver init process which meant that in some cases the

[RFC 5/5] HID: Add vendor specific usage pages for Logitech G920

2015-10-23 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft --- drivers/hid/hid-input.c | 2 +- include/linux/hid.h |

[PATCH 4.1 10/46] ovs: do not allocate memory from offline numa node

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov [ Upstream commit 598c12d0ba6de9060f04999746eb1e015774044b ] When openvswitch tries allocate memory from offline numa node 0: stats =

[PATCH 3.14 20/25] drm/nouveau/fbcon: take runpm reference when userspace has an open fd

2015-10-23 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit f231976c2e8964ceaa9250e57d27c35ff03825c2 upstream. We need to do this in order to prevent accesses to the device while it's powered down. Userspace may

[PATCH 4.1 01/46] net/ibm/emac: bump version numbers for correct work with ethtool

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Mikhaylov [ Upstream commit 661dfc65f7981481ba2e31aaa702371e82336e56 ] The size of the MAC register dump used to be the size specified by the reg property in the device

[PATCH 3.14 04/25] net/unix: fix logic about sk_peek_offset

2015-10-23 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin [ Upstream commit e9193d60d363e4dff75ff6d43a48f22be26d59c7 ] Now send with MSG_PEEK can return data from multiple SKBs. Unfortunately we take into account the

[RFC 3/5] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-10-23 Thread Simon Wood
This patch adds basic support for the Logitech G920 wheel when in HID mode. This wheel 'speaks' the HID++ protocol, and therefor is driven with hid-logitech-hidpp. At this stage the driver only shows that it can communicate with the wheel by outputting the name discovered over HID++. The normal

[PATCH] gpio: add tps65218 gpio driver

2015-10-23 Thread Nicolas Saenz Julienne
Driver for the GPIO block found in ti's tps65218 pmics. The device has two GPIOs and one GPO pin which can be configured as follows: GPIO1: -general-purpose, open-drain output controlled by GPO1 user bit and/or sequencer -DDR3 reset input signal from SOC. Signal is either

Re: [PATCH 1/3] perf tools: Move callchain help messages to callchain.h

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 23, 2015 at 11:27:15AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Oct 23, 2015 at 11:59:32AM +0200, Ingo Molnar escreveu: > > Btw., another usability detail I noticed yesterday is that when I typed > > 'perf > > report -h' I got so much output that I couldn't find the

Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-23 Thread Peter Zijlstra
On Fri, Oct 23, 2015 at 08:02:00AM -0700, Alexei Starovoitov wrote: > On 10/23/15 7:39 AM, Peter Zijlstra wrote: > >On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote: > >>>+static const struct bpf_func_proto bpf_perf_event_output_proto = { > >>>+ .func =

Re: [PATCH] perf tools: Enable pre-event inherit setting by config terms

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 23, 2015 at 09:23:22AM +, Wang Nan escreveu: > This patch allows perf record setting event's attr.inherit bit by > config terms like: > > # perf record -e cycles/no-inherit/ ... I understand that the 'perf record' option is called --no-inherit, but can we support both 'inherit'

Re: [PATCH -next] mtd: fsl-quadspi: Never build on SPARC

2015-10-23 Thread Guenter Roeck
On 10/23/2015 09:31 AM, Han Xu wrote: On Thu, Oct 22, 2015 at 8:13 PM, Guenter Roeck wrote: On 10/22/2015 06:07 PM, Brian Norris wrote: + Han On Wed, Oct 21, 2015 at 07:31:46AM -0700, Guenter Roeck wrote: Attempts to build fsl-quadspi on SPARC fail with

[PATCH] coresight: checking for NULL string in coresight_name_match()

2015-10-23 Thread Mathieu Poirier
Connection child names associated to ports can sometimes be NULL, which is the case when booting a system on QEMU or when the Coresight power domain isn't switched on. This patch is adding a check to make sure a NULL string isn't fed to strcmp(), something that avoid crashing the system.

Re: [PATCH] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-10-23 Thread Brian Norris
+ Han Make sure to check MAINTAINERS (or scripts/get_maintainers.pl, but you have to be smart there; sometimes that script gives you too big of a CC list). Brian On Fri, Oct 23, 2015 at 03:53:17PM +0800, Yuan Yao wrote: > Add R/W functions for big- or little-endian registers: > The qSPI

[PATCH 3.10 01/17] l2tp: protect tunnel->del_work by ref_count

2015-10-23 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 06a15f51cf3618e32a73871ee6a547ef7fd902b5 ] There is a small chance that tunnel_free() is called before tunnel->del_work scheduled

[PATCH 4.2 05/54] net/unix: fix logic about sk_peek_offset

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin [ Upstream commit e9193d60d363e4dff75ff6d43a48f22be26d59c7 ] Now send with MSG_PEEK can return data from multiple SKBs. Unfortunately we take into account the

[PATCH 4.2 35/54] i2c: designware-platdrv: enable RuntimePM before registering to the core

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 36d48fb5766aee9717e429f772046696b215282d upstream. The core may register clients attached to this master which may use funtionality from

[PATCH 4.2 26/54] btrfs: check unsupported filters in balance arguments

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 8eb934591f8bf584969454a658f629cd06e59f3a upstream. We don't verify that all the balance filter arguments supplemented by the flags are actually known to

[PATCH 4.2 36/54] workqueue: make sure delayed work run in local cpu

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 874bbfe600a660cba9c776b3957b1ce393151b76 upstream. My system keeps crashing with below message. vmstat_update() schedules a delayed work in current cpu and

[PATCH 4.2 22/54] crypto: sparc - initialize blkcipher.ivsize

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit a66d7f724a96d6fd279bfbd2ee488def6b081bea upstream. Some of the crypto algorithms write to the initialization vector, but no space has been

[PATCH 4.1 22/46] btrfs: check unsupported filters in balance arguments

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 8eb934591f8bf584969454a658f629cd06e59f3a upstream. We don't verify that all the balance filter arguments supplemented by the flags are actually known to

[PATCH 4.1 46/46] nfs4: have do_vfs_lock take an inode pointer

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 83bfff23e9ed19f37c4ef0bba84e75bd88e5cf21 upstream. Now that we have file locking helpers that can deal with an inode instead of a filp, we can

[PATCH 4.1 42/46] svcrdma: handle rdma read with a non-zero initial page offset

2015-10-23 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise commit c91aed9896946721bb30705ea2904edb3725dd61 upstream. The server rdma_read_chunk_lcl() and rdma_read_chunk_frmr() functions were not taking into

[PATCH 2/3] ARM: zynq: DT: Add interrupt-controller property to GPIO

2015-10-23 Thread Soren Brinkmann
GPIO can be used as interrupt-controller. Add the missing properties to the GPIO node. Signed-off-by: Soren Brinkmann --- arch/arm/boot/dts/zynq-7000.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi

Re: [GIT PULL] On-demand device probing

2015-10-23 Thread Rob Herring
On Fri, Oct 23, 2015 at 10:45 AM, Tim Bird wrote: > On 10/22/2015 11:53 AM, Frank Rowand wrote: >> On 10/22/2015 7:44 AM, Greg Kroah-Hartman wrote: >>> >>> >>> On Thu, Oct 22, 2015 at 11:05:11AM +0200, Tomeu Vizoso wrote: But that's moot

Re: [PATCH 4/6] drm/vc4: Fix some failure to track __iomem decorations on pointers.

2015-10-23 Thread Eric Anholt
Ilia Mirkin writes: > On Oct 23, 2015 6:32 AM, "Eric Anholt" wrote: >> >> Caught by the kbuild test robot. >> >> Signed-off-by: Eric Anholt >> --- >> drivers/gpu/drm/vc4/vc4_crtc.c | 3 ++- >> drivers/gpu/drm/vc4/vc4_hvs.c | 8

Re: [RFC] hwmon: ina2xx: port to using remap, improve bandwidth.

2015-10-23 Thread kbuild test robot
Hi Marc, [auto build test WARNING on hwmon/hwmon-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Marc-Titinger/hwmon-ina2xx-port-to-using-remap-improve-bandwidth/20151024-001809 config:

Re: [PATCH -next] mtd: fsl-quadspi: Never build on SPARC

2015-10-23 Thread Brian Norris
On Fri, Oct 23, 2015 at 11:31:47AM -0500, Han Xu wrote: > On Thu, Oct 22, 2015 at 8:13 PM, Guenter Roeck wrote: > > On 10/22/2015 06:07 PM, Brian Norris wrote: > >> > >> + Han > >> > >> On Wed, Oct 21, 2015 at 07:31:46AM -0700, Guenter Roeck wrote: > >>> > >>> Attempts to

Re: [RFC] hwmon: ina2xx: port to using remap, improve bandwidth.

2015-10-23 Thread kbuild test robot
Hi Marc, [auto build test WARNING on hwmon/hwmon-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Marc-Titinger/hwmon-ina2xx-port-to-using-remap-improve-bandwidth/20151024-001809 config:

Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-23 Thread Alexei Starovoitov
On 10/23/15 9:42 AM, Peter Zijlstra wrote: On Fri, Oct 23, 2015 at 08:02:00AM -0700, Alexei Starovoitov wrote: On 10/23/15 7:39 AM, Peter Zijlstra wrote: On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote: +static const struct bpf_func_proto bpf_perf_event_output_proto = { +

Re: [PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-23 Thread Florian Fainelli
On 23/10/15 08:20, Måns Rullgård wrote: > Florian Fainelli writes: > >> On 22/10/15 07:02, Mans Rullgard wrote: >>> This adds a driver for the Aurora VLSI NB8800 Ethernet controller. >>> It is an almost complete rewrite of a driver originally found in >>> a Sigma Designs

[PATCH 4.2 41/54] drm/nouveau/fbcon: take runpm reference when userspace has an open fd

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit f231976c2e8964ceaa9250e57d27c35ff03825c2 upstream. We need to do this in order to prevent accesses to the device while it's powered down. Userspace may

[PATCH 4.2 46/54] drm/amdgpu: fix num_crtc on CZ

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 26d0c21db1fd1679fcf07863741c13ba5ce37a65 upstream. Hw only has 3 crtcs. copy paste typo. Signed-off-by: Alex Deucher

[PATCH 4.2 40/54] drm/qxl: fix framebuffer dirty rectangle tracking.

2015-10-23 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Gerd Hoffmann commit 60906529bec506a4bde93f04eb5e7a9dd9c42a3b upstream. Commit "c0fe07a drm/qxl: rewrite framebuffer support" has a bug in the dirty rectangle tracking:

<    8   9   10   11   12   13   14   15   16   17   >