RE: [PATCH V4 1/3] i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled

2016-06-10 Thread Sricharan
+Wolfram Sang >-Original Message- >From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] >On Behalf Of Sricharan R >Sent: Friday, June 10, 2016 11:38 PM >To: linux-arm-...@vger.kernel.org; ntel...@codeaurora.org; >ga...@codeaurora.org; linux-kernel@vger.kernel.org;

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Logan Gunthorpe
Hey, On 10/06/16 12:09 PM, Kees Cook wrote: >> restore_code: 880157c3b000 >> jump_addr: 81446be0 >> >> >> diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c >> index 009947d..6efedb7 100644 >> --- a/arch/x86/power/hibernate_64.c >> +++ b/arch/x86/power/hibernate

RE: [PATCH V4 2/3] i2c: qup: Fix wrong value of index variable

2016-06-10 Thread Sricharan
+Wolfram Sang >-Original Message- >From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] >On Behalf Of Sricharan R >Sent: Friday, June 10, 2016 11:38 PM >To: linux-arm-...@vger.kernel.org; ntel...@codeaurora.org; >ga...@codeaurora.org; linux-kernel@vger.kernel.org;

RE: [PATCH V4 3/3] i2c: qup: Fix error handling

2016-06-10 Thread Sricharan
+Wolfram Sang >-Original Message- >From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] >On Behalf Of Sricharan R >Sent: Friday, June 10, 2016 11:38 PM >To: linux-arm-...@vger.kernel.org; ntel...@codeaurora.org; >ga...@codeaurora.org; linux-kernel@vger.kernel.org;

Re: [PATCH v2 00/38] Documentation/sphinx

2016-06-10 Thread Daniel Vetter
On Thu, Jun 9, 2016 at 9:55 PM, Jonathan Corbet wrote: > On Sat, 4 Jun 2016 14:37:01 +0300 > Jani Nikula wrote: > >> When this lands in docs-next and we can backmerge to drm, we'll plunge >> ahead and convert gpu.tmpl to rst, and have that ready for v4.8. > > That is now done — thanks for runnin

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-10 Thread Bjorn Helgaas
On Fri, Jun 10, 2016 at 06:49:32PM +0200, Tomasz Nowicki wrote: > On 10.06.2016 17:49, Lorenzo Pieralisi wrote: > >On Fri, Jun 10, 2016 at 04:14:58PM +0100, Lorenzo Pieralisi wrote: > >>Hi Bjorn, Tomasz, > >> > >>On Tue, Jun 07, 2016 at 07:15:59PM -0500, Bjorn Helgaas wrote: > >> > >>[...] > >> > >

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Kees Cook
On Fri, Jun 10, 2016 at 11:16 AM, Logan Gunthorpe wrote: > Hey, > > On 10/06/16 12:09 PM, Kees Cook wrote: >>> restore_code: 880157c3b000 >>> jump_addr: 81446be0 >>> >>> >>> diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c >>> index 009947d..6efedb7 100644 >>>

[PATCH v3 1/2] ASoC: msm8916: Add codec Device Tree bindings.

2016-06-10 Thread Srinivas Kandagatla
This patch adds DT bindings required for msm8916 codec which is integrated in msm8916 and apq8016 SOCs. Codec IP is divided into two parts, first analog which is integrated in pmic pm8916 and secondly digital part which is integrated into application processor. Codec register controls are also spl

[PATCH v3 0/2] ASoC: Add support to Qualcomm msm8916-wcd codec

2016-06-10 Thread Srinivas Kandagatla
This patchset aims at adding msm8916-wcd codec support. msm8916-wcd codec is found in Qualcomm msm8916 and apq8016 processors. This codec IP is split in to two parts(Digital & Analog), Analog part is integrated in to PMIC PM8916 and the digital part is integrated into Application processor. Registe

[PATCH v2 1/2] ARM: dts: apq8064: rename db600c to SD_600eval

2016-06-10 Thread Srinivas Kandagatla
This board has been renamed recently and announced at https://eragon.einfochips.com/products/sd-600eval.html So rename this board files so that it reflects actual product in market. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/Makefile | 2 +-

[PATCH v3 2/2] ASoC: msm8916: Add msm8916-wcd codec driver

2016-06-10 Thread Srinivas Kandagatla
This patch adds support to msm8916-wcd codec. msm8916-wcd codec is found in Qualcomm msm8916 and apq8016 processors. This codec IP is split in to two parts(Digital & Analog), Analog part is integrated in to PMIC PM8916 and the digital part is integrated into Application processor. Register access

[PATCH v2 2/2] ARM: dts: sd_600eval: Fix eMMC lockup issue

2016-06-10 Thread Srinivas Kandagatla
From: Parth Pancholi This board locks up if we stress test the eMMC, as the regulator s4 is unable to supply enough current for all the peripherials attached to it. As this supply is wired up to most of the peripherials including DDR, it resulted in such lockup. This patch fixes this issue by se

Re: [PATCH] MAINTAINERS: Update entry for BCM5301X ARM

2016-06-10 Thread Florian Fainelli
On 06/01/2016 01:00 PM, Rafał Miłecki wrote: > Add myself as I contribute to it. Include Broadcom's feedback ML as > suggested by Florian. Finally modify file rule to match > bcm5301x-nand-cs0-bch8.dtsi. > > Signed-off-by: Rafał Miłecki Applied, thanks Rafal! -- Florian

Re: [PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Andrew Lunn
On Fri, Jun 10, 2016 at 07:42:52PM +0200, Clemens Gruber wrote: > Configuring the PHY LED registers for the Marvell 88E1510 and others is > not possible, because regardless of the values in marvell,reg-init, it > is later overridden in m88e1121_config_aneg with a non-standard default. > > This bec

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Rob Clark
On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson wrote: > The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected > using eDP interfaces. so drive-by comment... but shouldn't eDP be probe-able? Not sure why we need panel drivers or DT bindings? BR, -R > Signed-off-by: Douglas An

Re: [RFC v4 01/14] regulator: of: Add helper for getting all supplies

2016-06-10 Thread Heiko Stübner
Am Freitag, 10. Juni 2016, 12:30:56 schrieb Rob Herring: > On Thu, Jun 09, 2016 at 01:42:02PM +0200, Krzysztof Kozlowski wrote: > > On 06/09/2016 12:29 PM, Mark Brown wrote: > > > On Thu, Jun 09, 2016 at 11:44:18AM +0200, Krzysztof Kozlowski wrote: > > >> Few drivers have a need of getting regulato

Re: [PATCH V2 3/5] Documentation/devicetree/bindings: b850v3_lvds_dp

2016-06-10 Thread Javier Martinez Canillas
Hello Peter, On Thu, Jun 9, 2016 at 12:25 PM, Peter Senna Tschudin wrote: > Devicetree bindings documentation for the GE B850v3 LVDS/DP++ > display bridge. > > Cc: Enric Balletbo i Serra > Cc: Philipp Zabel > Cc: Rob Herring > Cc: Fabio Estevam > Signed-off-by: Peter Senna Tschudin > --- > C

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-10 Thread Jon Masters
Hi Bjorn, Sorry for top posting while on the road. If this refactoring can happen later, is it possible to merge now (well, -next anyway) and explore other work as next steps? Jon. -- Computer Architect | Sent from my 64-bit #ARM Powered phone > On Jun 10, 2016, at 13:18, Bjorn Helgaas wrot

Re: [PATCH v1 00/25] PCI: Request host bridge window resources

2016-06-10 Thread Duc Dang
On Mon, Jun 6, 2016 at 4:04 PM, Bjorn Helgaas wrote: > Several host bridge drivers (designware and all derivatives, iproc, > xgene, xilinx, and xilinx-nwl) don't request the MMIO and I/O port > windows they forward downstream to the PCI bus. > > That means the PCI core can't request resources for

Re: [PATCH 2/2] perf stat: Remove nmi watchdog check code again

2016-06-10 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 09, 2016 at 06:14:39AM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Now that the NMI watchdog runs with reference cycles, and does not > conflict with TopDown anymore, we don't need to check that the > NMI watchdog is off in perf stat --topdown. > > Remove the code that does th

Re: [PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-10 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 10, 2016 at 03:20:43PM +0900, Taeung Song escreveu: > On 06/09/2016 10:29 PM, Arnaldo Carvalho de Melo wrote: > > > +++ b/tools/perf/util/cache.h > > > @@ -7,6 +7,7 @@ > > > #include > > > +#include "config.h" > > Why have you added that? Are those config functions used in cache.h?

Re: [PATCH] autofs: don't stuck in a loop if vfs_write returns an error

2016-06-10 Thread Andrew Morton
On Thu, 09 Jun 2016 09:23:26 +0800 Ian Kent wrote: > > I was getting ready to send these over to Andrew and found that opendir(3) > > is > > failing on a number of tests (51 of 230, 9 fails are expected) with 4.6.0. > > > > It's not the patches, yours or mine and it doesn't happen with 4.4.x >

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-10 Thread Geert Uytterhoeven
Hi Rob, On Fri, Jun 10, 2016 at 7:39 PM, Rob Herring wrote: > On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: >> The power domain must be specified to bring the device out of module >> standby. Document this in the example provided, so that new additions >> are not missed. >> >> S

Re: [PATCH v13 04/10] arm64: Blacklist non-kprobe-able symbol

2016-06-10 Thread David Long
On 06/03/2016 11:40 PM, Masami Hiramatsu wrote: Hi David, On Thu, 2 Jun 2016 23:26:18 -0400 David Long wrote: From: Pratyush Anand Add all function symbols which are called from do_debug_exception under NOKPROBE_SYMBOL, as they can not kprobed. I see, but this patch should be applied aft

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-06-10 Thread Bart Van Assche
On 05/24/2016 01:00 PM, Bryant G Ly wrote: Quoting Bart Van Assche : On 05/24/2016 06:52 AM, Bryant G. Ly wrote: +static uint64_t ibmvscsis_unpack_lun(const uint8_t *lun, int len) +{ +uint64_t res = NO_SUCH_LUN; +int addressing_method; + +if (unlikely(len < 2)) { +pr_err("Il

PATCH [0/1] ipv4: Prevent malformed UFO fragments in ip_append_page

2016-06-10 Thread Steven Caron
Hi Hannes, It's a very simple patch which was already included in the original email. The patch is from Linux 4.7-rc1. net/ipv4/ip_output.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, Steven

PATCH [1/1] ipv4: Prevent malformed UFO fragments in ip_append_page

2016-06-10 Thread Steven Caron
As the ip fragment offset field counts 8-byte chunks, non-final ip fragments must be multiples of 8 bytes of payload. Depending on the mtu and ip option sizes, ip_append_page wasn't respecting this, notably when running NFS under UDP. diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c inde

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 8:48 AM, Linus Torvalds wrote: > On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman wrote: >> >> powerpc fixes for 4.7 #2 > > This is actually #3 - and some of the things you describe came in > already through #2. > > Do you mind double-checking your descriptions? I double

Re: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-10 Thread Javier Martinez Canillas
Hello Amitkumar, On 06/10/2016 12:26 PM, Amitkumar Karwar wrote: > Hi Kalle/Javier, > >> From: Javier Martinez Canillas [mailto:jav...@osg.samsung.com] >> Sent: Friday, June 10, 2016 8:07 PM >> To: Kalle Valo >> Cc: linux-kernel@vger.kernel.org; Julian Calaby; Shengzhen Li; Enric >> Balletbo i Se

Re: [PATCH] events/uprobes: move smp_read_barrier_depends() where needed

2016-06-10 Thread Oleg Nesterov
On 06/10, Andrea Parri wrote: > > On Fri, Jun 10, 2016 at 4:39 PM, Oleg Nesterov wrote: > > > On 06/10, Oleg Nesterov wrote: > > > > > > On 06/10, Andrea Parri wrote: > > > > > > > > More simply/clean, as you said, maybe; one advantage of keeping > > > > the "raw" smp_read_barrier_depends() in get

Re: Using irq-crossbar.c

2016-06-10 Thread Mason
On 10/06/2016 18:05, Marc Zyngier wrote: > On 10/06/16 16:37, Sebastian Frias wrote: > >> here's the diff on our DT: >> >> --- tango4-common.dtsi 2016-06-10 16:23:08.244246017 +0200 >> +++ tangox_irqv2-common.dtsi 2016-06-10 16:24:01.212588737 +0200 >> @@ -47,7 +47,7 @@ >> >> soc { >>

[PATCH v2] backlight: lp855x: Add enable regulator

2016-06-10 Thread Brian Norris
The LP8556 datasheet describes an EN/VDDIO input, which serves "both as a chip enable and as a power supply reference for PWM, SDA, and SCL inputs." The LP8556 that I'm testing doesn't respond properly if I try to talk I2C to it too quickly after enabling VDDIO, and the LP8555 datasheet mentions a

Re: [PATCH v5 3/4] tpm: Allow TPM chip drivers to override reported command durations

2016-06-10 Thread Jarkko Sakkinen
On Fri, Jun 10, 2016 at 10:34:15AM -0700, Ed Swierk wrote: > On Fri, Jun 10, 2016 at 5:19 AM, Jarkko Sakkinen > wrote: > > On Wed, Jun 08, 2016 at 04:00:17PM -0700, Ed Swierk wrote: > >> Some TPM chips report bogus command durations in their capabilities, > >> just as others report incorrect timeo

[PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs

2016-06-10 Thread Haiyang Zhang
This script helps to create bonding network devices based on synthetic NIC (the virtual network adapter usually provided by Hyper-V) and the matching VF NIC (SRIOV virtual function). So the synthetic NIC and VF NIC can function as one network device, and fail over to the synthetic NIC if VF is down

[tip:irq/core] genirq: Remove redundant NULL check of irq_desc

2016-06-10 Thread tip-bot for Jianyu Zhan
Commit-ID: fe3464ca8710012a247bb4586dde21b080f88514 Gitweb: http://git.kernel.org/tip/fe3464ca8710012a247bb4586dde21b080f88514 Author: Jianyu Zhan AuthorDate: Sat, 19 Mar 2016 21:59:19 +0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Jun 2016 17:07:49 +0200 genirq: Remove redundant

[tip:irq/core] genirq: Remove unnecessary memset() calls

2016-06-10 Thread tip-bot for Weongyo Jeong
Commit-ID: ff5b706f5189fe8d2a6fd576b491b769ec1d29d3 Gitweb: http://git.kernel.org/tip/ff5b706f5189fe8d2a6fd576b491b769ec1d29d3 Author: Weongyo Jeong AuthorDate: Thu, 31 Mar 2016 12:15:03 -0700 Committer: Thomas Gleixner CommitDate: Fri, 10 Jun 2016 17:07:50 +0200 genirq: Remove unneces

Re: [PATCH v2 1/2] dt-bindings: add Starry KR122EA0SRA panel binding

2016-06-10 Thread Doug Anderson
Rob, On Fri, Jun 10, 2016 at 11:43 AM, Rob Clark wrote: > On Fri, Jun 10, 2016 at 1:02 PM, Douglas Anderson > wrote: >> The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected >> using eDP interfaces. > > so drive-by comment... but shouldn't eDP be probe-able? Not sure why > we ne

Re: [PATCH v4 16/44] infiniband: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Bart Van Assche
On 06/10/2016 03:11 AM, Krzysztof Kozlowski wrote: Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Please rename 'attrs' into 'dma_attrs' in this patch such that it remains clear that that variable refers to DMA attributes. Thanks, Bart.

Re: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-10 Thread Kalle Valo
Javier Martinez Canillas writes: >> This patch (2/3) is only for code rearrangement and adds an >> unnecessary wrapper function. We can simply drop the patch. > > Agreed. > > Kalle, > > Patch 3/3 applies cleanly even after dropping patch 2/3. > Is that Ok for you or do you want me to re-resend a

[PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Tomasz Nowicki
>From the functionality point of view this series may be split into the following logic parts: 1. Export ECAM API and add parent device to pci_config_window 2. Add IO resources handling to PCI core code 3. New MCFG driver 4. Cleanups and support for generic domain assignment based on ACPI 5. Implem

[PATCH V9 01/11] PCI/ECAM: Move ecam.h to linux/include/pci-ecam.h

2016-06-10 Thread Tomasz Nowicki
From: Jayachandran C This header will be used from arch/arm64 for ACPI PCI implementation so it needs to be moved out of drivers/pci. Update users of the header file to use the new name. No functional changes. Signed-off-by: Jayachandran C Acked-by: Lorenzo Pieralisi --- drivers/pci/ecam.c

[PATCH V9 11/11] ARM64/PCI: Support for ACPI based PCI host controller

2016-06-10 Thread Tomasz Nowicki
Implement pci_acpi_scan_root and other arch-specific call so that ARM64 can start using ACPI to setup and enumerate PCI buses. Prior to buses enumeration the pci_acpi_scan_root() implementation looks for configuration space start address (obtained through ACPI _CBA method or MCFG interface). If su

[PATCH V9 08/11] ARM64/PCI: Add ACPI hook to assign domain number

2016-06-10 Thread Tomasz Nowicki
PCI core code provides a config option (CONFIG_PCI_DOMAINS_GENERIC) that allows assigning the PCI bus domain number generically by relying on device tree bindings, and falling back to a simple counter when the respective DT properties (ie "linux,pci-domain") are not specified in the host bridge dev

[PATCH V9 10/11] ARM64/PCI: Implement ACPI low-level calls to access PCI_Config region from AML

2016-06-10 Thread Tomasz Nowicki
ACPI spec6.1 - chapter: 5.5.2.4 defines OperationRegion (Declare Operation Region). Following the spec: " [...] An Operation Region is a specific region of operation within an address space that is declared as a subset of the entire address space using a starting address (offset) and a length. Cont

[PATCH V9 09/11] ARM64/PCI: ACPI support for legacy IRQs parsing and consolidation with DT code

2016-06-10 Thread Tomasz Nowicki
To enable PCI legacy IRQs on platforms booting with ACPI, arch code should include ACPI specific callbacks that parse and set-up the device IRQ number, equivalent to the DT boot path. Owing to the current ACPI core scan handlers implementation, ACPI PCI legacy IRQs bindings cannot be parsed at devi

[PATCH V9 05/11] ACPI/PCI: Add generic MCFG table handling

2016-06-10 Thread Tomasz Nowicki
According to PCI firmware specifications, on systems booting with ACPI, PCI configuration for a host bridge must be set-up through the MCFG table regions for non-hotpluggable bridges and _CBA method for hotpluggable ones. Current MCFG table handling code, as implemented for x86, cannot be easily g

[PATCH V9 07/11] PCI: Factor DT specific pci_bus_find_domain_nr() code out

2016-06-10 Thread Tomasz Nowicki
pci_bus_find_domain_nr() retrieves the host bridge domain number in a DT specific way. Factor our pci_bus_find_domain_nr() in a separate DT function (ie of_pci_bus_find_domain_nr()) so that DT code is self contained, paving the way for retrieving domain number in pci_bus_find_domain_nr() with addit

[PATCH V9 02/11] PCI/ECAM: Add parent device field to pci_config_window

2016-06-10 Thread Tomasz Nowicki
From: Jayachandran C Add a parent device field to struct pci_config_window. The parent is not saved now, but will be useful to save it in some cases. Specifically in case of ACPI for ARM64, it can be used to setup ACPI companion and domain. Since the parent dev is in struct pci_config_window now

[PATCH V9 06/11] PCI: Refactor generic bus domain assignment

2016-06-10 Thread Tomasz Nowicki
Change the way PCI bus domain number is assigned and improve function name to reflect what function does. No functional changes. Instead of assigning bus domain number inside of pci_bus_assign_domain_nr() simply return domain number and let pci_create_root_bus() do assignment. This way pci_create_

[PATCH V9 04/11] ACPI/PCI: Support IO resources when parsing PCI host bridge resources

2016-06-10 Thread Tomasz Nowicki
From: Jayachandran C Platforms that have memory mapped IO port (such as ARM64) need special handling for PCI I/O resources. For host bridge's resource probing case these resources need to be fixed up with pci_register_io_range()/pci_remap_iospace() etc. The same I/O resources need to be released

[PATCH V9 03/11] PCI: Add new function to unmap IO resources

2016-06-10 Thread Tomasz Nowicki
From: Sinan Kaya We need to release I/O resources so that the same I/O resources can be allocated again in pci_remap_iospace(), like in PCI hotplug removal scenario. Therefore implement new pci_unmap_iospace() call which unmaps I/O space as the symmetry to pci_remap_iospace(). Signed-off-by: Sin

Re: [PATCH net-next 4/8] net: dsa: mv88e6xxx: do not increment bus refcount

2016-06-10 Thread Vivien Didelot
Hi, Andrew Lunn writes: > On Wed, Jun 08, 2016 at 08:44:52PM -0400, Vivien Didelot wrote: >> The MDIO device probe and remove functions are respectively incrementing >> and decrementing the bus refcount themselves. Since these bus level >> actions are out of the device scope, remove them. > > I

[GIT PULL] Btrfs

2016-06-10 Thread Chris Mason
Hi Linus My for-linus-4.7 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.7 Has some fixes and some new self tests for btrfs. The self tests are usually disabled in the .config file (unless you're doing btrfs dev work), and this bunch is meant to find pr

Re: [PATCH v4 39/44] sparc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
On Fri, Jun 10, 2016 at 10:43:47AM -0700, David Miller wrote: > From: Krzysztof Kozlowski > Date: Fri, 10 Jun 2016 12:11:56 +0200 > > > Split out subsystem specific changes for easier reviews. This will be > > squashed with main commit. > > > > Signed-off-by: Krzysztof Kozlowski > > If you spl

Re: [PATCH net-next 4/8] net: dsa: mv88e6xxx: do not increment bus refcount

2016-06-10 Thread Andrew Lunn
On Fri, Jun 10, 2016 at 03:59:22PM -0400, Vivien Didelot wrote: > Hi, > > Andrew Lunn writes: > > > On Wed, Jun 08, 2016 at 08:44:52PM -0400, Vivien Didelot wrote: > >> The MDIO device probe and remove functions are respectively incrementing > >> and decrementing the bus refcount themselves. Sin

Re: [tip:x86/urgent] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-10 Thread Bjorn Helgaas
[+cc Matthew, Doug] On Fri, Jun 10, 2016 at 03:59:04PM +0200, Lukas Wunner wrote: > On Fri, Jun 10, 2016 at 02:59:57PM +0200, Ingo Molnar wrote: > > * Lukas Wunner wrote: > > > On Fri, Jun 10, 2016 at 01:58:45PM +0200, Ingo Molnar wrote: > > > > * Yinghai Lu wrote: > > > > > On 6/9/16, Lukas Wun

Re: [PATCH 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

2016-06-10 Thread Oleg Nesterov
On 06/09, Andy Lutomirski wrote: > > On Jun 6, 2016 3:21 PM, "Oleg Nesterov" wrote: > > > > On 06/01, Dmitry Safonov wrote: > > > > > > Note, that this will work only if application has changed it's CS. > > > > So, suppose it changes it's CS and crashes, > > > > > If the application does 32-bit sy

[NAK] [PATCH v4 00/29] Fixed issues raised by tglx, then move visorbus to drivers/virt

2016-06-10 Thread Kershner, David A
> -Original Message- > From: David Kershner [mailto:david.kersh...@unisys.com] > Sent: Wednesday, June 8, 2016 5:14 PM > To: cor...@lwn.net; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; Kershner, David A ; > gre...@linuxfoundation.org; Arfvidson, Erik ; > Sell, Timothy C ; hof...

[PATCH] staging: lustre: socklnd: remove typedefs

2016-06-10 Thread James Simmons
Remove all remaining typedefs in socklnd driver. Signed-off-by: James Simmons --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 302 ++-- .../staging/lustre/lnet/klnds/socklnd/socklnd.h| 209 +++--- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 200 ++

[PATCH] staging: lustre: o2iblnd: remove typedefs

2016-06-10 Thread James Simmons
Remove all remaining typedefs in o2iblnd driver. Signed-off-by: James Simmons --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 339 +- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 299 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 368 ++

Re: [PATCH 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

2016-06-10 Thread Andy Lutomirski
On Fri, Jun 10, 2016 at 1:07 PM, Oleg Nesterov wrote: > On 06/09, Andy Lutomirski wrote: >> >> On Jun 6, 2016 3:21 PM, "Oleg Nesterov" wrote: >> > >> > On 06/01, Dmitry Safonov wrote: >> > > >> > > Note, that this will work only if application has changed it's CS. >> > >> > So, suppose it changes

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
On Fri, Jun 10, 2016 at 04:49:47PM +0200, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 12:11:18PM +0200, Krzysztof Kozlowski wrote: > > The dma-mapping core and the implementations do not change the > > DMA attributes passed by pointer. Thus the pointer can point to const > > data. However

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 10:16:00PM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 10, 2016 at 04:49:47PM +0200, Luis R. Rodriguez wrote: > > On Fri, Jun 10, 2016 at 12:11:18PM +0200, Krzysztof Kozlowski wrote: > > > The dma-mapping core and the implementations do not change the > > > DMA attribute

Re: [PATCH net-next 7/8] net: dsa: mv88e6xxx: explicit compatible devices

2016-06-10 Thread Vivien Didelot
Hi, Andrew Lunn writes: > On Wed, Jun 08, 2016 at 08:44:55PM -0400, Vivien Didelot wrote: >> Thanks to the new device probing, we can explicit the exact switch model >> in the device tree. >> >> Name the driver "mv88e6xxx" and list all its compatible supported chips. > > No. This goes against t

Re: [PATCH net-next 8/8] net: dsa: mv88e6xxx: fail on mismatching probe

2016-06-10 Thread Vivien Didelot
Hi, Andrew Lunn writes: > On Wed, Jun 08, 2016 at 08:44:56PM -0400, Vivien Didelot wrote: >> Now that we have access at probe time to the chip info described in the >> device tree, check if the probed device matches the device node, >> otherwise warn the user and fail. > > What good is this? So

acpi: broken suspend to RAM with v4.7-rc1

2016-06-10 Thread Andrey Skvortsov
Hi, On my laptop (DELL Vostro 1500) in v4.7-rc1 is broken suspend to RAM. Laptop doesn't finish suspend to RAM process (disks are off, but WiFi and Power LEDs are still on). The only way to get it out of this state, is to turn the power off. I've bisected the issue to commit 66b1ed5aa8dd25 [ACPIC

Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-06-10 Thread Arnd Bergmann
On Thursday, May 26, 2016 2:18:03 PM CEST Sage Weil wrote: > Hi Linus, > > Please pull the following Ceph updates from > > git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus > > This changeset has a few main parts: > > * Ilya has finished a huge refactoring effort t

Re: [PATCH v2 00/38] Documentation/sphinx

2016-06-10 Thread Dave Airlie
On 11 June 2016 at 04:17, Daniel Vetter wrote: > On Thu, Jun 9, 2016 at 9:55 PM, Jonathan Corbet wrote: >> On Sat, 4 Jun 2016 14:37:01 +0300 >> Jani Nikula wrote: >> >>> When this lands in docs-next and we can backmerge to drm, we'll plunge >>> ahead and convert gpu.tmpl to rst, and have that r

[PATCH 2/4] coccicheck: enable paramap support

2016-06-10 Thread Luis R. Rodriguez
Coccinelle has had paramap support since 1.0.2, this means it supports --jobs, enabling built-in multithreaded functionality, instead of needing one to script it out. Just look for --jobs in the help output to determine if this is supported. Also enable the load balancing to be dynamic, so that if

[PATCH 0/4] scripts/coccicheck: add paramap and indexing options

2016-06-10 Thread Luis R. Rodriguez
coccicheck hasn't been updated for a while. The backports project has been using some features for a while now that we should be able to also take advantage of with coccicheck, the most important one is paramap support. glimpseindex stuff wasn't even building but today I decided to go tackle and f

[PATCH 3/4] scripts: add glimpse.sh for indexing the kernel

2016-06-10 Thread Luis R. Rodriguez
Glimpse is a tool you can use to index the kernel. The tool was recently open sourced under the ISC license and can be obtained at: https://github.com/mcgrof/glimpse.git Signed-off-by: Luis R. Rodriguez --- scripts/glimpse.sh | 12 1 file changed, 12 insertions(+) create mode 1007

[PATCH 1/4] coccicheck: move spatch binary check up

2016-06-10 Thread Luis R. Rodriguez
This has no functional changes. This is being done to enable us to later use spatch binary for some flag checking for certain features early on. Signed-off-by: Luis R. Rodriguez --- scripts/coccicheck | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cocciche

[PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
Enable indexing optimizations heuristics. Coccinelle has support to make use of its own enhanced "grep" mechanisms instead of using regular grep for searching code 'coccigrep', in practice though this seems to not perform better than regular grep however its expected to help with some use cases so

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
On Fri, Jun 10, 2016 at 10:23:47PM +0200, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 10:16:00PM +0200, Krzysztof Kozlowski wrote: > > On Fri, Jun 10, 2016 at 04:49:47PM +0200, Luis R. Rodriguez wrote: > > > On Fri, Jun 10, 2016 at 12:11:18PM +0200, Krzysztof Kozlowski wrote: > > > > The dma

Re: [PATCH v3] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-06-10 Thread Rob Herring
On Wed, Jun 1, 2016 at 10:14 PM, Vinay Simha BN wrote: > Add support for the JDI lt070me05000 WUXGA DSI panel used in > Nexus 7 2013 devices. Sorry for the late comment. [...] > +static const struct drm_display_mode default_mode = { > + .clock = 155493, > + .hdisplay

Re: [PATCH V9 06/11] PCI: Refactor generic bus domain assignment

2016-06-10 Thread Lorenzo Pieralisi
On Fri, Jun 10, 2016 at 09:55:14PM +0200, Tomasz Nowicki wrote: > Change the way PCI bus domain number is assigned and improve function > name to reflect what function does. No functional changes. > > Instead of assigning bus domain number inside of pci_bus_assign_domain_nr() > simply return domai

Re: [PATCH V9 07/11] PCI: Factor DT specific pci_bus_find_domain_nr() code out

2016-06-10 Thread Lorenzo Pieralisi
On Fri, Jun 10, 2016 at 09:55:15PM +0200, Tomasz Nowicki wrote: > pci_bus_find_domain_nr() retrieves the host bridge domain number in a DT > specific way. Factor our pci_bus_find_domain_nr() in a separate DT s/our/out > function (ie of_pci_bus_find_domain_nr()) so that DT code is self > contained

Re: [PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Clemens Gruber
Hi Andrew, On Fri, Jun 10, 2016 at 08:38:57PM +0200, Andrew Lunn wrote: > On Fri, Jun 10, 2016 at 07:42:52PM +0200, Clemens Gruber wrote: > > Configuring the PHY LED registers for the Marvell 88E1510 and others is > > not possible, because regardless of the values in marvell,reg-init, it > > is la

Re: [PATCH 1/2] rxrpc: Trim line-terminal whitespace [ver #2]

2016-06-10 Thread David Howells
David Miller wrote: > There is a clear, documented, way to do this properly with your > patches themselves. Put it in the Subject line: > > Subject: "[PATCH net-next 1/2] rxrpc: ..." Hmmm... so there is. I don't remember seeing the netdev-FAQ appear. I wonder how to make stgit do this.

Re: [PATCH V9 10/11] ARM64/PCI: Implement ACPI low-level calls to access PCI_Config region from AML

2016-06-10 Thread Lorenzo Pieralisi
On Fri, Jun 10, 2016 at 09:55:18PM +0200, Tomasz Nowicki wrote: > ACPI spec6.1 - chapter: 5.5.2.4 defines OperationRegion (Declare Operation > Region). Following the spec: " [...] An Operation Region is a specific > region of operation within an address space that is declared as a subset > of the e

Re: [PATCH] nfsd: Close a race between access checking/setting in nfs4_get_vfs_file

2016-06-10 Thread J . Bruce Fields
On Fri, Jun 10, 2016 at 06:50:33AM -0400, Jeff Layton wrote: > On Fri, 2016-06-10 at 00:18 -0400, Oleg Drokin wrote: > > On Jun 9, 2016, at 5:01 PM, Oleg Drokin wrote: > > > > > Currently there's an unprotected access mode check in > > > nfs4_upgrade_open > > > that then calls nfs4_get_vfs_file wh

[PATCH 1/2] f2fs: check only data or node for summary

2016-06-10 Thread Jaegeuk Kim
We can check data or node types only for gc, since we allocate different type of data/node blocks in a different logs occasionally. Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index e1d274c..c2c4ac3

[PATCH 2/2] f2fs: report error for f2fs_parent_dir

2016-06-10 Thread Jaegeuk Kim
If there is no dentry, we can report its error correctly. Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 78efe00..618829e 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > Enable indexing optimizations heuristics. Coccinelle has > support to make use of its own enhanced "grep" mechanisms > instead of using regular grep for searching code 'coccigrep', > in practice though this seems to not perform better than > regula

[PATCH 1/1] selinuxfs: fix type mismatch

2016-06-10 Thread Heinrich Schuchardt
avc_cache_threshold is of type unsigned int. Do not use a signed new_value in sscanf(page, "%u", &new_value). Signed-off-by: Heinrich Schuchardt --- security/selinux/selinuxfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/selinuxfs.c b/security/selinux/s

Re: [PATCH 0/2 v2] drm: rcar-du: EPROBE_DEFER case doesn't need error message

2016-06-10 Thread Laurent Pinchart
Hi Morimoto-san, On Wednesday 25 May 2016 00:38:48 Kuninori Morimoto wrote: > Hi David, Laurent > > These removes unneeded error message from Renesas DU driver. > Current this unneeded error message makes user confuse. Thank you for the patches. For both of them, Reviewed-by: Laurent Pinchart

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 10:44:19PM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 10, 2016 at 10:23:47PM +0200, Luis R. Rodriguez wrote: > > On Fri, Jun 10, 2016 at 10:16:00PM +0200, Krzysztof Kozlowski wrote: > > > The dma-attrs in current form were added around 2008 in 74bc7ceebfa1 > > > ("dma:

Re: [PATCH] phy: marvell: remove LED config override

2016-06-10 Thread Andrew Lunn
> We could move that 0x30 LED configuration to .config_init instead of > .config_aneg, so that if nobody configures it with marvell,reg-init, the > behavior does not change. I'd have to create a new .config_init function > for the 1121, 1318 and 1510. > > Would you prefer that? Hi Clemens Yes, i

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > Enable indexing optimizations heuristics. Coccinelle has > > support to make use of its own enhanced "grep" mechanisms > > instead of using regular grep for searching code 'coc

Re: acpi: broken suspend to RAM with v4.7-rc1

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:32:10 PM Andrey Skvortsov wrote: > > --IS0zKkzwUGydFO0o > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hi, > > On my laptop (DELL Vostro 1500) in v4.7-rc1 is broken suspend to RAM. > Laptop doe

Re: [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime functions when not needed.

2016-06-10 Thread Ivaylo Dimitrov
On 10.06.2016 13:22, Tony Lindgren wrote: OK. And I just applied the related dts changes. Please repost the driver changes and DT binding doc with Rob's ack to the driver maintainers to apply. Already did, see https://lkml.org/lkml/2016/5/16/429 Shall I do anything else? Thanks, Ivo

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:02:38PM +0200, Julia Lawall wrote: > > > > > > On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > > > > > Enable indexing optimizations heuristics. Coccinelle has > > > support to make use of its own enhanced "grep" mecha

[PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 0/3] LSM: module hierarchy in /proc/.../attr Create interfaces that make it possible to deal with process attributes in the face of multiple "major" security modules. Patch 1/3 adds /sys/kernel/security/lsm, which provides a list of the active security modules on the system.

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Friday, June 10, 2016 11:09:22 AM Kees Cook wrote: > On Thu, Jun 9, 2016 at 9:14 PM, Logan Gunthorpe wrote: > > Hey, > > > > I've still be trying to figure this out as I have time. > > > > I tried printing a couple restore addresses and nothing I can find seems > > anywhere near the rodata/ex_t

[PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 1/3] LSM: Add /sys/kernel/security/lsm I got tired of having to find indirect ways to determine what security modules are active on a system. I have added /sys/kernel/security/lsm, which contains a comma separated list of the active security modules. No more groping around in /p

[PATCH v3 3/3] LSM: Add context interface for proc attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 3/3] LSM: Add context interface for proc attrs The /proc/.../attr/current interface is used by all three Linux security modules (SELinux, Smack and AppArmor) to report and modify the process security attribute. This is all fine when there is exactly one of these modules active a

[PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-10 Thread Casey Schaufler
Subject: [PATCH v3 2/3] LSM: module hierarchy in /proc/.../attr Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a si

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-06-10 Thread Jason Baron
On 06/10/2016 05:54 AM, Arnd Bergmann wrote: > On Friday, May 20, 2016 5:16:36 PM CEST Jason Baron wrote: >> Although dynamic debug is often only used for debug builds, sometimes its >> enabled for production builds as well. Minimize its impact by using jump >> labels. This reduces the text section

[PATCH net-next] rxrpc: Trim line-terminal whitespace

2016-06-10 Thread David Howells
Trim line-terminal whitespace in net/rxrpc/ Signed-off-by: David Howells --- net/rxrpc/ar-input.c |2 +- net/rxrpc/ar-local.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index d7c2a0bc839e..e0815a033999 100644 --- a/n

[PATCH net-next] rxrpc: Limit the listening backlog

2016-06-10 Thread David Howells
Limit the socket incoming call backlog queue size so that a remote client can't pump in sufficient new calls that the server runs out of memory. Note that this is partially theoretical at the moment since whilst the number of calls is limited, the number of packets trying to set up new calls is no

<    2   3   4   5   6   7   8   9   >