Re: [PATCH 0/2] arm64: support initrd outside of mapped RAM

2015-07-28 Thread Mark Rutland
> > > arch/arm64/kernel/setup.c | 55 > > > + > > > include/asm-generic/early_ioremap.h | 6 > > > mm/early_ioremap.c | 22 +++ > > > 3 files changed, 83 insertions(+) > > > > Any reason for not moving x86 over to t

Re: [PATCH] Smack: replace capable() with ns_capable()

2015-07-28 Thread Serge E. Hallyn
On Tue, Jul 28, 2015 at 07:36:30AM -0700, Casey Schaufler wrote: > On 7/26/2015 6:27 PM, Sungbae Yoo wrote: > > So, Do you agree to allow the process to change its own labels? > > No. This requires CAP_MAC_ADMIN. Smack is mandatory access control. > Being in a namespace (as they are implemented to

Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem

2015-07-28 Thread Greg KH
On Tue, Jul 28, 2015 at 06:21:19PM +0800, fupan...@windriver.com wrote: > From: fli > > The commit 35d5134b7d5a55e269c953096224248b9f6f72c2 > Author: Matt Fleming > Date: Tue Apr 8 13:14:00 2014 +0100 > > x86/efi: Correct EFI boot stub use of code32_start > > imported a bug, which should

Re: [PATCH 0/2] New NAND chip IDs

2015-07-28 Thread Hans de Goede
Hi, On 07/28/2015 05:10 PM, Boris Brezillon wrote: Hi Hans, On Tue, 28 Jul 2015 16:49:58 +0200 Hans de Goede wrote: Hi, On 07/28/2015 04:29 PM, Michal Suchanek wrote: Hello, the NAND chips on Cubietech boards are not known to Linux. I used Petros Angelatos' patch from sunxi experimental

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Konrad Rzeszutek Wilk
On Tue, Jul 28, 2015 at 10:50:39AM -0400, Boris Ostrovsky wrote: > On 07/28/2015 10:35 AM, Andrew Cooper wrote: > >On 28/07/15 15:05, Boris Ostrovsky wrote: > >>On 07/28/2015 06:29 AM, Andrew Cooper wrote: > >After forward-porting my virtio patches, I got this thing to run on > >Xen. After

Re: [RFCv2 1/3] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-07-28 Thread Philipp Zabel
Hi Moritz, Michal, Am Dienstag, den 28.07.2015, 06:57 -0700 schrieb Moritz Fischer: [...] > >>> +Example: > >>> +rstc: rstc@240 { > >>> +#reset-cells = <1>; > >>> +compatible = "xlnx,zynq-reset-pl"; > >>> +syscon = <&slcr>; > >> > >> Why the syscon phandle i

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Guenter Roeck
On 07/28/2015 08:00 AM, Lee Jones wrote: On Tue, 28 Jul 2015, Matt Fleming wrote: On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: The driver shouldn't be called that either. You are the only one. What makes iTCO 'special'? I don't know, I didn't write it. It looks like Wim did ~9 years ago

Re: [PATCH 1/2] mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID

2015-07-28 Thread Rafał Miłecki
On 28 July 2015 at 16:33, Marek Vasut wrote: > On Tuesday, July 28, 2015 at 11:07:57 AM, Michal Suchanek wrote: >> This 1.8V SPI NOR flash is found on ARM Chromebook XE303C and reads >> something like 25LQ32VIG in the middle. >> >> Signed-off-by: Michal Suchanek >> --- >> drivers/mtd/spi-nor/spi

Re: [PATCH 0/2] New NAND chip IDs

2015-07-28 Thread Boris Brezillon
Hi Hans, Here is a more appropriate answer ;-) On Tue, 28 Jul 2015 16:49:58 +0200 Hans de Goede wrote: > Hi, > > On 07/28/2015 04:29 PM, Michal Suchanek wrote: > > Hello, > > > > the NAND chips on Cubietech boards are not known to Linux. > > > > I used Petros Angelatos' patch from sunxi experi

[RFC/BUG] perf tools: static build fails

2015-07-28 Thread Jiri Olsa
hi, it's failing on perf-read-vdso32 tool.. attached patch fixes that for me jirka --- diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 4b58daeff881..a72f790f05e8 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -370,12 +370,12 @@ $(OUTPUT)perf-%: %.o

Re: [PATCH 2/2] mtd: spi-nor: Add Pm25LD020 and GD25Q41B chip ID.

2015-07-28 Thread Rafał Miłecki
On 28 July 2015 at 16:33, Marek Vasut wrote: > On Tuesday, July 28, 2015 at 11:07:58 AM, Michal Suchanek wrote: >> First chip reads Pm25LD020 or Pm25L0020. Found on some WD HDD PCB. >> Identified as PMC Pm25LD020. >> Flash read does not return consistent data which explains why the disk >> died. >

Re: Is devm_* broken ?

2015-07-28 Thread Tejun Heo
Hello, Laurent. On Tue, Jul 28, 2015 at 05:16:16PM +0300, Laurent Pinchart wrote: > Using devm_kzalloc() in such a way has value though, and reverting drivers to > the pre-devm memory allocation code would make error handling and cleanup > code > paths more complex again. Should we introduce a

Re: [PATCHv2 05/10] xen/balloon: rationalize memory hotplug stats

2015-07-28 Thread Daniel Kiper
On Fri, Jul 24, 2015 at 12:47:43PM +0100, David Vrabel wrote: > The stats used for memory hotplug make no sense and are fiddled with > in odd ways. Remove them and introduce total_pages to track the total > number of pages (both populated and unpopulated) including those within > hotplugged region

Re: [PATCH 02/10] cgroup: introduce cgroup_subsys->legacy_name

2015-07-28 Thread Tejun Heo
On Tue, Jul 28, 2015 at 02:39:36PM +0800, Zefan Li wrote: > > @@ -1448,7 +1451,8 @@ static int parse_cgroupfs_options(char *data, struct > > cgroup_sb_opts *opts) > > } > > > > for_each_subsys(ss, i) { > > - if (strcmp(token, ss->name)) > > +

Re: [PATCH v8 09/21] x86/paravirt: Align paravirt thunk functions at 16-byte boundaries

2015-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 7:47 AM, Josh Poimboeuf wrote: > Paravirt thunk functions aren't aligned, which can impact performance > and is inconsistent with gcc-generated functions. > > Align them at 16-byte boundaries to be consistent with gcc functions. IMO stackvalidate shouldn't warn about this.

Re: [RFC PATCH 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-28 Thread Doug Anderson
Alexey, On Mon, Jul 27, 2015 at 2:28 PM, Alexey Klimov wrote: > Hi all, > > year(s) ago it was discovered that MCT timer and ARM architectured > timer > are the same hardware with different interface. Here [1]. > > I followed mail-list discussions about removing MCT and using arch > timer for Exy

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Lee Jones
On Tue, 28 Jul 2015, Guenter Roeck wrote: > On 07/28/2015 08:00 AM, Lee Jones wrote: > >On Tue, 28 Jul 2015, Matt Fleming wrote: > >>On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: > >>> > >>>The driver shouldn't be called that either. > >>> > >>>You are the only one. What makes iTCO 'special'? >

Re: [linux-sunxi] [RFC] ARM: dts: sunxi: Add regulators and board-specific operating points for LeMaker BananaPi

2015-07-28 Thread Hans de Goede
Hi, On 07/28/2015 05:09 PM, Timo Sigurdsson wrote: Hi, Hans de Goede schrieb am 28.07.2015 16:24: I've no problem with Timo submitting a cleaned up version of his patch and you taking that instead. I just wanted to point out that I do have a similar patch pending. Ok, I will do that. It migh

Re: [PATCH 0/2] New NAND chip IDs

2015-07-28 Thread Boris Brezillon
On Tue, 28 Jul 2015 17:19:40 +0200 Boris Brezillon wrote: > Hi Hans, > > Here is a more appropriate answer ;-) > > On Tue, 28 Jul 2015 16:49:58 +0200 > Hans de Goede wrote: > > > Hi, > > > > On 07/28/2015 04:29 PM, Michal Suchanek wrote: > > > Hello, > > > > > > the NAND chips on Cubietech b

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso wrote: > On 28 July 2015 at 15:39, Rob Herring wrote: >> On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso >> wrote: >>> From an arbitrary node in the tree, find the enclosing node that >>> corresponds to a platform device, as registered by >>> of_platfo

Re: [f2fs-dev] [PATCH 1/2] f2fs: call set_page_dirty to attach i_wb for cgroup

2015-07-28 Thread Jaegeuk Kim
On Tue, Jul 28, 2015 at 06:29:38PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Sunday, July 26, 2015 8:21 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourcefo

Re: [PATCH RFC 0/1] UAPI,x86: export syscall numbers for all x86 archs

2015-07-28 Thread David Drysdale
On Tue, Jul 28, 2015 at 1:20 PM, Paul Moore wrote: > On Tue, Jul 28, 2015 at 4:05 AM, David Drysdale wrote: >> A while ago I was trying to build a seccomp-bpf filter program that would >> survive a change of x86 architecture. This was complicated for all sorts of >> reasons, but one of the probl

Re: [PATCH] ACPI / PM: Use target_state to set the device power state

2015-07-28 Thread Rafael J. Wysocki
On Tuesday, July 28, 2015 01:51:21 PM Mika Westerberg wrote: > Commit 20dacb71ad28 ("ACPI / PM: Rework device power management to follow > ACPI 6") changed the device power management to use D3hot if the device > in question does not have _PR3 method even if D3cold was requested by the > caller. >

Re: [PATCH 0/2] New NAND chip IDs

2015-07-28 Thread Hans de Goede
Hi, On 07/28/2015 05:30 PM, Boris Brezillon wrote: On Tue, 28 Jul 2015 17:19:40 +0200 Boris Brezillon wrote: Hi Hans, Here is a more appropriate answer ;-) On Tue, 28 Jul 2015 16:49:58 +0200 Hans de Goede wrote: Hi, On 07/28/2015 04:29 PM, Michal Suchanek wrote: Hello, the NAND chips

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andrew Cooper
On 28/07/15 15:50, Boris Ostrovsky wrote: > On 07/28/2015 10:35 AM, Andrew Cooper wrote: >> On 28/07/15 15:05, Boris Ostrovsky wrote: >>> On 07/28/2015 06:29 AM, Andrew Cooper wrote: >> After forward-porting my virtio patches, I got this thing to run on >> Xen. After several tries, I got:

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 9:39 AM, Lee Jones wrote: > On Tue, 28 Jul 2015, Rob Herring wrote: > >> On Mon, Jul 27, 2015 at 10:20 AM, Lee Jones wrote: >> > These OPPs are used in ST's CPUFreq implementation. >> > >> > Signed-off-by: Lee Jones >> > --- >> > >> > Changelog: >> > - None, new patch >>

Re: [PATCH v8 09/21] x86/paravirt: Align paravirt thunk functions at 16-byte boundaries

2015-07-28 Thread Josh Poimboeuf
On Tue, Jul 28, 2015 at 08:23:04AM -0700, Andy Lutomirski wrote: > On Tue, Jul 28, 2015 at 7:47 AM, Josh Poimboeuf wrote: > > Paravirt thunk functions aren't aligned, which can impact performance > > and is inconsistent with gcc-generated functions. > > > > Align them at 16-byte boundaries to be c

Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates

2015-07-28 Thread Julia Lawall
> diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > index 83d4bca..1ded691 100644 > --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > @@ -204,13 +204,13 @@ static inline char *tra

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Boris Ostrovsky
On 07/28/2015 11:15 AM, Konrad Rzeszutek Wilk wrote: On Tue, Jul 28, 2015 at 10:50:39AM -0400, Boris Ostrovsky wrote: On 07/28/2015 10:35 AM, Andrew Cooper wrote: On 28/07/15 15:05, Boris Ostrovsky wrote: On 07/28/2015 06:29 AM, Andrew Cooper wrote: After forward-porting my virtio patches, I

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-07-28 Thread Lee Jones
On Tue, 28 Jul 2015, Rob Herring wrote: > On Tue, Jul 28, 2015 at 9:39 AM, Lee Jones wrote: > > On Tue, 28 Jul 2015, Rob Herring wrote: > > > >> On Mon, Jul 27, 2015 at 10:20 AM, Lee Jones wrote: > >> > These OPPs are used in ST's CPUFreq implementation. > >> > > >> > Signed-off-by: Lee Jones >

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andy Lutomirski
On Jul 28, 2015 3:30 AM, "Andrew Cooper" wrote: > > On 28/07/15 04:16, Andy Lutomirski wrote: > > On Mon, Jul 27, 2015 at 7:20 PM, Andy Lutomirski > > wrote: > >> On Mon, Jul 27, 2015 at 9:18 AM, Boris Ostrovsky > >> wrote: > >>> On 07/27/2015 11:53 AM, Andy Lutomirski wrote: > On Mon, Jul

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Matt Fleming
On Tue, 28 Jul, at 04:28:32PM, Lee Jones wrote: > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > On 07/28/2015 08:00 AM, Lee Jones wrote: > > >On Tue, 28 Jul 2015, Matt Fleming wrote: > > >>On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: > > >>> > > >>>The driver shouldn't be called that either.

Re: [PATCH 05/10] mm, page_alloc: Remove unnecessary updating of GFP flags during normal operation

2015-07-28 Thread Mel Gorman
On Tue, Jul 28, 2015 at 03:36:05PM +0200, Vlastimil Babka wrote: > >--- a/mm/page_alloc.c > >+++ b/mm/page_alloc.c > >@@ -124,7 +124,9 @@ unsigned long totalcma_pages __read_mostly; > > unsigned long dirty_balance_reserve __read_mostly; > > > > int percpu_pagelist_fraction; > >-gfp_t gfp_allowed_

Re: [PATCH 1/2] mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 05:19:18 PM, Rafał Miłecki wrote: > On 28 July 2015 at 16:33, Marek Vasut wrote: > > On Tuesday, July 28, 2015 at 11:07:57 AM, Michal Suchanek wrote: > >> This 1.8V SPI NOR flash is found on ARM Chromebook XE303C and reads > >> something like 25LQ32VIG in the middle. >

Re: [PATCH v5 1/4] PCI: iproc: enable arm64 support for iProc PCIe

2015-07-28 Thread Ray Jui
On 7/28/2015 6:24 AM, Olof Johansson wrote: > Hi Ray, > > I get the following when building an allmodconfig on arm64: > > drivers/pci/host/pcie-iproc-bcma.c: In function 'iproc_pcie_bcma_map_irq': > drivers/pci/host/pcie-iproc-bcma.c:37:31: error: dereferencing pointer > to incomplete type >

Re: [PATCH 2/2] mtd: spi-nor: Add Pm25LD020 and GD25Q41B chip ID.

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 05:22:17 PM, Rafał Miłecki wrote: > On 28 July 2015 at 16:33, Marek Vasut wrote: > > On Tuesday, July 28, 2015 at 11:07:58 AM, Michal Suchanek wrote: > >> First chip reads Pm25LD020 or Pm25L0020. Found on some WD HDD PCB. > >> Identified as PMC Pm25LD020. > >> Flash re

[REGRESSION BISECTED] System hang during hibernation on EeePC 1015PE

2015-07-28 Thread Eugene Shatokhin
Hi, On ASUS EeePC 1015PE with kernel 3.18 - 4.1, there is a problem very similar to the one fixed for Lenovo by the following commit in the mainline kernel: commit ab3be73fa7b43f4c3648ce29b5fd649ea54d3adb drm/i915: gen4: work around hang during hibernation When I try to put the system

Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates

2015-07-28 Thread Joshua Clayton
On Tuesday, July 28, 2015 05:37:16 PM Julia Lawall wrote: > > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > index 83d4bca..1ded691 100644 > > --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > +++ b/drivers/staging/rtl8712/r

Re: [Xen-devel] [PATCH 2/8] xen: Make clear that swiotlb and biomerge are dealing with DMA address

2015-07-28 Thread David Vrabel
On 28/07/15 16:02, Julien Grall wrote: > > +/* Pseudo-physical <-> DMA conversion */ > +static inline unsigned long pfn_to_dfn(unsigned long pfn) Use BFN for bus frame number. This is the terminology that is used in the (proposed) pv-iommu hypercall. David -- To unsubscribe from this list: send

Re: [PATCH RFC 0/1] UAPI,x86: export syscall numbers for all x86 archs

2015-07-28 Thread Paul Moore
On Tue, Jul 28, 2015 at 11:32 AM, David Drysdale wrote: > On Tue, Jul 28, 2015 at 1:20 PM, Paul Moore wrote: >> On Tue, Jul 28, 2015 at 4:05 AM, David Drysdale wrote: >>> A while ago I was trying to build a seccomp-bpf filter program that would >>> survive a change of x86 architecture. This was

Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates

2015-07-28 Thread Julia Lawall
On Tue, 28 Jul 2015, Joshua Clayton wrote: > On Tuesday, July 28, 2015 05:37:16 PM Julia Lawall wrote: > > > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > > b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > > index 83d4bca..1ded691 100644 > > > --- a/drivers/staging/rtl8712/r

[GIT PULL] DeviceTree fixes for 4.2

2015-07-28 Thread Rob Herring
Hi Linus, Please pull this small set of DT fixes for 4.2. Rob The following changes since commit cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f: Linux 4.2-rc4 (2015-07-26 12:26:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git tags/de

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Lee Jones
On Tue, 28 Jul 2015, Matt Fleming wrote: > On Tue, 28 Jul, at 04:28:32PM, Lee Jones wrote: > > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > > > On 07/28/2015 08:00 AM, Lee Jones wrote: > > > >On Tue, 28 Jul 2015, Matt Fleming wrote: > > > >>On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: > > >

Re: [PATCH] DEVICETREE: Misc fix for the AR7100 SPI controller binding

2015-07-28 Thread Rob Herring
On Fri, Jul 3, 2015 at 3:14 AM, Alban Bedel wrote: > Fix the clocks property documentation and use lower case for > hex values in the example. > > Signed-off-by: Alban Bedel Applied. Thanks. Rob > --- > Documentation/devicetree/bindings/spi/spi-ath79.txt | 6 +++--- > 1 file changed, 3 insert

Re: [f2fs-dev] [PATCH 2/2] f2fs: handle error cases in commit_inmem_pages

2015-07-28 Thread Jaegeuk Kim
On Tue, Jul 28, 2015 at 06:25:26PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Sunday, July 26, 2015 8:21 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourcefo

Re: [PATCH] of: constify drv arg of of_driver_match_device stub

2015-07-28 Thread Rob Herring
On Wed, Jul 1, 2015 at 2:10 AM, Tomeu Vizoso wrote: > With this change the stub has the same signature as the actual function, > preventing this compiler warning when building without CONFIG_OF: > >drivers/base/property.c: In function 'fwnode_driver_match_device': >>> drivers/base/property.c:6

Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates

2015-07-28 Thread Dan Carpenter
On Tue, Jul 28, 2015 at 08:50:04AM -0700, Joshua Clayton wrote: > On Tuesday, July 28, 2015 05:37:16 PM Julia Lawall wrote: > > > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > > b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > > index 83d4bca..1ded691 100644 > > > --- a/drivers

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Boris Ostrovsky
On 07/28/2015 11:23 AM, Andrew Cooper wrote: On 28/07/15 15:50, Boris Ostrovsky wrote: On 07/28/2015 10:35 AM, Andrew Cooper wrote: On 28/07/15 15:05, Boris Ostrovsky wrote: On 07/28/2015 06:29 AM, Andrew Cooper wrote: After forward-porting my virtio patches, I got this thing to run on Xen.

Re: [PATCH RFC 0/1] Document how to add a new syscall

2015-07-28 Thread David Drysdale
On Tue, Jul 28, 2015 at 3:19 PM, Peter Zijlstra wrote: > On Tue, Jul 28, 2015 at 07:59:16AM -0600, Shuah Khan wrote: >> On 07/28/2015 05:41 AM, David Drysdale wrote: >> > Given that I've gotten some of the details wrong in the past (and I've >> > seen others do likewise), I thought it might be hel

Re: [PATCH] of: Drop owner assignment from platform and i2c driver

2015-07-28 Thread Rob Herring
On Fri, Jul 10, 2015 at 1:26 AM, Krzysztof Kozlowski wrote: > platform_driver and i2c_driver do not need to set an owner because core > will set it. > > Signed-off-by: Krzysztof Kozlowski Applied. Thanks. Rob > > --- > > The coccinelle script which generated the patch was sent here: > http://w

[PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-07-28 Thread Benjamin Tissoires
The DP outputs connected through a USB Type-C port can have inverted lanes. To detect that case, we implement autodetection by training only the first lane if it doesn't work, we assume that we need to invert the lanes. Tested on a Chromebook Pixel 2015 (samus) with a USB Type-C to HDMI adapter an

[PATCH 2/3] drm/i915: hide errors when probing for a reverse display port

2015-07-28 Thread Benjamin Tissoires
We check the polarity of the attached dp, so it is normal to fail. Do not send errors to the users. Signed-off-by: Benjamin Tissoires --- drivers/gpu/drm/i915/intel_dp.c | 74 - 1 file changed, 58 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/dr

[PATCH 1/3] drm/i915: add parameters to dp_start_link_train and dp_complete_link_train

2015-07-28 Thread Benjamin Tissoires
In order to detect if the Display Port is reversed or not (when connected to a USC type-C connector), we need to probe the training with one lane to check if the polarity is correct. Factor out the code that we need later on. This commit has no functional change Signed-off-by: Benjamin Tissoires

[GIT PULL] Please pull NFS client bugfixes

2015-07-28 Thread Trond Myklebust
Hi Linus, The following changes since commit b4839ebe21fc5d543b933d83644981ea73e9ba36: nfs: Remove invalid tk_pid from debug message (2015-07-01 11:31:25 -0400) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.2-2 for you to fetc

Re: [PATCH v2] tools: perf: Fix test build error when bindir contains double slash

2015-07-28 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 28, 2015 at 04:46:00PM +0200, Jiri Olsa escreveu: > On Tue, Jul 28, 2015 at 03:10:13PM +0100, Pawel Moll wrote: > > When building with a prefix ending with a slash, for example: > > > > This patch works around the problem by "cleaning" the bindir string > > using make's abspath functio

[PATCH 0/3] drm/i915: fix USB Type-C reversed connector

2015-07-28 Thread Benjamin Tissoires
Hi, plugging a USB Type-C to HDMI adapter on a Chromebook Pixel 2015 works only if the HDMI port is in its normal (not reverted) state. Theorically, the USB chip should provide the information whether or not the lane are resversed, but I could not find anything in the Intel PRM regarding this. So

[PATCH v2] kthread: Export kthread functions

2015-07-28 Thread David Kershner
The s-Par visornic driver, currently in staging, processes a queue being serviced by the an s-Par service partition. We can get a message that something has happened with the Service Partition, when that happens, we must not access the channel until we get a message that the service partition is ba

Re: [Xen-devel] [PATCH 2/8] xen: Make clear that swiotlb and biomerge are dealing with DMA address

2015-07-28 Thread Julien Grall
Hi David, On 28/07/15 16:52, David Vrabel wrote: > On 28/07/15 16:02, Julien Grall wrote: >> >> +/* Pseudo-physical <-> DMA conversion */ >> +static inline unsigned long pfn_to_dfn(unsigned long pfn) > > Use BFN for bus frame number. This is the terminology that is used in > the (proposed) pv-io

[PATCH v4] clk: at91: add generated clock driver

2015-07-28 Thread Nicolas Ferre
Add a new type of clocks that can be provided to a peripheral. In addition to the peripheral clock, this new clock that can use several input clocks as parents can generate divided rates. This would allow a peripheral to have finer grained clocks for generating a baud rate, clocking an asynchronous

[PATCH 2/2] perf tools: Fix test build error when bindir contains double slash

2015-07-28 Thread Arnaldo Carvalho de Melo
From: Pawel Moll When building with a prefix ending with a slash, for example: $ make prefix=/usr/local/ one of the perf tests fail to compile due to BUILD_STR macro mishandling bindir_SQ string containing with two slashes: -DBINDIR="BUILD_STR(/usr/local//bin)" with the follow

[GIT PULL 0/2] perf/urgent fixes

2015-07-28 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 00a2916f7f82c348a2a94dbb572874173bc308a3: perf: Fix running time accounting (2015-07-27 13:52:19 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.g

[PATCH 1/2] perf stat: Fix transaction lenght metrics

2015-07-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen The transaction length metrics in perf stat -T broke recently. It would not match the metric correctly and always print K/sec. This was caused by a incorrect update of the cycles_in_tx statistics. Update the correct variable. Also the check for zero division was reversed, whi

Re: [PATCH] Smack: replace capable() with ns_capable()

2015-07-28 Thread Casey Schaufler
On 7/28/2015 8:06 AM, Serge E. Hallyn wrote: > On Tue, Jul 28, 2015 at 07:36:30AM -0700, Casey Schaufler wrote: >> On 7/26/2015 6:27 PM, Sungbae Yoo wrote: >>> So, Do you agree to allow the process to change its own labels? >> No. This requires CAP_MAC_ADMIN. Smack is mandatory access control. >> B

Re: [RFC/BUG] perf tools: static build fails

2015-07-28 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 28, 2015 at 05:13:47PM +0200, Jiri Olsa escreveu: > hi, > it's failing on perf-read-vdso32 tool.. > attached patch fixes that for me To build it statically: make -C tools/perf O=/tmp/build/perf LDFLAGS=-static install-bin Adrian, I wonder if building just these utilities non-static

Re: [Intel-gfx] [PATCH 2/3] drm/i915: hide errors when probing for a reverse display port

2015-07-28 Thread Chris Wilson
On Tue, Jul 28, 2015 at 12:03:28PM -0400, Benjamin Tissoires wrote: > We check the polarity of the attached dp, so it is normal to fail. > Do not send errors to the users. if (probe) DRM_DEBUG else DRM_ERROR is fairly offensive. It strikes me that you could make each of these functions report the

Re: [RFC PATCH 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-28 Thread Alexey Klimov
Hi Doug, On Tue, Jul 28, 2015 at 6:24 PM, Doug Anderson wrote: > Alexey, > > On Mon, Jul 27, 2015 at 2:28 PM, Alexey Klimov wrote: >> Hi all, >> >> year(s) ago it was discovered that MCT timer and ARM architectured >> timer >> are the same hardware with different interface. Here [1]. >> >> I fol

Re: [RFC 0/2] VFIO: Add virtual MSI doorbell support.

2015-07-28 Thread Alex Williamson
On Fri, 2015-07-24 at 14:33 +0530, Pranavkumar Sawargaonkar wrote: > In current VFIO MSI/MSI-X implementation, linux host kernel > allocates MSI/MSI-X vectors when userspace requests through vfio ioctls. > Vfio creates irqfd mappings to notify MSI/MSI-X interrupts > to the userspace when raised. >

Re: [PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:05PM -0700, Vikas Shivappa wrote: > +static int __init intel_rdt_late_init(void) > +{ > + struct cpuinfo_x86 *c = &boot_cpu_data; > + > + if (!cpu_has(c, X86_FEATURE_CAT_L3)) > + return -ENODEV; > + > + pr_info("Intel cache allocation enabled\n"

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andrew Cooper
On 28/07/15 16:43, Andy Lutomirski wrote: > After forward-porting my virtio patches, I got this thing to run on Xen. After several tries, I got: [ 53.985707] [ cut here ] [ 53.986314] kernel BUG at arch/x86/xen/enlighten.c:496! [ 53.98667

Re: [PATCH] Input: zforce_ts - fix playload length check

2015-07-28 Thread Dmitry Torokhov
On Tue, Jul 28, 2015 at 01:28:32PM +0200, Dirk Behme wrote: > On 28.07.2015 12:23, Geert Uytterhoeven wrote: > >On Mon, Jul 27, 2015 at 11:06 PM, Dmitry Torokhov > > wrote: > >>Commit 7d01cd261c76f95913c81554a751968a1d282d3a ("Input: zforce - don't > >>overwrite the stack") attempted to add a check

Re: linux-next: build failure after merge of the tip tree

2015-07-28 Thread Luis R. Rodriguez
On Tue, Jul 28, 2015 at 03:33:03PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/video/fbdev/aty/atyfb_base.c: In function 'atyfb_setup_generic': > drivers/video/fbdev/aty/atyfb_base.c:3447:

Re: [PATCH 6/9] x86/intel_rdt: Add support for cache bit mask management

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:07PM -0700, Vikas Shivappa wrote: > +static inline bool cbm_is_contiguous(unsigned long var) > +{ > + unsigned long maxcbm = MAX_CBM_LENGTH; > + unsigned long first_bit, zero_bit; > + > + if (!var) > + return false; > + > + first_bit = find_

Re: [PATCH 6/9] x86/intel_rdt: Add support for cache bit mask management

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:07PM -0700, Vikas Shivappa wrote: > +static int cbm_validate(struct intel_rdt *ir, unsigned long cbmvalue) > +{ > + struct cgroup_subsys_state *css; > + struct intel_rdt *par, *c; > + unsigned long *cbm_tmp; > + int err = 0; > + > + if (!cbm_is_cont

Re: [PATCH v6 2/2] ARM: imx: Add suspend codes for imx7D

2015-07-28 Thread Zhi Li
On Tue, Jul 28, 2015 at 9:30 AM, Shawn Guo wrote: > On Tue, Jul 28, 2015 at 02:16:20PM +, Shenwei Wang wrote: >> > The files are named with "-imx7". It's a clear sign that the build of the >> > files >> > should be controlled by something like related to "imx7". >> > Ideally, it should be CO

Re: [PATCH RFC 0/1] Document how to add a new syscall

2015-07-28 Thread Shuah Khan
On 07/28/2015 10:02 AM, David Drysdale wrote: > On Tue, Jul 28, 2015 at 3:19 PM, Peter Zijlstra wrote: >> On Tue, Jul 28, 2015 at 07:59:16AM -0600, Shuah Khan wrote: >>> On 07/28/2015 05:41 AM, David Drysdale wrote: Given that I've gotten some of the details wrong in the past (and I've s

Re: [PATCH RFC 1/1] Documentation: describe how to add a system call

2015-07-28 Thread Kees Cook
On Tue, Jul 28, 2015 at 4:41 AM, David Drysdale wrote: > Add a document describing the process of adding a new system call, > including the need for a flags argument for future compatibility, and > covering 32-bit/64-bit concerns (albeit in an x86-centric way). > > Signed-off-by: David Drysdale >

Re: X-Gene: Unhandled fault: synchronous external abort in pci_generic_config_read32

2015-07-28 Thread Bjorn Helgaas
On Fri, Jul 24, 2015 at 7:05 PM, Duc Dang wrote: > Hi Bjorn, > > On Fri, Jul 24, 2015 at 3:42 PM, Bjorn Helgaas wrote: >> >> I regularly see faults like this on an APM X-Gene: >> >> U-Boot 2013.04-mustang_sw_1.14.14 (Dec 16 2014 - 15:59:33) >> CPU0: APM ARM 64-bit Potenza Rev B0 2400MHz PCP 2

Re: [PATCH 3/6] pci:host: Add Altera PCIe host controller driver

2015-07-28 Thread Dinh Nguyen
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: > This patch adds the Altera PCIe host controller driver. > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig | 9 + > drivers/pci/host/Makefile | 1 + > drivers/pci/host/pcie-altera.c | 576 > +

Re: [3.13.y-ckt stable] Linux 3.13.11-ckt24

2015-07-28 Thread Kamal Mostafa
diff --git a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt b/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt index 859a6fa..0856c9a 100644 --- a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt +++ b/Documentation/devicetree/bindings/net/marve

[3.13.y-ckt stable] Linux 3.13.11-ckt24

2015-07-28 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11-ckt24 kernel. The updated 3.13.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.13.y The diff from v3.13.11-ckt23 is posted

Re: [PATCH v5 3/4] selftests/x86, x86/ldt: Add a selftest for modify_ldt

2015-07-28 Thread Kees Cook
On Mon, Jul 27, 2015 at 10:29 PM, Andy Lutomirski wrote: > This tests general modify_ldt behavior (only writes, so far) as > well as synchronous updates via IPI. It fails on old kernels. > > I called this ldt_gdt because I'll add set_thread_area tests to > it at some point. > > Signed-off-by: And

Re: [RFC 0/2] VFIO: Add virtual MSI doorbell support.

2015-07-28 Thread Marc Zyngier
Hi Alex, On 28/07/15 17:21, Alex Williamson wrote: > On Fri, 2015-07-24 at 14:33 +0530, Pranavkumar Sawargaonkar wrote: >> In current VFIO MSI/MSI-X implementation, linux host kernel >> allocates MSI/MSI-X vectors when userspace requests through vfio ioctls. >> Vfio creates irqfd mappings to notif

Please can I trust you?

2015-07-28 Thread Brice Adams
My Dear Friend, I am Mr. Brice Adams, staff and auditor of a Bank in Lome, Togo Republic. I am the Account Officer to (Late Mr. Daniel I. Glade) whose account is presently dormant, I advise you to keep this as a "top secret" as I am still in service and intend to retire from service after I conclu

Re: [PATCH v5 4/4] x86/ldt: Make modify_ldt optional

2015-07-28 Thread Kees Cook
On Mon, Jul 27, 2015 at 10:29 PM, Andy Lutomirski wrote: > The modify_ldt syscall exposes a large attack surface and is > unnecessary for modern userspace. Make it optional. > > Signed-off-by: Andy Lutomirski Reviewed-by: Kees Cook > --- > arch/x86/Kconfig | 17

Please can I trust you?

2015-07-28 Thread Brice Adams
My Dear Friend, I am Mr. Brice Adams, staff and auditor of a Bank in Lome, Togo Republic. I am the Account Officer to (Late Mr. Daniel I. Glade) whose account is presently dormant, I advise you to keep this as a "top secret" as I am still in service and intend to retire from service after I conclu

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-07-28 Thread Rabin Vincent
On Tue, Jul 28, 2015 at 03:21:01PM +0200, Peter Zijlstra wrote: > --- a/arch/arm/include/asm/jump_label.h > +++ b/arch/arm/include/asm/jump_label.h > @@ -7,20 +7,28 @@ > > #define JUMP_LABEL_NOP_SIZE 4 > > -#ifdef CONFIG_THUMB2_KERNEL > -#define JUMP_LABEL_NOP "nop.w" > -#else > -#define

Re: [PATCH char-misc-next 10/19] lib: convert iova.c into a library

2015-07-28 Thread Sudeep Dutt
On Tue, 2015-07-28 at 15:38 +0100, David Woodhouse wrote: > On Tue, 2015-07-28 at 11:41 +0100, Robin Murphy wrote: > > On 28/07/15 11:03, Joerg Roedel wrote: > > > On Mon, Jul 27, 2015 at 04:57:32PM -0700, Ashutosh Dixit wrote: > > > > From: Harish Chegondi > > > > > > > > This patch converts iov

Re: Is devm_* broken ?

2015-07-28 Thread Laurent Pinchart
On Tuesday 28 July 2015 11:22:25 Tejun Heo wrote: > On Tue, Jul 28, 2015 at 05:16:16PM +0300, Laurent Pinchart wrote: > > Using devm_kzalloc() in such a way has value though, and reverting drivers > > to the pre-devm memory allocation code would make error handling and > > cleanup code paths more c

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:06PM -0700, Vikas Shivappa wrote: > +struct clos_cbm_map { > + unsigned long cache_mask; > + unsigned int clos_refcnt; > +}; This structure is not a map at all, its the map value. Furthermore, cache_mask seems a confusing name for the capacity bitmask (CBM). -

Re: [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 9:30 AM, Andrew Cooper wrote: > I suspect that the set_ldt(NULL, 0) call hasn't reached Xen before > xen_free_ldt() is attempting to nab back the pages which Xen still has > mapped as an LDT. > I just instrumented it with yet more LSL instructions. I'm pretty sure that se

Re: [PATCH] Doc: x86: Fix typo in intel_mpx.txt

2015-07-28 Thread Randy Dunlap
On 07/28/15 04:00, Masanari Iida wrote: > This patch fix some spelling typos in intel_mpx.txt > > Signed-off-by: Masanari Iida > --- > Documentation/x86/intel_mpx.txt | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/x86/intel_mpx.txt b/Documentation

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

2015-07-28 Thread Dinh Nguyen
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan wrote: > 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 > --- > drivers/pci/host/Kconfig | 7 + > drivers/pci/host/Makefile

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Guenter Roeck
On 07/28/2015 08:28 AM, Lee Jones wrote: On Tue, 28 Jul 2015, Guenter Roeck wrote: On 07/28/2015 08:00 AM, Lee Jones wrote: On Tue, 28 Jul 2015, Matt Fleming wrote: On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: The driver shouldn't be called that either. You are the only one. What makes

Re: [PATCH] mm: add resched points to remap_pmd_range/ioremap_pmd_range

2015-07-28 Thread Jörn Engel
On Tue, Jul 28, 2015 at 03:32:55PM +0200, Michal Hocko wrote: > > > > We have kernel preemption disabled. A lower-priority task in a system > > call will block higher-priority tasks. > > This is an inherent problem of !PREEMPT, though. There are many > loops which can take quite some time but we

Re: vmemmap_verify() BUGs during memory hotplug (4.2-rc1 regression)

2015-07-28 Thread David Vrabel
On 27/07/15 16:41, Mel Gorman wrote: > On Mon, Jul 27, 2015 at 04:32:45PM +0100, David Vrabel wrote: >> Mel, >> >> As of commit 8a942fdea560d4ac0e9d9fabcd5201ad20e0c382 (mm: meminit: make >> __early_pfn_to_nid SMP-safe and introduce meminit_pfn_in_nid) >> vmemmap_verify() will BUG_ON() during memor

Re: [RFC] Generic VME UIO

2015-07-28 Thread Martyn Welch
Hi Dmitry, On 22/07/15 19:09, Dmitry Kalinkin wrote: Linux kernel has supported VME bus since 2009. The support comes in a form of kernel driver API that is backed by a couple drivers for PCI-VME bridges. There is also a vme_user driver that provides a generic userpsace interface to do data tra

[ANNOUNCE] Git v2.4.7

2015-07-28 Thread Junio C Hamano
The latest maintenance release Git v2.4.7 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.4.7' tag and the 'maint' branch that the tag points at: url = https://kernel

Re: [Xen-devel] [PATCH v4 0/3] x86: modify_ldt improvement, test, and config option

2015-07-28 Thread Boris Ostrovsky
On 07/28/2015 01:07 PM, Andy Lutomirski wrote: On Tue, Jul 28, 2015 at 9:30 AM, Andrew Cooper wrote: I suspect that the set_ldt(NULL, 0) call hasn't reached Xen before xen_free_ldt() is attempting to nab back the pages which Xen still has mapped as an LDT. I just instrumented it with yet more

Re: [PATCH RFC 1/1] Documentation: describe how to add a system call

2015-07-28 Thread David Drysdale
On Tue, Jul 28, 2015 at 5:43 PM, Kees Cook wrote: > On Tue, Jul 28, 2015 at 4:41 AM, David Drysdale wrote: >> Add a document describing the process of adding a new system call, >> including the need for a flags argument for future compatibility, and >> covering 32-bit/64-bit concerns (albeit in a

[PATCH] user_ns: use correct check for single-threadedness

2015-07-28 Thread Kees Cook
From: Ricky Zhou Checking mm_users > 1 does not mean a process is multithreaded. For example, reading /proc/PID/maps temporarily increments mm_users, allowing other processes to (accidentally) interfere with unshare() calls. This fixes observed failures of unshare(CLONE_NEWUSER) incorrectly retu

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