[PATCH v2] arm64: dts: uniphier: add PH1-LD10 SoC/board support

2015-11-25 Thread Masahiro Yamada
This is the first ARMv8 SoC from Socionext Inc. Signed-off-by: Masahiro Yamada --- Changes in v2: - Split into a single patch MAINTAINERS| 1 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/socionext/Makefile

Re: [PATCH 09/10] KVM: x86: MMU: Move parent_pte handling from kvm_mmu_get_page() to link_shadow_page()

2015-11-25 Thread Takuya Yoshikawa
On 2015/11/26 1:32, Paolo Bonzini wrote: On 20/11/2015 09:57, Xiao Guangrong wrote: You can move this patch to the front of [PATCH 08/10] KVM: x86: MMU: Use for_each_rmap_spte macro instead of pte_list_walk() By moving kvm_mmu_mark_parents_unsync() to the behind of mmu_spte_set() (then the

Re: [PATCH 0/4] arm, arm64: uniphier: add a new driver, device tree updates

2015-11-25 Thread Masahiro Yamada
2015-11-24 18:39 GMT+09:00 Masahiro Yamada : > Hi Arnd, Olof, > > Here is another series for UniPhier SoC family: > > - 1/4: add a new driver. The UniPhier System Bus is an external bus > where on-board devices are connected to the SoC. > (please check if the binding

Re: [PATCH v5 00/10] xen-block: multi hardware-queues/rings support

2015-11-25 Thread Bob Liu
On 11/26/2015 06:12 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Nov 25, 2015 at 03:56:03PM -0500, Konrad Rzeszutek Wilk wrote: >> On Wed, Nov 25, 2015 at 02:25:07PM -0500, Konrad Rzeszutek Wilk wrote: xen/blkback: separate ring information out of struct xen_blkif xen/blkback: pseudo

Re: [PATCH 1/4] bus: uniphier-system-bus: add UniPhier System Bus Controller driver

2015-11-25 Thread Masahiro Yamada
Hi Mark, 2015-11-25 2:38 GMT+09:00 Mark Rutland : > Hi, > >> >> +UniPhier System Bus Controller >> >> +-- >> >> + >> >> +The UniPhier System Bus Controller is a hardware block with registers >> >> that >> >> +controls the System Bus accessing; how each bank is mapped

[for-next][PATCH 1/5] ring-buffer: Process commits whenever moving to a new page.

2015-11-25 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When crossing over to a new page, commit the current work. This will allow readers to get data with less latency, and also simplifies the work to get timestamps working for interrupted events. Signed-off-by: Steven Rostedt --- kernel/trace/ring_buffer.c | 7

[for-next][PATCH 3/5] ftrace: Add new type to distinguish what kind of ftrace_bug()

2015-11-25 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The ftrace function hook utility has several internal checks to make sure that whatever it modifies is exactly what it expects to be modifying. This is essential as modifying running code can be extremely dangerous to the system. When an anomaly is detected,

[for-next][PATCH 5/5] ftrace: Show all tramps registered to a record on ftrace_bug()

2015-11-25 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When an anomaly is detected in the function call modification code, ftrace_bug() is called to disable function tracing as well as give any information that may help debug the problem. Currently, only the first found trampoline that is attached to the failed

[for-next][PATCH 4/5] ftrace: Add variable ftrace_expected for archs to show expected code

2015-11-25 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When an anomaly is found while modifying function code, ftrace_bug() is called which disables the function tracing infrastructure and reports information about what failed. If the code that is to be replaced does not match what is expected, then actual code is

[for-next][PATCH 2/5] tracing: Update cond flag when enabling or disabling a trigger

2015-11-25 Thread Steven Rostedt
From: Tom Zanussi When a trigger is enabled, the cond flag should be set beforehand, otherwise a trigger that's expecting to process a trace record (e.g. one with post_trigger set) could be invoked without one. Likewise a trigger's cond flag should be reset after it's disabled, not before.

[for-next][PATCH 0/5] tracing: Better output when ftrace_bug() is hit

2015-11-25 Thread Steven Rostedt
Better output in ftrace_bug() for debugging when ftrace fails to modify a location. Also, removed module modifications that were left over from debugging before (rebased). git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1:

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Måns Rullgård
Russell King - ARM Linux writes: > On Thu, Nov 26, 2015 at 12:50:08AM +, Måns Rullgård wrote: >> If not calling the function saves an I-cache miss, the benefit can be >> substantial. No, I have no proof of this being a problem, but it's >> something that could happen. > > That's a

Re: [PATCH] ASoC: rcar: remove unused variable

2015-11-25 Thread Kuninori Morimoto
Hi > > It is possible to remove this patch from topic/rcar, > > and, apply it to topic/pcm-list ? > > > ccae40fa973f5b0eec5d5ad27e81c5a2b95f7b7c > > (" ASoC: rcar: remove unused variable") > > I did that already. Thanks ! -- To unsubscribe from this list: send the line "unsubscribe

checkpatch: GIT_COMMIT_ID rule catches 'cherry picked from commit ' lines

2015-11-25 Thread Shawn N
Hello, The checkpatch.pl GIT_COMMIT_ID rule appears to be designed to enforce a minimum description when citing patches: 'commit <12+ chars of sha1> (\"\")'. One (unintended?) consequence of this rule is that unmodified 'cherry picked from commit ' (git cherry-pick -x) lines are flagged. - Is

[PATCH linux-firmware 2/2] WHENCE: Remove claim that qed and bfa/bna firmware came from kernel source

2015-11-25 Thread Ben Hutchings
These have only been included in linux-firmware.git. Signed-off-by: Ben Hutchings --- WHENCE | 3 --- 1 file changed, 3 deletions(-) diff --git a/WHENCE b/WHENCE index 1b880c9..9ecc984 100644 --- a/WHENCE +++ b/WHENCE @@ -1917,7 +1917,6 @@ Licence: in hexadecimal or equivalent format,

Re: [PATCH v2] mm/compaction: __compact_pgdat() code cleanuup

2015-11-25 Thread Joonsoo Kim
On Wed, Nov 25, 2015 at 02:45:15AM -0800, David Rientjes wrote: > On Wed, 25 Nov 2015, Joonsoo Kim wrote: > > > This patch uses is_via_compact_memory() to distinguish direct compaction. > > When I think of "direct compaction", I think of compaction triggered for > high-order allocations from

[PATCH linux-firmware 1/2] WHENCE: Correct filename of qed firmware

2015-11-25 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 412e5fb..1b880c9 100644 --- a/WHENCE +++ b/WHENCE @@ -1906,7 +1906,7 @@ Found in hex form in kernel source. Driver: qed - QLogic 4 Ethernet Driver Core Module.

Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value

2015-11-25 Thread Joonsoo Kim
On Wed, Nov 25, 2015 at 01:00:22PM +0100, Michal Hocko wrote: > On Tue 24-11-15 15:22:03, Joonsoo Kim wrote: > > When I tested compaction in low memory condition, I found that > > my benchmark is stuck in congestion_wait() at shrink_inactive_list(). > > This stuck last for 1 sec and after then it

Re: [PATCH v2 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-25 Thread Ray Jui
Hi Marc, On 11/25/2015 9:36 AM, Marc Zyngier wrote: On Tue, 24 Nov 2015 15:04:53 -0800 Ray Jui wrote: This patch adds PCIe MSI support for both PAXB and PAXC interfaces on all iProc based platforms. The patch follows the latest trend in the kernel to use MSI domain based implementation

Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value

2015-11-25 Thread Joonsoo Kim
On Wed, Nov 25, 2015 at 10:04:44AM -0600, Christoph Lameter wrote: > > Although vmstat values aren't designed for accuracy, these are already > > used by some sensitive places so it is better to be more accurate. > > The design is to sacrifice accuracy and the time the updates occur for >

Re: [PATCH 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2015-11-25 Thread kbuild test robot
Hi Andrew, [auto build test WARNING on input/next] [cannot apply to v4.4-rc2 next-20151124] url: https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4-Synaptics-RMI4-Driver-rebased-on-4-3/20151126-081351 base:

[RFC PATCH] HID: rmi: rmi_hid_2d_sensor_data can be static

2015-11-25 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- hid-rmi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c index 81472c9..832c77d 100644 --- a/drivers/hid/hid-rmi.c +++ b/drivers/hid/hid-rmi.c @@ -497,7 +497,7 @@ static int

Re: [PATCH] perf probe: Adjust dso->long_name for offline module

2015-11-25 Thread Wangnan (F)
On 2015/11/26 9:10, 平松雅巳 / HIRAMATU,MASAMI wrote: From: Wang Nan [mailto:wangn...@huawei.com] If libelf unable to open debuginfo for an offline module but the ko has symtab, something unexpected may happen. # rm -rf ~/.debug/ # mv /usr/lib64/elfutils/libebl_x86_64.so{,.bak} Please do give

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Russell King - ARM Linux
On Thu, Nov 26, 2015 at 12:50:08AM +, Måns Rullgård wrote: > If not calling the function saves an I-cache miss, the benefit can be > substantial. No, I have no proof of this being a problem, but it's > something that could happen. That's a simplistic view of modern CPUs. As I've already

Re: [PATCH 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2015-11-25 Thread kbuild test robot
Hi Andrew, [auto build test ERROR on input/next] [cannot apply to v4.4-rc2 next-20151124] url: https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4-Synaptics-RMI4-Driver-rebased-on-4-3/20151126-081351 base:

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-25 Thread Daniel Kurtz
Hi Bayi, Matthias, Sorry for the late review, one comment below... On Wed, Nov 18, 2015 at 11:30 AM, Bayi Cheng wrote: > Add Mediatek nor flash node > > Signed-off-by: Bayi Cheng > Acked-by: Brian Norris > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- > 1 file

RE: [PATCH] perf probe: Adjust dso->long_name for offline module

2015-11-25 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >If libelf unable to open debuginfo for an offline module but the ko has >symtab, something unexpected may happen. > > # rm -rf ~/.debug/ > # mv /usr/lib64/elfutils/libebl_x86_64.so{,.bak} Please do give more possible usecase. removing libebl is

mmotm 2015-11-25-17-08 uploaded

2015-11-25 Thread akpm
The mm-of-the-moment snapshot 2015-11-25-17-08 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH] ASoC: rcar: remove unused variable

2015-11-25 Thread Mark Brown
On Wed, Nov 25, 2015 at 11:54:06PM +, Kuninori Morimoto wrote: > It is possible to remove this patch from topic/rcar, > and, apply it to topic/pcm-list ? > ccae40fa973f5b0eec5d5ad27e81c5a2b95f7b7c > (" ASoC: rcar: remove unused variable") I did that already. signature.asc Description: PGP

Re: [kernel-hardening] [PATCH v2 1/4] init: create cmdline param to disable readonly

2015-11-25 Thread Greg KH
On Wed, Nov 25, 2015 at 03:31:23PM -0800, Kees Cook wrote: > It may be useful to debug writes to the readonly sections of memory, > so provide a cmdline "rodata=off" to allow for this. > > Suggested-by: H. Peter Anvin > Signed-off-by: Kees Cook > --- > Documentation/kernel-parameters.txt | 4

Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding

2015-11-25 Thread Mark Brown
On Wed, Nov 25, 2015 at 05:45:24PM -0600, Rob Herring wrote: > On Mon, Nov 23, 2015 at 05:19:58PM +0800, Songjun Wu wrote: > > Set GCK's parent as audio clock. > > Signed-off-by: Songjun Wu > Applied, thanks. I already applied this to the ASoC tree. signature.asc Description: PGP signature

[lkp] [mm, page_alloc] d0164adc89: -100.0% fsmark.app_overhead

2015-11-25 Thread kernel test robot
rhel-d0164adc89f6bb374d304ffcc375c6d2652fe67d-20151125-7326-77ivz1-0.yaml" max_uptime: 674.07 initrd: "/osimage/debian/debian-x86_64-2015-02-07.cgz" bootloader_append: - root=/dev/ram0 - user=lkp - job=/lkp/scheduled/vm-vp-1G-8/bisect_fsmark-1x-32t-1HDD-xfs-16MB-60G-fsyncBef

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Måns Rullgård
Nicolas Pitre writes: > On Thu, 26 Nov 2015, Måns Rullgård wrote: > >> Nicolas Pitre writes: >> >> > 3) In fact I was wondering if the overhead of the branch and back is >> >really significant compared to the non trivial cost of a idiv >> >instruction and all the complex

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Nicolas Pitre
On Thu, 26 Nov 2015, Måns Rullgård wrote: > Nicolas Pitre writes: > > > On Wed, 25 Nov 2015, Stephen Boyd wrote: > > > >> The ARM compiler inserts calls to __aeabi_uidiv() and > >> __aeabi_idiv() when it needs to perform division on signed and > >> unsigned integers. If a processor has support

Re: [PATCH v3 6/8] usb: dwc2: host: Assume all devices are on one single_tt hub

2015-11-25 Thread Doug Anderson
Hi, On Mon, Nov 23, 2015 at 4:28 PM, Doug Anderson wrote: > John, > > On Thu, Nov 19, 2015 at 8:33 PM, John Youn wrote: >> Patches 1-3: >> Acked-by: John Youn >> >> Patch 2: >> Tested-by: John Youn >> >> Tested on core version 3.20 using internal TE for un-aligned >> buffers. >> >> I haven't

Re: [PATCH 3.2 38/52] Btrfs: fix race when listing an inode's xattrs

2015-11-25 Thread Ben Hutchings
On Wed, 2015-11-25 at 23:11 +, Luis Henriques wrote: > On Tue, Nov 24, 2015 at 10:33:59PM +, Ben Hutchings wrote: > > 3.2.74-rc1 review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Filipe Manana > > > > commit

Re: [PATCH v2 1/4] init: create cmdline param to disable readonly

2015-11-25 Thread PaX Team
On 25 Nov 2015 at 15:31, Kees Cook wrote: > + rodata= [KNL] > + on Mark read-only kernel memory as read-only (default). > + off Leave read-only kernel memory writable for debugging. > + > +#ifdef CONFIG_DEBUG_RODATA > +bool disable_mark_readonly;

[PATCH v3] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread Geliang Tang
WARN() takes a condition and a format string. The condition was omitted. So I added it. Signed-off-by: Geliang Tang --- Changes in v3: - fix kbuild test robot error. Changes in v2: - remove __func__ in WARN() --- arch/arm/mach-davinci/board-dm355-evm.c | 4 +---

Re: [PATCH 3.2 22/52] ALSA: hda - Disable 64bit address for Creative HDA controllers

2015-11-25 Thread Ben Hutchings
On Wed, 2015-11-25 at 23:05 +, Luis Henriques wrote: > On Tue, Nov 24, 2015 at 10:33:59PM +, Ben Hutchings wrote: > > 3.2.74-rc1 review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Takashi Iwai > > > > commit

Re: [PATCH] ARM: dts: Remove unneeded GPIO include in exynos4412-odroidu3

2015-11-25 Thread Krzysztof Kozlowski
On 25.11.2015 21:11, Javier Martinez Canillas wrote: > The header is already included in the > exynos4412-odroid-common DTSI so there's no need to do it again > in the DTS file. > > Signed-off-by: Javier Martinez Canillas > > --- > > arch/arm/boot/dts/exynos4412-odroidu3.dts | 1 - > 1 file

Re: [PATCH] sparc64/gup: check address scope legitimacy

2015-11-25 Thread Shi, Yang
On 11/25/2015 4:26 PM, kbuild test robot wrote: Hi Yang, [auto build test ERROR on v4.4-rc2] [also build test ERROR on next-20151124] url: https://github.com/0day-ci/linux/commits/Yang-Shi/sparc64-gup-check-address-scope-legitimacy/20151126-065342 config: sparc64-allnoconfig (attached as

Re: [PATCH] sparc64/gup: check address scope legitimacy

2015-11-25 Thread kbuild test robot
Hi Yang, [auto build test ERROR on v4.4-rc2] [also build test ERROR on next-20151124] url: https://github.com/0day-ci/linux/commits/Yang-Shi/sparc64-gup-check-address-scope-legitimacy/20151126-065342 config: sparc64-allnoconfig (attached as .config) reproduce: wget

Re: linux-next: manual merge of the net-next tree with the net tree

2015-11-25 Thread Daniel Borkmann
On 11/26/2015 01:01 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/syscall.c between commit: c9da161c6517 ("bpf: fix clearing on persistent program array maps") from the net tree and commit: f99bf205dab0 ("bpf: add

Re: [PATCH v2 2/4] introduce post-init read-only memory

2015-11-25 Thread PaX Team
On 25 Nov 2015 at 15:31, Kees Cook wrote: > diff --git a/include/asm-generic/vmlinux.lds.h > b/include/asm-generic/vmlinux.lds.h > index c4bd0e2c173c..772c784ba763 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -256,6 +256,7 @@ > .rodata

Re: [PATCH 02/26] Input: synaptics-rmi4 - add a common input device in rmi_driver

2015-11-25 Thread Andrew Duggan
On 11/10/2015 01:23 AM, Benjamin Tissoires wrote: On Tue, Nov 10, 2015 at 12:13 AM, Dmitry Torokhov wrote: diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index ee5f4a1..2d72dc8 100644 --- a/drivers/input/rmi4/rmi_f01.c +++ b/drivers/input/rmi4/rmi_f01.c @@ -176,6

[PATCH 09/10] Input: synaptics-rmi4: Add device tree support to the SPI transport driver

2015-11-25 Thread Andrew Duggan
Add devicetree binding for SPI devices. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_spi.txt | 57 ++ drivers/input/rmi4/rmi_spi.c | 44 - 2 files changed, 100 insertions(+), 1 deletion(-) create mode

[PATCH 08/10] Input: synaptics-rmi4: Add SPI transport driver

2015-11-25 Thread Andrew Duggan
Add the transport driver for devices using RMI4 over SPI. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 1 + drivers/input/rmi4/rmi_spi.c | 422 +++ include/linux/rmi.h | 53 ++ 4

[PATCH 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2015-11-25 Thread Andrew Duggan
The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core. Signed-off-by: Andrew Duggan --- drivers/hid/hid-rmi.c | 922

[PATCH 07/10] Input: synaptics-rmi4: Add support for F30

2015-11-25 Thread Andrew Duggan
RMI4 F30 supports input from clickpad buttons and controls LEDs located on the touchpad PCB. This patch adds support of the clickpad buttons and defers supporting LEDs for the future. Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- drivers/input/rmi4/Kconfig | 9 +

[PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-11-25 Thread Andrew Duggan
2D sensors have several parameter which can be set in the platform data. This patch adds support for getting those values from devicetree. Signed-off-by: Andrew Duggan --- .../bindings/input/rmi4/rmi_2d_sensor.txt | 54 +++ drivers/input/rmi4/rmi_2d_sensor.c |

[PATCH 06/10] Input: synaptics-rmi4: Add support for F12

2015-11-25 Thread Andrew Duggan
Function 12 implements 2D touch position sensor for newer Synaptics touch devices. It replaces F11 and no device will contain both functions. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/input/rmi4/Kconfig | 10 + drivers/input/rmi4/Makefile | 1 +

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Russell King - ARM Linux
On Wed, Nov 25, 2015 at 01:51:04PM -0800, Stephen Boyd wrote: > diff --git a/arch/arm/include/asm/cputype.h b/arch/arm/include/asm/cputype.h > index 85e374f873ac..48c77d422a0d 100644 > --- a/arch/arm/include/asm/cputype.h > +++ b/arch/arm/include/asm/cputype.h > @@ -250,8 +250,14 @@ static inline

[PATCH 04/10] Input: synaptics-rmi4: Add support for 2D sensors and F11

2015-11-25 Thread Andrew Duggan
RMI4 currently defines two functions for reporting data for 2D sensors (F11 and F12). This patch adds the common functionality which is shared by devices with 2D reporting along with implementing functionality for F11. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny ---

[PATCH 03/10] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-11-25 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_f01.txt | 39

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Måns Rullgård
Nicolas Pitre writes: > On Wed, 25 Nov 2015, Stephen Boyd wrote: > >> The ARM compiler inserts calls to __aeabi_uidiv() and >> __aeabi_idiv() when it needs to perform division on signed and >> unsigned integers. If a processor has support for the udiv and >> sdiv division instructions the calls

[PATCH 01/10] Input: synaptics-rmi4: Add support for Synaptics RMI4 devices

2015-11-25 Thread Andrew Duggan
Synaptics uses the Register Mapped Interface (RMI) protocol as a communications interface for their devices. This driver adds the core functionality needed to interface with RMI4 devices. RMI devices can be connected to the host via several transport protocols and can supports a wide variety of

[PATCH 02/10] Input: synaptics-rmi4: Add I2C transport driver

2015-11-25 Thread Andrew Duggan
Add the transport driver for devices using RMI4 over I2C. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/input/rmi4/Kconfig | 11 ++ drivers/input/rmi4/Makefile | 3 + drivers/input/rmi4/rmi_i2c.c | 260 +++ 3 files

[PATCH 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver rebased on 4.3

2015-11-25 Thread Andrew Duggan
This is a new patch series which squashes all of the development history of the RMI4 driver into patches based on functionality. The first patch adds the core RMI4 functionality needed by all RMI4 devices and then the additional patches add transport and function drivers for supporting various

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Russell King - ARM Linux
On Wed, Nov 25, 2015 at 06:09:13PM -0500, Nicolas Pitre wrote: > 3) In fact I was wondering if the overhead of the branch and back is >really significant compared to the non trivial cost of a idiv >instruction and all the complex infrastructure required to patch >those branches

linux-next: manual merge of the net-next tree with the net tree

2015-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/syscall.c between commit: c9da161c6517 ("bpf: fix clearing on persistent program array maps") from the net tree and commit: f99bf205dab0 ("bpf: add show_fdinfo handler for maps") from the net-next

Re: [PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-25 Thread Rob Herring
On Wed, Nov 25, 2015 at 11:50:30AM +0200, Adriana Reus wrote: > > > On 25.11.2015 02:01, Rob Herring wrote: > >On Tue, Nov 24, 2015 at 12:59:49PM +0200, Adriana Reus wrote: > >>Add a property to allow changing the default power-saving mode. > >>By default, at read raw the chip will activate and

Re: [Resend PATCH] RDS: fix race condition when sending a message on unbound socket

2015-11-25 Thread santosh shilimkar
On 11/25/2015 4:52 AM, Quentin Casasnovas wrote: On Wed, Nov 25, 2015 at 12:21:45PM +, David Laight wrote: From: Santosh Shilimkar Sent: 24 November 2015 22:13 ... Sasha's found a NULL pointer dereference in the RDS connection code when sending a message to an apparently unbound socket.

Re: [PATCH] ASoC: rcar: remove unused variable

2015-11-25 Thread Kuninori Morimoto
Hi Mark, Arnd > > /opt/home/morimoto/WORK/linux/sound/soc/sh/rcar/core.c: In function > > '__rsnd_kctrl_new': > > /opt/home/morimoto/WORK/linux/sound/soc/sh/rcar/core.c:807:18: error: > > 'soc_card' undeclared (first use in this function) > >.index = rtd - soc_card->rtd, > >

Re: [PATCH] Documentation: fsl-quadspi: Add fsl, ls1021-qspi compatible string

2015-11-25 Thread Rob Herring
On Wed, Nov 18, 2015 at 05:18:11PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls1021-qspi". > > Signed-off-by: Yuan Yao Applied, thanks. Rob > --- > Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH] DT: add Olimex to vendor prefixes

2015-11-25 Thread Rob Herring
On Wed, Nov 18, 2015 at 12:20:58PM +, Stefan Wahren wrote: > This company already provided some products, so add them to the > vendor prefix list. > > Signed-off-by: Stefan Wahren Applied, thanks. Rob > --- > .../devicetree/bindings/vendor-prefixes.txt|1 + > 1 file changed,

Re: [PATCH] thermal: rcar: enable to set tripN-temp via DT

2015-11-25 Thread Kuninori Morimoto
Hi Geert > wrote: > >> Besides, your property is already covered by of-thermal. Please convert > >> your driver to use of-thermal, this way it will give you the flexibility > >> to configure thermal data in DT. > > > > I see, but we need to keep compatibility for non-DT SoC. > > (This driver is

Re: [RESEND PATCH v3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-11-25 Thread Rob Herring
On Thu, Nov 19, 2015 at 09:42:49AM +0900, Krzysztof Kozlowski wrote: > 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 v2 1/2] scripts: Add a recorduidiv program

2015-11-25 Thread Russell King - ARM Linux
On Wed, Nov 25, 2015 at 01:51:03PM -0800, Stephen Boyd wrote: > The ARM compiler inserts calls to __aeabi_uidiv() and > __aeabi_idiv() when it needs to perform division on signed and > unsigned integers. If a processor has support for the udiv and > sdiv division instructions the calls to these

Re: [PATCH] ASoC: rsnd: fix a possible NULL dereference

2015-11-25 Thread Kuninori Morimoto
Hi LABBE Thank you for your patch > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > Even if the probability of this case is very low, fixing it made > static analyzers happy. > Solving this with of_device_get_match_data made also code simplier. > >

Re: [PATCH] ASoC: Atmel: ClassD: add GCK's parent clock in DT binding

2015-11-25 Thread Rob Herring
On Mon, Nov 23, 2015 at 05:19:58PM +0800, Songjun Wu wrote: > Set GCK's parent as audio clock. > > Signed-off-by: Songjun Wu Applied, thanks. Rob > --- > > .../devicetree/bindings/sound/atmel-classd.txt |6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [PATCH] dt-bindings: ARM: add arm,cortex-a72 compatible string

2015-11-25 Thread Rob Herring
On Tue, Nov 24, 2015 at 08:31:51PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied, thanks. Rob > --- > > Documentation/devicetree/bindings/arm/cpus.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/arm/cpus.txt >

Re: [PATCH v3] Documentation: dt: Add bindings for Secure-only devices

2015-11-25 Thread Rob Herring
On Tue, Nov 24, 2015 at 04:06:41PM +, Peter Maydell wrote: > The existing device tree bindings assume that we are only trying to > describe a single address space with a device tree (for ARM, either > the Normal or the Secure world). Some uses for device tree need to > describe both Normal and

[GIT PULL] security: KEYS: Fix handling of stored error in a negatively instantiated user key

2015-11-25 Thread James Morris
Please pull this fix for the keys subsystem, for 4.4, from David Howells. Note: this oops is triggerable by non-privileged users. The following changes since commit 6ffeba9607343f15303a399bc402a538800d89d9: Merge tag 'dm-4.4-fixes' of

[PATCH v2 4/4] x86, vdso: mark vDSO read-only after init

2015-11-25 Thread Kees Cook
The vDSO does not need to be writable after __init, so mark it as __ro_after_init. The result kills the exploit method of writing to the vDSO from kernel space resulting in userspace executing the modified code, as shown here to bypass SMEP restrictions: http://itszn.com/blog/?p=21 The memory map

Re: [kernel-hardening] Re: [PATCH 1/2] x86: introduce post-init read-only memory

2015-11-25 Thread Kees Cook
On Wed, Nov 25, 2015 at 3:05 PM, Michael Ellerman wrote: > On Wed, 2015-11-25 at 07:03 -0800, Kees Cook wrote: >> On Tue, Nov 24, 2015 at 4:54 PM, Michael Ellerman >> wrote: >> > On Tue, 2015-11-24 at 16:44 -0800, Kees Cook wrote: >> > > On Tue, Nov 24, 2015 at 4:34 PM, Andy Lutomirski >> > >

[PATCH v2 0/4] introduce post-init read-only memory

2015-11-25 Thread Kees Cook
One of the easiest ways to protect the kernel from attack is to reduce the internal attack surface exposed when a "write" flaw is available. By making as much of the kernel read-only as possible, we reduce the attack surface. Many things are written to only during __init, and never changed again.

[PATCH v2 2/4] introduce post-init read-only memory

2015-11-25 Thread Kees Cook
One of the easiest ways to protect the kernel from attack is to reduce the internal attack surface exposed when a "write" flaw is available. By making as much of the kernel read-only as possible, we reduce the attack surface. Many things are written to only during __init, and never changed again.

[PATCH v2 3/4] lkdtm: verify that __ro_after_init works correctly

2015-11-25 Thread Kees Cook
The new __ro_after_init section should be writable before init, but not after. Validate that it gets updated at init and can't be written to afterwards. Signed-off-by: Kees Cook --- drivers/misc/lkdtm.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff

[PATCH v2 1/4] init: create cmdline param to disable readonly

2015-11-25 Thread Kees Cook
It may be useful to debug writes to the readonly sections of memory, so provide a cmdline "rodata=off" to allow for this. Suggested-by: H. Peter Anvin Signed-off-by: Kees Cook --- Documentation/kernel-parameters.txt | 4 init/main.c | 31

Re: [PATCH v2 2/2] ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions

2015-11-25 Thread Nicolas Pitre
On Wed, 25 Nov 2015, Stephen Boyd wrote: > The ARM compiler inserts calls to __aeabi_uidiv() and > __aeabi_idiv() when it needs to perform division on signed and > unsigned integers. If a processor has support for the udiv and > sdiv division instructions the calls to these support routines > can

Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform

2015-11-25 Thread Russell King - ARM Linux
On Wed, Nov 25, 2015 at 08:16:00PM +0100, Andrew Lunn wrote: > So looking at this list, could you maybe post the following, if they > don't have dependencies. Going from only the subject, most look simple > and should not be too much effort to get mainlined. It's really not that simple. Remember

Re: [PATCH v9] Documentation: add Device tree bindings for hwmon/nct7802

2015-11-25 Thread Rob Herring
On Tue, Nov 24, 2015 at 02:09:18AM +0200, Constantine Shulyupin wrote: > From: Constantine Shulyupin > > Introduced subnodes sensor, fan and peci with properties. > > Signed-off-by: Constantine Shulyupin Acked-by: Rob Herring > --- > Changed in v9: > - Fixed nuvoton,nct7802-sensor > -

Re: [PATCH 3.2 38/52] Btrfs: fix race when listing an inode's xattrs

2015-11-25 Thread Luis Henriques
On Tue, Nov 24, 2015 at 10:33:59PM +, Ben Hutchings wrote: > 3.2.74-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Filipe Manana > > commit f1cd1f0b7d1b5d4aaa5711e8f4e4898b0045cb6d upstream. > > When listing a inode's xattrs we have a

[PATCH (v2) 11/11] watchdog: bcm63xx_wdt: Use brcm,bcm6345-wdt device tree binding

2015-11-25 Thread Simon Arlott
Add of_match_table for "brcm,bcm6345-wdt". Use a NULL clock name when not on mach-bcm63xx so that the device tree clock name does not have to be "periph". Allow the watchdog to be selected on BMIPS_GENERIC and select the BCM6345 timer interrupt handler. Signed-off-by: Simon Arlott --- Patch 7

[git pull] vfs.git fixes

2015-11-25 Thread Al Viro
A couple of fixes for sendfile lockups caught by Dmitry + a fix for ancient sysvfs symlink breakage. Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (1): fix sysvfs symlinks Jan Kara (2): vfs: Make sendfile(2)

Re: [kernel-hardening] Re: [PATCH 1/2] x86: introduce post-init read-only memory

2015-11-25 Thread Michael Ellerman
On Wed, 2015-11-25 at 07:03 -0800, Kees Cook wrote: > On Tue, Nov 24, 2015 at 4:54 PM, Michael Ellerman wrote: > > On Tue, 2015-11-24 at 16:44 -0800, Kees Cook wrote: > > > On Tue, Nov 24, 2015 at 4:34 PM, Andy Lutomirski > > > wrote: > > > > On Nov 24, 2015 1:38 PM, "Kees Cook" wrote: > > > >

Re: [PATCH 3.2 22/52] ALSA: hda - Disable 64bit address for Creative HDA controllers

2015-11-25 Thread Luis Henriques
On Tue, Nov 24, 2015 at 10:33:59PM +, Ben Hutchings wrote: > 3.2.74-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Takashi Iwai > > commit cadd16ea33a938d49aee99edd4758cc76048b399 upstream. > > We've had many reports that some

[V2 PATCH] sparc64/gup: check address scope legitimacy

2015-11-25 Thread Yang Shi
Check if user address is accessible in atomic version __get_user_pages_fast() before walking the page table. And, check if end > start in get_user_pages_fast(), otherwise fallback to slow path. Signed-off-by: Yang Shi --- Just found slow_irqon label is not defined, added it to avoid compile

[PATCH (v2) 10/11] watchdog: bcm63xx_wdt: Use bcm63xx_timer interrupt directly

2015-11-25 Thread Simon Arlott
There is only one user of bcm63xx_timer and that is the watchdog. To allow the watchdog driver to be used on machine types other than mach-bcm63xx, it needs to use an interrupt instead of a custom register function. Modify bcm63xx_timer to only disable the timers (so that they don't interfere

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-25 Thread Ondrej Zary
On Wednesday 25 November 2015 10:04:10 Ondrej Zary wrote: > I think that PDMA should work with 53C400A too but seems that the driver was > never able to do it. > > Although there is code for port-mapped transfer in NCR5380_pread(), > NCR53C400_register_offset is defined to 0 in the port-mapped

[PATCH (v4) 8/11] watchdog: bcm63xx_wdt: Warn if the watchdog is currently running

2015-11-25 Thread Simon Arlott
Warn when the device is registered if the hardware watchdog is currently running and report the remaining time left. Signed-off-by: Simon Arlott --- On 25/11/15 02:51, Guenter Roeck wrote: > This is really two logical changes, isn't it ? Patch 7 split into two patches.

[PATCH (v4) 7/11] watchdog: bcm63xx_wdt: Add get_timeleft function

2015-11-25 Thread Simon Arlott
Return the remaining time from the hardware control register. Signed-off-by: Simon Arlott --- On 25/11/15 02:51, Guenter Roeck wrote: > This is really two logical changes, isn't it ? Patch 7 correctly split into two patches this time. drivers/watchdog/bcm63xx_wdt.c | 15 +++ 1

Re: use-after-free in sock_wake_async

2015-11-25 Thread Hannes Frederic Sowa
On Wed, Nov 25, 2015, at 23:43, Eric Dumazet wrote: > On Wed, 2015-11-25 at 23:32 +0100, Hannes Frederic Sowa wrote: > > On Wed, Nov 25, 2015, at 23:09, Eric Dumazet wrote: > > > On Wed, 2015-11-25 at 20:57 +, Rainer Weikusat wrote: > > > > > > > I do agree that keeping the ->sk_data_ready

[PATCH (v3) 7/11] watchdog: bcm63xx_wdt: Add get_timeleft function

2015-11-25 Thread Simon Arlott
Return the remaining time from the hardware control register. Signed-off-by: Simon Arlott --- On 25/11/15 02:51, Guenter Roeck wrote: > This is really two logical changes, isn't it ? Patch 7 split into two patches. drivers/watchdog/bcm63xx_wdt.c | 17 - 1 file changed, 16

[PATCH] sparc64/gup: check address scope legitimacy

2015-11-25 Thread Yang Shi
Check if user address is accessible in atomic version __get_user_pages_fast() before walking the page table. And, check if end > start in get_user_pages_fast(), otherwise fallback to slow path. Signed-off-by: Yang Shi --- arch/sparc/mm/gup.c | 5 + 1 file changed, 5 insertions(+) diff

[PATCH (v3) 6/11] watchdog: bcm63xx_wdt: Obtain watchdog clock HZ from "periph" clk

2015-11-25 Thread Simon Arlott
Instead of using a fixed clock HZ in the driver, obtain it from the "periph" clk that the watchdog timer uses. Signed-off-by: Simon Arlott --- Patch 7 split into two patches. On 24/11/15 22:42, Florian Fainelli wrote: > On 24/11/15 14:12, Simon Arlott wrote: >> Instead of using a fixed clock HZ

Re: severe regression in alx ethernet driver

2015-11-25 Thread Francois Romieu
Jarod Wilson : [...] > They do at least have a signed-off-by in the patches attached to the bug, > so I'm working on touching up the descriptions and formatting, regression > testing them on my laptop that has an alx-driven E2200 in it (which isn't > affected by this bug), and then I can ship

Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform

2015-11-25 Thread Russell King - ARM Linux
On Wed, Nov 25, 2015 at 09:05:02PM +0100, Arnd Bergmann wrote: > On Wednesday 25 November 2015 18:37:28 Russell King - ARM Linux wrote: > > On Wed, Nov 25, 2015 at 05:09:37PM +0100, Andrew Lunn wrote: > > > Russell, you are the last known user of mach-dove. What are your > > > plans? You keep

Re: [PATCH 2/3] i2c: at91: add DT property "atmel,twd-hold-cycles" to binding

2015-11-25 Thread Rob Herring
On Tue, Nov 24, 2015 at 02:47:41PM +0100, Ludovic Desroches wrote: > From: Wenyou Yang > > Add a DT property "atmel,twd-hold-cycles" to specify the HOLD > filed of TWIHS_CWGR register to increase the TWD hold time. > > Signed-off-by: Wenyou Yang > Signed-off-by: Ludovic Desroches Acked-by:

Re: use-after-free in sock_wake_async

2015-11-25 Thread Eric Dumazet
On Wed, 2015-11-25 at 23:32 +0100, Hannes Frederic Sowa wrote: > On Wed, Nov 25, 2015, at 23:09, Eric Dumazet wrote: > > On Wed, 2015-11-25 at 20:57 +, Rainer Weikusat wrote: > > > > > I do agree that keeping the ->sk_data_ready outside of the lock will > > > very likely have performance

<    1   2   3   4   5   6   7   8   9   10   >