Re: [PATCH v2 2/3] media: au0828 change to not zero out fmt.pix.priv

2015-01-12 Thread Shuah Khan
On 01/12/2015 06:58 AM, Hans Verkuil wrote: > My first code review of the new year, so let's start with a simple one to > avoid > taxing my brain cells (that are still in vacation mode) too much... > > On 12/18/2014 05:20 PM, Shuah Khan wrote: >> There is no need to zero out fmt.pix.priv in

[PATCH 3.19 v3 0/2] x86, mpx: Instruction decoder fixes and hardening

2015-01-12 Thread Andy Lutomirski
Hi all- Sorry, this is later than I had hoped to send this. This series has three minor fixes for mpx and the instruction decoder. Changes from v2: - Dropped patch 1 (fixed in tip separately) - Fixed comment typoes in patch 2 (noticed by Dave) Changes from v1: - Dropped the TIF_IA32 change

[PATCH 3.19 v3 2/2] x86: Enforce MAX_INSN_SIZE in the instruction decoder

2015-01-12 Thread Andy Lutomirski
The instruction decoder used to assume that the input buffer was exactly MAX_INSN_SIZE bytes long. Now that the input buffer has variable length, even if the input buffer is longer than MAX_INSN_SIZE, we should still reject instructions longer than MAX_INSN_SIZE, since a real CPU will reject them

[PATCH 3.19 v3 1/2] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-12 Thread Andy Lutomirski
This reduces the degree to which we're exposing the instruction decoder to malicious user code at very little complexity cost. Signed-off-by: Andy Lutomirski --- arch/x86/mm/mpx.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arch/x86/mm/mpx.c

Re: [PATCH v2 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-12 Thread Shuah Khan
On 01/12/2015 07:10 AM, Hans Verkuil wrote: > On 12/18/2014 05:20 PM, Shuah Khan wrote: >> au0828 does video and vbi buffer timeout handling to prevent >> applications such as tvtime from hanging by ensuring that the >> video frames continue to be delivered even when the ITU-656 >> input isn't

Re: [PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-12 Thread Olof Johansson
On Fri, Jan 09, 2015 at 02:20:31PM +0100, Nicolas Ferre wrote: > Add a README file to describe Atmel SoCs (aka AT91) support in Mainline Linux: > - SoC list + datasheet web links > - Basic but useful information > - Device Tree conventions and Work In Progress statement. > > Signed-off-by:

Re: [PATCH] drm/nouveau/nouveau_bo: Remove unused function

2015-01-12 Thread Alexandre Courbot
On 01/12/2015 07:31 AM, Rickard Strandqvist wrote: Remove the function nouveau_bo_rd16() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. nouveau_bo_wr16() being presumably used (since it is not removed by this patch), it sounds

Re: [PATCH v2 1/3] media: au0828 - convert to use videobuf2

2015-01-12 Thread Shuah Khan
On 01/12/2015 07:19 AM, Hans Verkuil wrote: > On 12/18/2014 05:20 PM, Shuah Khan wrote: >> Convert au0828 to use videobuf2. Tested with NTSC. >> Tested video and vbi devices with xawtv, tvtime, >> and vlc. Ran v4l2-compliance to ensure there are >> no new regressions in video and vbi now has 3

RE: [PATCH mtd] mtd:devices: Add Altera EPCQ Driver

2015-01-12 Thread Viet Nga Dao
Hi Linux Community, It is been a while since I submitted this patch. Could you please help me to review this driver? Thanks and Regards, Viet Nga Dao -Original Message- From: Viet Nga Dao Sent: Thursday, December 18, 2014 4:23 PM To: dw...@infradead.org; computersforpe...@gmail.com Cc:

[PATCH v2] n_tty: Fix unordered accesses to lockless read buffer

2015-01-12 Thread Peter Hurley
Add commit_head buffer index, which the producer-side publishes after input processing in non-canon mode. This ensures the consumer-side observes correctly-ordered writes in non-canonical mode (ie., the buffer data is written before the buffer index is advanced). Fix consumer-side uses of

Re: [PATCH v2 1/5] perf tools: [uclibc] fix statfs.f_type data type mismatch build error

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 12, 2015 at 12:05:22PM +0100, Jiri Olsa escreveu: > On Sat, Jan 10, 2015 at 04:40:50PM +0530, Vineet Gupta wrote: > > From: Alexey Brodkin > > > > ARC Linux uses the no legacy syscalls abi and corresponding uClibc headers > > statfs defines f_type to be U32 which causes perf build

Re: [PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-12 Thread Paul Moore
On Monday, January 12, 2015 09:11:21 AM Imre Palik wrote: > On 01/08/15 22:53, Paul Moore wrote: > > On Tuesday, January 06, 2015 03:51:20 PM Imre Palik wrote: > >> From: "Palik, Imre" > >> > >> When file auditing is enabled, during a low memory situation, a memory > >> allocation with __GFP_FS

Re: [PATCH 4/6] ARM: at91/dt: add SRAM nodes

2015-01-12 Thread Bo Shen
Hi Alexandre, On 01/13/2015 03:01 AM, Alexandre Belloni wrote: Add nodes for the SRAM available on atmel SoCs Remove leftover TODOs in the sam9g45 file Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 5 + arch/arm/boot/dts/at91sam9260.dtsi | 5 +

Re: [PATCH v8 01/10] iommu/vt-d: Update iommu_attach_domain() and its callers

2015-01-12 Thread Li, ZhenHua
On 01/12/2015 11:18 PM, Joerg Roedel wrote: On Mon, Jan 12, 2015 at 03:06:19PM +0800, Li, Zhen-Hua wrote: Allow specification of the domain-id for the new domain. This patch only adds the 'did' parameter to iommu_attach_domain() and modifies all of its callers to specify the default value of -1

Re: [alsa-devel] [PATCH 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-12 Thread Inha Song
Hi Mark, Thank you for your feedback and sorry for late response. I think, I should remove clock settings in machine driver. If the clock settings are necessary, I will add "assigned-clocks" nodes in trats2 sound DT like odroid board. Best Regards, Inha Song. > On Mon, Jan 05, 2015 at

Re: [PATCH 6/7] ARM: at91: remove useless at91rm9200_dt_initialize()

2015-01-12 Thread Bo Shen
Hi Alexandre, On 01/13/2015 02:42 AM, Alexandre Belloni wrote: at91rm9200_dt_initialize() is doing the same as at91_dit_initialize(), use that s/at91_dit_initialize/at91_dt_initialize one instead. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board-dt-rm9200.c | 2 +-

RE: New maintainer for dwc2

2015-01-12 Thread Paul Zimmerman
> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Monday, January 12, 2015 5:02 PM > > On Mon, Jan 12, 2015 at 11:14:54PM +, Paul Zimmerman wrote: > > Hi everyone, > > > > I will be leaving Synopsys on Friday, Jan 16th, so the dwc2 driver > > will need a new

Re: linux-next: manual merge of the mvebu tree with the arm-soc tree

2015-01-12 Thread Andrew Lunn
On Tue, Jan 13, 2015 at 11:20:16AM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the mvebu tree got a conflict in > arch/arm/boot/dts/Makefile between commit 6f1650f15bc4 ("ARM: dts: Only > build dtb if associated Arch and/or SoC is enabled") from the arm-soc > tree and

Re: New maintainer for dwc2

2015-01-12 Thread gre...@linuxfoundation.org
On Mon, Jan 12, 2015 at 11:14:54PM +, Paul Zimmerman wrote: > Hi everyone, > > I will be leaving Synopsys on Friday, Jan 16th, so the dwc2 driver > will need a new maintainer. > > I am recommending John Youn as the new > maintainer. > > On the plus side, John has quite a bit of experience

Re: [PATCHv2] remove recently added perl build requirement

2015-01-12 Thread Kees Cook
On Mon, Jan 12, 2015 at 8:54 AM, Rob Landley wrote: > From: Rob Landley > > Commit e6023367d779 ("x86, kaslr: Prevent .bss from overlaping initrd") > added perl back to the kernel build dependencies in -rc6. Ah, yeah, good call on Perl as a build dep. > Replace those 39 lines of perl with 4

[3.19-rc3] tg3: BUG: sleeping function called from invalid context

2015-01-12 Thread Peter Hurley
On 3.19-rc3, I'm seeing this might_sleep() warning [1] from the tg3_open() call stack. Let me know if I need to bisect this. Regards, Peter Hurley [1] [ 17.203009] BUG: sleeping function called from invalid context at /home/peter/src/kernels/mainline/kernel/irq/manage.c:104 [ 17.203067]

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-12 Thread Greg KH
On Mon, Jan 12, 2015 at 02:53:53PM -0800, Andrew Milkovich wrote: > Hi, > > On Fri, Jan 09, 2015 at 05:41:23PM -0800, Greg KH wrote: > > On Wed, Dec 17, 2014 at 05:25:10PM -0800, Andrew Milkovich wrote: > > > Fixed coding style errors per checkpatch.pl. Inline comments removed. > > > > What

RE: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2015-01-12 Thread Paul Zimmerman
> From: Paul Zimmerman > Sent: Saturday, January 10, 2015 3:52 PM > > > From: Yunzhi Li [mailto:l...@rock-chips.com] > > Sent: Saturday, January 10, 2015 8:07 AM > > > > 在 2015/1/9 10:15, Paul Zimmerman 写道: > > >> [...] > > >> /* > > >> - * Attempt to find a generic PHY, then

Re: [PATCH 4/4] PCI: quirk Atheros AR93xx to avoid bus reset

2015-01-12 Thread Bjorn Helgaas
On Mon, Jan 12, 2015 at 1:15 PM, Andreas Hartmann wrote: > Hello Alex! > > Alex Williamson wrote: >> On Mon, 2015-01-12 at 16:20 +0100, Andreas Hartmann wrote: >>> Alex Williamson wrote: On Thu, 2015-01-08 at 09:07 -0700, Bjorn Helgaas wrote: > On Fri, Nov 21, 2014 at 11:24:27AM -0700,

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-12 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, January 09, 2015 10:56 PM > To: Radim Krčmář; Wu, Feng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; dw...@infradead.org; j...@8bytes.org; >

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist "smemc" gate clock

2015-01-12 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2015-01-10 05:08:22) > On 09.01.2015 13:13, Jisheng Zhang wrote: > > On Wed, 7 Jan 2015 06:30:55 -0800 > > Sebastian Hesselbarth wrote: > >> On 07.01.2015 15:22, Jisheng Zhang wrote: > >>> On Wed, 7 Jan 2015 06:11:58 -0800 > >>> Sebastian Hesselbarth wrote: >

Re: [PATCH] tty: serial: msm_serial: Remove console unregistration from driver exit.

2015-01-12 Thread Stephen Boyd
On 01/12/2015 05:52 AM, Pramod Gurav wrote: > unregister_console() will be called from uart_remove_one_port() while > removing the platform driver. So not necessary to call it in driver > exit path. > > Signed-off-by: Pramod Gurav Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc.

Re: [PATCH v3] tty: serial: msm_serial: code cleanup in msm_console_setup

2015-01-12 Thread Stephen Boyd
On 01/12/2015 05:45 AM, Pramod Gurav wrote: > The change does following: > - baud, flow, bits, parity were being overwritten as they were >being reinitialized after parsing. Initialize them when they are >declared so that user provided setting are not overwritten. > -

Re: [PATCH] sound: firewire: fireworks: fireworks_command: Remove unused function

2015-01-12 Thread Takashi Sakamoto
Hi, On Jan 12 2014 01:05, Takashi Iwai wrote: > At Sat, 10 Jan 2015 17:53:00 +0100, > Rickard Strandqvist wrote: >> >> Remove the function snd_efw_command_set_resp_addr() that is not used >> anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck. >>

Re: [PATCH v2] clk: TI CDCE706 clock synthesizer driver

2015-01-12 Thread Mike Turquette
Quoting Max Filippov (2015-01-11 23:20:46) > The driver allows using CDCE706 in its default configuration recorded in > EEPROM and adjusting of synthesized clocks by consumers. > > Signed-off-by: Max Filippov Applied. Regards, Mike > --- > Changes v1->v2: > - add example usage to devicetree

linux-next: manual merge of the mvebu tree with the arm-soc tree

2015-01-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got a conflict in arch/arm/boot/dts/Makefile between commit 6f1650f15bc4 ("ARM: dts: Only build dtb if associated Arch and/or SoC is enabled") from the arm-soc tree and commit dd7d2be1d2b8 ("Kirkwood: add support for Seagate BlackArmor NAS220")

linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2015-01-12 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/boot/dts/Makefile between commit 6f1650f15bc4 ("ARM: dts: Only build dtb if associated Arch and/or SoC is enabled") from the arm-soc tree and commit 99fc5ba0bfb6 ("ARM: dts: imx6sx: add i.mx6sx sabreauto board

[PATCH 1/1] ahci: Remove Device ID for Intel Sunrise Point PCH

2015-01-12 Thread James Ralston
This patch removes a duplicate AHCI-mode SATA Device ID for the Intel Sunrise Point PCH. Signed-off-by: James Ralston --- drivers/ata/ahci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 49f1e68..33bb06e 100644 --- a/drivers/ata/ahci.c +++

Re: [PATCH RESEND] cifs: use memzero_explicit to clear stack buffer

2015-01-12 Thread Steve French
merged into cifs-2.6.git for-next On Tue, Jan 6, 2015 at 4:59 PM, Herbert Xu wrote: > On Tue, Jan 06, 2015 at 10:37:00PM +0100, Giel van Schijndel wrote: >> When leaving a function use memzero_explicit instead of memset(0) to >> clear stack allocated buffers. memset(0) may be optimized away. >>

Re: [PATCH v2 23/40] tile: enable sparse checks for get/put_user

2015-01-12 Thread Chris Metcalf
On 1/6/2015 10:44 AM, Michael S. Tsirkin wrote: Tile currently does not trigger sparse warnings when get_user causes an illegal assignment across bitwise types. For example: __le32 __user *p; __u32 x; put_user(x, p); violates endian-ness rules, but currently does not trigger sparse warning on

Re: + mm-memcontrol-default-hierarchy-interface-for-memory-checkpatch-fixes.patch added to -mm tree

2015-01-12 Thread Andrew Morton
On Mon, 12 Jan 2015 18:54:38 -0500 Johannes Weiner wrote: > > +++ a/mm/memcontrol.c > > @@ -5337,7 +5337,7 @@ static int memory_low_show(struct seq_fi > > unsigned long low = ACCESS_ONCE(memcg->low); > > > > if (low == 0) > > - seq_printf(m, "none\n"); > > +

Re: [PATCH -v3 0/5] OOM vs PM freezer fixes

2015-01-12 Thread Andrew Morton
On Fri, 9 Jan 2015 12:05:50 +0100 Michal Hocko wrote: > Hi, I've been cheerily ignoring this discussion, sorry. I trust everyone's all happy and ready to go with this? > [what changed since the last patchset] > > ... > > [testing results] > > ... > > [overview of the 5 patches] > > ... >

[PATCH net-next] rhashtable: Lower/upper bucket may map to same lock while shrinking

2015-01-12 Thread Thomas Graf
Each per bucket lock covers a configurable number of buckets. While shrinking, two buckets in the old table contain entries for a single bucket in the new table. We need to lock down both while linking. Check if they are protected by different locks to avoid a recursive lock. Fixes: 97defe1e

Re: [PATCH 3.19 v2 2/3] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-12 Thread Andy Lutomirski
On Mon, Jan 12, 2015 at 3:47 PM, Dave Hansen wrote: > Couple of typos... > > On 01/12/2015 03:04 PM, Andy Lutomirski wrote: >> + /* >> + * We only _really_ need to decode bndcl/bndcn/bndcu >> + * Error out on anything else. Check this before decoding the >> + * instruction to

[ANNOUNCE] Git v2.3.0-rc0

2015-01-12 Thread Junio C Hamano
An early preview release Git v2.3.0-rc0 is now available for testing at the usual places. With the slowness from the end-of-year holiday, this cycle turned out to be a relatively lean one as I predicted (just 200 changes since 2.2, as opposed to ~500 changes in an normal cycle), but that is fine.

[ANNOUNCE] Git v2.2.2

2015-01-12 Thread Junio C Hamano
The latest maintenance release Git v2.2.2 is now available at the usual places. This backports many fixes that were not in 2.2.1 that have been used on 'master' for the past few weeks. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories

Re: + mm-memcontrol-default-hierarchy-interface-for-memory-checkpatch-fixes.patch added to -mm tree

2015-01-12 Thread Johannes Weiner
On Mon, Jan 12, 2015 at 03:39:19PM -0800, a...@linux-foundation.org wrote: > From: Andrew Morton > Subject: mm-memcontrol-default-hierarchy-interface-for-memory-checkpatch-fixes > > Cc: Greg Thelen > > WARNING: Prefer seq_puts to seq_printf > #315: FILE: mm/memcontrol.c:5340: > +

Re: [PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:28) > Add 2 clocks which were erronously forgotten by the clock framework > port, namely : > - sa1100-rtc > - irda for pxa2xx-ir:UARTCLK > > Signed-off-by: Robert Jarzmik Acked-by: Michael Turquette > --- > drivers/clk/pxa/clk-pxa27x.c | 29

Re: [PATCH 3/4] arm: pxa: move gpio11 clock to board files

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:27) > The pxa25x gpio11 clock output was previously selected on its pin by the > clock enabling, toggling the pin function. > > As we transition to common clock framework, the pin function is moved to > board file for the 2 users, ie. lubbock and eseries.

Re: [PATCH 2/4] arm: pxa: Transition pxa25x and pxa27x to clk framework

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:26) > Transition the PXA25x and PXA27x CPUs to the clock framework. > This transition still enables legacy platforms to run without device > tree as before, ie relying on platform data encoded in board specific > files. > > The transition breaks the

Re: [PATCH 1/4] arm: pxa: change clocks init sequence

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:25) > Since pxa clocks were ported to the clock framework, an ordering issue > appears between clocks and clocksource initialization. As a consequence, > the pxa timer clock cannot be acquired in pxa_timer, and is disabled by > clock framework because it is

Re: [PATCH 3.19 v2 2/3] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-12 Thread Dave Hansen
Couple of typos... On 01/12/2015 03:04 PM, Andy Lutomirski wrote: > + /* > + * We only _really_ need to decode bndcl/bndcn/bndcu > + * Error out on anything else. Check this before decoding the > + * instruction to reduce our exposure to intentionally bad code > + * to

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-01-12 Thread Andrew Morton
On Thu, 8 Jan 2015 23:15:04 -0500 Johannes Weiner wrote: > Introduce the basic control files to account, partition, and limit > memory using cgroups in default hierarchy mode. > > This interface versioning allows us to address fundamental design > issues in the existing memory cgroup

Re: [3.16.y-ckt stable] Linux 3.16.7-ckt4 stable review

2015-01-12 Thread Thomas Voegtle
On Mon, 12 Jan 2015, Luis Henriques wrote: On Mon, Jan 12, 2015 at 09:30:45PM +0100, Thomas Voegtle wrote: On Mon, 12 Jan 2015, Luis Henriques wrote: This is the start of the review cycle for the Linux 3.16.7-ckt4 stable kernel. This version contains 216 new patches, summarized below. The

Re: [PATCH v2 05/17] locks: generic_delete_lease doesn't need a file_lock at all

2015-01-12 Thread Jeff Layton
On Tue, 13 Jan 2015 12:03:43 +1300 NeilBrown wrote: > On Thu, 4 Sep 2014 08:38:31 -0400 Jeff Layton > wrote: > > > Ensure that it's OK to pass in a NULL file_lock double pointer on > > a F_UNLCK request and convert the vfs_setlease F_UNLCK callers to > > do just that. > > > > Finally, turn

[rhashtable] WARNING: CPU: 0 PID: 1 at lib/debugobjects.c:301 __debug_object_init()

2015-01-12 Thread Fengguang Wu
201501121104 git bisect bad 8612706f4f900bcc81f501f1d13bb941f51582fc # 17:25 0- 14 0day head guard for 'devel-cairo-smoke-201501121104' # extra tests on tree/branch next/master git bisect bad 442e3e668110eb2590df305463856ba6553dbd24 # 17:58 0- 52 Add linux-next specific fi

Re: [PATCH v12 18/20] dax: Add dax_zero_page_range

2015-01-12 Thread Ross Zwisler
On Mon, 2015-01-12 at 15:10 -0800, Andrew Morton wrote: > On Fri, 24 Oct 2014 17:20:50 -0400 Matthew Wilcox > wrote: > > > Signed-off-by: Matthew Wilcox > > [ported to 3.13-rc2] > > Signed-off-by: Ross Zwisler > > I never know what this means :( > > I switched it to > >

Re: [PATCH] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-12 Thread Heiko Stübner
Hi Daniel, sorry it took a bit longer to reply. Generally it looks good to me, just some minor issues inline below. It would also be nice to include the rockchip list (linux- rockc...@lists.infradead.org) for future patches. Am Dienstag, 6. Januar 2015, 12:03:53 schrieb Daniel Lezcano: > The

Re: [Xen-devel] [PATCH v2] [Bugfix] x86/apic: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-12 Thread Sander Eikelenboom
Monday, January 12, 2015, 4:01:00 PM, you wrote: > On 12/01/15 13:39, Jiang Liu wrote: >> Commit b81975eade8c ("x86, irq: Clean up irqdomain transition code") >> breaks xen IRQ allocation because xen_smp_prepare_cpus() doesn't invoke >> setup_IO_APIC(), so no irqdomains created for IOAPICs and

Re: [PATCH 3.19 v2 1/3] x86: Fix off-by-one in the instruction decoder length checks

2015-01-12 Thread Andy Lutomirski
On Mon, Jan 12, 2015 at 3:13 PM, Dave Hansen wrote: > On 01/12/2015 03:04 PM, Andy Lutomirski wrote: >> diff --git a/arch/x86/lib/insn.c b/arch/x86/lib/insn.c >> index 2480978b31cc..1313ae6b478b 100644 >> --- a/arch/x86/lib/insn.c >> +++ b/arch/x86/lib/insn.c >> @@ -28,7 +28,7 @@ >> >> /* Verify

[PATCH char-misc-next v2 06/13] misc: mic: SCIF module initialization

2015-01-12 Thread Sudeep Dutt
SCIF module initialization, DMA mapping, ioremap wrapper APIs and debugfs hooks. SCIF gets probed by the SCIF hardware bus if SCIF devices were registered by base drivers. A MISC device is registered to provide the SCIF character device interface. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh

[PATCH char-misc-next v2 03/13] misc: mic: SCIF Hardware Bus

2015-01-12 Thread Sudeep Dutt
The SCIF hardware bus abstracts the low level hardware driver details like interrupts and mapping remote memory so that the same SCIF driver can work without any changes with the MIC host or card driver as long as the hardware bus operations are implemented. The SCIF hardware device is registered

[PATCH char-misc-next v2 05/13] misc: mic: Common MIC header file changes in preparation for SCIF

2015-01-12 Thread Sudeep Dutt
Update mic_bootparam and define the maximum number of DMA channels Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/common/mic_dev.h | 3 +++ include/uapi/linux/mic_common.h | 12 2 files changed, 15 insertions(+) diff --git

Re: [PATCH v12 09/20] dax,ext2: Replace xip_truncate_page with dax_truncate_page

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:41 -0400 Matthew Wilcox wrote: > It takes a get_block parameter just like nobh_truncate_page() and > block_truncate_page() > > --- a/fs/dax.c > +++ b/fs/dax.c > @@ -458,3 +458,47 @@ int dax_fault(struct vm_area_struct *vma, struct > vm_fault *vmf, > return

New maintainer for dwc2

2015-01-12 Thread Paul Zimmerman
Hi everyone, I will be leaving Synopsys on Friday, Jan 16th, so the dwc2 driver will need a new maintainer. I am recommending John Youn as the new maintainer. On the plus side, John has quite a bit of experience with the dwc2 controller, and has previous experience submitting kernel patches

[PATCH char-misc-next v2 08/13] misc: mic: SCIF open close bind and listen APIs

2015-01-12 Thread Sudeep Dutt
SCIF character device file operations and kernel APIs for opening and closing a user and kernel mode SCIF endpoint. This patch also enables binding to a SCIF port and listening for incoming SCIF connections. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt ---

[PATCH char-misc-next v2 07/13] misc: mic: SCIF node queue pair setup management

2015-01-12 Thread Sudeep Dutt
SCIF node queue pair setup creates the SCIF driver kernel mode private node queue pairs between all the nodes to enable internal control message communication once SCIF gets probed by the SCIF hardware bus. Peer to peer communication between MIC Coprocessor nodes is supported. Reviewed-by: Nikhil

Re: [PATCH 3.19 v2 1/3] x86: Fix off-by-one in the instruction decoder length checks

2015-01-12 Thread Dave Hansen
On 01/12/2015 03:04 PM, Andy Lutomirski wrote: > diff --git a/arch/x86/lib/insn.c b/arch/x86/lib/insn.c > index 2480978b31cc..1313ae6b478b 100644 > --- a/arch/x86/lib/insn.c > +++ b/arch/x86/lib/insn.c > @@ -28,7 +28,7 @@ > > /* Verify next sizeof(t) bytes can be on the same instruction */ >

Re: [PATCH 3.12 78/78] mm: let mm_find_pmd fix buggy race with THP fault

2015-01-12 Thread Hugh Dickins
On Mon, 12 Jan 2015, Kirill A. Shutemov wrote: > On Mon, Jan 12, 2015 at 11:01:46AM +0100, Jiri Slaby wrote: > > On 01/10/2015, 06:01 AM, Hugh Dickins wrote: > > > On Fri, 9 Jan 2015, Jiri Slaby wrote: > > > > > >> From: Hugh Dickins > > >> > > >> 3.12-stable review patch. If anyone has any

[PATCH RESEND 1/1] X86: Mark the Hyper-V clocksource as being continuous

2015-01-12 Thread K. Y. Srinivasan
The Hyper-V clocksource is continuous; mark it accordingly. Signed-off-by: K. Y. Srinivasan Cc: stable --- arch/x86/kernel/cpu/mshyperv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index

[PATCH char-misc-next v2 04/13] misc: mic: SCIF Peer Bus

2015-01-12 Thread Sudeep Dutt
The SCIF peer bus is used to register and unregister SCIF peer devices internally by the SCIF driver to signify the addition and removal of peer nodes respectively from the SCIF network. This simplifies remote node handling within SCIF and will also be used to support device probe/remove for SCIF

[PATCH char-misc-next v2 10/13] misc: mic: SCIF messaging and node enumeration APIs

2015-01-12 Thread Sudeep Dutt
SCIF messaging APIs which allow sending messages between the SCIF endpoints via a byte stream based ring buffer which has been optimized to avoid reads across PCIe. The SCIF messaging APIs are typically used for short < 1024 byte messages for best performance while the RDMA APIs which will be

[PATCH char-misc-next v2 09/13] misc: mic: SCIF connections APIs i.e. accept and connect

2015-01-12 Thread Sudeep Dutt
From: Nikhil Rao SCIF connection APIs which establish a SCIF connection between a pair of SCIF endpoints. A SCIF connection consists of a dedicated queue-pair between the endpoints. Client messages are sent over the queue-pair whereas the signaling associated with the message is multiplexed over

[PATCH char-misc-next v2 02/13] misc: mic: SCIF ring buffer infrastructure

2015-01-12 Thread Sudeep Dutt
SCIF ring buffer is a single producer, single consumer byte stream ring buffer optimized for avoiding reads across the PCIe bus while adding the required barriers and hardware workarounds for the MIC Coprocessor. The ring buffer is used to implement a receive queue for SCIF driver messaging

[PATCH char-misc-next v2 11/13] misc: mic: MIC host driver specific changes to enable SCIF

2015-01-12 Thread Sudeep Dutt
MIC host driver specific changes to enable SCIF. This patch implements the SCIF hardware bus operations and registers a SCIF device on the SCIF hardware bus. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/Kconfig| 2 +-

[PATCH char-misc-next v2 12/13] misc: mic: MIC card driver specific changes to enable SCIF

2015-01-12 Thread Sudeep Dutt
MIC card driver specific changes to enable SCIF. This patch implements the SCIF hardware bus operations and registers a SCIF device on the SCIF hardware bus. Reviewed-by: Nikhil Rao Signed-off-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/Kconfig | 2 +-

Re: [PATCH] ARM: brcmstb: update CPU power management sequence

2015-01-12 Thread Florian Fainelli
On 17/12/14 15:25, Gregory Fong wrote: > On Tue, Dec 16, 2014 at 7:13 PM, Brian Norris > wrote: >> The automatic CPU power state machine for B15 CPUs does not work >> reliably as-is. This patch implements a manual sequence in software to >> replace it. >> >> This was tested successfully with over

[PATCH char-misc-next v2 13/13] misc: mic: add support for loading/unloading SCIF driver

2015-01-12 Thread Sudeep Dutt
modprobe SCIF driver upon start and remove it upon unload Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- Documentation/mic/mpssd/mpss | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Documentation/mic/mpssd/mpss

[PATCH char-misc-next v2 01/13] misc: mic: SCIF header file and IOCTL interface

2015-01-12 Thread Sudeep Dutt
This patch introduces the SCIF documentation in the header file and describes the IOCTL interface for user mode. mic_overview.txt is updated with documentation on SCIF and a new document describing SCIF in more details is available in scif_overview.txt. Reviewed-by: Nikhil Rao Reviewed-by:

[PATCH char-misc-next v2 00/13] misc: mic: SCIF driver

2015-01-12 Thread Sudeep Dutt
ChangeLog: = v1 => v2: a) Use kernel-doc formatting for SCIF header file documentation, enhance SCIF ring buffer documentation and formatting cleanup in patch 4 as per feedback from Greg Kroah-Hartman b) SCIF bug fixes and cleanups since initial post v1: Initial post @

Re: [PATCH v12 10/20] dax: Replace XIP documentation with DAX documentation

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:42 -0400 Matthew Wilcox wrote: > Based on the original XIP documentation, this documents the current > state of affairs, and includes instructions on how users can enable DAX > if their devices and kernel support it. Nice ;) -- To unsubscribe from this list: send the

Re: [PATCH v12 18/20] dax: Add dax_zero_page_range

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:50 -0400 Matthew Wilcox wrote: > Signed-off-by: Matthew Wilcox > [ported to 3.13-rc2] > Signed-off-by: Ross Zwisler I never know what this means :( I switched it to [ross.zwis...@linux.intel.com: ported to 3.13-rc2] Signed-off-by: Matthew Wilcox Signed-off-by:

Re: [PATCH v12 06/20] dax,ext2: Replace XIP read and write with DAX I/O

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:38 -0400 Matthew Wilcox wrote: > Use the generic AIO infrastructure instead of custom read and write > methods. In addition to giving us support for AIO, this adds the missing > locking between read() and truncate(). > > ... > > +/* > + * When ext4 encounters a hole,

Re: [PATCH v12 04/20] mm: Allow page fault handlers to perform the COW

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:36 -0400 Matthew Wilcox wrote: > Currently COW of an XIP file is done by first bringing in a read-only > mapping, then retrying the fault and copying the page. It is much more > efficient to tell the fault handler that a COW is being attempted (by > passing in the

Re: [PATCH v12 08/20] dax,ext2: Replace the XIP page fault handler with the DAX page fault handler

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:40 -0400 Matthew Wilcox wrote: > Instead of calling aops->get_xip_mem from the fault handler, the > filesystem passes a get_block_t that is used to find the appropriate > blocks. > > ... > > +static int copy_user_bh(struct page *to, struct buffer_head *bh, > +

Re: [PATCH v12 03/20] mm: Fix XIP fault vs truncate race

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:35 -0400 Matthew Wilcox wrote: > Pagecache faults recheck i_size after taking the page lock to ensure that > the fault didn't race against a truncate. We don't have a page to lock > in the XIP case, so use the i_mmap_mutex instead. It is locked in the > truncate path

Re: [PATCH v12 07/20] dax,ext2: Replace ext2_clear_xip_target with dax_clear_blocks

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:39 -0400 Matthew Wilcox wrote: > This is practically generic code; other filesystems will want to call > it from other places, but there's nothing ext2-specific about it. > > Make it a little more generic by allowing it to take a count of the number > of bytes to zero

Re: [PATCH v12 00/20] DAX: Page cache bypass for filesystems on memory storage

2015-01-12 Thread Andrew Morton
On Fri, 24 Oct 2014 17:20:32 -0400 Matthew Wilcox wrote: > DAX is a replacement for the variation of XIP currently supported by > the ext2 filesystem. Looks pretty nice to me, thanks. I had a bunch of relatively minor review questions - mainly stuff which would benefit from some short

Re: [PATCH v3 2/3] pinctrl: add driver for Amlogic Meson SoCs

2015-01-12 Thread Beniamino Galvani
On Mon, Jan 12, 2015 at 01:00:16AM +0100, Linus Walleij wrote: > Hi Beniamino, > > sorry for the delay to merging Sören's patches. > > Can you rebase this patch on top of the pin control "devel" branch: > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=devel I will

[PATCH 3.19 v2 2/3] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-12 Thread Andy Lutomirski
This reduces the degree to which we're exposing the instruction decoder to malicious user code at very little complexity cost. Signed-off-by: Andy Lutomirski --- arch/x86/mm/mpx.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arch/x86/mm/mpx.c

Re: SATA link power management issues

2015-01-12 Thread Gabriele Mazzotta
I just tried the following and I no longer get errors: diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 97683e4..c815b31 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1708,10 +1708,10 @@ static void ahci_handle_port_interrupt(struct ata_port *ap,

[PATCH 3.19 v2 3/3] x86: Enforce MAX_INSN_SIZE in the instruction decoder

2015-01-12 Thread Andy Lutomirski
The instruction decoder used to assume that the input buffer was exactly MAX_INSN_SIZE bytes long. Now that the input buffer has variable length, even if the input buffer is longer than MAX_INSN_SIZE, we should still reject instructions longer than MAX_INSN_SIZE, since a real CPU will reject them

[PATCH 3.19 v2 1/3] x86: Fix off-by-one in the instruction decoder length checks

2015-01-12 Thread Andy Lutomirski
If next_byte + sizeof(t) == end_kaddr, then we are trying to read exactly to the end; this should be allowed. Fixes: 6ba48ff46f76 x86: Remove arbitrary instruction size limit in instruction decoder Signed-off-by: Andy Lutomirski --- arch/x86/lib/insn.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3.19 v2 0/3] x86, mpx: Instruction decoder fixes and hardening

2015-01-12 Thread Andy Lutomirski
Hi all- Sorry, this is later than I had hoped to send this. This series has three minor fixes for mpx and the instruction decoder. Changes from v1: - Dropped the TIF_IA32 change -- let's defer that until at least 3.20. - Fixed the MPX decode short-circuit. v1 was buggy. - Patch 3 is new.

Re: [PATCH v2 05/17] locks: generic_delete_lease doesn't need a file_lock at all

2015-01-12 Thread NeilBrown
On Thu, 4 Sep 2014 08:38:31 -0400 Jeff Layton wrote: > Ensure that it's OK to pass in a NULL file_lock double pointer on > a F_UNLCK request and convert the vfs_setlease F_UNLCK callers to > do just that. > > Finally, turn the BUG_ON in generic_setlease into a WARN_ON_ONCE > with an error

Re: [PATCH] nfs: correct typo in nfs Kconfig

2015-01-12 Thread Trond Myklebust
On Mon, Jan 12, 2015 at 5:55 PM, Kevin Mulvey wrote: > From: Kevin Mulvey > > The help section of NFS_V3_ACL currently mentions the "noacl" option > but the correct syntax is "no_acl". > > Signed-off-by: Kevin Mulvey > --- > fs/nfs/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] Build superh without CONFIG_EXPERT.

2015-01-12 Thread Rob Landley
From: Rob Landley What sh4 actually wants is HAVE_PATA_PLATFORM, so select that instead. Signed-off-by: Rob Landley Acked-by: Randy Dunlap Acked-by: Geert Uytterhoeven --- arch/sh/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) A follow-up patch could simplify the

[PATCH] nfs: correct typo in nfs Kconfig

2015-01-12 Thread Kevin Mulvey
From: Kevin Mulvey The help section of NFS_V3_ACL currently mentions the "noacl" option but the correct syntax is "no_acl". Signed-off-by: Kevin Mulvey --- fs/nfs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 3dece03..7de164b

Re: [PATCH 6/6] ARM: at91: move at91rm9200_idle() to clk/at91/pmc.c

2015-01-12 Thread Mike Turquette
Quoting Alexandre Belloni (2015-01-12 13:23:45) > Move at91rm9200_idle() along with at91sam9_idle() in clk/at91/pmc.c. > > Signed-off-by: Alexandre Belloni > --- > Cc: Mike Turquette Acked-by: Michael Turquette > > Mike, Boris, > I guess that one can go through the at91 tree unless you have

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-12 Thread Andrew Milkovich
Hi, On Fri, Jan 09, 2015 at 05:41:23PM -0800, Greg KH wrote: > On Wed, Dec 17, 2014 at 05:25:10PM -0800, Andrew Milkovich wrote: > > Fixed coding style errors per checkpatch.pl. Inline comments removed. > > What coding errors did you fix? Please be specific. Some inline comments were removed.

Re: [PATCH 05/11] usb: gadget: at91_udc: Remove non-DT handling code

2015-01-12 Thread Alexandre Belloni
Hi Felipe, I've rebased that patch series but it depends on another one (the mfd: syscon: part of "memory: add Atmel EBI (External Bus Interface) driver") that is not taken yet so applying it now will break the build. I still hope to get it merged for 3.20 and I'll resend it as soon as possible.

Re: [PATCH 3.19 1/3] x86, mpx: Check user mode bitness correctly when decoding instructions

2015-01-12 Thread Andy Lutomirski
On Wed, Jan 7, 2015 at 9:22 AM, Dave Hansen wrote: > On 12/29/2014 04:52 PM, Andy Lutomirski wrote: >> --- a/arch/x86/mm/mpx.c >> +++ b/arch/x86/mm/mpx.c >> @@ -217,7 +217,7 @@ static int mpx_insn_decode(struct insn *insn, >> struct pt_regs *regs) >> { >> unsigned

Re: [PATCH v2 1/2] drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

2015-01-12 Thread Daniel Vetter
On Mon, Jan 12, 2015 at 09:10:12PM +0100, Geert Uytterhoeven wrote: > commit 765d5b9c2b72f5b9 ("fbdev: fbcon: select VT_HW_CONSOLE_BINDING") > made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot > to remove > > select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE > > from the

Re: [PATCH 1/2] mm: provide a find_page vma operation

2015-01-12 Thread Johannes Weiner
On Mon, Jan 12, 2015 at 03:53:12PM +, David Vrabel wrote: > The optional find_page VMA operation is used to lookup the pages > backing a VMA. This is useful in cases where the normal mechanisms > for finding the page don't work. This is only called if the PTE is > special. > > One use case

[PATCH] mm: wrap BUG() branches with unlikely()

2015-01-12 Thread Dmitry Voytik
Wrap BUG() branches with unlikely() where it is possible. Use BUG_ON() instead of "if () BUG();" where it is feasible. Signed-off-by: Dmitry Voytik --- mm/bootmem.c| 6 +++--- mm/filemap.c| 2 +- mm/huge_memory.c| 4 ++-- mm/memory.c | 3 ++- mm/memory_hotplug.c

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