Re: [PATCH 1/3] dt/bindings: Add bindings for JC-42.4 compatible temperature sensors

2016-07-11 Thread Guenter Roeck
On 07/11/2016 07:30 AM, Rob Herring wrote: On Tue, Jul 05, 2016 at 09:44:31AM -0700, Guenter Roeck wrote: Provide generic bindings for all Jedec JC-42.4 compatible temperature sensor chips. Signed-off-by: Guenter Roeck --- Documentation/devicetree/bindings/hwmon/jc42.txt | 42 +++

Re: [PATCH 00/30] ACPICA: 20160318 Release

2016-07-11 Thread Rafael J. Wysocki
On Monday, July 11, 2016 04:48:26 PM Rafael J. Wysocki wrote: > On Monday, July 11, 2016 04:38:17 PM Matthias Brugger wrote: > > Hi Rafael, > > > > On 24/03/16 14:08, Rafael J. Wysocki wrote: > > > On Thu, Mar 24, 2016 at 2:38 AM, Lv Zheng wrote: > > >> The 20160318 ACPICA kernel-resident subsyst

Re: [patch 26/66] perf: Remove perf cpu notifier code

2016-07-11 Thread Anna-Maria Gleixner
On Mon, 11 Jul 2016, Ingo Molnar wrote: > > * Anna-Maria Gleixner wrote: > > > All users converted to state machine callbacks. > > > > Signed-off-by: Thomas Gleixner > > Reviewed-by: Sebastian Andrzej Siewior > > Signed-off-by: Anna-Maria Gleixner > > The SOB sequence is weird - is a From:

Re: [PATCH 00/30] ACPICA: 20160318 Release

2016-07-11 Thread Matthias Brugger
On 11/07/16 16:48, Rafael J. Wysocki wrote: On Monday, July 11, 2016 04:38:17 PM Matthias Brugger wrote: Hi Rafael, On 24/03/16 14:08, Rafael J. Wysocki wrote: On Thu, Mar 24, 2016 at 2:38 AM, Lv Zheng wrote: The 20160318 ACPICA kernel-resident subsystem updates are linuxized based on the

Re: [patch 27/66] workqueue: Convert to state machine callbacks

2016-07-11 Thread Anna-Maria Gleixner
On Mon, 11 Jul 2016, Ingo Molnar wrote: > > * Anna-Maria Gleixner wrote: > > > Get rid of the prio ordering of the separate notifiers and use a proper > > state > > callback pair. > > > > Signed-off-by: Thomas Gleixner > > Reviewed-by: Sebastian Andrzej Siewior > > Cc: Tejun Heo > > Cc: La

Re: [PATCH 6/9] x86, pkeys: add pkey set/get syscalls

2016-07-11 Thread Andy Lutomirski
On Mon, Jul 11, 2016 at 12:35 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Jul 9, 2016 1:37 AM, "Ingo Molnar" wrote: >> > >> > >> > * Dave Hansen wrote: >> > >> > > On 07/08/2016 12:18 AM, Ingo Molnar wrote: >> > > >> > > > So the question is, what is user-space going to do? Do a

Re: [PATCH] usb:solve resume usb device identification problem

2016-07-11 Thread Alan Stern
On Mon, 11 Jul 2016, Pengcheng Li wrote: > A usb device in the connection state. Then host is suspend and resume. > But the usb device could not be at the right speed. We should be reset > the reset. > > Signed-off-by: Pengcheng Li Why wouldn't the USB device be at the right speed? You should

Re: KASAN vs vmapped stacks

2016-07-11 Thread Andy Lutomirski
On Mon, Jul 11, 2016 at 1:30 AM, Dmitry Vyukov wrote: > On Sun, Jul 10, 2016 at 2:47 PM, Andy Lutomirski wrote: >> Hi all- >> >> I found two nasty issues with virtually mapped stacks if KASAN is >> enabled. The first issue is a crash: the first non-init stack is >> allocated and accessed before

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

2016-07-11 Thread Rob Herring
On Fri, Jul 08, 2016 at 02:33:09PM +0200, Heiko Stuebner wrote: > Hi William, > > 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 plat

[PATCH v16 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)

2016-07-11 Thread Dexuan Cui
FYI: you can also get the patch by (commit 5dde7975): https://github.com/dcui/linux/tree/decui/hv_sock/net-next/20160711_v16 The delta changes between v15 and v16 are in the attached patch delta_v15_vs_v16.patch. -- Hyper-V Sockets (hv_sock) supplies a byt

[PATCH] pinctrl: stm32f429: driver init call change

2016-07-11 Thread Alexandre TORGUE
As nothing special is done in driver init then device_initcall() can be changed in builtin_platform_driver() call. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32f429.c b/drivers/pinctrl/stm32/pinctrl-stm32f429.c index e9b15dc..a5d50ca 100644 --- a/drivers/pinct

Re: [kernel-hardening] [PATCH v4 26/29] sched: Allow putting thread_info into task_struct

2016-07-11 Thread Andy Lutomirski
On Jul 11, 2016 3:08 AM, "Mark Rutland" wrote: > > Hi, > > On Sun, Jun 26, 2016 at 02:55:48PM -0700, Andy Lutomirski wrote: > > If an arch opts in by setting CONFIG_THREAD_INFO_IN_TASK_STRUCT, > > then thread_info is defined as a single 'u32 flags' and is the first > > entry of task_struct. threa

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

2016-07-11 Thread Rob Herring
On Thu, Jul 07, 2016 at 10:54:24AM +0800, William Wu wrote: > 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 platform > dependent. Normall, the PHYIf can be configured s/Normall/Normally/ s/PHYIf/PHY

[PATCH RFC V1] mfd: da9063: Update author information to remove incorrect e-mail addresses

2016-07-11 Thread Steve Twiss
From: Steve Twiss Remove incorrect e-mail addresses from the copyright header and MODULE_AUTHOR() macro. These e-mail addresses are no longer in use. The author names have not been changed, only the e-mail address have been deleted from the source files. Signed-off-by: Steve Twiss --- Hi Lee

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

2016-07-11 Thread Jordan Crouse
On Mon, Jul 11, 2016 at 03:02:24PM +0100, Robin Murphy wrote: > Hey Mitch, > > Thanks for having the necessary go at the DMA API - I think the series > looks broadly workable now. > > On 09/07/16 03:09, Mitchel Humpherys wrote: > > The following patch to the ARM SMMU driver: > > > > commit d

[PATCH v16 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-07-11 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

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

2016-07-11 Thread Robin Murphy
On 09/07/16 03:09, Mitchel Humpherys wrote: > 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

Re: [PATCH v6 4/5] usb: dwc3: add dis_del_phy_power_chg_quirk

2016-07-11 Thread Rob Herring
On Thu, Jul 07, 2016 at 10:54:25AM +0800, William Wu wrote: > Add a quirk to clear the GUSB3PIPECTL.DELAYP1TRANS bit, > which specifies whether disable delay PHY power change > from P0 to P1/P2/P3 when link state changing from U0 > to U1/U2/U3 respectively. > > Signed-off-by: William Wu > --- > C

Re: [PATCH v6 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-07-11 Thread Rob Herring
On Thu, Jul 07, 2016 at 10:58:44AM +0800, William Wu wrote: > This patch adds the devicetree documentation required for Rockchip > USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. > > It supports DRD mode, and could operate in device mode (SS, HS, FS) > and host mode (SS, HS, FS, LS). >

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

2016-07-11 Thread Tyrel Datwyler
On 07/08/2016 04:57 PM, Nathan Fontenot wrote: > 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

Re: [kernel-hardening] [PATCH v4 26/29] sched: Allow putting thread_info into task_struct

2016-07-11 Thread Mark Rutland
On Mon, Jul 11, 2016 at 07:55:17AM -0700, Andy Lutomirski wrote: > On Jul 11, 2016 3:08 AM, "Mark Rutland" wrote: > > > > Hi, > > > > On Sun, Jun 26, 2016 at 02:55:48PM -0700, Andy Lutomirski wrote: > > > If an arch opts in by setting CONFIG_THREAD_INFO_IN_TASK_STRUCT, > > > then thread_info is de

[PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Prarit Bhargava
Didn't get any feedback or review comments on this patch. Resending ... P. ---8<--- The iwlwifi driver implements a thermal zone and hwmon device, but returns -EIO on temperature reads if the firmware isn't loaded. This results in the error iwlwifi-virtual-0 Adapter: Virtual device ERROR: Can

Re: [PATCH 1/1] irqdomain: Fix irq_domain_alloc_irqs_recursive() error handling

2016-07-11 Thread Marc Zyngier
On 03/07/16 01:24, Alexander Popov wrote: > If an irq_domain is auto-recursive and irq_domain_alloc_irqs_recursive() > for its parent has returned an error, then do return and avoid calling > irq_domain_free_irqs_recursive() uselessly, because: > - if domain->ops->alloc() had failed for an auto-rec

Re: [PATCH 00/30] ACPICA: 20160318 Release

2016-07-11 Thread Matthias Brugger
On 11/07/16 16:54, Rafael J. Wysocki wrote: On Monday, July 11, 2016 04:48:26 PM Rafael J. Wysocki wrote: On Monday, July 11, 2016 04:38:17 PM Matthias Brugger wrote: Hi Rafael, On 24/03/16 14:08, Rafael J. Wysocki wrote: On Thu, Mar 24, 2016 at 2:38 AM, Lv Zheng wrote: The 20160318 ACPIC

Re: [PATCH 1/7] security, overlayfs: provide copy up security hook for unioned files

2016-07-11 Thread Stephen Smalley
On 07/08/2016 12:19 PM, Vivek Goyal wrote: > Provide a security hook to label new file correctly when a file is copied > up from lower layer to upper layer of a overlay/union mount. > > This hook can prepare a new set of creds which are suitable for new file > creation during copy up. Caller will

[PATCH 0/3] iio: complete the setup of buffer timestamps

2016-07-11 Thread Alison Schofield
These drivers are using iio_poll_func->timestamp in their triggered buffer handler as the timestamp pushed to buffer. Problem is that it was not set up at probe time via iio_triggered_buffer_setup(), so timestamp is always 0. Buffer space has been allocated for the timestamp, so it seems to be wa

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

2016-07-11 Thread Robin Murphy
On 09/07/16 03:09, Mitchel Humpherys wrote: > The PL330 can perform privileged instruction fetches. This can result Nit: "can" is a bit of an understatement. Instruction fetches on both the manager and channel threads have the "privileged" and "instruction" AxPROT bits hard-coded whether you like

Re: [PATCH] capabilities: audit capability use

2016-07-11 Thread Serge E. Hallyn
Quoting Topi Miettinen (toiwo...@gmail.com): > There are many basic ways to control processes, including capabilities, > cgroups and resource limits. However, there are far fewer ways to find > out useful values for the limits, except blind trial and error. > > Currently, there is no way to know w

Re: [PATCH] ARM: dts: da850: Add new ECAP and EPWM bindings

2016-07-11 Thread Franklin S Cooper Jr.
On 07/04/2016 07:47 AM, Sekhar Nori wrote: > On Monday 27 June 2016 07:44 PM, Franklin S Cooper Jr wrote: >> From: "Cooper Jr., Franklin" >> >> Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to >> provide the various required clocks. > > there is nothing called hwmod on da8

[PATCH 1/3] iio: accel: bma220_spi: set up buffer timestamps for non-zero values

2016-07-11 Thread Alison Schofield
Use the iio_pollfunc_store_time parameter during triggered buffer set-up to get valid timestamps. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- drivers/iio/accel/bma220_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio

[PATCH 2/3] iio: humidity: am2315: set up buffer timestamps for non-zero values

2016-07-11 Thread Alison Schofield
Use the iio_pollfunc_store_time parameter during triggered buffer set-up to get valid timestamps. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- drivers/iio/humidity/am2315.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/humidity/am2315.c b/drivers/iio/h

[PATCH 3/3] iio: proximity: as3935: set up buffer timestamps for non-zero values

2016-07-11 Thread Alison Schofield
Use the iio_pollfunc_store_time parameter during triggered buffer set-up to get valid timestamps. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- drivers/iio/proximity/as3935.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio

[tip:timers/urgent] posix_cpu_timer: Exit early when process has been reaped

2016-07-11 Thread tip-bot for Alexey Dobriyan
Commit-ID: 2c13ce8f6b2f6fd9ba2f9261b1939fc0f62d1307 Gitweb: http://git.kernel.org/tip/2c13ce8f6b2f6fd9ba2f9261b1939fc0f62d1307 Author: Alexey Dobriyan AuthorDate: Fri, 8 Jul 2016 01:39:11 +0300 Committer: Thomas Gleixner CommitDate: Mon, 11 Jul 2016 17:20:12 +0200 posix_cpu_timer: Exit

[tip:irq/core] irqdomain: Fix irq_domain_alloc_irqs_recursive() error handling

2016-07-11 Thread tip-bot for Alexander Popov
Commit-ID: a1b7b1a57b9919a0abb6c93fca04ac9cf840c992 Gitweb: http://git.kernel.org/tip/a1b7b1a57b9919a0abb6c93fca04ac9cf840c992 Author: Alexander Popov AuthorDate: Sun, 3 Jul 2016 03:24:08 +0300 Committer: Thomas Gleixner CommitDate: Mon, 11 Jul 2016 17:23:48 +0200 irqdomain: Fix irq_do

Re: [PATCH 3/7] security,overlayfs: Provide security hook for copy up of xattrs for overlay file

2016-07-11 Thread Stephen Smalley
On 07/08/2016 12:19 PM, Vivek Goyal wrote: > Provide a security hook which is called when xattrs of a file are being > copied up. This hook is called once for each xattr and LSM can return 0 > to access the xattr, 1 to reject xattr, -EOPNOTSUPP if none of the lsms > claim to know xattr and a negati

Re: [PATCH] mtd: nand: brcmnand: Change BUG_ON in brcmnand_send_cmd

2016-07-11 Thread Kamal Dasu
On Sat, Jul 9, 2016 at 9:30 PM, Brian Norris wrote: > On Fri, Jul 08, 2016 at 10:36:39AM -0700, Florian Fainelli wrote: >> Change the BUG_ON() condition in brcmnand_send_cmd() which checks for >> the interrupt status "controller ready" bit to a WARN_ON. >> >> There is no good reason to kill the sy

Re: [PATCH v2 03/10] Clocksource: add nuc970 clocksource driver

2016-07-11 Thread Arnd Bergmann
On Sunday, July 10, 2016 3:27:23 PM CEST Wan Zongshun wrote: > > +config NUC900_TIMER > +bool "Clocksource timer for nuc900 platform" if COMPILE_TEST > +depends on ARM > +select CLKSRC_OF if OF > +select CLKSRC_MMIO > +help > + Enables the clocksour

Re: Resend: Another 4.4 to 4.5 floppy issue

2016-07-11 Thread Jiri Kosina
On Tue, 5 Jul 2016, Mark Hounschell wrote: > From: Jiri Kosina > > Commit 09954bad4 ("floppy: refactor open() flags handling"), as a > side-effect, causes open(/dev/fdX, O_ACCMODE) to fail. It turns out that > this is being used setfdprm userspace for ioctl-only open(). > > Reintroduce back the

Re: Hi, Ingo, would you please help drop the TSC MSR calibration patch

2016-07-11 Thread Jacob Pan
On Mon, 11 Jul 2016 07:59:19 -0700 "Chen, Yu C" wrote: > Currently it is in your x86/timer tree: > > commit fc273eeef314cdaf0ac992b400d126f8184a4d1c > Author: Len Brown > Date: Fri Jun 17 01:22:49 2016 -0400 > > x86/tsc_msr: Extend to include Intel Core Architecture > > > Previously we

Re: KASAN vs vmapped stacks

2016-07-11 Thread Andrey Ryabinin
On 07/11/2016 01:29 PM, Dmitry Vyukov wrote: > On Mon, Jul 11, 2016 at 11:57 AM, Andrey Ryabinin > wrote: >> >> >> On 07/10/2016 03:47 PM, Andy Lutomirski wrote: >>> Hi all- >>> >>> I found two nasty issues with virtually mapped stacks if KASAN is >>> enabled. The first issue is a crash: the fi

Re: System freezes after OOM

2016-07-11 Thread Mikulas Patocka
On Mon, 11 Jul 2016, Ondrej Kozina wrote: > On 07/11/2016 01:55 PM, Jerome Marchand wrote: > > On 07/11/2016 01:03 PM, Stanislav Kozina wrote: > > > Hi Jerome, > > > > > > On upstream mailing lists there have been reports of freezing systems > > > due to OOM. Ondra (on CC) managed to reproduce

Re: [PATCH v2 02/10] irqchip: add irqchip driver for nuc900

2016-07-11 Thread Arnd Bergmann
On Sunday, July 10, 2016 3:27:22 PM CEST Wan Zongshun wrote: > + > +#if !defined(CONFIG_SOC_NUC900) > #define NR_IRQS(IRQ_ADC+1) > +#else > +#define NR_IRQS62 > +#endif > The Kconfig symbols are a bit confusing here: CONFIG_SOC_NUC900 controls the compilation of

Re: [Query] Preemption (hogging) of the work handler

2016-07-11 Thread Sergey Senozhatsky
a backport to 3.10, sorry. I had it some time ago (not the current version, tho), but I think I lost it by now, don't have to deal with 3.10 anymore. I'll re-spin the series in a day or two, I think. A rebased version (against next-20160711), basically, has only that KERN_CONT patch as part of 0001 now: http://marc.info/?l=linux-kernel&m=146717692431893 hopefully it will re-fresh the discussion and I'll be able to polish the series so Andrew will be less sceptical about the whole thing. -ss

Re: [PATCH 6/9] x86, pkeys: add pkey set/get syscalls

2016-07-11 Thread Dave Hansen
On 07/11/2016 07:45 AM, Andy Lutomirski wrote: > On Mon, Jul 11, 2016 at 7:34 AM, Dave Hansen wrote: >> Should we instead just recommend to userspace that they lock down access >> to keys by default in all threads as a best practice? > > Is that really better than doing it in-kernel? My concern

Re: [PATCH v8 4/4] serial: pl011: add console matching function

2016-07-11 Thread Matthias Brugger
On 11/07/16 16:40, Matthias Brugger wrote: I tried to apply these patches against linux-next. They needed some changes to apply, which is quite normal after such a long time. Apart from that the DBG2 subtype patch didn't end up in mainline, so this patches do not compile. I followed up on th

Re: PCIe MSI address is not written at pci_enable_msi_range call

2016-07-11 Thread Marc Zyngier
On 11/07/16 11:51, Bharat Kumar Gogada wrote: >>> Hi Marc, >>> >>> Thanks for the reply. >>> >>> From PCIe Spec: >>> MSI Enable Bit: >>> If 1 and the MSI-X Enable bit in the MSI-X Message >>> Control register (see Section 6.8.2.3) is 0, the >>> function is permitted to use MSI to request service >>

Re: [PATCH v2 04/13] KVM: x86: dynamic kvm_apic_map

2016-07-11 Thread Radim Krčmář
2016-07-11 16:14+0200, Paolo Bonzini: > On 11/07/2016 15:48, Radim Krčmář wrote: I guess the easiest solution is to replace kvm_apic_id with a field in struct kvm_lapic, which is already shifted right by 24 in xAPIC mode. >> >> (I guess the fewest LOC is to look at vcpu->vcpu_id, which i

RE: [PATCH 2/3] iio: humidity: am2315: set up buffer timestamps for non-zero values

2016-07-11 Thread Breana, Tiberiu A
> -Original Message- > From: Alison Schofield [mailto:amsfiel...@gmail.com] > Sent: Monday, July 11, 2016 6:26 PM > To: ji...@kernel.org > Cc: Breana, Tiberiu A ; mranos...@gmail.com; > knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; linux- > i...@vger.kernel.org; linux-kernel@vger.ker

RE: [PATCH 1/3] iio: accel: bma220_spi: set up buffer timestamps for non-zero values

2016-07-11 Thread Breana, Tiberiu A
> -Original Message- > From: Alison Schofield [mailto:amsfiel...@gmail.com] > Sent: Monday, July 11, 2016 6:25 PM > To: ji...@kernel.org > Cc: Breana, Tiberiu A ; mranos...@gmail.com; > knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; linux- > i...@vger.kernel.org; linux-kernel@vger.ker

Re: [PATCH 10/10] perf script python: Fix string vs byte array resolving

2016-07-11 Thread Steven Rostedt
On Sun, 10 Jul 2016 13:08:02 +0200 Jiri Olsa wrote: > Jirka reported that python code returns all arrays as strings. > This makes impossible to get all items for byte array tracepoint > field containing 0x00 value item. > > Fixing this by scanning full length of the array and returning > it as P

Re: [patch 53/66] MIPS: Loongson-3: Convert oprofile to hotplug state machine

2016-07-11 Thread Ralf Baechle
Thank, looks ok. I assume you want to merge this with the remainder of of the series, so: Acked-by: Ralf Baechle Ralf

Re: [PATCH v2 01/10] ARM: NUC900: Add nuc970 machine support

2016-07-11 Thread Arnd Bergmann
On Sunday, July 10, 2016 3:27:21 PM CEST Wan Zongshun wrote: > +ifeq ($(CONFIG_SOC_NUC970),) > obj-y := irq.o time.o mfp.o gpio.o clock.o > obj-y += clksel.o dev.o cpu.o > +endif > # W90X900 CPU support files When mfp.o is disabled like this, I

Re: [PATCH v2 04/13] KVM: x86: dynamic kvm_apic_map

2016-07-11 Thread Paolo Bonzini
On 11/07/2016 17:52, Radim Krčmář wrote: > 2016-07-11 16:14+0200, Paolo Bonzini: >> On 11/07/2016 15:48, Radim Krčmář wrote: > I guess the easiest solution is to replace kvm_apic_id with a field in > struct kvm_lapic, which is already shifted right by 24 in xAPIC mode. >>> >>> (I guess th

Re: [PATCH] capabilities: audit capability use

2016-07-11 Thread Topi Miettinen
On 07/11/16 15:25, Serge E. Hallyn wrote: > Quoting Topi Miettinen (toiwo...@gmail.com): >> There are many basic ways to control processes, including capabilities, >> cgroups and resource limits. However, there are far fewer ways to find >> out useful values for the limits, except blind trial and e

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-11 Thread Stephen Warren
On 07/11/2016 08:22 AM, Rob Herring wrote: On Tue, Jul 05, 2016 at 05:04:24PM +0800, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU. The bi

Re: [PATCH 2/2] bus: mvebu-mbus: make mvebu_mbus_syscore_ops static

2016-07-11 Thread Gregory CLEMENT
Hi Ben, On mar., juin 21 2016, Arnd Bergmann wrote: > On Tuesday, June 21, 2016 4:16:19 PM CEST Ben Dooks wrote: >> >> -struct syscore_ops mvebu_mbus_syscore_ops = { >> +static struct syscore_ops mvebu_mbus_syscore_ops = { >> .suspend= mvebu_mbus_suspend, >> .resume

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Coelho, Luciano
On Mon, 2016-07-11 at 11:18 -0400, Prarit Bhargava wrote: > Didn't get any feedback or review comments on this patch.  Resending > ... > > P. Sorry, this got flooded down my inbox. > ---8<--- > > The iwlwifi driver implements a thermal zone and hwmon device, but > returns -EIO on temperature r

Re: [PATCH V2 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-11 Thread Stephen Warren
On 07/11/2016 08:14 AM, Rob Herring wrote: On Thu, Jul 07, 2016 at 12:35:02PM -0600, Stephen Warren wrote: On 07/07/2016 12:13 PM, Sivaram Nair wrote: On Tue, Jul 05, 2016 at 05:04:22PM +0800, Joseph Lo wrote: Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designe

[RESEND PATCH] drm/exynos: Use VIDEO_SAMSUNG_EXYNOS_GSC=n as GSC Kconfig dependency

2016-07-11 Thread Javier Martinez Canillas
Commit aeefb36832e5 ("drm/exynos: gsc: add device tree support and remove usage of static mappings") made the DRM_EXYNOS_GSC Kconfig symbol to only be selectable if the exynos-gsc V4L2 driver isn't enabled, since both use the same HW IP block. But added the dependency as depends on !VIDEO_SAMSUNG_

Re: [PATCH] nvme-loop: add configfs dependency

2016-07-11 Thread J Freyensee
On Sun, 2016-07-10 at 14:14 +0200, Christoph Hellwig wrote: > On Thu, Jul 07, 2016 at 08:35:17AM -0600, Jens Axboe wrote: > > Thanks Arnd, applied. > > Actually I think we should replace the select with the depends. In > fact I though I had done that a while ago, but I must have messed it > up. >

Re: [PATCH v2 1/6] dt-bindings: clock: add DT binding for the Xtal clock on Armada 3700

2016-07-11 Thread Gregory CLEMENT
Hi Thomas, On ven., juil. 08 2016, Thomas Petazzoni wrote: > Hello, > > On Fri, 8 Jul 2016 00:37:46 +0200, Gregory CLEMENT wrote: > >> +gpio1: gpio@13800 { >> +compatible = "marvell,mvebu-gpio-3700", "syscon", "simple-mfd"; > > I find this compatible string not very consistent with what

[tip:x86/fpu] x86/fpu/xstate: Fix __fpu_restore_sig() for XSAVES

2016-07-11 Thread tip-bot for Yu-cheng Yu
Commit-ID: 1fc2b67b43d5001b92b3a002b94ad0137e99 Gitweb: http://git.kernel.org/tip/1fc2b67b43d5001b92b3a002b94ad0137e99 Author: Yu-cheng Yu AuthorDate: Mon, 11 Jul 2016 09:18:54 -0700 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 16:43:59 +0200 x86/fpu/xstate: Fix __fpu_re

[tip:x86/fpu] x86/fpu/xstate: Return NULL for disabled xstate component address

2016-07-11 Thread tip-bot for Yu-cheng Yu
Commit-ID: 5060b91513b866f774da15dfd82157864c4b1683 Gitweb: http://git.kernel.org/tip/5060b91513b866f774da15dfd82157864c4b1683 Author: Yu-cheng Yu AuthorDate: Mon, 11 Jul 2016 09:18:55 -0700 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 16:44:00 +0200 x86/fpu/xstate: Return NULL

[tip:x86/fpu] x86/fpu/xstate: Fix fpstate_init() for XRSTORS

2016-07-11 Thread tip-bot for Yu-cheng Yu
Commit-ID: 35ac2d7ba787eb4b7418a5a6f5919c25e10a780a Gitweb: http://git.kernel.org/tip/35ac2d7ba787eb4b7418a5a6f5919c25e10a780a Author: Yu-cheng Yu AuthorDate: Mon, 11 Jul 2016 09:18:56 -0700 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 16:44:00 +0200 x86/fpu/xstate: Fix fpstate_

[tip:x86/fpu] x86/fpu/xstate: Re-enable XSAVES

2016-07-11 Thread tip-bot for Yu-cheng Yu
Commit-ID: b8be15d588060a03569ac85dc4a0247460988f5b Gitweb: http://git.kernel.org/tip/b8be15d588060a03569ac85dc4a0247460988f5b Author: Yu-cheng Yu AuthorDate: Mon, 11 Jul 2016 09:18:57 -0700 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 16:44:01 +0200 x86/fpu/xstate: Re-enable XS

Re: [PATCH v2 06/13] sched: Store maximum per-cpu capacity in root domain

2016-07-11 Thread Dietmar Eggemann
On 11/07/16 11:18, Peter Zijlstra wrote: > On Wed, Jun 22, 2016 at 06:03:17PM +0100, Morten Rasmussen wrote: >> @@ -6905,11 +6906,19 @@ static int build_sched_domains(const struct cpumask >> *cpu_map, >> /* Attach the domains */ >> rcu_read_lock(); >> for_each_cpu(i, cpu_map) { >> +

Re: [kernel-hardening] [PATCH v4 26/29] sched: Allow putting thread_info into task_struct

2016-07-11 Thread Mark Rutland
On Mon, Jul 11, 2016 at 09:06:58AM -0700, Linus Torvalds wrote: > On Jul 11, 2016 7:55 AM, "Andy Lutomirski" <[1]l...@amacapital.net> wrote: > > > > How do you intend to find 'current' to get to the preempt count > > without first disabling preemption? > > Actually, that is the classic case of "not

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Tue, 05 Jul 2016, Olof Johansson wrote: > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > wrote: > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > >>> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra > >>> wrote: >

Re: [PATCH 2/2] soc: samsung: Add support for Exynos7 PMU

2016-07-11 Thread Sylwester Nawrocki
On 07/11/2016 04:44 PM, Abhilash Kesavan wrote: >>> + /* >>> >> +* Set clock freeze cycle count to 0 before and after arm clamp >>> >> or >>> >> +* reset signal transition >>> >> +*/ >>> >> + node = of_find_compatible_node(NULL, NULL, >>> >> +

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Mon, 11 Jul 2016, Lee Jones wrote: > On Tue, 05 Jul 2016, Olof Johansson wrote: > > > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > > wrote: > > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > > >>> On Fri, Jul 1, 201

Re: [PATCH v4] [media] pci: Add tw5864 driver

2016-07-11 Thread Joe Perches
On Mon, 2016-07-11 at 18:17 +0300, Andrey Utkin wrote: [] > diff --git a/drivers/media/pci/tw5864/tw5864-core.c > b/drivers/media/pci/tw5864/tw5864-core.c [] > +static const char * const artifacts_warning = > +"BEWARE OF KNOWN ISSUES WITH VIDEO QUALITY\n" > +"\n" > +"This driver was developed by B

[GIT PULL 3/4] arm64: dts: exynos: Minor fix for v4.8, last round

2016-07-11 Thread Krzysztof Kozlowski
Hi, Last round of commits for v4.8. Best regards, Krzysztof The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/sa

[GIT PULL 4/4] arm64: defconfig: Stuff for exynos for v4.8, last round

2016-07-11 Thread Krzysztof Kozlowski
Hi, Last round of commits for v4.8. Best regards, Krzysztof The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/sa

[GIT PULL 2/4] ARM: exynos: Stuff for v4.8, last round

2016-07-11 Thread Krzysztof Kozlowski
Hi, Last round of commits for v4.8. On top of previous tag. Best regards, Krzysztof The following changes since commit 1c03274d68f4744afe582fcff1c2e5b1c5c34b5b: MAINTAINERS: Extend Samsung SoC entry with S3C/S5P drivers (2016-06-23 08:12:08 +0200) are available in the git repository at:

[GIT PULL 1/4] ARM: exynos: Drivers for v4.8, last round

2016-07-11 Thread Krzysztof Kozlowski
Hi, Last round of commits for v4.8. On top of previous tag. Best regards, Krzysztof The following changes since commit 187364b6fcabb9f4bfefcb62fab4fcda019b5810: cpufreq: s5pv210: use relaxed IO accesors (2016-06-22 14:00:21 +0200) are available in the git repository at: git://git.kernel.

Re: [kernel-hardening] [PATCH v4 26/29] sched: Allow putting thread_info into task_struct

2016-07-11 Thread Linus Torvalds
On Mon, Jul 11, 2016 at 9:31 AM, Mark Rutland wrote: >> >> So until you do the wire that actually disables preemption you can >> schedule away as much as you want, and after that write you no longer >> will. > > I was assuming a percpu pointer to current (or preempt count). So for the same reason

Linux 4.6.4

2016-07-11 Thread Greg KH
I'm announcing the release of the 4.6.4 kernel. All users of the 4.6 kernel series must upgrade. The updated 4.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.6.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.15

2016-07-11 Thread Greg KH
I'm announcing the release of the 4.4.15 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.15

2016-07-11 Thread Greg KH
diff --git a/Makefile b/Makefile index fadbb9d73c6d..979088079338 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 14 +SUBLEVEL = 15 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 43fe85f20d57..7

Re: Linux 4.6.4

2016-07-11 Thread Greg KH
diff --git a/Makefile b/Makefile index c62b531d5a85..cd374426114a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 6 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Charred Weasel diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 43fe85f20d57..7097a

Re: [PATCH v7 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-07-11 Thread Tai Tri Nguyen
Hi Mark, On Mon, Jul 11, 2016 at 4:39 AM, Mark Rutland wrote: > Please add some commit messge text, e.g. > > This patch adds a driver for the SoC-wide (AKA uncore) PMU hardware > found in APM X-Gene SoCs. > > On Wed, Jul 06, 2016 at 05:07:24PM -0700, Tai Nguyen wrote: >> Signed-off-by: Tai Nguyen

Re: linux-next: manual merge of the pwm tree with the regulator tree

2016-07-11 Thread Doug Anderson
Hi, On Sun, Jul 10, 2016 at 11:56 PM, Stephen Rothwell wrote: > Hi Thierry, > > Today's linux-next merge of the pwm tree got a conflict in: > > drivers/regulator/pwm-regulator.c > > between commit: > > 830583004e61 ("regulator: pwm: Drop unneeded pwm_enable() call") > 27bfa8893b15 ("regula

Re: [PATCH v2 6/6] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-11 Thread Florian Fainelli
On 07/07/2016 04:08 PM, Jon Mason wrote: > Signed-off-by: Jon Mason Applied to devicetree/next, thanks -- Florian

Re: [PATCH 7/7] ARM: dts: NSP: Add bgmac entries

2016-07-11 Thread Florian Fainelli
On 07/08/2016 08:56 AM, Jon Mason wrote: > Add device tree entries for the ethernet devices present on the > Broadcom Northstar Plus SoCs > > Signed-off-by: Jon Mason Applied to devicetree/next, with s/bgmac/AMAC/ in the subject, thanks! -- Florian

[PATCH -next] bpf: make inode code explicitly non-modular

2016-07-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: init/Kconfig:config BPF_SYSCALL init/Kconfig: bool "Enable bpf() system call" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading

Re: [PATCH v3 12/14] regulator: pwm: Retrieve correct voltage

2016-07-11 Thread Doug Anderson
Hi, On Mon, Jul 11, 2016 at 12:02 AM, Thierry Reding wrote: > On Sat, Jul 09, 2016 at 11:47:18AM +0200, Mark Brown wrote: >> On Fri, Jul 08, 2016 at 05:43:02PM +0200, Thierry Reding wrote: >> >> > Mark, do you want me to provide a stable branch with the PWM regulator >> > patches and resolve that

[PATCH 1/3] sched,time: count actually elapsed irq & softirq time

2016-07-11 Thread riel
From: Rik van Riel Currently, if there was any irq or softirq time during 'ticks' jiffies, the entire period will be accounted as irq or softirq time. This is inaccurate if only a subset of the time was actually spent handling irqs, and could conceivably mis-count all of the ticks during a perio

Re: [PATCH 1/7] security, overlayfs: provide copy up security hook for unioned files

2016-07-11 Thread Vivek Goyal
On Mon, Jul 11, 2016 at 11:24:26AM -0400, Stephen Smalley wrote: > On 07/08/2016 12:19 PM, Vivek Goyal wrote: > > Provide a security hook to label new file correctly when a file is copied > > up from lower layer to upper layer of a overlay/union mount. > > > > This hook can prepare a new set of cr

[PATCH v4 0/3] sched,time: fix irq time accounting with nohz_idle

2016-07-11 Thread riel
Currently irq time accounting only works in these cases: 1) purely ticke based accounting 2) nohz_full accounting, but only on housekeeping & nohz_full CPUs 3) architectures with native vtime accounting On nohz_idle CPUs, which are probably the majority nowadays, irq time accounting is currently b

[PATCH 2/3] nohz,cputime: replace VTIME_GEN irq time code with IRQ_TIME_ACCOUNTING code

2016-07-11 Thread riel
From: Rik van Riel The CONFIG_VIRT_CPU_ACCOUNTING_GEN irq time tracking code does not appear to currently work right. On CPUs without nohz_full=, only tick based irq time sampling is done, which breaks down when dealing with a nohz_idle CPU. On firewalls and similar systems, no ticks may happen

[PATCH 3/3] time: drop local_irq_save/restore from irqtime_account_irq

2016-07-11 Thread riel
From: Rik van Riel Paolo pointed out that irqs are already blocked when irqtime_account_irq is called. That means there is no reason to call local_irq_save/restore again. Signed-off-by: Rik van Riel Suggested-by: Paolo Bonzini --- kernel/sched/cputime.c | 4 1 file changed, 4 deletions(-

Re: [PATCH 2/2] trace-cmd: Use tracecmd_peek_next_data() in fgraph_ent_handler

2016-07-11 Thread Steven Rostedt
On Fri, 8 Jul 2016 14:56:12 +0900 Namhyung Kim wrote: > When a task was migrated to other cpu in the middle of a function, the > fgraph_exit record will be in a different cpu than the enter record. > But currently fgraph_ent_handler() only peeks at the same cpu so it > could read an incorrect re

Re: [PATCH 3/7] security,overlayfs: Provide security hook for copy up of xattrs for overlay file

2016-07-11 Thread Vivek Goyal
On Mon, Jul 11, 2016 at 11:31:47AM -0400, Stephen Smalley wrote: > On 07/08/2016 12:19 PM, Vivek Goyal wrote: > > Provide a security hook which is called when xattrs of a file are being > > copied up. This hook is called once for each xattr and LSM can return 0 > > to access the xattr, 1 to reject

Re: [kernel-hardening] Re: [PATCH v3 06/13] fork: Add generic vmalloced stack support

2016-07-11 Thread Andrey Ryabinin
2016-06-21 21:32 GMT+03:00 Rik van Riel : > On Tue, 2016-06-21 at 10:13 -0700, Kees Cook wrote: >> On Tue, Jun 21, 2016 at 9:59 AM, Andy Lutomirski > > wrote: >> > >> > I'm tempted to explicitly disallow VM_NO_GUARD in the vmalloc >> > range. >> > It has no in-tree users for non-fixed addresses rig

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Prarit Bhargava
On 07/11/2016 12:07 PM, Coelho, Luciano wrote: > On Mon, 2016-07-11 at 11:18 -0400, Prarit Bhargava wrote: >> Didn't get any feedback or review comments on this patch. Resending >> ... >> >> P. > > Sorry, this got flooded down my inbox. NP, Luciano -- My worry was that it hadn't been seen or d

Re: [PATCH 3/7] security,overlayfs: Provide security hook for copy up of xattrs for overlay file

2016-07-11 Thread Vivek Goyal
On Mon, Jul 11, 2016 at 11:31:47AM -0400, Stephen Smalley wrote: [..] > > +static inline int security_inode_copy_up_xattr(const char *name) > > +{ > > + -EOPNOTSUPP; > > return? Yes, this one I fixed it in my patches now. kbuild also flagged this. Vivek

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-11 Thread 'Dmitry Torokhov'
On Mon, Jul 11, 2016 at 08:40:58PM +0800, 廖崇榮 wrote: > > + > > + error = data->ops->get_sm_version(client, &data->ic_type, > > + &data->sm_version); > > + if (error) > > + return false; > > That means we'd be fetching product ID and IC type twice w

Re: [PATCH 3/3] time: drop local_irq_save/restore from irqtime_account_irq

2016-07-11 Thread Paolo Bonzini
On 11/07/2016 18:53, r...@redhat.com wrote: > From: Rik van Riel > > Paolo pointed out that irqs are already blocked when irqtime_account_irq > is called. That means there is no reason to call local_irq_save/restore > again. > > Signed-off-by: Rik van Riel > Suggested-by: Paolo Bonzini > ---

Re: Resend: Another 4.4 to 4.5 floppy issue

2016-07-11 Thread Mark Hounschell
On 07/11/2016 11:36 AM, Jiri Kosina wrote: On Tue, 5 Jul 2016, Mark Hounschell wrote: From: Jiri Kosina Commit 09954bad4 ("floppy: refactor open() flags handling"), as a side-effect, causes open(/dev/fdX, O_ACCMODE) to fail. It turns out that this is being used setfdprm userspace for ioctl-on

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread prahlad venkata
On Mon, Jul 11, 2016 at 3:53 PM, Vignesh R wrote: > > > On Monday 11 July 2016 02:49 PM, prahlad venkata wrote: >> On Mon, Jul 11, 2016 at 2:45 PM, Vignesh R wrote: > [...] > diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c > index 29ea8d2..6c61f54 100644 >>>

<    1   2   3   4   5   6   7   8   9   >