Re: [PATCH v2 3/4] dt-bindings: phy: Add support for QMP phy

2016-11-28 Thread Stephen Boyd
On 11/22, Vivek Gautam wrote: > diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > new file mode 100644 > index 000..ffb173b > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > @@ -0,0 +1

Re: [PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs

2016-11-28 Thread David Matlack
On Mon, Nov 28, 2016 at 2:48 PM, Paolo Bonzini wrote: > On 28/11/2016 22:11, David Matlack wrote: >> > PINBASED_CTLS, PROCBASED_CTLS, EXIT_CTLS and ENTRY_CTLS can be derived >> > from their "true" counterparts, so I think it's better to remove the >> > "non-true" ones from struct nested_vmx (and/o

RE: [char-misc-next 4/4 V2] mei: bus: enable non-blocking RX

2016-11-28 Thread Winkler, Tomas
> > > > > > On Sat, Nov 19, 2016 at 02:16:11PM +0200, Tomas Winkler wrote: > > > From: Alexander Usyskin > > > > > > Enable non-blocking receive for drivers on mei bus, this allows > > > checking for data availability by mei client drivers. This is most > > > effective for fixed address clients,

[PATCH v2 06/13] net: ethernet: ti: cpts: disable cpts when unregistered

2016-11-28 Thread Grygorii Strashko
The cpts now is left enabled after unregistration. Hence, disable it in cpts_unregister(). Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpts.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index cb851a7..9a

[PATCH v2 10/13] net: ethernet: ti: cpts: drop excessive writes to CTRL and INT_EN regs

2016-11-28 Thread Grygorii Strashko
CPTS module and IRQs are always enabled when CPTS is registered, before starting overflow check work, and disabled during deregistration, when overflow check work has been canceled already. So, It doesn't require to (re)enable CPTS module and IRQs in cpts_overflow_check(). Signed-off-by: Grygorii

[PATCH v2 01/13] net: ethernet: ti: cpts: switch to readl/writel_relaxed()

2016-11-28 Thread Grygorii Strashko
Switch to readl/writel_relaxed() APIs, because this is recommended API and the CPTS IP is reused on Keystone 2 SoCs where LE/BE modes are supported. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v2 03/13] net: ethernet: ti: cpsw: minimize direct access to struct cpts

2016-11-28 Thread Grygorii Strashko
This will provide more flexibility in changing CPTS internals and also required for further changes. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpsw.c | 28 +++- drivers/net/ethernet/ti/cpts.h | 39 +++ 2 files changed

[PATCH v2 02/13] net: ethernet: ti: allow cpts to be built separately

2016-11-28 Thread Grygorii Strashko
TI CPTS IP is used as part of TI OMAP CPSW driver, but it's also present as part of NETCP on TI Keystone 2 SoCs. So, It's required to enable build of CPTS for both this drivers and this can be achieved by allowing CPTS to be built separately. Hence, allow cpts to be built separately and convert it

[PATCH 0/6] net: ethernet: ti: cpts: update and enable support on keystone 2 socs

2016-11-28 Thread Grygorii Strashko
Time Synchronization (CPTS) submodule which is present on KeyStone 66AK2HK/E/L/Gx 1G Switch Subsystem provides the same basic functionality as OMAP CPSW CPTS, but with few additional features: - CPTS rftclk selection (reg CPTS_RFTCLK_SEL). This feature is declared to be supported on am437x SoCs

[PATCH 3/6] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH

2016-11-28 Thread Grygorii Strashko
This patch adds support of the CPTS HW_TS_PUSH events which are generated by external low frequency time stamp channels on TI's OMAP CPSW and Keystone 2 platforms. It supports up to 8 external time stamp channels for HW_TS_PUSH input pins (the number of supported channel is different for different

[PATCH 2/6] net: ethernet: ti: cpts: add support for ext rftclk selection

2016-11-28 Thread Grygorii Strashko
Some CPTS instances, which can be found on KeyStone 2 1/10G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK). This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08). Hence, introduce optional

[PATCH 5/6] ARM: keystone: dts: fix netcp clocks and add names

2016-11-28 Thread Grygorii Strashko
From: Murali Karicheri Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA PLL clock and add clock names. Signed-off-by: Murali Karicheri Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 3 ++- arch/arm/boot/dts/keystone-k2hk-netcp.dtsi |

[PATCH 6/6] ARM: dts: keystone: enable time synchronization (cpts) submodule

2016-11-28 Thread Grygorii Strashko
This patch adds DT configuration for Time Synchronization (CPTS) submodule which is present on KeyStone 66AK2HK/E/Lx 1G Switch Subsystem. The SYSCLK2 is selected as CPTS rftclk by default. The ts_comp enabled for 66AK2E/L SoCs. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2e-

Re: [PATCH 6/7] trace: Add an option for boot clock as trace clock

2016-11-28 Thread Steven Rostedt
On Mon, 28 Nov 2016 14:35:23 -0800 John Stultz wrote: > From: Joel Fernandes > > Unlike monotonic clock, boot clock as a trace clock will account for > time spent in suspend useful for tracing suspend/resume. This uses > earlier introduced infrastructure for using the fast boot clock. > Acked

[PATCH 1/6] net: ethernet: ti: netcp: add support of cpts

2016-11-28 Thread Grygorii Strashko
From: WingMan Kwok This patch adds support of the cpts device found in the gbe and 10gbe ethernet switches on the keystone 2 SoCs (66AK2E/L/Hx, 66AK2Gx). Signed-off-by: WingMan Kwok Signed-off-by: Grygorii Strashko --- .../devicetree/bindings/net/keystone-netcp.txt | 9 + drivers/net/et

[PATCH 4/6] net: ethernet: ti: cpts: add ptp pps support

2016-11-28 Thread Grygorii Strashko
The TS_COMP output in the CPSW CPTS module is asserted for ts_comp_length[15:0] RCLK periods when the time_stamp value compares with the ts_comp_val[31:0] and the length value is non-zero. The TS_COMP pulse edge occurs three RCLK periods after the values compare. A timestamp compare event is pushed

[PATCH] decode_stacktrace: fix address line detection on x86

2016-11-28 Thread Josh Poimboeuf
Kirill reported that the decode_stacktrace.sh script was broken by the following commit: bb5e5ce545f2 ("x86/dumpstack: Remove kernel text addresses from stack dump") Fix it by updating the per-line absolute address check to also check for function-based address lines like the following: wri

Re: [PATCH 7/7] trace: Update documentation for mono, mono_raw and boot clock

2016-11-28 Thread Steven Rostedt
On Mon, 28 Nov 2016 14:35:24 -0800 John Stultz wrote: > From: Joel Fernandes > > Documentation was missing for mono and mono_raw, add them and also for > the boot clock introduced in this series. > > Cc: Steven Rostedt Acked-by: Steven Rostedt -- Steve > Cc: Thomas Gleixner > Cc: Ingo Mo

[PATCH v2 12/13] net: ethernet: ti: cpts: calc mult and shift from refclk freq

2016-11-28 Thread Grygorii Strashko
The cyclecounter mult and shift values can be calculated based on the CPTS rfclk frequency and timekeepnig framework provides required algos and API's. Hence, calc mult and shift basing on CPTS rfclk frequency if both cpts_clock_shift and cpts_clock_mult properties are not provided in DT (the basi

[PATCH v2 13/13] net: ethernet: ti: cpts: fix overflow check period

2016-11-28 Thread Grygorii Strashko
The CPTS drivers uses 8sec period for overflow checking with assumption that CPTS retclk will not exceed 500MHz. But that's not true on some TI platforms (Kesytone 2). As result, it is possible that CPTS counter will overflow more than once between two readings. Hence, fix it by selecting overflow

Re: [PATCH] dax: try to avoid unused function warnings

2016-11-28 Thread Dan Williams
On Mon, Nov 28, 2016 at 2:51 PM, Ross Zwisler wrote: > On Mon, Nov 28, 2016 at 02:13:29PM -0800, Dan Williams wrote: >> On Mon, Nov 28, 2016 at 1:24 PM, Ross Zwisler >> wrote: >> > On Mon, Nov 28, 2016 at 10:12:17PM +0100, Arnd Bergmann wrote: >> >> Without the get_block based I/O, we get warning

[PATCH v2 04/13] net: ethernet: ti: cpts: fix unbalanced clk api usage in cpts_register/unregister

2016-11-28 Thread Grygorii Strashko
There are two issues with TI CPTS code which are reproducible when TI CPSW ethX device passes few up/down iterations: - cpts refclk prepare counter continuously incremented after each up/down iteration; - devm_clk_get(dev, "cpts") is called many times. Hence, fix these issues by using clk_disable_

[PATCH v2 05/13] net: ethernet: ti: cpts: fix registration order

2016-11-28 Thread Grygorii Strashko
The ptp clock registered before spinlock, which is protecting it, and before timecounter and cyclecounter initialization in cpts_register(). So, ensure that ptp clock is registered the last, after everything else is done. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpts.c | 24

Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2016-11-28 Thread Andi Kleen
> Well, actually it's been optimized a lot from the first instances. > Note, tracepoints need to be quite generic, so where it can be optimized > is not obvious. There is quite a bit of stuff that doesn't change from trace point to trace point. So you could just cache all these decisions into a si

[PATCH v2 07/13] net: ethernet: ti: cpts: rework initialization/deinitialization

2016-11-28 Thread Grygorii Strashko
The current implementation CPTS initialization and deinitialization (represented by cpts_register/unregister()) does too many static initialization from .ndo_open(), which is reasonable to do once at probe time instead, and also require caller to allocate memory for struct cpts, which is internal f

Re: [PATCH V4 10/15] blk-throttle: add a simple idle detection

2016-11-28 Thread Shaohua Li
On Mon, Nov 28, 2016 at 05:21:48PM -0500, Tejun Heo wrote: > Hello, Shaohua. > > On Wed, Nov 23, 2016 at 05:15:18PM -0800, Shaohua Li wrote: > > > Hmm... I'm not sure thinktime is the best measure here. Think time is > > > used by cfq mainly to tell the likely future behavior of a workload so > >

[PATCH v2 08/13] net: ethernet: ti: cpts: move dt props parsing to cpts driver

2016-11-28 Thread Grygorii Strashko
Move DT properties parsing into CPTS driver to simplify CPSW code and CPTS driver porting on other SoC in the future (like Keystone 2) - with this change it will not be required to add the same DT parsing code in Keystone 2 NETCP driver. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/

[PATCH v2 11/13] clocksource: export the clocks_calc_mult_shift to use by timestamp code

2016-11-28 Thread Grygorii Strashko
From: Murali Karicheri The CPSW CPTS driver is capable of doing timestamping on tx/rx packets and requires to know mult and shift factors for timestamp conversion from raw value to nanoseconds (ptp clock). Now these mult and shift factors are calculated manually and provided through DT, which mak

[PATCH v2 00/13] net: ethernet: ti: cpts: update and fixes

2016-11-28 Thread Grygorii Strashko
It is preparation series intended to clean up and optimize TI CPTS driver to facilitate further integration with other TI's SoCs like Keystone 2. Changes in v2: - patch "net: ethernet: ti: cpts: rework initialization/deinitialization" was split on 4 patches - applied comments from Richard Cochra

Re: [PATCH v2 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2016-11-28 Thread Stephen Boyd
On 11/22, Vivek Gautam wrote: > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index e8eb7f2..f1dcec1 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -430,6 +430,17 @@ config PHY_STIH407_USB > Enable this support to enable the picoPHY device used by USB2 >

Re: [PATCH 1/3] hwmon: Add Texas Instruments TMP108 temperature sensor driver.

2016-11-28 Thread John Muir
On Nov 28, 2016, at 2:19 PM, Guenter Roeck wrote: > > The tmp102 driver adds the timeout if the device was in shutdown mode (SD=1). > > if (tmp102->config_orig & TMP102_CONF_SD) { > ... > tmp102->ready_time += msecs_to_jiffies(CONVERSION_TIME_MS); > } > >

[PATCH v2 09/13] net: ethernet: ti: cpts: clean up event list if event pool is empty

2016-11-28 Thread Grygorii Strashko
From: WingMan Kwok When a CPTS user does not exit gracefully by disabling cpts timestamping and leaving a joined multicast group, the system continues to receive and timestamps the ptp packets which eventually occupy all the event list entries. When this happns, the added code tries to remove so

Re: [PATCH v4 2/2] cpuidle: allow setting deepest idle

2016-11-28 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.9-rc7 next-20161128] [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/Jacob-Pan/Stop-sched-tick-in-idle-injection

Re: [PATCH 0/4] Misc enhancements to intel_powerclamp

2016-11-28 Thread Rafael J. Wysocki
On Mon, Nov 28, 2016 at 10:44 PM, Jacob Pan wrote: > This patchset is applicable on top of scheduler support of forced idle > tasks. (https://lkml.org/lkml/2016/11/28/683) > > Jacob Pan (1): > thermal/intel_powerclamp: stop sched tick in forced idle > > Petr Mladek (2): > thermal/intel_powercl

Re: net: GPF in eth_header

2016-11-28 Thread Eric Dumazet
On Mon, 2016-11-28 at 23:19 +0100, Florian Westphal wrote: > It currently returns -EINVAL in cases where skb wasn't changed/altered > (e.g. because it doesn't have a fragment header), so we should ACCEPT in > that case. > Maybe nf_ct_frag6_queue() should return direct NF_ codes then ...

Re: [PATCH v4 2/2] cpuidle: allow setting deepest idle

2016-11-28 Thread Rafael J. Wysocki
On Mon, Nov 28, 2016 at 10:33 PM, Jacob Pan wrote: > When idle injection is used to cap power, we need to override > governor's choice of idle states. This patch allows caller to select > the deepest idle state on a CPU therefore achieve the maximum > potential power saving. > > Signed-off-by: Jac

Re: [PATCH v2 3/4] dt-bindings: phy: Add support for QMP phy

2016-11-28 Thread Stephen Boyd
On 11/22, Vivek Gautam wrote: > Qualcomm chipsets have QMP phy controller that provides > support to a number of controller, viz. PCIe, UFS, and USB. > Adding dt binding information for the same. > > Signed-off-by: Vivek Gautam > Acked-by: Rob Herring > --- > > Changes since v1: > - New patch,

Re: [PATCH v4 1/2] idle: add support for tasks that inject idle

2016-11-28 Thread kbuild test robot
Hi Peter, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.9-rc7 next-20161128] [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/Jacob-Pan/Stop-sched-tick-in-idle-injection

Re: [PATCH 4/4] thermal/intel_powerclamp: stop sched tick in forced idle

2016-11-28 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on soc-thermal/next] [also build test ERROR on v4.9-rc7 next-20161128] [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/Jacob-Pan/Misc-enhancements-to

Re: [PATCH v4 1/2] idle: add support for tasks that inject idle

2016-11-28 Thread Rafael J. Wysocki
On Mon, Nov 28, 2016 at 10:33 PM, Jacob Pan wrote: > From: Peter Zijlstra > > Idle injection drivers such as Intel powerclamp and ACPI PAD drivers use > realtime tasks to take control of CPU then inject idle. There are two > issues with this approach: > > 1. Low efficiency: injected idle task is

Re: [tip:x86/core] x86: Enable Intel Turbo Boost Max Technology 3.0

2016-11-28 Thread Rafael J. Wysocki
On Monday, November 28, 2016 09:35:58 AM Tim Chen wrote: > On Mon, 2016-11-28 at 09:51 +0100, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > > > > > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#inclu

Re: [PATCH 1/3] hwmon: Add Texas Instruments TMP108 temperature sensor driver.

2016-11-28 Thread Guenter Roeck
On Mon, Nov 28, 2016 at 03:10:38PM -0800, John Muir wrote: > On Nov 28, 2016, at 2:19 PM, Guenter Roeck wrote: > > > > The tmp102 driver adds the timeout if the device was in shutdown mode > > (SD=1). > > > > if (tmp102->config_orig & TMP102_CONF_SD) { > > ... > > tm

Re: [RFC 1/1] LSM ptags: Add tagging of processes

2016-11-28 Thread José Bollo
Le lundi 28 novembre 2016 à 22:41 +0900, Tetsuo Handa a écrit : > Jose Bollo wrote: > > The fact is that ptags is seat behind the implementation of the > > special > > files in /proc/PID/attr/.. Thus, it has to return an allocated > > buffer. > > I'm not aware of what kind of allocation is possible

RE: [PATCH 3/4] timekeeping: Ignore the bogus sleep time if pm_trace is enabled

2016-11-28 Thread Chen, Yu C
> -Original Message- > From: John Stultz [mailto:john.stu...@linaro.org] > Sent: Tuesday, November 29, 2016 2:39 AM > To: Chen, Yu C > Cc: Ingo Molnar; lkml; Rafael J. Wysocki; Xunlei Pang; Ingo Molnar; Len Brown; > H. Peter Anvin; Pavel Machek; Thomas Gleixner; Prarit Bhargava; Richard >

Re: [PATCH] arm64: dts: Add symlinks for cros-ec-keyboard and cros-ec-sbs

2016-11-28 Thread Brian Norris
Hi Olof, Arnd, On Thu, May 12, 2016 at 03:02:10PM -0700, Doug Anderson wrote: > We'd like to be able to use the cros-ec-keyboard.dtsi and > cros-ec-sbs.dtsi snippets for arm64 devices. Currently those files live > in the arm/boot/dts directory. > > Let's follow the convention set by commit 8ee57

Re: [PATCH v3 24/33] radix-tree: Add radix_tree_split

2016-11-28 Thread Randy Dunlap
On 11/28/16 13:50, Matthew Wilcox wrote: > From: Matthew Wilcox > > This new function splits a larger multiorder entry into smaller entries > (potentially multi-order entries). These entries are initialised to > RADIX_TREE_RETRY to ensure that RCU walkers who see this state aren't > confused. T

Re: [PATCH 2/2] builddeb: allow building without headers/firmware packages

2016-11-28 Thread Andrew Donnellan
On 25/11/16 23:24, Riku Voipio wrote: I'm not a big fan of this patch. It adds some complexity as evident by extra indent level it adds. On practice developers would end up passing a long command line with all KDEB_NO* variables. That's fair! I think the approach in your new patch is probably b

Re: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed

2016-11-28 Thread David Howells
Corey Minyard wrote: > This would prevent any IPMI interface from working if any address was given > on the kernel command line. I'm not sure what the best policy is, but that > sounds like a possible DOS to me. Okay, reasonable point. > Can you put this check in hardcode_find_bmc()? Thats the

Re: [PATCH v2] net: phy: Fix use after free in phy_detach()

2016-11-28 Thread Zach Brown
On Mon, Nov 28, 2016 at 03:18:31PM +0100, Geert Uytterhoeven wrote: > If device_release_driver(&phydev->mdio.dev) is called, it releases all > resources belonging to the PHY device. Hence the subsequent call to > phy_led_triggers_unregister() will access already freed memory when > unregistering th

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

2016-11-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/amd/xgbe/xgbe-main.c between commit: 91eefaabf102 ("amd-xgbe: Fix unused suspend handlers build warning") from the net tree and commit: bd8255d8ba35 ("amd-xgbe: Prepare for supporting PCI devic

Re: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed

2016-11-28 Thread Corey Minyard
On 11/28/2016 06:11 PM, David Howells wrote: Corey Minyard wrote: This would prevent any IPMI interface from working if any address was given on the kernel command line. I'm not sure what the best policy is, but that sounds like a possible DOS to me. Okay, reasonable point. Can you put this

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

2016-11-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx4/en_netdev.c between commit: b4353708f5a1 ("Revert "net/mlx4_en: Avoid unregister_netdev at shutdown flow"") from the net tree and commit: 67f8b1dcb9ee ("net/mlx4_en: Refactor the

Re: [patch] Documentation/process/howto: Only send regression fixes after -rc1

2016-11-28 Thread Jonathan Corbet
On Mon, 28 Nov 2016 17:43:15 +0300 Dan Carpenter wrote: > The original text was not clear if white space or other harmless patches > should be merged in -rc kernels. The discussion at Kernel Summit said > that we should be more strict about sending regression fixes only. Applied to the docs tre

Re: [PATCH] MAINTAINERS: Add bug tracking system location entry type

2016-11-28 Thread Jonathan Corbet
On Fri, 25 Nov 2016 00:13:56 +0100 "Rafael J. Wysocki" wrote: > Following the kernel Bugzilla discussion during the Kernel Summit > (https://lwn.net/Articles/705245/), add bug tracking system location > entry type (B) to MAINTAINERS and populate it for several subsystems > known to be using the k

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix wrong AUTO_RECOVER condition

2016-11-28 Thread Jaegeuk Kim
On Fri, Nov 25, 2016 at 11:40:58PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > isize AUTO_RECOVER still be corrupted..., try below case: > > 1. xfs_io -f /mnt/f2fs/file -c "pwrite 0 4096" -c "fsync" > 2. xfs_io -f /mnt/f2fs/file -c "falloc -k 4096 4096" -c "fsync" > 3. md5sum /mnt/f2fs/file; > 4. god

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

2016-11-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/sched/cls_flower.c between commit: d936377414fa ("net, sched: respect rcu grace period on cls destruction") from the net tree and commit: 13fa876ebd03 ("net/sched: cls_flower: merge filter delete/destroy common

Re: [PATCH] MAINTAINERS: Add bug tracking system location entry type

2016-11-28 Thread Rafael J. Wysocki
On Monday, November 28, 2016 05:27:08 PM Jonathan Corbet wrote: > On Fri, 25 Nov 2016 00:13:56 +0100 > > "Rafael J. Wysocki" wrote: > > Following the kernel Bugzilla discussion during the Kernel Summit > > (https://lwn.net/Articles/705245/), add bug tracking system location > > entry type (B) to

Re: [PATCH v4 1/2] idle: add support for tasks that inject idle

2016-11-28 Thread Jacob Pan
On Tue, 29 Nov 2016 00:22:23 +0100 "Rafael J. Wysocki" wrote: > > + while (!READ_ONCE(it.done)) > > + do_idle(); > > + > > + cpuidle_use_deepest_state(false); > > This actually depends on your [2/2], doesn't it? right, I shall put that after 2/2.

Re: [PATCH v2 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2016-11-28 Thread Stephen Boyd
On 11/22, Vivek Gautam wrote: > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index f1dcec1..8970d9e 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -430,6 +430,15 @@ config PHY_STIH407_USB > Enable this support to enable the picoPHY device used by USB2 >

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-28 Thread Paul E. McKenney
On Mon, Nov 28, 2016 at 03:54:11PM -0600, Josh Poimboeuf wrote: > On Thu, Nov 24, 2016 at 12:33:48PM -0500, Vince Weaver wrote: > > > > This is on a skylake machine, linus git as of yesterday after the various > > kasan-related fixes went in. Not sure if there were any that hadn't hit > > upstr

Re: [PATCH v4 1/2] idle: add support for tasks that inject idle

2016-11-28 Thread Jacob Pan
On Mon, 28 Nov 2016 16:33:07 -0800 Jacob Pan wrote: > > > + cpuidle_use_deepest_state(false); > > > > This actually depends on your [2/2], doesn't it? > > right, I shall put that after 2/2. I mean reverse the order of the two patches. Should I resend the series or you can reverse t

Re: [PATCH] MAINTAINERS: Add bug tracking system location entry type

2016-11-28 Thread Jonathan Corbet
On Tue, 29 Nov 2016 01:29:39 +0100 "Rafael J. Wysocki" wrote: > > Applied to the docs tree, thanks. > > Linus applied it too: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=686564434e88b67ea8dbbf9150286d04c83bd193 Ah, OK, never mind. I haven't pushed anything

Re: [PATCH v5 8/8] iommu/rockchip: Enable Rockchip IOMMU on ARM64

2016-11-28 Thread Brian Norris
Hi, On Fri, Jun 24, 2016 at 10:13:33AM +0800, Shunqian Zheng wrote: > From: Simon Xue > > This patch makes it possible to compile the rockchip-iommu driver on > ARM64, so that it can be used with 64-bit SoCs equipped with this type > of IOMMU. > > Signed-off-by: Simon Xue > Signed-off-by: Shun

Re: [PATCH v4 1/2] idle: add support for tasks that inject idle

2016-11-28 Thread Rafael J. Wysocki
On Tue, Nov 29, 2016 at 1:39 AM, Jacob Pan wrote: > On Mon, 28 Nov 2016 16:33:07 -0800 > Jacob Pan wrote: > >> > > + cpuidle_use_deepest_state(false); >> > >> > This actually depends on your [2/2], doesn't it? >> >> right, I shall put that after 2/2. > > I mean reverse the order of the two

Re: [PATCH] MIPS: Add support for ARCH_MMAP_RND_{COMPAT_}BITS

2016-11-28 Thread Dan Cashman
As can be seen from the following comment in arch/arm64/Kconfig: "" # max bits determined by the following formula: # VA_BITS - PAGE_SHIFT - 3 config ARCH_MMAP_RND_BITS_MAX """ The max value was determined based on the available address space (VA_BITS - PAGE_SHIFT) and an account of how far mma

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-11-28 Thread Rafal Milecki
Hi Ralph, On 11/21/2016 09:40 AM, Ralph Sennhauser wrote: I tried your new usbport trigger in Linux 4.9 with little luck as can be seen in the following output of the serial console. I'm really happy my trigger got some attention. I'm sorry it crashes for you, I never experienced any crash so

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

2016-11-28 Thread Stephen Rothwell
cipher") Missing dependencies? I have used the crypto tree from next-20161128 for today. -- Cheers, Stephen Rothwell

Re: [PATCH V4 06/10] PM / OPP: Add infrastructure to manage multiple regulators

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c > index 37fad2eb0f47..2d5c726c920f 100644 > --- a/drivers/base/power/opp/core.c > +++ b/drivers/base/power/opp/core.c > @@ -235,21 +240,41 @@ unsigned long dev_pm_opp_get_max_volt_latency(stru

Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()

2016-11-28 Thread David Rientjes
On Wed, 23 Nov 2016, Mikulas Patocka wrote: > From: Mikulas Patocka > > dm-bufio: don't take the lock in dm_bufio_shrink_count > > dm_bufio_shrink_count is called from do_shrink_slab to find out how many > freeable objects are there. The reported value doesn't have to be precise, > so we don't

Re: [PATCH V4 03/10] PM / OPP: Don't use OPP structure outside of rcu protected section

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > The OPP structure must not be used out of the rcu protected section. > Cache the values to be used in separate variables instead. > > Signed-off-by: Viresh Kumar > Tested-by: Dave Gerlach > --- Reviewed-by: Stephen Boyd Should this have a fixes tag? -- Qualco

Re: [PATCH V4 04/10] PM / OPP: Manage supply's voltage/current in a separate structure

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > This is a preparatory step for multiple regulator per device support. > Move the voltage/current variables to a new structure. > > Signed-off-by: Viresh Kumar > Tested-by: Dave Gerlach > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a me

Re: [PATCH V4 05/10] PM / OPP: Pass struct dev_pm_opp_supply to _set_opp_voltage()

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > Pass the entire supply structure instead of all of its fields. > > Signed-off-by: Viresh Kumar > Tested-by: Dave Gerlach > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Proj

Re: [PATCH V2 03/10] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-11-28 Thread Eduardo Valentin
On Wed, Oct 26, 2016 at 05:56:37PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Device tree binding information for DA9062 and DA9061 thermal junction > temperature monitor. > > Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor > device driver, using a single THERMAL_T

Re: [PATCH v4 2/2] cpuidle: allow setting deepest idle

2016-11-28 Thread kbuild test robot
Hi Jacob, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.9-rc7 next-20161128] [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/Jacob-Pan/Stop-sched-tick-in-idle-injection

Re: [PATCH 0/9] Get rid of bitmap images

2016-11-28 Thread Jonathan Corbet
On Sun, 20 Nov 2016 14:08:31 -0200 Mauro Carvalho Chehab wrote: > The goal of this patch series is to get rid of PNG images, using either > graphviz > or SVG for images. So the pdfdocs build fails with an error when I apply this... > xelatex -interaction=batchmode 'media.tex' > This is XeTeX,

Re: [PATCH V4 07/10] PM / OPP: Separate out _generic_opp_set_rate()

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > Later patches would add support for custom opp_set_rate callbacks. This > patch separates out the code for generic opp_set_rate handler in order > to prepare for that. s/opp_set_rate/set_opp/ twice? > > Signed-off-by: Viresh Kumar > Tested-by: Dave Gerlach > ---

Re: [PATCH] libnvdimm: use consistent naming for request_mem_region()

2016-11-28 Thread Verma, Vishal L
On Mon, 2016-11-28 at 11:25 -0800, Dan Williams wrote: > Here is an example /proc/iomem listing for a system with 2 > namespaces, > one in "sector" mode and one in "memory" mode: > >   1fc00-2fbff : Persistent Memory (legacy) > 1fc00-2fbff : namespace1.0 >   34000-34fff

Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test

2016-11-28 Thread Ming Lei
Hi Jeff, On Mon, Nov 28, 2016 at 9:40 PM, Jeff Layton wrote: > On Mon, 2016-11-28 at 11:10 +0800, Ming Lei wrote: >> Hi Guys, >> >> When I run stress-ng via the following steps on one ARM64 dual >> socket system(Cavium Thunder), the kernel oops[1] can often be >> triggered after running the stres

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-28 Thread Ben Hutchings
[I've had to guess at the cc list for this, because we no longer have mail archives that preserve them.] On Fri, 2016-11-25 at 10:01 -0800, Linus Torvalds wrote: > On Thu, Nov 24, 2016 at 4:40 PM, Nicholas Piggin wrote: > > > > > > Yes, manual "marking" is never going to be a viable solution. >

Re: [PATCH V4 08/10] PM / OPP: Allow platform specific custom set_opp() callbacks

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c > index 99491f4099e5..7c945d5950bf 100644 > --- a/drivers/base/power/opp/core.c > +++ b/drivers/base/power/opp/core.c > @@ -673,6 +673,7 @@ int dev_pm_opp_set_rate(struct device *dev, unsigned

Re: [PATCH V4 10/10] PM / OPP: Don't assume platform doesn't have regulators

2016-11-28 Thread Stephen Boyd
On 11/24, Viresh Kumar wrote: > If the regulators aren't set explicitly by the platform, the OPP core > assumes that the platform doesn't have any regulator and uses the > clk-only callback. > > If the platform failed to register a regulator with the core, then this > can turn out to be a dangerou

[PATCH v4] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
From: Kuninori Morimoto Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). This patch adds it. It is implemeted in clk-devres.c to share devm_clk_release(). Signed-off-by: Kuninori Morimoto --- v3 -> v4 - git log explain why it is implemeted in clk-devres - it is related to

[RESEND x3][PATCH 1/2 v4] drm/bridge: adv7511: Add Audio support.

2016-11-28 Thread John Stultz
This patch adds support to Audio for both adv7511 and adv7533 bridge chips. This patch was originally from [1] by Lars-Peter Clausen and was adapted by Archit Taneja and Srinivas Kandagatla . Then I heavily reworked it to use the hdmi-codec driver. And also folded in some audio packet initializ

[RESEND x3][PATCH 0/2 v4] Audio support for adv7511 hdmi bridge

2016-11-28 Thread John Stultz
Once again, resending the adv7511 hdmi bridge audio support for review and consideration for merging. (I feel a bit like I'm yelling into the void here, am I missing anyone from the CC list here, or somehow submitting this improperly?) I've taken the core audio work done by Lars-Peter Clausen, a

[RESEND x3][PATCH 2/2 v4] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-11-28 Thread John Stultz
From: Srinivas Kandagatla This patch enables the Audio Data and Clock pads to the adv7533 bridge. Without this patch audio can not be played. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy G

Re: [PATCH V2 09/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-11-28 Thread Eduardo Valentin
Hello Steve, On Wed, Oct 26, 2016 at 05:56:39PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Add junction temperature monitoring supervisor device driver, compatible > with the DA9062 and DA9061 PMICs. > > If the PMIC's internal junction temperature rises above TEMP_WARN (125 > degC) an in

RE: [PATCH][RFC] ACPI throttling: Save/restore tstate for each CPUs across suspend/resume

2016-11-28 Thread Chen, Yu C
Hi, > -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Wednesday, November 23, 2016 7:03 AM > To: Chen, Yu C > Cc: ACPI Devel Maling List; Rui Wang; Linux Kernel Mailing List; Len Brown; > Rafael J. Wysocki; Pavel Machek; M

Re: [lkp] [rcu] a7410f28ce: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 25089 jiffies s: 9 root: 0x1/.

2016-11-28 Thread Ye Xiaolong
On 11/28, Sebastian Andrzej Siewior wrote: >On 2016-11-09 14:25:39 [+0800], kernel test robot wrote: >> >> FYI, we noticed the following commit: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> commit a7410f28ceb566bda840b4afc278747c63383fb6 ("rcu: update: Make

RE: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
> > Subject: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver > > On Mon, 28 Nov 2016 20:08:23 +0800 > Gonglei wrote: > > > +static int virtcrypto_update_status(struct virtio_crypto *vcrypto) > > +{ > > + u32 status; > > + int err; > > + > > + virtio_cread(vcrypto->vdev, > > +

Re: [PATCH v3 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-28 Thread Eduardo Valentin
Hey Caesar, Brian, On Mon, Nov 28, 2016 at 07:12:02PM +0800, Caesar Wang wrote: > The temp_to_code function will return 0 when we set the temperature to a > invalid value (e.g. 61C, 62C, 63C), that's unpractical. This patch > will prevent this case happening. That will return the max analog va

RE: [PATCH 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-11-28 Thread Ruxandra Ioana Radulescu
> -Original Message- > From: Stuart Yoder [mailto:stuart.yo...@nxp.com] > Sent: Friday, October 21, 2016 9:02 AM > To: gre...@linuxfoundation.org > Cc: German Rivera ; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org; ag...@suse.de; a...@arndb.de; Leo Li > ; Roy Pledge ; Roy Pledg

Re: [PATCH v3 4/5] thermal: rockchip: optimize the conversion table

2016-11-28 Thread Eduardo Valentin
On Mon, Nov 28, 2016 at 07:12:03PM +0800, Caesar Wang wrote: > In order to support the valid temperature can conver to analog value. > The rockchip thermal driver has not supported the all valid temperature > to convert the analog value. (e.g.: 61C, 62C, 63C) > > For example: > In some cases,

Re: [PATCH][RFC] ACPI throttling: Save/restore tstate for each CPUs across suspend/resume

2016-11-28 Thread Rafael J. Wysocki
On Tue, Nov 29, 2016 at 2:27 AM, Chen, Yu C wrote: > Hi, >> -Original Message- >> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of >> Rafael J. Wysocki >> Sent: Wednesday, November 23, 2016 7:03 AM [cut] >> >> > + work_on_cpu(cpu, tstate_pm_fn, &save); >>

Re: [PATCH v3 1/5] thermal: rockchip: improve conversion error messages

2016-11-28 Thread Eduardo Valentin
Hello, On Mon, Nov 28, 2016 at 07:12:00PM +0800, Caesar Wang wrote: > From: Brian Norris > > These error messages don't give much information about what went wrong. > It would be nice, for one, to see what invalid temperature was being > requested when conversion fails. It's also good to return

RE: [patch net] net: fec: cache statistics while device is down

2016-11-28 Thread Andy Duan
From: Nikita Yushchenko Sent: Monday, November 28, 2016 10:27 PM >To: David S. Miller ; Andy Duan >; Troy Kisky ; >Andrew Lunn ; Eric Nelson ; Philippe >Reynes ; Johannes Berg ; >net...@vger.kernel.org >Cc: Chris Healy ; Fabio Estevam >; linux-kernel@vger.kernel.org; Nikita >Yushchenko

[PATCH v2] vxlan: fix a potential issue when create a new vxlan fdb entry.

2016-11-28 Thread Haishuang Yan
vxlan_fdb_append may return error, so add the proper check, otherwise it will cause memory leak. Signed-off-by: Haishuang Yan Changes in v2: - Unnecessary to initialize rc to zero. --- drivers/net/vxlan.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/n

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-28 Thread Dave Chinner
On Mon, Nov 28, 2016 at 03:46:51PM -0700, Ross Zwisler wrote: > On Fri, Nov 25, 2016 at 02:00:59PM +1100, Dave Chinner wrote: > > On Wed, Nov 23, 2016 at 11:44:19AM -0700, Ross Zwisler wrote: > > > Tracepoints are the standard way to capture debugging and tracing > > > information in many parts of

Re: [PATCH] dax: try to avoid unused function warnings

2016-11-28 Thread Dave Chinner
On Mon, Nov 28, 2016 at 03:08:18PM -0800, Dan Williams wrote: > On Mon, Nov 28, 2016 at 2:51 PM, Ross Zwisler > wrote: > > On Mon, Nov 28, 2016 at 02:13:29PM -0800, Dan Williams wrote: > >> On Mon, Nov 28, 2016 at 1:24 PM, Ross Zwisler > >> wrote: > >> > On Mon, Nov 28, 2016 at 10:12:17PM +0100,

Re: [PATCH v2] irqchip/gicv3-its: Enable cacheable attribute Read-allocate hints

2016-11-28 Thread Shanker Donthineni
Hi Marc, Please comment on this patch. I'm seeing ~1000 cpu cycles interrupt latency improvement on Qualcomm server platforms if the ITS tables are not in L1/L2/L3 cache. You can find the test code at https://patchwork.kernel.org/patch/9416793 which I used to validate my code changes. Thank

[PATCH 2/2] media: protect enable and disable source handler checks and calls

2016-11-28 Thread Shuah Khan
Protect enable and disable source handler checks and calls from dvb-core and v4l2-core. Hold graph_mutex to check if enable and disable source handlers are present and invoke them while holding the mutex. This change ensures these handlers will not be removed while they are being checked and invoke

<    3   4   5   6   7   8   9   10   >