[char-misc 4.7] mei: me: disable driver on SPT SPS firmware

2016-07-10 Thread Tomas Winkler
Sunrise Point PCH with SPS Firmware doesn't expose working MEI interface, we need to quirk it out. Cc: #4.4+ Signed-off-by: Tomas Winkler --- drivers/misc/mei/pci-me.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2016-07-10 Thread Borislav Petkov
On Sat, Jul 09, 2016 at 10:56:55AM -0700, Joe Perches wrote: > defconfigs both with and without CONFIG_PRINTK build > properly with the proposed change to this specific patch. Did you try latest tip/master? > Borislav, your delightful personality always impresses. > Never change. What goes

[PATCH v2 06/10] soc: Add SoC specific driver support for nuc900

2016-07-10 Thread Wan Zongshun
This patch is to add SoC specific driver for nuc970 SoC, it is for getting nuc970 version id and chip id. Signed-off-by: Wan Zongshun --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/nuvoton/Kconfig | 10

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

2016-07-10 Thread Wan Zongshun
This patch is to add nuc970 clocksource driver support. NUC970 general timer controller includes five channels, TIMER0, TIMER1, TIMER2, TIMER3, and TIMER4, which allow user to easily implement a counting scheme or timing control for applications.The timer possesses features such as adjustable

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

2016-07-10 Thread Wan Zongshun
This patch is to add irqchip driver support for nuc900 plat, current this driver only supports nuc970 SoC. Signed-off-by: Wan Zongshun --- arch/arm/mach-w90x900/include/mach/irqs.h | 5 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-nuc900.c

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

2016-07-10 Thread Wan Zongshun
NUC970 is a new SoC of Nuvoton nuc900 series, this patch is to add machine file support for it. Signed-off-by: Wan Zongshun --- arch/arm/mach-w90x900/Kconfig | 20 arch/arm/mach-w90x900/Makefile | 3 +++ arch/arm/mach-w90x900/nuc900.c | 41

[PATCH v2 05/10] power/reset: Add reset driver support for nuc900

2016-07-10 Thread Wan Zongshun
This driver is to add reset support for nuc900 series, currently, it only supports nuc970 SoC reset. Signed-off-by: Wan Zongshun --- drivers/power/reset/Kconfig| 7 +++ drivers/power/reset/Makefile | 1 + drivers/power/reset/nuc900-reset.c | 93

[PATCH v2 07/10] ARM: dts: Add clock header file into dt-bindings

2016-07-10 Thread Wan Zongshun
This patch is to add nuc970 clock Macros header file into include/dt-bindings/clock. Signed-off-by: Wan Zongshun --- include/dt-bindings/clock/nuc970-clock.h | 233 +++ 1 file changed, 233 insertions(+) create mode 100644

[PATCH v2 00/10] ARM: NUC900: Add NUC970 SoC support

2016-07-10 Thread Wan Zongshun
Hi, This patch series added Nuvoton new SoC NUC970 development board support, this nuc970 belongs to nuc900 series, but many features are not compatible with old nuc900 SoCs like nuc910, nuc920. Those patches are basing on old w90x900 codes, and are using standard linux subsystem interface, such

Re: [LEDE-DEV] DHCP via bridge in case of IPv4

2016-07-10 Thread Russell Senior
> "Alexey" == Alexey Brodkin writes: Alexey> Hi Aaron, Alexey> On Sat, 2016-07-09 at 07:47 -0400, Aaron Z wrote: >> On Sat, Jul 9, 2016 at 4:37 AM, Alexey Brodkin >> wrote: >> > >> > Hello, >> > >> > I was playing with quite simple

[PATCH v2 04/10] clk: add Clock driver for nuc970

2016-07-10 Thread Wan Zongshun
This patch is to add clock framework driver for nuc970. The clock controller generates all clocks for Video, Audio, CPU, system bus and all functionalities, nuc970 includes two PLL modules. Signed-off-by: Wan Zongshun --- drivers/clk/Makefile| 1 +

Re: [GIT PULL] ACPI fixes for v4.7-rc7

2016-07-10 Thread Thorsten Leemhuis
Hi Rafael! On 08.07.2016 01:43, Rafael J. Wysocki wrote: > > Please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > acpi-4.7-rc7 > > to receive ACPI fixes for v4.7-rc7 with top-most commit > […] > All of these fix recent regressions in ACPICA, in the ACPI

[PATCH 07/10] perf python: Add struct evsel into struct pyrf_event

2016-07-10 Thread Jiri Olsa
To be able to find out event configuration info during sample parsing. Link: http://lkml.kernel.org/n/tip-b63rh6l44ort2t76etobv...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH 09/10] perf python: Add tracepoint example

2016-07-10 Thread Jiri Olsa
To show how to open tracepoint and access its fields. Reported-and-tested-by: Jiri Pirko Link: http://lkml.kernel.org/n/tip-7xt9nvyl45qwbg9237f46...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/python/tracepoint.py | 47

[PATCH 08/10] perf python: Add support to resolve tracepoint fields

2016-07-10 Thread Jiri Olsa
Adding tp_getattro callback for sample event. It resolves tracepoint fields in runtime. It's now possible to access tracepoint fields in normal fashion like hardcoded ones (see the example in the next patch). Reported-and-tested-by: Jiri Pirko Link:

[PATCH 06/10] perf python: Add perf.tracepoint method

2016-07-10 Thread Jiri Olsa
To get id of the tracepoint from subsystem and name strings. The interface is: id = perf.tracepoint(sys, name) In case of error -1 is returned. It will be used to get python tracepoint event's config value for tracepoint event. Link:

[PATCH 01/10] perf tools: Make perf_evlist__event2evsel public

2016-07-10 Thread Jiri Olsa
It will be used outside of evlist.c object in folowing patches. Link: http://lkml.kernel.org/n/tip-m4jswtxn3ff3jn5qoo5h6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 4 ++-- tools/perf/util/evlist.h | 3 +++ 2 files changed, 5 insertions(+), 2

[PATCH 03/10] perf python: Init perf_event_attr::size in perf.evsel constructor

2016-07-10 Thread Jiri Olsa
Currently 0 is passed as perf_event_attr::size, which could block usage of new features. Link: http://lkml.kernel.org/n/tip-kyzkn52sg75mcqrhsjbfe...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 02/10] perf tools: Introduce trace_event__tp_format_id function

2016-07-10 Thread Jiri Olsa
To get struct event_format object from tracepoint ID. It will be used in following patches. Link: http://lkml.kernel.org/n/tip-0omstcxuxa8npi3otondl...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/trace-event.c | 9 + tools/perf/util/trace-event.h | 2 ++

[PATCH 00/10] perf python: Add support to access tracepoint fields

2016-07-10 Thread Jiri Olsa
hi, adding support to access tracepoint fields in python scripts. With this patchset it's possible to access tracepoint fields in event python object like: print "time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (

[PATCH 04/10] perf python: Fix pyrf_evlist__read_on_cpu event consuming

2016-07-10 Thread Jiri Olsa
We can't consume the event before parsing it. Under heavy load we could get caught by kernel writer overwriting the event we're trying to parse. Link: http://lkml.kernel.org/n/tip-8dbalvrufeisa4cioyd9k...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 6

[PATCH 05/10] perf python: Put perf.event objects into dictionary

2016-07-10 Thread Jiri Olsa
Make perf.event object parts of the perf module dictionary so we can address them by name. Following objects/names are added: mmap_event lost_event comm_event task_event throttle_event task_event read_event sample_event switch_event We can now use it in python script like:

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

2016-07-10 Thread Jiri Olsa
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 PyByteArray object in case non printable byte is found. Cc:

Re: [tip:x86/boot] x86/KASLR: Fix boot crash with certain memory configurations

2016-07-10 Thread Ingo Molnar
* Baoquan He wrote: > Hi Ingo, > > I am sorry the previous post didn't contain formal patch log. I made a new > one > as below. The boot crash could not only happen with certain memory. Because > of > this code bug the regions which need be avoided like the zipped kernel

[PATCH v1] driver core: fix race between creating/querying glue dir and its cleanup

2016-07-10 Thread Ming Lei
The global mutex of 'gdp_mutex' is used to serialize creating/querying glue dir and its cleanup. Turns out it isn't a perfect way because part(kobj_kset_leave()) of the actual cleanup action() is done inside the release handler of the glue dir kobject. That means gdp_mutex has to be held before

[tip:x86/platform] x86/platform/intel-mid: Mark regulators explicitly defined

2016-07-10 Thread tip-bot for Andy Shevchenko
Commit-ID: a11836fa5a67ba56d8338138e37b42384af73e5e Gitweb: http://git.kernel.org/tip/a11836fa5a67ba56d8338138e37b42384af73e5e Author: Andy Shevchenko AuthorDate: Sat, 9 Jul 2016 16:45:29 +0300 Committer: Ingo Molnar CommitDate: Sun,

Re: [tip:x86/asm] x86/entry: Inline enter_from_user_mode()

2016-07-10 Thread Ingo Molnar
* Borislav Petkov wrote: > tip-bot for Paolo Bonzini wrote: > > >Commit-ID: eec4b1227db153ca16f8f5f285d01fefdce05438 > >Gitweb: > >http://git.kernel.org/tip/eec4b1227db153ca16f8f5f285d01fefdce05438 > >Author: Paolo Bonzini >

[tip:x86/asm] x86/entry: Inline enter_from_user_mode()

2016-07-10 Thread tip-bot for Paolo Bonzini
Commit-ID: be8a18e2e98e04a5def5887d913b267865562448 Gitweb: http://git.kernel.org/tip/be8a18e2e98e04a5def5887d913b267865562448 Author: Paolo Bonzini AuthorDate: Mon, 20 Jun 2016 16:58:30 +0200 Committer: Ingo Molnar CommitDate: Sun, 10 Jul 2016

[tip:x86/asm] x86/entry: Avoid interrupt flag save and restore

2016-07-10 Thread tip-bot for Paolo Bonzini
Commit-ID: 2e9d1e150abf88cb63e5d34ca286edbb95b4c53d Gitweb: http://git.kernel.org/tip/2e9d1e150abf88cb63e5d34ca286edbb95b4c53d Author: Paolo Bonzini AuthorDate: Mon, 20 Jun 2016 16:58:29 +0200 Committer: Ingo Molnar CommitDate: Sun, 10 Jul 2016

Re: [PATCH] iommu/amd: Fix unity mapping initialization race

2016-07-10 Thread Wan Zongshun
On 2016年07月07日 00:00, Joerg Roedel wrote: From: Joerg Roedel There is a race condition in the AMD IOMMU init code that causes requested unity mappings to be blocked by the IOMMU for a short period of time. This results on boot failures and IO_PAGE_FAULTs on some machines.

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

2016-07-10 Thread PaX Team
On 10 Jul 2016 at 11:16, Ingo Molnar wrote: > * PaX Team wrote: > > > On 9 Jul 2016 at 14:27, Andy Lutomirski wrote: > > > > > I like the series, but I have one minor nit to pick. The effect of this > > > series is to harden usercopy, but most of the code is really

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

2016-07-10 Thread Borislav Petkov
On Sun, Jul 10, 2016 at 01:23:51AM -0700, Joe Perches wrote: > Assuming tip is included in linux-next as of july 8, yes. Try one which has http://git.kernel.org/tip/81c2949f7fdcf8ff681326669afde24962232670 -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

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

2016-07-10 Thread Christoph Hellwig
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. Btw - do you plan to grab patches directly from the list now or do you

[PATCH 3/4] arch, x86, tsc: inform TSC deadline clockevent device about recalibration

2016-07-10 Thread Nicolai Stange
The TSC deadline clockevent devices' configuration and registration happens before the TSC frequency calibration is refined in tsc_refine_calibration_work(). This results in the TSC clocksource and the TSC deadline clockevent devices being configured with slightly different frequencies: the

[PATCH 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

2016-07-10 Thread Nicolai Stange
With NOHZ_FULL and one single well-isolated, CPU consumptive task, one would expect approximately one clockevent interrupt per second. However, on my Intel Haswell where the monotonic clock is the TSC monotonic clock and the clockevent device is the TSC deadline device, it turns out that every

[PATCH 1/4] arch, x86, tsc deadline clockevent dev: reduce frequency roundoff error

2016-07-10 Thread Nicolai Stange
In setup_APIC_timer(), the registered clockevent device's frequency is calculated by first dividing tsc_khz by TSC_DIVISOR and multiplying it with 1000 afterwards. The multiplication with 1000 is done for converting from kHz to Hz and the division by TSC_DIVISOR is carried out in order to make

[PATCH 0/4] avoid double timer interrupt with nohz and Intel TSC

2016-07-10 Thread Nicolai Stange
With a single task running on a NOHZ CPU on an Intel Haswell, I recognized that I did not only get the one expected local_timer APIC interrupt, but two per second at minimum. Further tracing showed that the first one preceedes the programmed deadline by up to ~50us and hence, it did nothing

Re: [PATCH v4 2/5]nbd: fix might_sleep warning on socket shutdown

2016-07-10 Thread Markus Pargmann
Hi, On 2016 M06 30, Thu 14:02:02 CEST Pranay Kr. Srivastava wrote: > spinlocked ranges should be small and not contain calls into huge > subfunctions. Fix my mistake and just get the pointer to the socket > instead of doing everything with spinlock held. > > Reported-by: Mikulas Patocka

[PATCH 2/4] arch, x86, tsc deadline clockevent dev: reduce TSC_DIVISOR to 2

2016-07-10 Thread Nicolai Stange
In order to avoid overflowing an u32, the TSC deadline clockevent device's frequency is divided by TSC_DIVISOR at registration. The TSC_DIVISOR is currently defined as equaling 32 which allows for a TSC frequency as high as 2^32 / 10^9ns * 32 = 137 GHz. OTOH, larger values of TSC_DIVISOR

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

2016-07-10 Thread Joe Perches
On Sun, 2016-07-10 at 14:06 +0200, Borislav Petkov wrote: > On Sun, Jul 10, 2016 at 01:23:51AM -0700, Joe Perches wrote: > > > > Assuming tip is included in linux-next as of july 8, yes. > Try one which has http://git.kernel.org/tip/81c2949f7fdcf8ff681326669a > fde24962232670 That commit isn't

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

2016-07-10 Thread Andy Lutomirski
On Sun, Jul 10, 2016 at 5:03 AM, PaX Team wrote: > On 10 Jul 2016 at 11:16, Ingo Molnar wrote: > >> * PaX Team wrote: >> >> > On 9 Jul 2016 at 14:27, Andy Lutomirski wrote: >> > >> > > I like the series, but I have one minor nit to pick. The effect of

Re: [PATCHv2 3/6] x86/arch_prctl/vdso: add ARCH_MAP_VDSO_*

2016-07-10 Thread Andy Lutomirski
On Thu, Jul 7, 2016 at 4:11 AM, Dmitry Safonov wrote: > On 07/06/2016 05:30 PM, Andy Lutomirski wrote: >> >> On Wed, Jun 29, 2016 at 3:57 AM, Dmitry Safonov >> wrote: >>> >>> Add API to change vdso blob type with arch_prctl. >>> As this is usefull

Re: [PATCH 3/4] arch, x86, tsc: inform TSC deadline clockevent device about recalibration

2016-07-10 Thread kbuild test robot
/avoid-double-timer-interrupt-with-nohz-and-Intel-TSC/20160710-202914 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>):

KASAN vs vmapped stacks

2016-07-10 Thread Andy Lutomirski
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 KASAN initializes its zero shadow AFAICT, which means that we switch to that stack and then blow up when we start recursively

Re: [PATCH v4 3/5]nbd: make nbd device wait for its users

2016-07-10 Thread Markus Pargmann
On 2016 M06 30, Thu 14:02:03 CEST Pranay Kr. Srivastava wrote: > When a timeout occurs or a recv fails, then > instead of abruplty killing nbd block device > wait for its users to finish. > > This is more required when filesystem(s) like > ext2 or ext3 don't expect their buffer heads to >

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Pratik Prajapati
Including more members. On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati wrote: > Hi, > > I am trying to add support of adjusting IR led current in vcnl4000 > driver (has IR led current register for doing the same). > > Below is what I have done till now: > > 1)

Re: [PATCH 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

2016-07-10 Thread kbuild test robot
/avoid-double-timer-interrupt-with-nohz-and-Intel-TSC/20160710-202914 config: i386-randconfig-s1-201628 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed

Re: [PATCH] iio: temperature: mcp9808: add Microchip MCP9808 temperature sensor

2016-07-10 Thread Jonathan Cameron
On 03/07/16 22:04, Alison Schofield wrote: > IIO driver, perhaps a reference driver, since this sensor is already > supported in hwmon/jc42 driver. > > Driver supports continuous conversion, resolution changes and > suspend/resume power ops. > > Signed-off-by: Alison Schofield

[PATCH v2 09/10] Documentation: devicetree: Add dts description for nuc900

2016-07-10 Thread Wan Zongshun
This patch is to add dts description for nuc900 platform. Signed-off-by: Wan Zongshun --- .../devicetree/bindings/arm/nuvoton/nuc970.txt | 12 .../bindings/clock/nuvoton,nuc970-clk.txt | 13 +

[PATCH v2 08/10] ARM: dts: nuc900: Add nuc970 dts files

2016-07-10 Thread Wan Zongshun
This patch is to add dts support for nuc970 platform. Signed-off-by: Wan Zongshun --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/nuc970-evb.dts | 34 arch/arm/boot/dts/nuc970.dtsi| 88 3 files

[PATCH v2 10/10] nuc900: add nuc970 platform defconfig file

2016-07-10 Thread Wan Zongshun
Add nuc970_defconfig file support. Signed-off-by: Wan Zongshun --- arch/arm/configs/nuc970_defconfig | 76 +++ 1 file changed, 76 insertions(+) create mode 100644 arch/arm/configs/nuc970_defconfig diff --git

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

2016-07-10 Thread Joe Perches
On Sun, 2016-07-10 at 08:49 +0200, Borislav Petkov wrote: > On Sat, Jul 09, 2016 at 10:56:55AM -0700, Joe Perches wrote: > > > > defconfigs both with and without CONFIG_PRINTK build > > properly with the proposed change to this specific patch. > Did you try latest tip/master? Assuming tip is

Re: [PATCH] capabilities: add capability cgroup controller

2016-07-10 Thread Topi Miettinen
On 07/08/16 09:13, Petr Mladek wrote: > On Thu 2016-07-07 20:27:13, Topi Miettinen wrote: >> On 07/07/16 09:16, Petr Mladek wrote: >>> On Sun 2016-07-03 15:08:07, Topi Miettinen wrote: The attached patch would make any uses of capabilities generate audit messages. It works for simple

[PATCH v3 1/3] watchdog: Add Meson GXBB Watchdog Driver

2016-07-10 Thread Neil Armstrong
Add watchdog specific driver for Amlogic Meson GXBB SoC. Signed-off-by: Neil Armstrong --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/meson_gxbb_wdt.c | 270 ++ 3 files

[PATCH v3 3/3] ARM64: dts: amlogic: meson-gxbb: Add watchdog node

2016-07-10 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 832815d..bcca82f 100644 ---

[PATCH v3 0/3] watchdog: Add Amlogic Meson GXBB Watchdog Timer driver

2016-07-10 Thread Neil Armstrong
Adds support for the Amlogic Meson GXBB SoC Watchdog Timer. It differs from the meson6/meson8b HW, so need for a separate driver. The HW provides a divider capable of having a 1ms timebase thus simplifying the counter update. The restart call is not provided even if the HW is capable of triggering

[PATCH v3 2/3] dt-bindings: watchdog: Add Meson GXBB Watchdog bindings

2016-07-10 Thread Neil Armstrong
Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../devicetree/bindings/watchdog/meson-gxbb-wdt.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/meson-gxbb-wdt.txt

[PATCH v2 1/4] pwm: Add support for Meson PWM Controller

2016-07-10 Thread Neil Armstrong
Add support for the PWM controller found in the Amlogic SoCs. This driver supports the Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong --- drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile| 1 + drivers/pwm/pwm-meson.c | 491

[PATCH v2 2/4] dt-bindings: pwm: Add bindings for Meson PWM Controller

2016-07-10 Thread Neil Armstrong
Add bindings for the Amlogic PWM Controller in Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/pwm/pwm-meson.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

[no subject]

2016-07-10 Thread Neil Armstrong
Subject: [PATCH v2 0/4] pwm: Add Amlogic Meson SoC PWM Controller Add support for the PWM controller found in Amlogic Meson SoCs. This controller provides a dual PWM output with 4 selectable clock source and a two level divider to achieve a better PWM range. Currently Meson8b and GXBB SoCs are

[PATCH v2 3/4] ARM64: dts: meson-gxbb: Add Meson GXBB PWM Controller nodes

2016-07-10 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index

[PATCH v2 4/4] ARM: dts: meson8b: Add Meson8b PWM Controller nodes

2016-07-10 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index fc4080d..41fd536 100644 --- a/arch/arm/boot/dts/meson8b.dtsi

Re: [RFC PATCH 0/3] doc-rst: customize HTML (RTD) theme

2016-07-10 Thread Mauro Carvalho Chehab
Em Sat, 9 Jul 2016 23:22:22 -0600 Jonathan Corbet escreveu: > On Tue, 5 Jul 2016 14:55:09 -0300 > Mauro Carvalho Chehab wrote: > > > I hope you don't mind. I'm merging those three patches on my tree > > (for now, they're on an experimental tree that I

[PATCH v5] wlcore: spi: add wl18xx support

2016-07-10 Thread Reizer, Eyal
Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for sending a dummy 4 bytes command that completes the

Re: Re: cgroup: Fix split bio been throttled more than once

2016-07-10 Thread Ming Lei
On Sat, Jul 9, 2016 at 10:53 PM, Tejun Heo wrote: > Hello, Ming. > > On Fri, Jul 08, 2016 at 06:35:06PM +0800, Ming Lei wrote: >> I am wondering why REQ_THROTTLED is cleared for the original bio >> even it has been charged and will be issued to driver, and is it allowed >> to

Re: [tip:x86/boot] x86/KASLR: Fix boot crash with certain memory configurations

2016-07-10 Thread Baoquan He
Hi Ingo, I am sorry the previous post didn't contain formal patch log. I made a new one as below. The boot crash could not only happen with certain memory. Because of this code bug the regions which need be avoided like the zipped kernel with its unzipping running code, initrd, kernel command

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

2016-07-10 Thread Jiri Olsa
On Sat, Jul 09, 2016 at 12:25:09AM +0200, Peter Zijlstra wrote: > 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? yep, seems good ;-) jirka > > --- > --- a/arch/x86/events/intel/ds.c >

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

2016-07-10 Thread Ingo Molnar
* PaX Team wrote: > On 9 Jul 2016 at 14:27, Andy Lutomirski wrote: > > > I like the series, but I have one minor nit to pick. The effect of this > > series is to harden usercopy, but most of the code is really about > > infrastructure to validate that a pointed-to

Re: [PATCH] dma-buf/sync_file: only enable fence signalling during wait

2016-07-10 Thread Maarten Lankhorst
Op 08-07-16 om 17:44 schreef Gustavo Padovan: > From: Gustavo Padovan > > Signalling doesn't need to be enabled at sync_file creation, it is only > required if userspace waiting the fence to signal through poll(). > > Thus we delay fence_add_callback() until poll

[PATCH] kconfig: Fix menu/endmenu markers in zconfdump()

2016-07-10 Thread Eugeniu Rosca
Given a Kconfig.sample, implementing 2 empty and 2 non-empty menu entries: menu EMPTY_MENU endmenu menu NONEMPTY_MENU config DUMMY_1 bool "desc-1" endmenu menuconfig EMPTY_MENUCONFIG bool "desc-2" menuconfig NONEMPTY_MENUCONFIG bool "desc-3" if NONEMPTY_MENUCONFIG config DUMMY_2

Re: 4.7-rc6, ext4, sparc64: Unable to handle kernel paging request at ...

2016-07-10 Thread Mikael Pettersson
Meelis Roos writes: > > > Just got this on bootup of my Sun T2000: > > >... > > > I have not seen it before, this includes 4.6.0 4.6.0-08907-g7639dad > > > 4.7.0-rc1-00094-g6b15d66 4.7.0-rc4-00014-g67016f6. > > > > > > It is not reproducible, did not appear on next reboot of the same > > >

Re: Missing include file in include/uapi/linux/errqueue.h?

2016-07-10 Thread Willem de Bruijn
On Sun, Jul 10, 2016 at 1:43 AM, Brooks Moses wrote: > On Sat, Jul 9, 2016 at 10:36 AM, Brooks Moses wrote: >> I've been attempting to qualify the Linux 4.5.2 user-space headers for >> a toolchain release, and ran into what looks like a missing include >>

Re: [PATCH 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

2016-07-10 Thread kbuild test robot
/avoid-double-timer-interrupt-with-nohz-and-Intel-TSC/20160710-202914 config: sh-sh7785lcr_32bit_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O

[PATCH] sched/core: add doc for cookie argument

2016-07-10 Thread Luis de Bethencourt
Add documentation for the cookie argument in try_to_wake_up_local() This caused the following warning when building documentation: kernel/sched/core.c:2088: warning: No description found for parameter 'cookie' Fixes: e7904a28f533 ("ilocking/lockdep, sched/core: Implement a better lock pinning

[PATCH v2] spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue

2016-07-10 Thread Bhaktipriya Shridhar
The workqueue "wk" serves as a queue for carrying out execution of requests. It has a single work item(_data->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System

Re: [PATCH 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

2016-07-10 Thread kbuild test robot
/avoid-double-timer-interrupt-with-nohz-and-Intel-TSC/20160710-202914 config: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

[PATCH v2] spi: spi-sh: Remove deprecated create_singlethread_workqueue

2016-07-10 Thread Bhaktipriya Shridhar
The workqueue has a single workitem(>ws) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency for a long time

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Jonathan Cameron
On 10/07/16 14:11, Pratik Prajapati wrote: > Including more members. > > On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati > wrote: >> Hi, hi Pratik, >> >> I am trying to add support of adjusting IR led current in vcnl4000 >> driver (has IR led current register for

Re: Odd performance results

2016-07-10 Thread Paul E. McKenney
On Sun, Jul 10, 2016 at 07:17:19AM +0200, Peter Zijlstra wrote: > > > On 10 July 2016 06:26:39 CEST, "Paul E. McKenney" > wrote: > >Hello! > > > >So I ran a quick benchmark which showed stair-step results. I > >immediately > >thought "Ah, this is due to CPU 0 and

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

2016-07-10 Thread Jonathan Cameron
On 09/07/16 02:24, Alexandre Belloni wrote: > 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

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

2016-07-10 Thread Jonathan Cameron
On 09/07/16 02:24, Alexandre Belloni wrote: > Add documentation for ADC keys > > Signed-off-by: Alexandre Belloni I'm seeing a few more properties in the driver. They may be generic input ones, but should still be listed here... autorepeat for example. >

[tip:irq/core] irq/Documentation: Correct result of echnoing 5 to smp_affinity

2016-07-10 Thread tip-bot for John Kacur
Commit-ID: 99e9d958726c04cec3e36902d8583fdd8cb5b1bb Gitweb: http://git.kernel.org/tip/99e9d958726c04cec3e36902d8583fdd8cb5b1bb Author: John Kacur AuthorDate: Fri, 17 Jun 2016 15:05:15 +0200 Committer: Ingo Molnar CommitDate: Sun, 10 Jul 2016

Re: [tip:x86/boot] x86/KASLR: Fix boot crash with certain memory configurations

2016-07-10 Thread Baoquan He
On 07/10/16 at 01:24pm, Ingo Molnar wrote: > > * Baoquan He wrote: > > > Hi Ingo, > > > > I am sorry the previous post didn't contain formal patch log. I made a new > > one > > as below. The boot crash could not only happen with certain memory. Because > > of > > this code

Linux 4.7: Reported regressions as of Sunday, 2016-07-10

2016-07-10 Thread Thorsten Leemhuis
Hi! Here is my fifth regression report for Linux 4.7. It lists 10 regressions I'm currently aware of; 2 of them are new; 1 of those seems to be a a side effect of a fix for another regression. The report also mentions 3 regression that I removed from the list, as it looks like those issues are

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

2016-07-10 Thread Philippe Reynes
Hi all, On 05/07/16 23:40, Ben Hutchings wrote: On Tue, 2016-07-05 at 14:15 -0700, Florian Fainelli wrote: On 07/05/2016 02:07 PM, Philippe Reynes wrote: Hi Florian, On 05/07/16 06:30, Florian Fainelli wrote: Le 04/07/2016 16:03, David Miller a écrit : From: Philippe

[PATCH] tmpfs: fix regression hang in fallocate undo

2016-07-10 Thread Hugh Dickins
The well-spotted fallocate undo fix is good in most cases, but not when fallocate failed on the very first page. index 0 then passes lend -1 to shmem_undo_range(), and that has two bad effects: (a) that it will undo every fallocation throughout the file, unrestricted by the current range; but

Re: [PATCH] include: mman: Use bool instead of int for the return value of arch_validate_prot

2016-07-10 Thread Dave Hansen
On 07/09/2016 09:29 AM, cheng...@emindsoft.com.cn wrote: > -static inline int arch_validate_prot(unsigned long prot) > +static inline bool arch_validate_prot(unsigned long prot) > { > if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) > - return 0; > -

Re: [PATCH 01/16] gpu: ipu-v3: Add Video Deinterlacer unit

2016-07-10 Thread Paul Gortmaker
On Thu, Jul 7, 2016 at 7:03 PM, Steve Longerbeam wrote: > Adds the Video Deinterlacer (VDIC) unit. > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/Makefile | 2 +- > drivers/gpu/ipu-v3/ipu-common.c | 11 ++ >

Re: [PATCH] mm: migrate: Use bool instead of int for the return value of PageMovable

2016-07-10 Thread Minchan Kim
On Sat, Jul 09, 2016 at 11:55:04PM +0800, cheng...@emindsoft.com.cn wrote: > From: Chen Gang > > For pure bool function's return value, bool is a little better more or > less than int. > > And return boolean result directly, since 'if' statement is also for > boolean

Re: [PATCH 5/7] drm/rockchip: dw-mipi: support HPD poll

2016-07-10 Thread Mark yao
On 2016年07月08日 21:52, John Keeping wrote: On Fri, 8 Jul 2016 17:04:59 +0800, Chris Zhong wrote: At the first time of bind, there is no any panel attach in mipi. Add a DRM_CONNECTOR_POLL_HPD porperty to detect the panel status, when panel probe, the dw_mipi_dsi_host_attach would be called,

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-10 Thread Dave Chinner
On Fri, Jul 08, 2016 at 10:52:03AM +0100, Mel Gorman wrote: > On Fri, Jul 08, 2016 at 09:27:13AM +1000, Dave Chinner wrote: > > . > > > This series is not without its hazards. There are at least three areas > > > that I'm concerned with even though I could not reproduce any problems in > > >

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-10 Thread Guodong Xu
On 7 July 2016 at 08:58, John Stultz wrote: > On Wed, Jul 6, 2016 at 12:38 AM, Arnd Bergmann wrote: >> On Wednesday, July 6, 2016 12:20:15 AM CEST John Stultz wrote: >>> On Wed, Jul 6, 2016 at 12:04 AM, Olof Johansson wrote: >>> > On Tue,

Re: [alsa-devel] [PATCH -next v2] ASoC: mediatek: mt2701: fix non static symbol warning

2016-07-10 Thread Garlic Tseng
On Fri, 2016-07-08 at 13:47 +, weiyj...@163.com wrote: > From: Wei Yongjun > > Fixes the following sparse warning: > > sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:72:5: warning: > symbol 'mt2701_dai_num_to_i2s' was not declared. Should it be static? > >

Re: [PATCH 1/7] hwmon: (core) New hwmon registration API

2016-07-10 Thread Guenter Roeck
Hi Jonathan, On 07/10/2016 08:51 AM, Jonathan Cameron wrote: On 26/06/16 04:26, Guenter Roeck wrote: Up to now, each hwmon driver has to implement its own sysfs attributes. This requires a lot of template code, and distracts from the driver's core function to read and write chip registers. To

Re: [PATCH] 8250/fintek: rename IRQ_MODE macro

2016-07-10 Thread Ji-Ze Hong (Peter Hong)
Hi Arnd, Arnd Bergmann 於 2016/6/27 下午 05:21 寫道: This renames the newly introduced 'IRQ_MODE' macro to FINTEK_IRQ_MODE. Signed-off-by: Arnd Bergmann Fixes: 4da22f1418cb ("serial: 8250_fintek: fix the mismatched IRQ mode") Acked-by: Ji-Ze Hong (Peter Hong)

linux-next: build failure after merge of the pm tree

2016-07-10 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR:

Re: Update the maximum depth of C-state from 6 to 9

2016-07-10 Thread baolex.ni
Hi Jon, This patch is an old one, we have corrected some minor issues on the newer one. Please only review the newest version from my last mail with this subject "[PATCH] ACPI: Update the maximum depth of C-state from 6 to 9". And I also attached it to this mail. Thanks, Baole On 7/11/2016 6:37

Re: [PATCH v2 2/9] [media] : v4l: add Mediatek compressed video block format

2016-07-10 Thread tiffany lin
Hi Hans, On Fri, 2016-07-08 at 12:18 +0200, Hans Verkuil wrote: > On 05/12/2016 01:24 PM, Tiffany Lin wrote: > > Add V4L2_PIX_FMT_MT21 format used on MT8173 driver. > > It is compressed format and need MT8173 MDP driver to transfer to other > > standard format. > > > > Signed-off-by: Tiffany

linux-next: manual merge of the wireless-drivers-next tree with the net-next tree

2016-07-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the wireless-drivers-next tree got a conflict in: drivers/net/wireless/intel/iwlwifi/mvm/scan.c between commit: 7947d3e075cd ("mac80211: Add support for beacon report radio measurement") from the net-next tree and commit: 69e046423ad7 ("iwlwifi: mvm:

Re: [PATCH v2 09/10] Documentation: devicetree: Add dts description for nuc900

2016-07-10 Thread Wan Zongshun
On 2016年07月11日 06:17, Arnd Bergmann wrote: On Sunday, July 10, 2016 3:42:21 PM CEST Wan Zongshun wrote: + +Required properties: +- compatible : Should be "nuvoton,nuc970-tmr" +- reg : Address and length of the register set +- clocks : Reference on the timer input clock +- interrupts :

  1   2   3   4   5   >