Re: [PATCH] printk: introduce should_ignore_loglevel()

2016-06-24 Thread Sergey Senozhatsky
On (06/24/16 18:05), Petr Mladek wrote: [..] > > +static bool should_ignore_loglevel(int level) > > +{ > > + return (level >= console_loglevel && !ignore_loglevel); > > The patch looks fine. It is nice optimization. > > I was just quite confused by the name of this function. A function >

[PATCH] scsi: ufs: remove unnecessary goto label

2016-06-24 Thread Tiezhu Yang
When buff_ascii kmalloc failed, there is no need to call kfree, it should return -ENOMEM directly, this patch fixes it. Signed-off-by: Tiezhu Yang --- drivers/scsi/ufs/ufshcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c

Re: [PATCH] orangefs: fix namespace handling

2016-06-24 Thread Eric W. Biederman
Jann Horn writes: > diff --git a/fs/orangefs/devorangefs-req.c b/fs/orangefs/devorangefs-req.c > index db170be..a287a66 100644 > --- a/fs/orangefs/devorangefs-req.c > +++ b/fs/orangefs/devorangefs-req.c > @@ -116,6 +116,13 @@ static int orangefs_devreq_open(struct inode *inode,

[PATCH v2 02/14] thermal: sun8i_ths: Add support for the thermal sensor on Allwinner H3

2016-06-24 Thread megous
From: Ondrej Jirman This patch adds support for the sun8i thermal sensor on Allwinner H3 SoC. Signed-off-by: Ondřej Jirman --- v2: - removed incorrect use of SID driver in sun8i_ths - read calibration data directly from iomem - better explanation for the

[PATCH v2 01/14] ARM: clk: sunxi: Add driver for the H3 THS clock

2016-06-24 Thread megous
From: Josef Gajdusek This patch adds a driver for the THS clock which is present on the Allwinner H3. Signed-off-by: Josef Gajdusek --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 1 +

[PATCH v2 05/14] dt-bindings: document SY8106A regulator driver

2016-06-24 Thread megous
From: Ondrej Jirman This patch adds the binding documentation for the sy8106a regulator driver. Signed-off-by: Ondrej Jirman --- .../bindings/regulator/sy8106a-regulator.txt| 21 + 1 file changed, 21 insertions(+) create mode

[PATCH v2 07/14] ARM: dts: sun8i: Use sun8i-h3-pll1-clk for pll1 in H3

2016-06-24 Thread megous
From: Ondrej Jirman PLL1 on H3 requires special factors application algorithm, when the rate is changed. This algorithm was extracted from the arisc code that handles frequency scaling in the BSP kernel. This algorithm is implemented by sun8i-h3-pll1-clk. Signed-off-by:

[PATCH v2 09/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-24 Thread megous
From: Ondrej Jirman Add label to the first cpu so that it can be referenced from derived dts files. Signed-off-by: Ondrej Jirman --- v2 - move clocks/clock-latency to sun8i-h3.dtsi --- arch/arm/boot/dts/sun8i-h3.dtsi | 4 +++- 1 file changed, 3

[PATCH v2 06/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-06-24 Thread megous
From: Ondrej Jirman PLL1 on H3 requires special factors application algorithm, when the rate is changed. This algorithm was extracted from the arisc code that handles frequency scaling in the BSP kernel. This commit adds optional apply function to struct factors_data, that

[PATCH v2 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-24 Thread megous
From: Ondrej Jirman Xulong Orange Pi One uses GPIO based regulator that switches between two voltages: 1.1V and 1.3V. The regulator is controlled from the PL6 pin. Signed-off-by: Ondrej Jirman --- v2 - add missing pinctrl-names for gpio-regulator ---

[PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One

2016-06-24 Thread megous
From: Ondrej Jirman Use Xulong Orange Pi One GPIO based regulator for passive cooling and thermal management. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 39 + 1 file changed, 39 insertions(+)

[PATCH v2 08/14] ARM: dts: sun8i: Add thermal sensor node to the sun8i-h3.dtsi

2016-06-24 Thread megous
From: Ondrej Jirman This patch adds nodes for the thermal sensor driver and the THS clock to the Allwinner sun8i-h3.dtsi file. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3.dtsi | 28 1 file changed, 28

[PATCH v2 11/14] ARM: dts: sun8i: Add sy8106a regulator to Orange Pi PC

2016-06-24 Thread megous
From: Ondrej Jirman Add sy8106a regulator to r_twi bus and enable the r_twi bus on Orange Pi PC. This regulator controls the CPUX voltage. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 14 ++ 1 file changed, 14

[PATCH v2 10/14] ARM: dts: sun8i: Add r_twi I2C controller

2016-06-24 Thread megous
From: Ondrej Jirman H3 SoC contains I2C controller optionally available on the PL0 and PL1 pins. This patch makes this controller available. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3.dtsi | 26 -- 1 file changed,

[PATCH v2 12/14] ARM: dts: sun8i: Setup CPU operating points for Onrage PI PC

2016-06-24 Thread megous
From: Ondrej Jirman Orange PI PC uses SY8106A regulator for fine grained CPUX voltage regulation. Setup appropriate operating points for the board. --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 48 ++ 1 file changed, 48 insertions(+) diff --git

[PATCH v2 03/14] dt-bindings: document sun8i_ths - H3 thermal sensor driver

2016-06-24 Thread megous
From: Ondrej Jirman This patch adds the binding documentation for the sun8i_ths driver. This is a driver for thermal sensor found in Allwinner H3 SoC. Signed-off-by: Ondřej Jirman --- .../devicetree/bindings/thermal/sun8i-ths.txt | 26

[PATCH v2 04/14] regulator: SY8106A regulator driver

2016-06-24 Thread megous
From: Ondrej Jirman SY8106A is I2C attached single output voltage regulator made by Silergy. Signed-off-by: Ondrej Jirman --- v2 - added dt-bindings for the regulator - changed to use of_device_id for probing - added initialization failure checks ---

Re: [RFC/PATCH] ftrace: Reduce size of function graph entries

2016-06-24 Thread Namhyung Kim
On Sat, Jun 25, 2016 at 2:29 AM, Steven Rostedt wrote: > On Sat, 25 Jun 2016 01:15:34 +0900 > Namhyung Kim wrote: > >> On Fri, Jun 24, 2016 at 12:04:40PM -0400, Steven Rostedt wrote: >> > On Fri, 24 Jun 2016 15:35:44 +0900 >> > Namhyung Kim

[RFT PATCH] regmap-i2c: Only use I2C_FUNC_I2C if val_bits == 8

2016-06-24 Thread Guenter Roeck
Menon <n...@ti.com> Signed-off-by: Guenter Roeck <li...@roeck-us.net> --- Nishanth, it would be great if you can test this patch, to see if it solves the problem you had observed. Please note that https://patchwork.kernel.org/patch/9191185/ needs to be applied first (it is availabl

[PATCH] notifier: Fix soft lockup for notifier_call_chain().

2016-06-24 Thread Ding Tianhong
The problem was occurs in my system that a lot of drviers register its own handler to the notifier call chain for netdev_chain, and then create 4095 vlan dev for one nic, and add several ipv6 address on each one of them, just like this: for i in `seq 1 4095`; do ip link add link eth0 name eth0.$i

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Linus Torvalds
On Fri, Jun 24, 2016 at 2:34 PM, Andy Lutomirski wrote: >> >> So let me get the pure semantic patches done, and then for 4.8 when we >> do the things that actually change real meaning we'll have a sane >> base. Ok? > > Works for me. I'll see whether my vmap patches still

Re: [PATCH] block-dev: enable writeback cgroup support

2016-06-24 Thread Sasha Levin
z-executor Tainted: GW 4.7.0-rc4-next-20160624-sasha-00024-gdee1616 #3132 [ 496.951051] task: 8801bb0a9000 ti: 8801b5b7 task.ti: 8801b5b7 [ 496.951406] RIP: bd_mount (fs/block_dev.c:663) [ 496.951423] RSP: 0018:8801b5b77c48 EFLAGS: 00010207 [ 496.951437]

Re: [PATCH] hwmon: (emc6w201): trivial fix of spelling mistake "Unknwown" -> "Unknown"

2016-06-24 Thread Guenter Roeck
On 06/24/2016 10:31 AM, Colin King wrote: From: Colin Ian King trivial fix to spelling mistake in dev_dbg message Signed-off-by: Colin Ian King --- Applied to -next. Thanks, Guenter

Re: [RFC] reference count hardening via kref: another attempt

2016-06-24 Thread Kees Cook
On Fri, Jun 24, 2016 at 6:13 PM, Jann Horn wrote: > I would like to harden the kernel against reference count > overflow bugs. The commit message of the patch contains > a short analysis of code size impact, an explanation why I > want reference count hardening to land in the

[PATCH] perf build: Add libbabeltrace to build-test

2016-06-24 Thread Wang Nan
'make build-test' doesn't test LIBBABELTRACE=1. It misses a building failure caused by commit 41840d211c51 ("perf config: Move config declarations from util/cache.h to util/config.h"), breaks bisect. Add LIBBABELTRACE=1 to build-test. Signed-off-by: Wang Nan Cc: Arnaldo

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-24 Thread Wim Osterholt
On Fri, Jun 24, 2016 at 02:09:15AM -0400, Sinan Kaya wrote: > > Can you give it a try? Whell, I tried to no avail. Wether it is on 4.6 or 4.7, with or without your previous patch, I keep getting rejected hunks. For example, here the line to be deleted is nowhere to be found: > diff --git

Re: [PATCH 5/8] KEYS: Provide software public key query function [ver #2]

2016-06-24 Thread Herbert Xu
On Fri, Jun 24, 2016 at 01:06:02PM +0100, David Howells wrote: > > The problem is that if I'm to produce consistency with, say, the TPM > interface, then I have to deal in wrapped/padded data - leastways as far as I > can tell from reading the docs. So the TPM device is accessed through the same

Re: [PATCH 1/2] perf data convert: Include config.h header

2016-06-24 Thread Wangnan (F)
You can add: Fixes: 41840d211c51 ("perf config: Move config declarations from util/cache.h to util/config.h") Thank you. On 2016/6/24 20:40, Jiri Olsa wrote: otherwise some compiler might scream: $ make LIBBABELTRACE_DIR=/opt/libbabeltrace/ LIBBABELTRACE=1 BUILD: Doing 'make -j4'

Re: [PATCH 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function

2016-06-24 Thread Guenter Roeck
00 That was weird. Does'nt look like endian-ness swap thingy So, did the following hack to see all messages flowing in and out from 0x48 at bus controller driver level: http://pastebin.ubuntu.com/17813093/ / # dmesg|grep XXX / # Before patch #5 (and on next-20160624): the same diff gave

Re: [PATCH] memory:bugxfix panic on cat or write /dev/kmem

2016-06-24 Thread Chenjie (K)
On 2016/6/23 20:42, Michal Hocko wrote: On Fri 24-06-16 01:30:10, chenj...@huawei.com wrote: From: chenjie cat /dev/kmem and echo > /dev/kmem will lead panic Writing to /dev/kmem without being extremely careful is a disaster AFAIK and even reading from the file can

[RFC] kref: pin objects with dangerously high reference count

2016-06-24 Thread Jann Horn
Reference counting is a frequent source of (security) trouble in the kernel. Here are the three main things that can, as far as I know, go wrong with it, together with examples of specific bugs: - reference count overdecrement: If something (e.g. a normally-unused error path) decrements a

[RFC] reference count hardening via kref: another attempt

2016-06-24 Thread Jann Horn
I would like to harden the kernel against reference count overflow bugs. The commit message of the patch contains a short analysis of code size impact, an explanation why I want reference count hardening to land in the kernel, and a description of the algorithm I'd want to use. The reason I'm

Re: [linux-sunxi] Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node

2016-06-24 Thread Chen-Yu Tsai
Hi, On Sat, Jun 25, 2016 at 3:58 AM, Ondřej Jirman wrote: > Hello, > > thank you for the review. > > On 24.6.2016 04:41, Chen-Yu Tsai wrote: >> On Fri, Jun 24, 2016 at 3:20 AM, wrote: >>> From: Josef Gajdusek >>> >>> Add a node describing

Re: [RESEND PATCH v2 1/2] power/cpuidle: enhance the precision of state select

2016-06-24 Thread Rafael J. Wysocki
On Fri, Jun 17, 2016 at 11:13 AM, Zhaoyang Huang wrote: > In previous version, cpu_pm_enter is invoked By whom? Not by the core surely? > after the governor select the state, which cause the executing time of > cpu_pm_enter > is included in the idle time. Moving it

Re: [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-24 Thread Chen-Yu Tsai
On Sat, Jun 25, 2016 at 6:51 AM, Ondřej Jirman wrote: > Hello, > > comments below. > > On 24.6.2016 05:48, Chen-Yu Tsai wrote: >> On Fri, Jun 24, 2016 at 3:20 AM, wrote: >>> From: Ondrej Jirman >>> >>> Add label to the first cpu so that

Re: [PATCH 07/14] regulator: SY8106A regulator driver

2016-06-24 Thread Chen-Yu Tsai
On Sat, Jun 25, 2016 at 8:11 AM, Ondřej Jirman wrote: > Hi, > > thank you for the review. I've resolved most of the issues. Some more > comments below. > > On 24.6.2016 05:41, Chen-Yu Tsai wrote: >> On Fri, Jun 24, 2016 at 3:20 AM, wrote: >>> From: Ondrej

Re: [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-24 Thread Ondřej Jirman
On 25.6.2016 02:54, Chen-Yu Tsai wrote: > On Sat, Jun 25, 2016 at 8:35 AM, Ondřej Jirman wrote: >> On 24.6.2016 05:09, Chen-Yu Tsai wrote: +static int sun8i_ths_h3_init(struct platform_device *pdev, +struct sun8i_ths_data *data) +{

Re: [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-24 Thread Chen-Yu Tsai
On Sat, Jun 25, 2016 at 8:35 AM, Ondřej Jirman wrote: > On 24.6.2016 05:09, Chen-Yu Tsai wrote: >>> +static int sun8i_ths_h3_init(struct platform_device *pdev, >>> +struct sun8i_ths_data *data) >>> +{ >>> + int ret; >>> + size_t callen;

Re: [PATCH v3] Input: synaptics-rmi4: Support regulator supplies

2016-06-24 Thread Andrew Duggan
On 06/10/2016 10:25 PM, Bjorn Andersson wrote: From: Bjorn Andersson Support the two supplies - vdd and vio - to make it possible to control power to the Synaptics chip. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn

Re: [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-24 Thread Ondřej Jirman
On 24.6.2016 05:09, Chen-Yu Tsai wrote: >> +static int sun8i_ths_h3_init(struct platform_device *pdev, >> +struct sun8i_ths_data *data) >> +{ >> + int ret; >> + size_t callen; >> + s32 *caldata; >> + >> + data->busclk = devm_clk_get(>dev, "ahb");

[perf core] c5dfd78eb7: BUG: unable to handle kernel NULL pointer dereference at 00000c40

2016-06-24 Thread kernel test robot
3 Merge tag 'upstream-4.7-rc5' of git://git.infradead.org/linux-ubifs # extra tests on tree/branch linus/master git bisect bad 63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2 # 08:23 0- 5 Merge tag 'upstream-

Re: [PATCH v2 14/15] clk: sunxi-ng: Add H3 clocks

2016-06-24 Thread Michael Turquette
Hi Maxime, Nice series! Looks really great to me. :-) Quoting Maxime Ripard (2016-06-07 13:41:53) > +static SUNXI_CCU_NKMP_WITH_GATE_LOCK(pll_cpux_clk, "pll-cpux", > +"osc24M", 0x000, > +8, 5, /* N */ > +

[PATCH v2 1/2] namespaces: don't use from_k*id_munged() with init_user_ns

2016-06-24 Thread Jann Horn
For init_user_ns, from_kuid_munged() and from_kgid_munged() are guaranteed to be identical to from_kuid() and from_kgid(). In preparation for another patch, change all usages of the _munged variants that explicitly use init_user_ns to the non-munged ones. This patch by itself should not have any

[PATCH v2 2/2] namespaces: add transparent user namespaces

2016-06-24 Thread Jann Horn
This allows the admin of a user namespace to mark the namespace as transparent. All other namespaces, by default, are opaque. While the current behavior of user namespaces is appropriate for use in containers, there are many programs that only use user namespaces because doing so enables them to

Re: [PATCH 2/2] acpi: pmic: intel: initialize result to 0

2016-06-24 Thread Rafael J. Wysocki
On Wednesday, June 22, 2016 05:55:40 PM Heikki Krogerus wrote: > From: Felipe Balbi > > Fixes compiler warning. > > Signed-off-by: Felipe Balbi > Signed-off-by: Heikki Krogerus > --- >

Re: [PATCH v6 0/5] ACPI / processor_idle: Add ACPI v6.0 LPI support

2016-06-24 Thread Rafael J. Wysocki
On Thursday, June 23, 2016 02:42:57 AM Rafael J. Wysocki wrote: > On Wednesday, June 22, 2016 06:45:15 PM Sudeep Holla wrote: > > Hi Rafael, > > > > On 14/06/16 15:48, Sudeep Holla wrote: > > > ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate > > > method to describe

[PATCH v3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2016-06-24 Thread Andrew Duggan
The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core. Signed-off-by: Andrew Duggan --- In v3 I went ahead and added RMI4_F12 to the Kconfig

[PATCH v2 7/8] Input: synaptics-rmi4: Handle incomplete input data

2016-06-24 Thread Andrew Duggan
Commit 5b65c2a02966 ("HID: rmi: check sanity of the incoming report") added support for handling incomplete HID reports do to the input data being corrupted in transit. This patch reimplements this functionality in the function drivers so they can handle getting less valid data then they expect.

[PATCH v2 8/8] Input: synaptics-rmi4: Use the RMI_F11_REL_BYTES define in rmi_f11_rel_pos_report

2016-06-24 Thread Andrew Duggan
The size of relative data in F11 is already defined by RMI_F11_REL_BYTES. Use the define in rmi_f11_rel_pos_report() to be consistent. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/rmi_f11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4 0/3] acpi/pmic: add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 24, 2016 10:25:21 AM Aaron Lu wrote: > On 06/24/2016 08:43 AM, Bin Gao wrote: > > This series modifies the pen function signature to take bit field > > and adds a new opregion driver for Intel BXT WhiskeyCove PMIC. It > > also adds support for PMIC regs operation region. > >

[PATCH v2 6/8] Input: synaptics-rmi4: Remove unneeded variable

2016-06-24 Thread Andrew Duggan
Remove the data_base_addr_offset variable in rmi_f11_attention(). The f11 data is read as a single block so there is no need to store an offset to the data address. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/rmi_f11.c | 5 + 1 file changed, 1 insertion(+), 4

[PATCH v2 5/8] Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data

2016-06-24 Thread Andrew Duggan
The pointer to struct rmi_function in f12_data is never set and was never used. The fn pointer is also stored in rmi_2d_sensor which is a member of f12_data. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/rmi_f12.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 4/8] Input: synaptics-rmi4: Add support for controlling dribble packets in F12

2016-06-24 Thread Andrew Duggan
Implements reading and setting the dribble bit in F12's control registers. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/rmi_f12.c | 74 +++- 1 file changed, 73 insertions(+), 1 deletion(-) diff --git

[PATCH v2 3/8] Input: synaptics-rmi4: Add dribble and palm gesture parameters to device tree

2016-06-24 Thread Andrew Duggan
Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_2d_sensor.txt | 4 drivers/input/rmi4/rmi_2d_sensor.c| 11 +++ 2 files changed, 15 insertions(+) diff --git

[PATCH v2 1/8] Input: synaptics-rmi4: Increment the refcount of the transport dev's of_node

2016-06-24 Thread Andrew Duggan
Increment the refcount for the transport device's of_node before calling of_find_node_by_name(). Since of_find_node_by_name() assumes the refcount was incremented by the caller and calls of_node_put() when it is done. Signed-off-by: Andrew Duggan ---

[PATCH v2 2/8] Input: synaptics-rmi4: Add parameters for dribble packets and palm detect gesture

2016-06-24 Thread Andrew Duggan
The rmi_f11 driver currently disables dribble packets and the palm detect gesture for all devices. This patch creates a parameter in the 2d sensor platform data for controlling this functionality on a per device basis. For more information on dribble packets: Commit 05ba999fcabb ("HID: rmi:

[PATCH v2 0/8] Input: synaptics-rmi4: Reimplement functionality from hid-rmi

2016-06-24 Thread Andrew Duggan
The majority of this patch is reimplementing some of the functionality which was initially implemented in hid-rmi and reimplements it in the core. When hid-rmi is converted into a transport for rmi_core the functionality of existing touchpads should not change. Several of these patches address

Re: [PATCH 07/14] regulator: SY8106A regulator driver

2016-06-24 Thread Ondřej Jirman
Hi, thank you for the review. I've resolved most of the issues. Some more comments below. On 24.6.2016 05:41, Chen-Yu Tsai wrote: > On Fri, Jun 24, 2016 at 3:20 AM, wrote: >> From: Ondrej Jirman >> >> SY8106A is I2C attached single output voltage

Re: regression caused by bb6ab52f2bef ("intel_pstate: Do not set utilization update hook too early")

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 17, 2016 04:09:33 PM Jisheng Zhang wrote: > Dear all, > > If using acpi-cpufreq instead, v4.6, v4.6-rc3, v4.7-rc3 can't reproduce the > issue. It seems > only intel_pstate is impacted. Which is quite obvious, since the commit your bisection led to was intel_pstate-specific. :-)

Re: [PATCH] selftests/lib: set printf.sh executable

2016-06-24 Thread Shuah Khan
Hi SeongJae Park, Thanks for the ping. On 06/24/2016 05:56 PM, SeongJae Park wrote: > Shuah, > > > May I ask your opinion about this patch? > > > Thanks, > SeongJae Park > > On Sun, Jun 19, 2016 at 2:50 AM, Kees Cook wrote: >> On Sat, Jun 18, 2016 at 2:28 AM,

Re: regression caused by bb6ab52f2bef ("intel_pstate: Do not set utilization update hook too early")

2016-06-24 Thread Rafael J. Wysocki
On Thu, Jun 23, 2016 at 6:07 PM, Doug Smythies wrote: > On 2016.06.17 08:32 Jisheng Zhang wrote: > >> Second, sorry again for report incorrect commit, >> I were too tired this morning so I remember the wrong commit. >> The regression is caused by bb6ab52f2bef ("intel_pstate:

Re: [GIT PULL] phy: for 4.7 -rc cycle

2016-06-24 Thread Greg KH
On Thu, Jun 23, 2016 at 11:32:18AM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the 2nd pull request for the -rc cycle. This contains minor > fixes in various phy drivers. I've listed the changes in the tag message. > Consider merging it in this -rc cyle. > > Please let me

Re: [PATCH] selftests/lib: set printf.sh executable

2016-06-24 Thread SeongJae Park
Shuah, May I ask your opinion about this patch? Thanks, SeongJae Park On Sun, Jun 19, 2016 at 2:50 AM, Kees Cook wrote: > On Sat, Jun 18, 2016 at 2:28 AM, SeongJae Park wrote: >> Test for test_printf module fails always because the test program,

Re: [RESEND PATCH 4/8] clk: core: support clocks which requires parents on (part 2)

2016-06-24 Thread Michael Turquette
Hi Dong, Quoting Dong Aisheng (2016-04-20 02:34:36) > On Freescale i.MX7D platform, all clocks operations, including > enable/disable, rate change and re-parent, requires its parent clock on. > Current clock core can not support it well. > This patch adding flag CLK_OPS_PARENT_ON to handle this

[PATCH] orangefs: fix namespace handling

2016-06-24 Thread Jann Horn
In orangefs_inode_getxattr(), an fsuid is written to dmesg. The kuid is converted to a userspace uid via from_kuid(current_user_ns(), [...]), but since dmesg is global, init_user_ns should be used here instead. In copy_attributes_from_inode(), op_alloc() and fill_default_sys_attrs(), upcall

Re: [RESEND PATCH 3/8] clk: core: support clocks which requires parents on (part 1)

2016-06-24 Thread Michael Turquette
Quoting Dong Aisheng (2016-04-20 02:34:35) > On Freescale i.MX7D platform, all clocks operations, including > enable/disable, rate change and re-parent, requires its parent > clock on. Current clock core can not support it well. > This patch introduce a new flag CLK_OPS_PARENT_ON to handle this >

Re: [PATCH perf/core v12 00/16] perf-probe --cache and SDT support

2016-06-24 Thread Masami Hiramatsu
On Fri, 24 Jun 2016 13:25:20 -0700 Brendan Gregg wrote: > On Fri, Jun 24, 2016 at 2:05 AM, Masami Hiramatsu wrote: > > Hi, > > > > Here is the 12th version of the patchset for probe-cache and > > initial SDT support. > > > > Here is the previous

[PATCH v5 3/3] LSM: Add context interface for proc attrs

2016-06-24 Thread Casey Schaufler
Subject: [PATCH v5 3/3] LSM: Add context interface for proc attrs (I sent this with the wrong version number. This is the same otherwise) The /proc/.../attr/current interface is used by all three Linux security modules (SELinux, Smack and AppArmor) to report and modify the process security

Re: [PATCH v8 4/4] Input: synaptics-rmi4 - add SMBus support

2016-06-24 Thread Dmitry Torokhov
On Fri, Jun 24, 2016 at 09:19:32AM +0200, Benjamin Tissoires wrote: > On Jun 23 2016 or thereabouts, Dmitry Torokhov wrote: > > On Thu, Jun 09, 2016 at 04:53:50PM +0200, Benjamin Tissoires wrote: > > > + > > > +static struct i2c_driver rmi_smb_driver = { > > > + .driver = { > > > + .owner

[PATCH v4 3/3] LSM: Add context interface for proc attrs

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

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

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

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

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

[PATCH v5 0/3] LSM: security module information improvements

2016-06-24 Thread Casey Schaufler
Subject: [PATCH v5 0/3] LSM: security module information improvements Changes from v4: Use kasprintf instead of kzalloc() ... sprintf in more places. More in the documentation. Separate module information in contexts with ",". (not yet visible) Changes from v3:

Re: [PATCH v3 0/9] reduce memory usage by page_owner

2016-06-24 Thread Andrew Morton
On Fri, 17 Jun 2016 16:57:30 +0900 js1...@gmail.com wrote: > There was a bug reported by Sasha and minor fixes is needed > so I send v3. > > o fix a bg reported by Sasha (mm/compaction: split freepages > without holding the zone lock) > o add code comment for todo list (mm/page_owner: use

Re: [PATCH v2 06/24] fs: ext4: Use current_time() for inode timestamps

2016-06-24 Thread Deepa Dinamani
>> @@ -3727,6 +3727,7 @@ static int ext4_cross_rename(struct inode *old_dir, >> struct dentry *old_dentry, >> }; >> u8 new_file_type; >> int retval; >> + struct timespec ctime; >> >> if ((ext4_encrypted_inode(old_dir) || >>

Re: [PATCH] acpi: cppc: Prevent cpc_desc_ptr points to the invalid data

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 24, 2016 09:35:32 AM Hoan Tran wrote: > On Tue, May 31, 2016 at 12:29 PM, Ashwin Chaugule > wrote: > > > > On 27 May 2016 at 12:41, Hoan Tran wrote: > > > Hi Ashwin, > > > > Hi, > > > > > > > > Yes, I saw kernel crash. > > > As

mmotm 2016-06-24-15-53 uploaded

2016-06-24 Thread akpm
The mm-of-the-moment snapshot 2016-06-24-15-53 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-24 Thread Ondřej Jirman
Hello, comments below. On 24.6.2016 05:48, Chen-Yu Tsai wrote: > On Fri, Jun 24, 2016 at 3:20 AM, wrote: >> From: Ondrej Jirman >> >> Add label to the first cpu so that it can be referenced >> from derived dts files. >> >> Signed-off-by: Ondrej Jirman

[GIT PULL] ACPI fix for v4.7-rc5

2016-06-24 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.7-rc5 to receive an ACPI update for v4.7-rc5 with top-most commit 2605b98109100f70398115a473ea190ce93fda5e Merge branch 'acpica-fixes' on top of commit

[GIT PULL] Power management fixes for v4.7-rc5

2016-06-24 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.7-rc5 to receive power management fixes for v4.7-rc5 with top-most commit e753f3050935ff5a52069fef802bee72ab19c098 Merge branches 'pm-devfreq-fixes' and 'pm-cpufreq-fixes' on top of commit

Re: [PATCH v6 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 24, 2016 11:04:07 PM Daniel Lezcano wrote: > On 06/22/2016 04:17 PM, Lorenzo Pieralisi wrote: > > Hi Sudeep, > > > > On Tue, Jun 14, 2016 at 03:48:38PM +0100, Sudeep Holla wrote: > >> This patch adds appropriate callbacks to support ACPI Low Power Idle > >> (LPI) on ARM64. > >> >

[PATCH v4 2/2] kbuild: Remove stale asm-generic wrappers

2016-06-24 Thread James Hogan
When a header file is removed from generic-y (often accompanied by the addition of an arch specific header), the generated wrapper file will persist, and in some cases may still take precedence over the new arch header. For example commit f1fe2d21f4e1 ("MIPS: Add definitions for extended

[PATCH v4 1/2] kbuild, x86: Track generated headers with generated-y

2016-06-24 Thread James Hogan
Track generated header files which aren't already in genhdr-y, alongside generic-y wrappers in the */include/generated/[uapi/]asm/ directories. Currently only x86 generates extra headers in these directories, for the purposes of enumerating system calls for different ABIs, and xen hypercalls.

[PATCH v4 0/2] kbuild: Remove stale asm-generic wrappers

2016-06-24 Thread James Hogan
This patchset attempts to fix kbuild to automatically remove stale asm-generic wrappers, i.e. when files are removed from generic-y and added directly into arch/*/include/uapi/asm/, but where the existing wrapper in arch/*/include/generated/asm/ continues to be used. MIPS was recently burned by

Re: [linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-24 Thread Ondřej Jirman
Hi Julian, thank you for the review. You're right. I added the pinctrl client nodes. Also the patches were split incorrectly, so I fixed that too. regards, Ondrej On 24.6.2016 04:51, Julian Calaby wrote: > Hi Ondrej, > > On Fri, Jun 24, 2016 at 5:21 AM, wrote: >> From:

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Jirka Hladky
Hi Peter, I have compiled your version of linux kernel and run the SPECjvm2008 tests. Results are fine, performance is at the level of 4.6 kernel. $ git rev-parse HEAD 02548776ded1185e6e16ad0a475481e982741ee9 Jirka On Fri, Jun 24, 2016 at 5:54 PM, Peter Zijlstra

Re: [PATCH v3 0/6] watchdog: add watchdog pretimeout framework

2016-06-24 Thread Vladimir Zapolskiy
Hi Wolfram, Guenter, On 24.06.2016 16:45, Guenter Roeck wrote: > On 06/24/2016 02:46 AM, Wolfram Sang wrote: >> On Tue, Jun 07, 2016 at 08:38:41PM +0300, Vladimir Zapolskiy wrote: >>> The change adds a simple watchdog pretimeout framework infrastructure, >>> its purpose is to allow users to

[GIT PULL] bugfixes for 4.7

2016-06-24 Thread J. Bruce Fields
Please pull the following nfsd changes from the nfsd-4.7-2 tag at: git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.7-2 --b. Fix missing server-side permission checks on setting NFS ACLs.

Re: [PATCH v2 2/5] input: pmic8xxx-pwrkey: Add support for pm8018 pwrkey

2016-06-24 Thread Dmitry Torokhov
On Fri, Jun 24, 2016 at 11:18:04AM +0200, Neil Armstrong wrote: > In order to support pwrkey for Qualcomm MDM9615 SoC, add support > for the pm8018 pwrkey in pmic8xxx-pwrkey. > > Reviewed-by: Bjorn Andersson > Signed-off-by: Neil Armstrong

Re: [PATCH 2/4] input: touchscreen: crtouch_ts: Add driver

2016-06-24 Thread Dmitry Torokhov
Hi Anthony, On Fri, Jun 24, 2016 at 03:44:44PM -0400, Anthony Felice wrote: > Add driver for the Vybrid Tower CRTouch-based touchscreen. This is > required for the touchscreen on the TWR-LCD-RGB to work on the Vybrid > Tower platform. > > There is a known issue with this driver: rarely, SW1 on

Re: [PATCH] mfd: intel-lpss: fix compilation issue if PM_SLEEP is not set

2016-06-24 Thread Vladimir Zapolskiy
On 24.06.2016 11:28, Andy Shevchenko wrote: > On Fri, 2016-06-24 at 03:11 +0300, Vladimir Zapolskiy wrote: >> If kernel build configuration has enabled CONFIG_PM and unset >> CONFIG_PM_SLEEP, then intel-lpss-pci.c and intel-lpss-acpi.c can not >> be compiled due to a missing

Ignore these, sorry!

2016-06-24 Thread Lyude
Sorry about that; I accidentally did a git send-email with some older patches leftover in my patch folder. Just ignore this thread On Fri, 2016-06-24 at 17:45 -0400, Lyude wrote: > Latest version of: > > https://lists.freedesktop.org/archives/intel-gfx/2016-June/098787.htm > l > > The only

[PATCH 1/2 RESEND] drm/radeon: Poll for both connect/disconnect on analog connectors

2016-06-24 Thread Lyude
DRM_CONNECTOR_POLL_CONNECT only enables polling for connections, not disconnections. Because of this, we end up losing hotplug polling for analog connectors once they get connected. Easy way to reproduce: - Grab a machine with a radeon GPU and a VGA port - Plug a monitor into the VGA port, wait

[PATCH 2/2 RESEND] drm/amdgpu: Poll for both connect/disconnect on analog connectors

2016-06-24 Thread Lyude
DRM_CONNECTOR_POLL_CONNECT only enables polling for connections, not disconnections. Because of this, we end up losing hotplug polling for analog connectors once they get connected. Easy way to reproduce: - Grab a machine with an AMD GPU and a VGA port - Plug a monitor into the VGA port, wait

Re: [PATCH 1/2] drm/radeon: Poll for both connect/disconnect on analog connectors

2016-06-24 Thread Lyude
Whoops, very sorry about this! I ran git send-email, and it looks like I had forgotten to remove some other patches in my patches/ folder. Going to resend this to avoid confusing anyone trying to review this. On Fri, 2016-06-24 at 17:45 -0400, Lyude wrote: > DRM_CONNECTOR_POLL_CONNECT only

Re: [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-24 Thread Ondřej Jirman
Thanks, I've incorporated all the suggestions (and more :)), except for the threaded IRQ, which si expalined below. regards, Ondrej On 24.6.2016 05:09, Chen-Yu Tsai wrote: > Hi, > > On Fri, Jun 24, 2016 at 3:20 AM, wrote: >> From: Ondrej Jirman >> > >

Re: [PATCH v9 2/2] Input: synaptics-rmi4 - add SMBus support

2016-06-24 Thread kbuild test robot
Hi, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.7-rc4 next-20160624] [cannot apply to input/next] [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/Benjamin

[PATCH] Input: fix platform_no_drv_owner.cocci warnings

2016-06-24 Thread kbuild test robot
drivers/input/rmi4/rmi_smbus.c:448:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Benjamin Tissoires Signed-off-by:

[PATCH v6 1/4] drm/i915/vlv: Make intel_crt_reset() per-encoder

2016-06-24 Thread Lyude
This lets call intel_crt_reset() in contexts where IRQs are disabled and as such, can't hold the locks required to work with the connectors. Cc: sta...@vger.kernel.org Cc: Ville Syrjälä Acked-by: Daniel Vetter Signed-off-by: Lyude

[PATCH v6 2/4] drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init()

2016-06-24 Thread Lyude
While VGA hotplugging worked(ish) before, it looks like that was mainly because we'd unintentionally enable it in valleyview_crt_detect_hotplug() when we did a force trigger. This doesn't work reliably enough because whenever the display powerwell on vlv gets disabled, the values set in VLV_ADPA

  1   2   3   4   5   6   7   8   >