Re: [GIT PULL net-next] rxrpc: Improve conn/call lookup and fix call number generation [ver #3]

2016-07-08 Thread David Howells
David Miller wrote: > > Can you pull this into net-next please? > > I'll pull, but this is not how I want you to operate. > > If you change stuff, you must repost the entire series. And this is > one of many reasons I want people to keep patch sets small, so that > this is less painful. > > B

Re: [PATCH 1/2] tty: amba-pl011: add support for clock frequency setting via dt

2016-07-08 Thread Jorge Ramirez
On 07/09/2016 02:43 AM, Stephen Boyd wrote: On 07/08/2016 05:23 PM, Michael Turquette wrote: Quoting Jorge Ramirez (2016-07-08 14:39:50) On 07/08/2016 07:14 PM, Michael Turquette wrote: Quoting Jorge Ramirez-Ortiz (2016-07-08 01:11:06) Allow to specify the clock frequency for any given port v

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support

2016-07-08 Thread Valdis . Kletnieks
On Sat, 09 Jul 2016 15:58:20 +1000, Michael Ellerman said: > I then get two hits, which may or may not be valid: > > [2.309556] usercopy: kernel memory overwrite attempt detected to > d3510028 (kernfs_node_cache) (64 bytes) > [2.309995] CPU: 7 PID: 2241 Comm: wait-for-root Not tai

Re: [PATCH v2 1/5] drivers: usb: chipidea: Add qoriq platform driver

2016-07-08 Thread kbuild test robot
Hi, [auto build test WARNING on phy/next] [also build test WARNING on v4.7-rc6 next-20160708] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rajesh-Bhagat/drivers-usb-chipidea-Add-qoriq

Re: [PATCH v2 1/5] drivers: usb: chipidea: Add qoriq platform driver

2016-07-08 Thread kbuild test robot
Hi, [auto build test WARNING on phy/next] [also build test WARNING on v4.7-rc6 next-20160708] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rajesh-Bhagat/drivers-usb-chipidea-Add-qoriq

Re: [PATCH v2 1/5] drivers: usb: chipidea: Add qoriq platform driver

2016-07-08 Thread kbuild test robot
Hi, [auto build test WARNING on phy/next] [also build test WARNING on v4.7-rc6 next-20160708] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rajesh-Bhagat/drivers-usb-chipidea-Add-qoriq

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread Andrew Vagin
On Fri, Jul 08, 2016 at 07:35:33AM -0700, James Bottomley wrote: > On Fri, 2016-07-08 at 02:44 -0500, Eric W. Biederman wrote: > > Andrew Vagin writes: > > > > > On Wed, Jul 06, 2016 at 10:46:33AM -0500, Eric W. Biederman wrote: > > > > "Serge E. Hallyn" writes: > > > > > > > > > On Wed, Jul 06

Re: divide error: 0000 [#1] SMP in task_numa_migrate - handle_mm_fault vanilla 4.4.6

2016-07-08 Thread Greg KH
On Thu, Jul 07, 2016 at 09:42:32AM +0200, Peter Zijlstra wrote: > On Thu, Jul 07, 2016 at 11:20:36AM +1200, Campbell Steven wrote: > > > > commit 8974189222159154c55f24ddad33e3613960521a > > > Author: Peter Zijlstra > > > Date: Thu Jun 16 10:50:40 2016 +0200 > > > Since these early reports fro

Re: [PATCH v2 00/13] Runtime PM for Thunderbolt on Macs

2016-07-08 Thread Greg KH
On Thu, Jul 07, 2016 at 07:39:12PM +0200, Andreas Noever wrote: > On Tue, Jun 14, 2016 at 10:22 PM, Bjorn Helgaas wrote: > > On Tue, Jun 14, 2016 at 09:14:27PM +0200, Andreas Noever wrote: > >> On Tue, Jun 14, 2016 at 6:37 PM, Bjorn Helgaas wrote: > >> > [+cc linux-kernel] > >> > > >> > On Sat, M

Re: [PATCH 4.6 00/31] 4.6.4-stable review

2016-07-08 Thread Greg Kroah-Hartman
On Thu, Jul 07, 2016 at 09:45:30PM -0600, Shuah Khan wrote: > On 07/06/2016 07:18 PM, Greg Kroah-Hartman wrote: > > --- > > Note, I'm on vacation this week, so I only took a few "easy" patches for > > the stable trees, due to me not having much time to debug anything here, > > a

[PATCH v2 0/5] drivers: usb: chipidea: Add qoriq platform

2016-07-08 Thread Rajesh Bhagat
Adds qoriq platform driver for chipidea controller as well as qoriq usb 2.0 phy driver. Also, enables chipidea driver and QorIQ USB 2.0 PHY driver on LS1021A platform. Rajesh Bhagat (5): drivers: usb: chipidea: Add qoriq platform driver usb: DT binding documentation for qoriq usb 2.0 controlle

[PATCH v2 2/5] usb: DT binding documentation for qoriq usb 2.0 controller

2016-07-08 Thread Rajesh Bhagat
Describes the qoriq usb 2.0 controller driver binding, currently used for LS1021A and LS1012A platform. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Adds DT binding documentation for qoriq usb 2.0 controller - Changed the compatible string to fsl,ci-qoriq-usb2 .../devicetree/bindings/us

[PATCH v2 3/5] drivers: usb: phy: Add qoriq usb 2.0 phy driver support

2016-07-08 Thread Rajesh Bhagat
Adds qoriq usb 2.0 phy driver support for LS1021A and LS1012A platform. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Replaced Freescale with QorIQ in comments section - Changed the compatible string to fsl,qoriq-usb2-phy and added version - Added dependency on ARCH_MXC/ARCH_LAYERSCAPE and

[PATCH v2 5/5] arm: dts: ls1021a: enable chipidea driver and USB 2.0 PHY driver

2016-07-08 Thread Rajesh Bhagat
This patch adds entries in dts to enable chipidea platform driver and USB 2.0 PHY driver. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Reworked for latest changes arch/arm/boot/dts/ls1021a.dtsi | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/bo

[PATCH v1] Specific requirement of type casting for 64-bit architectures.

2016-07-08 Thread Arvind Yadav
-Return type of 'qe_muram_alloc' is 'unsigned long', That Was trying to assigned in ucc_fast_tx_virtual_fifo_base_offset and ucc_fast_rx_virtual_fifo_base_offset. It will work on 32-bit architectures But data can be loss on 64-bit architectures if 'qe_muram_alloc' will return greater then MAX value

[PATCH v2 1/5] drivers: usb: chipidea: Add qoriq platform driver

2016-07-08 Thread Rajesh Bhagat
Adds qoriq platform driver for chipidea controller, verfied on LS1021A and LS1012A platforms. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Replaced Freescale with QorIQ in comments section - Added macros to remove hardcoding while programming registers - Changed the compatible string to f

[PATCH v2 4/5] phy: DT binding documentation for qoriq usb 2.0 phy

2016-07-08 Thread Rajesh Bhagat
Describes the qoriq usb 2.0 phy driver binding, currently used for LS1021A and LS1012A platform. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Adds DT binding documentation for qoriq usb 2.0 phy - Changed the compatible string to fsl,qoriq-usb2-phy .../devicetree/bindings/phy/qoriq-usb2-p

Re: [PATCH net-next] net: dsa: initialize the routing table

2016-07-08 Thread David Miller
From: Vivien Didelot Date: Wed, 6 Jul 2016 20:03:54 -0400 > The routing table of every switch in a tree is currently initialized to > all zeros. This is an issue since 0 is a valid port number. > > Add a DSA_RTABLE_NONE=-1 constant to initialize the signed values of the > routing table pointing

Re: [GIT PULL net-next] rxrpc: Improve conn/call lookup and fix call number generation [ver #3]

2016-07-08 Thread David Miller
From: David Howells Date: Wed, 06 Jul 2016 11:48:15 +0100 > Hi Dave, > > Can you pull this into net-next please? I'll pull, but this is not how I want you to operate. If you change stuff, you must repost the entire series. And this is one of many reasons I want people to keep patch sets small

Re: [PATCH net] r8152: remove the setting of LAN_WAKE_EN

2016-07-08 Thread David Miller
From: Hayes Wang Date: Wed, 6 Jul 2016 17:03:29 +0800 > The LAN_WAKE_EN is not used to determine if the device could support > WOL. It is used to sigal a GPIO pin when a WOL event occurs. The WOL > still works even though it is disabled. > > Signed-off-by: Hayes Wang Applied.

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-08 Thread Hanjun Guo
On 2016/7/8 21:22, Lorenzo Pieralisi wrote: On Thu, Jul 07, 2016 at 03:58:04PM +0200, Rafael J. Wysocki wrote: [...] Anyway let's avoid these petty arguments, I agree there must be some sort of ARM64 ACPI maintainership for the reasons you mentioned above. To avoid confusion on who's going t

Re: [PATCH net] net: mvneta: set real interrupt per packet for tx_done

2016-07-08 Thread David Miller
From: Marcin Wojtas Date: Wed, 6 Jul 2016 04:18:58 +0200 > From: Dmitri Epshtein > > Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to > set coalescing threshold to a value guaranteeing interrupt generation > per each sent packet, so that buffers can be released with no d

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Oleg Drokin
On Jul 8, 2016, at 11:10 PM, Al Viro wrote: > On Fri, Jul 08, 2016 at 05:47:22PM -0400, Oleg Drokin wrote: > >> I wonder if people just accept that "NFS is just weird" and code in >> workarounds, >> where as with Lustre we promise (almost) full POSIX compliance, and also >> came much later >>

Re: [PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-08 Thread William.wu
Dear Heiko & Balbi, On 2016/7/8 21:29, Felipe Balbi wrote: Hi, Heiko Stuebner writes: Am Donnerstag, 7. Juli 2016, 10:54:24 schrieb William Wu: Add a quirk to configure the core to support the UTMI+ PHY with an 8- or 16-bit interface. UTMI+ PHY interface is hardware property, and it's platf

Re: Introspecting userns relationships to other namespaces?

2016-07-08 Thread Eric W. Biederman
"W. Trevor King" writes: > On Thu, Jul 07, 2016 at 08:01:52AM -0700, James Bottomley wrote: >> In theory, we could get nsfs to show this information as an option >> (just add a show_options entry to the superblock ops), but the >> problem is that although each namespace has a parent user_ns, >> t

Re: [PATCH 4/6] irqchip: add irqchip driver for nuc900

2016-07-08 Thread Wan Zongshun
On 2016年06月29日 23:27, Arnd Bergmann wrote: On Saturday, June 25, 2016 6:37:20 PM CEST Wan Zongshun wrote: +#define IRQ_WDTW90X900_IRQ(1) +#define IRQ_WWDT W90X900_IRQ(2) +#define IRQ_LVDW90X900_IRQ(3) +#define IRQ_EXT0 W90X900_IRQ(4) +#define IRQ_EXT

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread Eric W. Biederman
James Bottomley writes: > On Fri, 2016-07-08 at 18:52 -0500, Eric W. Biederman wrote: >> James Bottomley writes: >> >> > On July 8, 2016 1:38:19 PM PDT, Andrew Vagin >> > wrote: >> >> > > What do you think about the idea to mount nsfs and be able to >> > > look up any alive namespace by inum

Re: Introspecting userns relationships to other namespaces?

2016-07-08 Thread W. Trevor King
On Thu, Jul 07, 2016 at 08:01:52AM -0700, James Bottomley wrote: > In theory, we could get nsfs to show this information as an option > (just add a show_options entry to the superblock ops), but the > problem is that although each namespace has a parent user_ns, > there's no way to get it without d

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Al Viro
On Fri, Jul 08, 2016 at 10:58:38PM -0400, Oleg Drokin wrote: > > When more than one condition applies, we have every right to return any of > > them. POSIX does *NOT* specify the order of checks. Never had. > > Out of curiosity, why does filename_create() delay EROFS then? QoI and historical b

Re: [PATCH RESEND net-next] netvsc: Use the new in-place consumption APIs in the rx path

2016-07-08 Thread David Miller
From: k...@exchange.microsoft.com Date: Tue, 5 Jul 2016 16:52:46 -0700 > From: K. Y. Srinivasan > > Use the new APIs for eliminating a copy on the receive path. These new APIs > also > help in minimizing the number of memory barriers we end up issuing (in the > ringbuffer code) since we can be

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Al Viro
On Fri, Jul 08, 2016 at 05:47:22PM -0400, Oleg Drokin wrote: > I wonder if people just accept that "NFS is just weird" and code in > workarounds, > where as with Lustre we promise (almost) full POSIX compliance, and also came > much later > so people are just seeing that "this does not work" and

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-08 Thread Hanjun Guo
On 2016/7/7 21:58, Rafael J. Wysocki wrote: On Thursday, July 07, 2016 02:40:23 PM Lorenzo Pieralisi wrote: [+Sudeep] On Thu, Jul 07, 2016 at 02:03:17PM +0200, Rafael J. Wysocki wrote: [...] So is this a documentation issue in which case Fu Wei can add that to the file to explain its limited

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Oleg Drokin
On Jul 8, 2016, at 10:52 PM, Al Viro wrote: > On Fri, Jul 08, 2016 at 11:59:50AM -0400, Oleg Drokin wrote: > >> "If path names a symbolic link, mkdir() shall fail and set errno to >> [EEXIST]." >> >> This sounds pretty straightforward to me, no? >> Since it does not matter that we do not have

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Al Viro
On Fri, Jul 08, 2016 at 11:59:50AM -0400, Oleg Drokin wrote: > "If path names a symbolic link, mkdir() shall fail and set errno to [EEXIST]." > > This sounds pretty straightforward to me, no? > Since it does not matter that we do not have write permissions here, because > the name already exists.

Re: [PATCH 0/9] mm: Hardened usercopy

2016-07-08 Thread Rik van Riel
On Fri, 2016-07-08 at 19:22 -0700, Laura Abbott wrote: >  > Even with the SLUB fixup I'm still seeing this blow up on my arm64 > system. This is a > Fedora rawhide kernel + the patches > > [0.666700] usercopy: kernel memory exposure attempt detected from > fc0008b4dd58 () (8 bytes) > [

Re: [tip:x86/debug] printk: Make the printk*once() variants return a value

2016-07-08 Thread Joe Perches
On Fri, 2016-07-08 at 05:08 -0700, tip-bot for Borislav Petkov wrote: > printk: Make the printk*once() variants return a value [] > diff --git a/include/linux/printk.h b/include/linux/printk.h [] > @@ -108,11 +108,14 @@ struct va_format { >   * Dummy printk for disabled debugging statements to use

Re: [PATCH] i2c: imx: add retries for i2c-0 on Ventana boards

2016-07-08 Thread Wolfram Sang
> > The issue I have is that the i2c device emulates several other devices > > with existing drivers (pca953x, ds1672, at24) and those drivers don't > > have any retry mechanism in place for a retry. > > > > Maybe if I converted those drivers to use regmap I could implement a > > regmap with retr

Re: [PATCH v1] Specific requirement of type casting for 64-bit architectures.

2016-07-08 Thread Guenter Roeck
On 07/08/2016 02:44 PM, Arvind Yadav wrote: I would really suggest to read section 14 of Documentation/SubmittingPatches and to follow the guidance it provides. For the subject line: The subsystem/driver is still not listed, and I am quite sure that this is not v1 of this patch. It also does not

Re: [f2fs-dev] [PATCH 3/7] f2fs: drop any block plugging

2016-07-08 Thread Chao Yu
Hi Jaegeuk, On 2016/6/9 1:24, Jaegeuk Kim wrote: > In f2fs, we don't need to keep block plugging for NODE and DATA writes, since > we already merged bios as much as possible. IMO, we can not remove block plug, this is because there are still many conditions which stops us merging r/w IOs into one

[PATCH v2 2/6] iommu/io-pgtable-arm: add support for the IOMMU_PRIV flag

2016-07-08 Thread Mitchel Humpherys
From: Jeremy Gebben Allow the creation of privileged mode mappings, for stage 1 only. Signed-off-by: Jeremy Gebben --- drivers/iommu/io-pgtable-arm.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/iommu/io-pgtable-arm.c b/drivers/iommu/io-pgtable-

[PATCH v2 3/6] Revert "iommu/arm-smmu: Treat all device transactions as unprivileged"

2016-07-08 Thread Mitchel Humpherys
This reverts commit d346180e70b9 ("iommu/arm-smmu: Treat all device transactions as unprivileged") since some platforms actually make use of privileged transactions. Signed-off-by: Mitchel Humpherys --- drivers/iommu/arm-smmu.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --gi

[PATCH v2 5/6] arm64/dma-mapping: Implement DMA_ATTR_PRIVILEGED_EXECUTABLE

2016-07-08 Thread Mitchel Humpherys
The newly added DMA_ATTR_PRIVILEGED_EXECUTABLE is useful for creating mappings that are executable by privileged DMA engines. Implement it in dma-iommu.c so that the ARM64 DMA IOMMU mapper can make use of it. Signed-off-by: Mitchel Humpherys --- arch/arm64/mm/dma-mapping.c | 6 +++--- drivers/

[PATCH v2 4/6] common: DMA-mapping: add DMA_ATTR_PRIVILEGED_EXECUTABLE attribute

2016-07-08 Thread Mitchel Humpherys
This patch adds the DMA_ATTR_PRIVILEGED_EXECUTABLE attribute to the DMA-mapping subsystem. Some architectures require that writable mappings also be non-executable at lesser-privileged levels of execution. This attribute is used to indicate to the DMA-mapping subsystem that it should do whatever

[PATCH v2 1/6] iommu: add IOMMU_PRIV attribute

2016-07-08 Thread Mitchel Humpherys
Add the IOMMU_PRIV attribute, which is used to indicate privileged mappings. Signed-off-by: Mitchel Humpherys --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 664683aedcce..01c9f2667f2b 100644 --- a/include/linux/io

[PATCH v2 0/6] Add support for privileged mappings

2016-07-08 Thread Mitchel Humpherys
The following patch to the ARM SMMU driver: commit d346180e70b91b3d5a1ae7e5603e65593d4622bc Author: Robin Murphy Date: Tue Jan 26 18:06:34 2016 + iommu/arm-smmu: Treat all device transactions as unprivileged started forcing all SMMU transactions to come through as

[PATCH v2 6/6] dmaengine: pl330: Make sure microcode is privileged-executable

2016-07-08 Thread Mitchel Humpherys
The PL330 can perform privileged instruction fetches. This can result in SMMU permission faults on SMMUs that implement the ARMv8 VMSA, which specifies that mappings that are writeable at one execution level shall not be executable at any higher-privileged level. Fix this by using the DMA_ATTR_PR

Re: [PATCH v2] printk: introduce suppress_message_printing()

2016-07-08 Thread Sergey Senozhatsky
On (06/27/16 22:50), Sergey Senozhatsky wrote: > Messages' levels and console log level are inspected when the > actual printing occurs, which may provoke console_unlock() and > console_cont_flush() to waste CPU cycles on every message that > has loglevel above the current console_loglevel. > > Sc

Re: [PATCH v2 2/2] x86/acpi: Remove the repeated lapic address override entry parsing

2016-07-08 Thread Baoquan He
Hi Ingo, On 07/08/16 at 02:27pm, Ingo Molnar wrote: > > * Baoquan He wrote: > > > ACPI MADT has a 32-bit field providing lapic address at which > > each processor can access its lapic information. MADT also contains > > an optional entry to provide a 64-bit address to override the 32-bit > > on

[PATCH v2 2/2] input: add ADC resistor ladder driver

2016-07-08 Thread Alexandre Belloni
A common way of multiplexing buttons on a single input in cheap devices is to use a resistor ladder on an ADC. This driver supports that configuration by polling an ADC channel provided by IIO. Signed-off-by: Alexandre Belloni --- Changes in v2: - removed dependency on COMPILE_TEST which is not

[PATCH v2 1/2] input: adc-keys: add DT binding documentation

2016-07-08 Thread Alexandre Belloni
Add documentation for ADC keys Signed-off-by: Alexandre Belloni --- Changes in v2: - fix title - use keyup-threshold-mvolt and press-threshold-mvolt instead of voltage-keyup-mvolt and voltage-mvolt. .../devicetree/bindings/input/adc-keys.txt | 45 ++ 1 file chan

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-07-08 Thread Stephen Boyd
On 07/08/2016 04:32 PM, Michael Turquette wrote: > --- > drivers/clk/clk.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 820a939fb6bb..70efe4c4e0cc 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -2

Re: [PATCH 1/2] tty: amba-pl011: add support for clock frequency setting via dt

2016-07-08 Thread Stephen Boyd
On 07/08/2016 05:23 PM, Michael Turquette wrote: > Quoting Jorge Ramirez (2016-07-08 14:39:50) >> On 07/08/2016 07:14 PM, Michael Turquette wrote: >>> Quoting Jorge Ramirez-Ortiz (2016-07-08 01:11:06) Allow to specify the clock frequency for any given port via the assigned-clock-rates dev

Re: [PATCH] intel_pstate: Fix MSR_CONFIG_TDP_x addressing in core_get_max_pstate

2016-07-08 Thread Rafael J. Wysocki
On Friday, July 08, 2016 12:39:07 PM Srinivas Pandruvada wrote: > On Fri, 2016-07-08 at 20:42 +0200, Jan Kiszka wrote: > > If MSR_CONFIG_TDP_CONTROL is locked, we currently try to address some > > MSR 0x8648 or so. Mask out the relevant level bits 0 and 1. > > > > Found while running over the

Re: [PATCH] Input: /input/mouse/elan_i2c_core.c Fix some Asus touchapod which casue TP no funciton sometimes, the patch detect some specific touchpad and run a special initialize

2016-07-08 Thread Dmitry Torokhov
Hi KT, On Fri, Jul 08, 2016 at 08:12:09PM +0800, KT Liao wrote: > Signed-off-by: KT Liao Please make sure you add a blan line between change subject and the rest of description. Then git send-email will compose your email properly instead of lumping everything into one long line subject. > ---

Re: [PATCH 1/2] tty: amba-pl011: add support for clock frequency setting via dt

2016-07-08 Thread Michael Turquette
Quoting Jorge Ramirez (2016-07-08 14:39:50) > On 07/08/2016 07:14 PM, Michael Turquette wrote: > > Quoting Jorge Ramirez-Ortiz (2016-07-08 01:11:06) > >> Allow to specify the clock frequency for any given port via the > >> assigned-clock-rates device tree property. > >> > >> Signed-off-by: Jorge Ra

Re: [PATCH net] udp: prevent bugcheck if filter truncates packet too much

2016-07-08 Thread Alexei Starovoitov
On Sat, Jul 09, 2016 at 01:31:40AM +0200, Eric Dumazet wrote: > On Fri, 2016-07-08 at 17:52 +0200, Michal Kubecek wrote: > > If socket filter truncates an udp packet below the length of UDP header > > in udpv6_queue_rcv_skb() or udp_queue_rcv_skb(), it will trigger a > > BUG_ON in skb_pull_rcsum().

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread James Bottomley
On Fri, 2016-07-08 at 18:52 -0500, Eric W. Biederman wrote: > James Bottomley writes: > > > On July 8, 2016 1:38:19 PM PDT, Andrew Vagin > > wrote: > > > > What do you think about the idea to mount nsfs and be able to > > > look up any alive namespace by inum: > > > > I think I like it. It w

Re: [PATCH] device-tree: nexus7: Set phy mode to otg instead of host

2016-07-08 Thread John Stultz
On Fri, Jul 1, 2016 at 10:33 PM, John Stultz wrote: > In order to have the usb phy work in gadget mode, override > the default host mode with otg mode. > > This allows gadget mode to work w/o any hacks to the dtsi file. Ping? thanks -john

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread Eric W. Biederman
James Bottomley writes: > On July 8, 2016 1:38:19 PM PDT, Andrew Vagin wrote: >>What do you think about the idea to mount nsfs and be able to look up >>any alive namespace by inum: > > I think I like it. It will give us a way to enter any extant > namespace. It will work for Eric's fs namespa

Re: [PATCH net-next 6/9] net: dsa: mv88e6xxx: rework Switch MAC setter

2016-07-08 Thread Vivien Didelot
Hi Andrew, On Jul 7, 2016, at 9:52 AM, Andrew Lunn and...@lunn.ch wrote: >> Also, note that this indirect access is a single-register which doesn't >> require to wait for the operation to complete (like Switch MAC, Trunk >> Mapping, etc.), in contrary to multi-registers indirect accesses with >>

Re: [PATCH 4/4] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-07-08 Thread Frederic Weisbecker
On Fri, Jul 08, 2016 at 11:56:49AM -0400, Rik van Riel wrote: > On Fri, 2016-07-08 at 16:34 +0200, Paolo Bonzini wrote: > > I'm looking at an upstream tree, without your patches applied, > > but it seems to me that irqtime_account_irq is always called with > > interrupts disabled: > > > > irqtime_

Re: [PATCH] rpaphp: fix slot registration for multiple slots under a PHB

2016-07-08 Thread Nathan Fontenot
On 07/08/2016 06:19 PM, Tyrel Datwyler wrote: > PowerVM seems to only ever provide a single hotplug slot per PHB. > The under lying slot hotplug registration code assumed multiple slots, > but the actual implementation is broken for multiple slots. This went > unnoticed for years due to the nature

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-07-08 Thread Michael Turquette
Hi James, Quoting James Liao (2016-07-03 20:51:48) > On Fri, 2016-07-01 at 18:21 -0700, Stephen Boyd wrote: > > (Resending to everyone) > > > > On 06/22, Erin Lo wrote: > > > From: James Liao > > > > > > This patch fixed wrong state of parent clocks if they are registered > > > after critical c

Re: [PATCH net] udp: prevent bugcheck if filter truncates packet too much

2016-07-08 Thread Eric Dumazet
On Fri, 2016-07-08 at 17:52 +0200, Michal Kubecek wrote: > If socket filter truncates an udp packet below the length of UDP header > in udpv6_queue_rcv_skb() or udp_queue_rcv_skb(), it will trigger a > BUG_ON in skb_pull_rcsum(). This BUG_ON (and therefore a system crash if > kernel is configured t

Re: [RFT PATCH v5 3/3] KVM: nVMX: keep preemption timer enabled during L2 execution

2016-07-08 Thread yunhong jiang
On Fri, 8 Jul 2016 17:39:22 -0400 (EDT) Paolo Bonzini wrote: > > > > > @@ -10727,8 +10732,14 @@ static void nested_vmx_vmexit(struct > > > > > kvm_vcpu *vcpu, u32 exit_reason, > > > > > load_vmcs12_host_state(vcpu, vmcs12); > > > > > > > > > > - /* Update TSC_OFFSET if TSC was changed

[PATCH] rpaphp: fix slot registration for multiple slots under a PHB

2016-07-08 Thread Tyrel Datwyler
PowerVM seems to only ever provide a single hotplug slot per PHB. The under lying slot hotplug registration code assumed multiple slots, but the actual implementation is broken for multiple slots. This went unnoticed for years due to the nature of PowerVM as mentioned previously. Under qemu/kvm the

Re: [PATCH v3 3/7] ACPI / device_sysfs: make use of new strtolower() function

2016-07-08 Thread Rafael J. Wysocki
On Friday, July 08, 2016 03:43:10 PM Markus Mayer wrote: > Call strtolower() rather than walking the string explicitly to convert > it to lowercase. > > Signed-off-by: Markus Mayer > --- > > Rafael, I left off your ACK, since the implementation of my function > changed somewhat (doesn't check th

We shear 50-50

2016-07-08 Thread Bun Sam
My dear good friend, I work with one of the major banks in Cambodia as the director of audit. I have a proposal for you, a very urgent and quick business that will be completed in 12 working days. I have just discovered documents relating to funds belonging to a deceased client of our bank, I

[PATCH] sparc: round fault_address down to a page boundary

2016-07-08 Thread Mikulas Patocka
Hi There is a bug in kernels 3.19-4.6 on sparc64: when creating pixmaps in Xserver's memory, pixmaps get corrupted with horizontal black lines. See for example this screenshot: http://people.redhat.com/~mpatocka/screenshots/screenshot-20160708_1944.png The bug is introduced by the patch e5a4b0bb8

Re: [PATCH] Revert "net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings"

2016-07-08 Thread Florian Fainelli
On 07/08/2016 03:54 PM, Philippe Reynes wrote: > This reverts commit 4386f5662e63 ("net: ethernet: bcmgenet: use > phy_ethtool_{get|set}_link_ksettings") > > This patch is wrong, the function phy_ethtool_{get|set}_link_ksettings > don't check if the device is running, but the driver bcmgenet need

Re: [PATCH v4 2/2] KVM: nVMX: Fix preemption timer bit set in vmcs02 even if L1 doesn't enable it

2016-07-08 Thread Wanpeng Li
2016-07-08 23:47 GMT+08:00 Paolo Bonzini : > > > On 08/07/2016 16:08, Wanpeng Li wrote: >> 2016-07-08 21:58 GMT+08:00 Wanpeng Li : >>> We can't get preemption timer vmexit which vmcs02 is loaded since >>> preemtion timer bit in vmcs02 is not set, then how can we get the >>> incorrect preemption tim

[PATCH] Revert "net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings"

2016-07-08 Thread Philippe Reynes
This reverts commit 4386f5662e63 ("net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings") This patch is wrong, the function phy_ethtool_{get|set}_link_ksettings don't check if the device is running, but the driver bcmgenet need this check. The function {get|set}_settings need to acce

Re: [PATCH v2 0/6] net: ethernet: bgmac: Add platform device support

2016-07-08 Thread David Miller
From: Jon Mason Date: Fri, 8 Jul 2016 11:52:42 -0400 > Oops. I didn't send out the 7th patch in this series. Sending out > shortly as 7/7. Please don't do things like this. If there is a mistake, always resend the entire series as a completely new set of postings. That way there is never any

[PATCH v3 7/7] power_supply: make use of new strcpytoupper() function

2016-07-08 Thread Markus Mayer
Call strcpytoupper() rather than walking the string explicitly to convert it to uppercase. Signed-off-by: Markus Mayer --- drivers/power/power_supply_sysfs.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/powe

[PATCH v3 6/7] drm/nouveau/fifo/gk104: make use of new strcpytoupper() function

2016-07-08 Thread Markus Mayer
Call strcpytoupper() rather than copying the string explicitly and then walking it to convert it to uppercase. Signed-off-by: Markus Mayer --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/eng

[PATCH v3 2/7] drm/nouveau/core: make use of new strlcpytolower() function

2016-07-08 Thread Markus Mayer
Call strlcpytolower() rather than copying the string explicitly and then walking it to convert it to lowercase. Signed-off-by: Markus Mayer --- The semantics of the new function has changed, so this patch has been updated since v2 to match the new strlcpy() semantics (no explicit NULL terminatin

[PATCH v3 1/7] lib: string: add functions to case-convert strings

2016-07-08 Thread Markus Mayer
Add a collection of generic functions to convert strings to lowercase or uppercase. Changing the case of a string (with or without copying it first) seems to be a recurring requirement in the kernel that is currently being solved by several duplicated implementations doing the same thing. This cha

[PATCH v3 3/7] ACPI / device_sysfs: make use of new strtolower() function

2016-07-08 Thread Markus Mayer
Call strtolower() rather than walking the string explicitly to convert it to lowercase. Signed-off-by: Markus Mayer --- Rafael, I left off your ACK, since the implementation of my function changed somewhat (doesn't check the argument NULL, doesn't return anything). Please let me know if you are

[PATCH v3 5/7] iscsi-target: replace iscsi_initiatorname_tolower() with strtolower()

2016-07-08 Thread Markus Mayer
After introducing generic strtolower(), iscsi_initiatorname_tolower() is no longer needed. Signed-off-by: Markus Mayer --- drivers/target/iscsi/iscsi_target_nego.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/dr

[PATCH v3 0/7] lib: string: add functions to case-convert strings

2016-07-08 Thread Markus Mayer
This series introduces a family of generic string case conversion functions. This kind of functionality is needed in several places in the kernel. Right now, everybody seems to be implementing their own copy of this functionality. Based on the discussion of the previous version of this series[1] a

[PATCH v3 4/7] staging: speakup: replace spk_strlwr() with strlcpytolower()

2016-07-08 Thread Markus Mayer
After introducing generic strltolower() and strtolower(), spk_strlwr() is no longer needed. Signed-off-by: Markus Mayer --- Samuel, I left off your ACK, since the implementation of my function changed in v2 and again in v3. This patch has been updated to match the new strlcpy() semantics. Here,

[PATCH] media: s5p-mfc fix invalid memory access from s5p_mfc_release()

2016-07-08 Thread Shuah Khan
If s5p_mfc_release() runs after s5p_mfc_remove(), the former will access invalid s5p_mfc_dev pointer saved in the s5p_mfc_ctx and runs into kernel paging request errors. Clear ctx dev pointer in s5p_mfc_remove() and change s5p_mfc_release() to avoid work that requires ctx->dev. odroid kernel: Una

hello linux

2016-07-08 Thread kullstj_ml
good morning linux http://polj.uns.ac.rs/medicine.php?hit=zxw16hm3dyge1x6 kullstj_ml

Re: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc()

2016-07-08 Thread J Freyensee
On Wed, 2016-07-06 at 12:02 +, weiyj...@163.com wrote: > From: Wei Yongjun > > In case of error, the function kstrndup() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Signed-off-by: Wei Yongjun Looks good and inli

Re: [RFC][PATCH 1/7] perf/x86/intel: Rework the large PEBS setup code

2016-07-08 Thread Peter Zijlstra
On Sat, Jul 09, 2016 at 12:00:47AM +0200, Peter Zijlstra wrote: > Yes, you're right. Let me try and see if I can make that better. Something like so? --- --- a/arch/x86/events/intel/ds.c +++ b/arch/x86/events/intel/ds.c @@ -831,6 +831,18 @@ static inline void pebs_update_threshold ds->peb

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread James Bottomley
On July 8, 2016 1:38:19 PM PDT, Andrew Vagin wrote: >On Fri, Jul 08, 2016 at 07:35:33AM -0700, James Bottomley wrote: >> On Fri, 2016-07-08 at 02:44 -0500, Eric W. Biederman wrote: >> > Andrew Vagin writes: >> > >> > > On Wed, Jul 06, 2016 at 10:46:33AM -0500, Eric W. Biederman >wrote: >> > > >

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-08 Thread James Bottomley
On July 8, 2016 1:38:19 PM PDT, Andrew Vagin wrote: >On Fri, Jul 08, 2016 at 07:35:33AM -0700, James Bottomley wrote: >> On Fri, 2016-07-08 at 02:44 -0500, Eric W. Biederman wrote: >> > Andrew Vagin writes: >> > >> > > On Wed, Jul 06, 2016 at 10:46:33AM -0500, Eric W. Biederman >wrote: >> > > >

[PATCH] backlight: adp5520: fix error handling in adp5520_bl_probe()

2016-07-08 Thread Alexey Khoroshilov
If adp5520_bl_setup() fails, sysfs group left unremoved. By the way, fix overcomplicated assignement of error code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/video/backlight/adp5520_bl.c | 12 ++-- 1 file changed, 10 in

[[DEBUG] force] 629497fc8a: double fault: 0000 [#1] KASAN

2016-07-08 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit 629497fc8a8bad1842904a277fefee44d5824cd8 ("[DEBUG] force-enable CONFIG_VMAP_STACK") in testcase: boot on test machine: 2 threads qemu-system-x86_64 -enable-kvm -cpu Nehal

Re: [Ksummit-discuss] 2016 Kernel Summit Planning Kickoff

2016-07-08 Thread Dmitry Torokhov
On Fri, Jul 8, 2016 at 12:16 PM, Christian Borntraeger wrote: > On 07/08/2016 06:41 PM, Theodore Ts'o wrote: >> Kernel Summit Planning Kickoff >>Call for Topics / Attendees >> >> >> The 16th annual Kernel Summit will be held October 31st through >> November th

Re: [PATCH v2] arm: omap1_defconfig: convert to use libata PATA drivers

2016-07-08 Thread Aaro Koskinen
Hi, On Fri, Jul 08, 2016 at 03:50:59PM +0200, Bartlomiej Zolnierkiewicz wrote: > IDE subsystem has been deprecated since 2009 and the majority > (if not all) of Linux distributions have switched to use > libata for ATA support exclusively. However there are still > some users (mostly old or/and e

Re: [GIT PULL] ->driverfs_dev removal for 4.8

2016-07-08 Thread Jens Axboe
On 07/08/2016 03:56 PM, Williams, Dan J wrote: Hi Jens, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm for-4.8/block ...to receive: The removal of ->driverfs_dev in favor of just passing the parent device in as a parameter to add_disk(). See below, it has rec

Re: [RFC][PATCH 1/7] perf/x86/intel: Rework the large PEBS setup code

2016-07-08 Thread Peter Zijlstra
On Fri, Jul 08, 2016 at 06:36:16PM +0200, Jiri Olsa wrote: > On Fri, Jul 08, 2016 at 03:31:00PM +0200, Peter Zijlstra wrote: > > SNIP > > > /* > > -* When the event is constrained enough we can use a larger > > -* threshold and run the event with less frequent PMI. > > +* Use auto

[GIT PULL] ->driverfs_dev removal for 4.8

2016-07-08 Thread Williams, Dan J
Hi Jens, please pull from:   git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm for-4.8/block ...to receive: The removal of ->driverfs_dev in favor of just passing the parent device in as a parameter to add_disk().  See below, it has received a "Reviewed-by" from Christoph, Bart, and Jo

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Oleg Drokin
On Jul 8, 2016, at 4:54 PM, J. Bruce Fields wrote: > On Thu, Jul 07, 2016 at 09:47:46PM -0400, Oleg Drokin wrote: >> It looks like we are bit overzealous about failing mkdir/create/mknod >> with permission denied if the parent dir is not writeable. >> Need to make sure the name does not exist fir

[PATCH 1/2] binfmt_elf: fix calculations for bss padding

2016-07-08 Thread Kees Cook
A double-bug exists in the bss calculation code, where an overflow can happen in the "last_bss - elf_bss" calculation, but vm_brk internally aligns the argument, underflowing it, wrapping back around safe. We shouldn't depend on these bugs staying in sync, so this cleans up the bss padding handling

[PATCH 0/2] binfmt_elf: fix calculations for bss padding

2016-07-08 Thread Kees Cook
This fixes a double-bug in ELF loading, as noticed by Hector Marco-Gisbert. To quote his original email: The size of the bss section for some interpreters is not correctly calculated resulting in unnecessary calls to vm_brk() with enormous size values. The bug appears when loading some inter

[PATCH 2/2] mm: refuse wrapped vm_brk requests

2016-07-08 Thread Kees Cook
The vm_brk() alignment calculations should refuse to overflow. The ELF loader depending on this, but it has been fixed now. No other unsafe callers have been found. Reported-by: Hector Marco-Gisbert Signed-off-by: Kees Cook --- mm/mmap.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletion

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Oleg Drokin
On Jul 8, 2016, at 4:49 PM, J. Bruce Fields wrote: > On Fri, Jul 08, 2016 at 12:16:14PM -0400, Oleg Drokin wrote: >> >> On Jul 8, 2016, at 12:04 PM, J. Bruce Fields wrote: >> >>> On Fri, Jul 08, 2016 at 11:53:28AM -0400, Jeff Layton wrote: On Fri, 2016-07-08 at 11:14 -0400, Oleg Drokin wro

Re: Need proper type casting before assignment, Remove compilation Warning.

2016-07-08 Thread arvind Yadav
As per your concern, I have changed and submitted one more patch. This answer of your all questions, -Return type of 'qe_muram_alloc' is 'unsigned long', That Was trying to assigned in ucc_fast_tx_virtual_fifo_base_offset and ucc_fast_rx_virtual_fifo_base_offset. It will work on 32-bit architectu

  1   2   3   4   5   6   7   8   >