Re: [PATCH v2 0/3] mach-omap2: handle autoidle denial

2018-11-29 Thread Stephen Boyd
Quoting Tero Kristo (2018-11-29 23:37:35) > On 30/11/2018 02:26, Stephen Boyd wrote: > > Quoting Andreas Kemnade (2018-11-10 12:31:12) > >> On the gta04 with a dm3730 omap_hdq does not work properly when the > >> device enters lower power states. Idling uart1 and 2 is enough > >> to show up that pr

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-11-29 Thread Stephen Boyd
Quoting Tero Kristo (2018-11-29 23:35:35) > On 30/11/2018 09:20, Stephen Boyd wrote: > > Quoting Andreas Kemnade (2018-11-29 22:15:34) > >> Hi Stephen, > >> > >> On Thu, 29 Nov 2018 16:25:05 -0800 > >> Stephen Boyd wrote: > >> > >>> Quoting Andreas Kemnade (2018-11-10 12:31:14) > Code might u

Re: [PATCH V2] clk: zynq: do not allow kmalloc failure

2018-11-29 Thread Nicholas Mc Guire
On Thu, Nov 29, 2018 at 03:45:23PM -0800, Stephen Boyd wrote: > Quoting Nicholas Mc Guire (2018-11-21 04:28:30) > > The kmalloc here is small (< 16 bytes) and occurs during initialization > > during system startup here (can not be built as module) thus if this > > kmalloc failed it is an indication

Re: [PATCH v2 4/4] irqchip: sifive-plic: Implement irq_set_affinity() for SMP host

2018-11-29 Thread Atish Patra
On 11/29/18 9:59 PM, Atish Patra wrote: On 11/27/18 2:04 AM, Anup Patel wrote: Currently on SMP host, all CPUs take external interrupts routed via PLIC. All CPUs will try to claim a given external interrupt but only one of them will succeed while other CPUs would simply resume whatever they were

Re: [PATCH v5 7/8] clk: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-11-29 Thread Stephen Boyd
Quoting Charles Keepax (2018-11-20 06:16:30) > diff --git a/drivers/clk/clk-lochnagar.c b/drivers/clk/clk-lochnagar.c > new file mode 100644 > index ..8b2a78689715 > --- /dev/null > +++ b/drivers/clk/clk-lochnagar.c > @@ -0,0 +1,360 @@ [...] > + > +static int lochnagar_regmap_set_parent

[RFC PATCH V2 00/11] Intel EPT-Based Sub-page Protection Support

2018-11-29 Thread Zhang Yi
Here is a patch-series which adding EPT-Based Sub-page Write Protection Support. Introduction: EPT-Based Sub-page Write Protection referred to as SPP, it is a capability which allow Virtual Machine Monitors(VMM) to specify write-permission for guest physical memory at a sub-page(128 byte) granula

Re: [PATCH v2 4/4] irqchip: sifive-plic: Implement irq_set_affinity() for SMP host

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 11:29 AM Atish Patra wrote: > > On 11/27/18 2:04 AM, Anup Patel wrote: > > Currently on SMP host, all CPUs take external interrupts routed via > > PLIC. All CPUs will try to claim a given external interrupt but only > > one of them will succeed while other CPUs would simply

RE: [RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-11-29 Thread Doug Smythies
Hi Rafael, On 2018.11.23 02:36 Rafael J. Wysocki wrote: ... [snip]... > +/** > + * teo_find_shallower_state - Find shallower idle state matching given > duration. > + * @drv: cpuidle driver containing state data. > + * @dev: Target CPU. > + * @state_idx: Index of the capping idle state. > + * @

Re: [PATCH v4 4/6] coresight: Use PMU driver configuration for sink selection

2018-11-29 Thread Greg KH
On Thu, Nov 29, 2018 at 04:09:15PM -0700, Mathieu Poirier wrote: > Hi Greg, > > On Thu, Nov 29, 2018 at 08:49:36AM +0100, Greg KH wrote: > > On Wed, Nov 28, 2018 at 03:01:16PM -0700, Mathieu Poirier wrote: > > > This patch uses the PMU driver configuration held in event::hw::drv_config > > > to se

RE: [PATCH] clk: imx6sl: ensure MMDC CH0 handshake is bypassed

2018-11-29 Thread Anson Huang
Hi, Stephen Best Regards! Anson Huang > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: 2018年11月30日 15:25 > To: ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > mturque...@baylibre.com; s.ha

Re: [PATCH v2 0/3] mach-omap2: handle autoidle denial

2018-11-29 Thread Tero Kristo
On 30/11/2018 02:26, Stephen Boyd wrote: Quoting Andreas Kemnade (2018-11-10 12:31:12) On the gta04 with a dm3730 omap_hdq does not work properly when the device enters lower power states. Idling uart1 and 2 is enough to show up that problem, if there are no other things enabled. Further researc

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-11-29 Thread Tero Kristo
On 30/11/2018 09:20, Stephen Boyd wrote: Quoting Andreas Kemnade (2018-11-29 22:15:34) Hi Stephen, On Thu, 29 Nov 2018 16:25:05 -0800 Stephen Boyd wrote: Quoting Andreas Kemnade (2018-11-10 12:31:14) Code might use autoidle api with clocks not being omap2 clocks, so check if clock type is n

[PATCH] arm64: dts: qcom: qcs404: Add pshold node

2018-11-29 Thread Bjorn Andersson
The pshold block is used to drive pshold towards the PMIC, which is used to trigger a configurable event, such as reboot or poweroff of the QCS404 platform. Add the necessary node to enable this functionality. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 + 1 f

Re: > [PATCH] Security: Handle hidepid option correctly

2018-11-29 Thread 程洋
Andrew's question makes me think if this fix is superficial. Actually i have had same question. But when i saw a smilar patch in kernel-4.4 was already merged in 2012, i decided to submit this patch first. Here is the call stack i got: [0.003450] [] proc_mount+0x2c/0x98 [0.003459] [] mount

[PATCH 1/2] dt-binding: remoteproc: Remove lpass_aon clock from adsp pil clock list

2018-11-29 Thread Rohit kumar
LPASS_Audio_Wrapper_AON clock is on by default. Remove it from lpass clock list to avoid voting for it. Signed-off-by: Rohit kumar --- Documentation/devicetree/bindings/remoteproc/qcom,adsp-pil.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/

[PATCH 2/2] remoteproc: q6v5_adsp: Remove voting for lpass_aon clock

2018-11-29 Thread Rohit kumar
Lpass_aon clock is on by default. Remove it from lpass clock list to avoid voting for it. Signed-off-by: Rohit kumar --- drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_q6v5_ads

[PATCH 0/2] qcom_adsp_pil: Remove voting for lpass_aon clock

2018-11-29 Thread Rohit kumar
LPASS Audio Wrapper AON clock is on by default. Remove voting for it. Rohit kumar (2): dt-binding: remoteproc: Remove lpass_aon clock from adsp pil clock list remoteproc: q6v5_adsp: Remove voting for lpass_aon clock Documentation/devicetree/bindings/remoteproc/qcom,adsp-pil.txt | 5 ++---

Re: [PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 23:06 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-29 22:52:58) > > Drop the halt check of the UFS symbol clocks, in accordance with other > > platforms. This makes clk_disable_unused() happy and makes it possible > > to turn the clocks on again without an error.

Re: [PATCH] clk: imx6sl: ensure MMDC CH0 handshake is bypassed

2018-11-29 Thread Stephen Boyd
Quoting Anson Huang (2018-11-29 23:23:47) > Same as other i.MX6 SoCs, ensure unused MMDC channel's > handshake is bypassed, this is to make sure no request > signal will be generated when periphe_clk_sel is changed > or SRC warm reset is triggered. > > Signed-off-by: Anson Huang Does this need a

Re: [PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 23:05 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-29 22:52:57) > > Keep the two clocks enabled, so that the platform passes > > clk_disable_unused(). > > > > Signed-off-by: Bjorn Andersson > > --- > > drivers/clk/qcom/gcc-msm8998.c | 2 ++ > > 1 file changed,

[PATCH] clk: imx6sl: ensure MMDC CH0 handshake is bypassed

2018-11-29 Thread Anson Huang
Same as other i.MX6 SoCs, ensure unused MMDC channel's handshake is bypassed, this is to make sure no request signal will be generated when periphe_clk_sel is changed or SRC warm reset is triggered. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6sl.c | 6 ++ 1 file changed, 6 inserti

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-11-29 Thread Stephen Boyd
Quoting Andreas Kemnade (2018-11-29 22:15:34) > Hi Stephen, > > On Thu, 29 Nov 2018 16:25:05 -0800 > Stephen Boyd wrote: > > > Quoting Andreas Kemnade (2018-11-10 12:31:14) > > > Code might use autoidle api with clocks not being omap2 clocks, > > > so check if clock type is not basic > > > > >

Re: [PATCH 2/3] dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am654

2018-11-29 Thread Michal Simek
On 29. 11. 18 17:15, Faiz Abbas wrote: > The "ti,am654-sdhci-5.1" binding has been moved to a new driver. Indicate > this by a deprecated message. > > Signed-off-by: Faiz Abbas > --- > Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 4 > 1 file changed, 4 insertions(+) > > diff --

Re: [PATCH 4.19 000/110] 4.19.6-stable review

2018-11-29 Thread Greg Kroah-Hartman
On Fri, Nov 30, 2018 at 03:54:48AM +0530, Harsh Shandilya wrote: > On 29 November 2018 7:41:31 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.19.6 release. > >There are 110 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH 4.19 000/110] 4.19.6-stable review

2018-11-29 Thread Greg Kroah-Hartman
On Thu, Nov 29, 2018 at 01:36:14PM -0700, shuah wrote: > On 11/29/18 7:11 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.6 release. > > There are 110 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 4.14 000/100] 4.14.85-stable review

2018-11-29 Thread Naresh Kamboju
On Thu, 29 Nov 2018 at 19:56, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.85 release. > There are 100 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 13:45 PST 2018, Lina Iyer wrote: > On Wed, Nov 28 2018 at 17:25 -0700, Bjorn Andersson wrote: > > On Wed 28 Nov 09:39 PST 2018, Lina Iyer wrote: > > > > > On Tue, Nov 27 2018 at 14:45 -0700, Stephen Boyd wrote: > > > > Quoting Lina Iyer (2018-11-27 10:21:23) > > > > > On Tue, Nov 27

Re: [PATCH 4.9 00/92] 4.9.142-stable review

2018-11-29 Thread Naresh Kamboju
On Thu, 29 Nov 2018 at 19:51, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.142 release. > There are 92 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-11-29 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-11-29 22:52:58) > Drop the halt check of the UFS symbol clocks, in accordance with other > platforms. This makes clk_disable_unused() happy and makes it possible > to turn the clocks on again without an error. > > Signed-off-by: Bjorn Andersson Someone was supposed

Re: [PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical

2018-11-29 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-11-29 22:52:57) > Keep the two clocks enabled, so that the platform passes > clk_disable_unused(). > > Signed-off-by: Bjorn Andersson > --- > drivers/clk/qcom/gcc-msm8998.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/clk/qcom/gcc-msm8998.c b/

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-29 Thread Stephen Boyd
Quoting Rob Herring (2018-11-29 17:01:54) > On Thu, Nov 29, 2018 at 6:28 PM Stephen Boyd wrote: > > > > Quoting Stephen Boyd (2018-11-07 10:37:31) > > > appropriate structure with to_platform_device() or to_i2c_client()? > > > > > > So the example would become > > > > > > struct of_driver_probe_

[PATCH] sdhci: fix the fake timeout bug

2018-11-29 Thread Du, Alek
>From b893df3a1a937bd5fe22d39ceae93454a2e5e0e4 Mon Sep 17 00:00:00 2001 From: Alek Du Date: Fri, 30 Nov 2018 14:02:28 +0800 Subject: [PATCH] sdhci: fix the fake timeout bug We observed some fake timeouts on some devices, the log is like this: [ 7586.290201] mmc1: Timeout waiting for hardware cmd

[PATCH] arm64: dts: qcom: msm8998: Fix compatible of scm node

2018-11-29 Thread Bjorn Andersson
The scm binding and driver was updated to rely on the fallback to the default qcom,scm for any modern SoC and as such both are required. Add the default compatible to make the scm instance probe. Fixes: d850156a226a ("arm64: dts: qcom: msm8998: Add firmware node") Signed-off-by: Bjorn Andersson -

[PATCH] arm64: defconfig: Enable GCC and PINCTRL for MSM8998

2018-11-29 Thread Bjorn Andersson
Enable the GCC and PINCTRL for MSM8998 to make upstream boot to console. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 1f1f4eab89df..206f50d121ba 100644 --- a

Re: [PATCH 2/2] dt-bindings: arm: mediatek: document clk bindings for MT7629

2018-11-29 Thread Stephen Boyd
Quoting Ryder Lee (2018-11-05 00:43:56) > This patch adds the binding documentation for apmixedsys, infracfg, > pciesys, pericfg, topckgen, ethsys, sgmiisys and ssusbsys for MT7629. > > Signed-off-by: Ryder Lee > --- Applied to clk-next

Re: [PATCH 1/2] clk: mediatek: add clock support for MT7629 SoC

2018-11-29 Thread Stephen Boyd
Quoting Ryder Lee (2018-11-05 00:43:55) > Add all supported clocks exported from every susbystem found on MT7629 SoC. > > Signed-off-by: Wenzhen Yu > Signed-off-by: Ryder Lee > --- Applied to clk-next

Re: arch/x86/include/asm/cmpxchg.h:245:2: error: 'asm' operand has impossible constraints

2018-11-29 Thread Juergen Gross
On 30/11/2018 07:44, kbuild test robot wrote: > Hi Juergen, > > FYI, the error/warning still remains. This problem is one of gcc. It is in no way the (direct) result of my patch. Please see my gcc bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908154 Juergen > > tree: https:

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-29 Thread Christian Brauner
On Thu, Nov 29, 2018 at 11:13:57PM -0600, Eric W. Biederman wrote: > Arnd Bergmann writes: > > > On Thu, Nov 29, 2018 at 9:14 PM Andy Lutomirski wrote: > >> > On Nov 29, 2018, at 11:55 AM, Christian Brauner > >> > wrote: > >> >> On Thu, Nov 29, 2018 at 11:22:58AM -0800, Andy Lutomirski wrote:

[PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-11-29 Thread Bjorn Andersson
Drop the halt check of the UFS symbol clocks, in accordance with other platforms. This makes clk_disable_unused() happy and makes it possible to turn the clocks on again without an error. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 6 +++--- 1 file changed, 3 insertions(+

[PATCH 3/3] clk: qcom: gcc-msm8998: Add clkref clocks

2018-11-29 Thread Bjorn Andersson
Add clkref clocks for usb3, hdmi, ufs, pcie, and usb2. They are all sourced off CXO_IN, so parent them off "xo" until a proper link to the rpmcc can be described in DT. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 75 include/dt-bindings/

[PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical

2018-11-29 Thread Bjorn Andersson
Keep the two clocks enabled, so that the platform passes clk_disable_unused(). Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index 9f0ae403d5f5..d89f8e7c2a59

[PATCH 0/3] clk: qcom: gcc-msm8998: Fixes and clkref clocks

2018-11-29 Thread Bjorn Andersson
Mark critical clocks critical, don't halt-check UFS clocks and add clkref branches. Bjorn Andersson (3): clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical clk: qcom: gcc-msm8998: Disable halt check of UFS clocks clk: qcom: gcc-msm8998: Add clkref clocks drivers/clk/qcom/gcc-msm89

Re: [PATCH v2 2/3] clk: mediatek: Add flags to mtk_gate

2018-11-29 Thread Stephen Boyd
Quoting matthias@kernel.org (2018-11-16 10:09:00) > From: Jasper Mattsson > > This is required to mark gates as CLK_IS_CRITICAL. > > Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797") > Signed-off-by: Jasper Mattsson > Signed-off-by: Matthias Brugger > --- These other two l

Re: [PATCH v2 3/3] clk: mediatek: Mark bus and DRAM related clocks as critical

2018-11-29 Thread Stephen Boyd
Quoting matthias@kernel.org (2018-11-16 10:09:01) > From: Jasper Mattsson > > This marks MUXes axi_sel and ddrphycfg_sel as well as gates > infra_dramc_f26m and infra_dramc_b_f26m as with CLK_IS_CRITICAL. > > Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797") > Signed-off-by:

RE: [RFC PATCH v2 02/15] usb:cdns3: Device side header file.

2018-11-29 Thread PETER CHEN
> + > +/* > + * USBSS-DEV register interface. > + * This corresponds to the USBSS Device Controller Interface */ > +/** > + * struct xhci_cap_regs - xHCI Host Controller Capability Registers. struct cdns3_usb_regs - device controller registers > +struct cdns3_device; > + > +struct cdns3_endp

[PATCH] HID: input: support Microsoft wireless radio control hotkey

2018-11-29 Thread Chris Chiu
The ASUS laptops start to support the airplane mode radio management to replace the original machanism of airplane mode toggle hotkey. On the ASUS P5440FF, it presents as a HID device connecting via I2C, name i2c-AMPD0001. When pressing hotkey, the Embedded Controller send hid report up via I2C and

Re: [PATCH v2 0/3] Mark clocks as critical for MT6797

2018-11-29 Thread Stephen Boyd
Quoting matthias@kernel.org (2018-11-16 10:08:58) > From: Matthias Brugger > > Jasper send this series some month ago. As there was no reaction from > his side, I'll do a friendly take-over. > I tested the patches on my Helios X20 boards and they fix the issue. > I didn't add a Tested-by tag

arch/x86/include/asm/cmpxchg.h:245:2: error: 'asm' operand has impossible constraints

2018-11-29 Thread kbuild test robot
Hi Juergen, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 94f371cb73944b410a269d570d6946c042f2ddd0 commit: 6da63eb241a05b0e676d68975e793c0521387141 x86/paravirt: Move the pv_irq_ops under the PARAVIRT_XXL umbrella

Re: [PATCH v12 0/5] x86/boot/KASLR: Parse ACPI table and limit KASLR to choosing immovable memory

2018-11-29 Thread Chao Fan
On Fri, Nov 30, 2018 at 09:15:13AM +0800, Chao Fan wrote: >On Thu, Nov 29, 2018 at 12:32:46PM -0500, Masayoshi Mizuma wrote: >>Hi Chao, >> >>Thank you for your continued working. > >Thanks for your test. > >> >>Could you please build your patches before sending? > >Sorry for the mistake, I build it

Re: [PATCH v2] arm64: dts: sdm845: add video nodes

2018-11-29 Thread Alexandre Courbot
On Wed, Nov 28, 2018 at 10:12 PM Malathi Gottam wrote: > > This adds video nodes to sdm845 based on the examples > in the bindings. > > Signed-off-by: Malathi Gottam > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 35 +++ > 1 file changed, 35 insertions(+) > > diff

Re: [PATCH RFC 4/5] gnss: sirf: add a separate supply for a lna

2018-11-29 Thread Andreas Kemnade
Hi, On Tue, 27 Nov 2018 19:03:57 +0100 Pavel Machek wrote: > Hi! > > > Devices might have a separate lna between antenna output of the gps > > chip and the antenna which might have a separate supply > > Might have. > > > @@ -340,6 +349,12 @@ static int sirf_probe(struct serdev_device *serde

[PATCH] proc/sysctl: fix return error for proc_doulongvec_minmax

2018-11-29 Thread Cheng Lin
If the number of input parameters is less than the total parameters, an INVAL error will be returned. This patch ensure no error returned in this condition, just like other interfaces do. Signed-off-by: Cheng Lin --- kernel/sysctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/s

[PATCH] clk: imx6q: add DCICx clocks gate

2018-11-29 Thread Anson Huang
On i.MX6QP/i.MX6Q/i.MX6DL, there are DCIC1/DCIC2 clocks gate in CCM_CCGR0 register, add them into clock tree for clock management. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6q.c | 2 ++ include/dt-bindings/clock/imx6qdl-clock.h | 4 +++- 2 files changed, 5 insertions(+)

[GIT PULL] x86 fixes

2018-11-29 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 60c8144afc287ef09ce8c1230c6aa972659ba1bb x86/MCE/AMD: Fix the thresholding machinery initialization order Misc fixes: - an MCE relat

RE: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-29 Thread Bharat Bhushan
Hi Alex, > -Original Message- > From: Alex Williamson > Sent: Friday, November 30, 2018 11:26 AM > To: Bharat Bhushan > Cc: Bjorn Helgaas ; Bjorn Helgaas > ; linux-...@vger.kernel.org; Linux Kernel Mailing List > ; bharatb.ya...@gmail.com; David Daney > ; jglau...@cavium.com; > mbroe...@

[GIT PULL] perf fixes

2018-11-29 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 09d3f015d1e1b4fee7e9bbdcf54201d239393391 uprobes: Fix handle_swbp() vs. unregister() + register() race once more Misc fixes: - a c

Re: [RFC PATCH v3] ftrace: support very early function tracing

2018-11-29 Thread Abderrahmane Benbachir
+Paul, +Eddie and +Feng. Hi Steven, any update regarding this patch. I'm including some folks from server performance analysis team in microsoft, they are currently investigating early boot-up latencies using ftrace. Abderrahmane Benbachir a écrit : Hi Steve, I believe this patch is q

[GIT PULL] EFI fix

2018-11-29 Thread Ingo Molnar
Linus, Please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus # HEAD: 976b489120cdab2b1b3a41ffa14661db43d58190 efi: Prevent GICv3 WARN() by mapping the memreserve table before first use An arm64 warning f

[GIT PULL] objtool fixes

2018-11-29 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 22566c1603030f0a036ad564634b064ad1a55db2 objtool: Fix segfault in .cold detection with -ffunction-sections Two fixes for boundary co

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-11-29 Thread Andreas Kemnade
Hi Stephen, On Thu, 29 Nov 2018 16:25:05 -0800 Stephen Boyd wrote: > Quoting Andreas Kemnade (2018-11-10 12:31:14) > > Code might use autoidle api with clocks not being omap2 clocks, > > so check if clock type is not basic > > > > Signed-off-by: Andreas Kemnade > > --- > > New in v2 > > --- >

[PATCH v5 1/4] perf annotate: Compute average IPC and IPC coverage per symbol

2018-11-29 Thread Jin Yao
Add support to perf report annotate view or perf annotate --stdio2 to aggregate the IPC derived from timed LBRs per symbol. We compute the average IPC and the IPC coverage percentage. For example, $ perf annotate --stdio2 Percent IPC Cycle (Average IPC: 2.30, IPC Coverage: 54.8%)

[PATCH v5 0/4] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-29 Thread Jin Yao
Add supporting of displaying the average IPC and IPC coverage percentage per function. For example, $ perf record -b ... $ perf report -s symbol or perf report -s symbol --stdio Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 5

[PATCH v5 4/4] perf report: Documentation average IPC and IPC coverage

2018-11-29 Thread Jin Yao
Add explanations for new columns "IPC" and "IPC coverage" in perf documentation. v5: --- Update the description according to Ingo's comments. Signed-off-by: Jin Yao Reviewed-by: Jiri Olsa Reviewed-by: Ingo Molnar --- tools/perf/Documentation/perf-report.txt | 8 1 file changed, 8

[PATCH v5 2/4] perf annotate: Create a annotate2 flag in struct symbol

2018-11-29 Thread Jin Yao
We often use the symbol__annotate2() to annotate a specified symbol. While annotating may take some time, so in order to avoid annotating the same symbol repeatedly, the patch creates a new flag to indicate the symbol has been annotated. Signed-off-by: Jin Yao Reviewed-by: Jiri Olsa --- tools/p

[PATCH v5 3/4] perf report: Display average IPC and IPC coverage per symbol

2018-11-29 Thread Jin Yao
Support displaying the average IPC and IPC coverage per symbol in perf report TUI and stdio modes. For example, $ perf record -b ... $ perf report -s symbol Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 54.8%] 18.02% [.] mai

linux-next: Tree for Nov 30

2018-11-29 Thread Stephen Rothwell
Hi all, Changes since 20181129: The clk tree gained a build failure so I used the version from next-20181129. The akpm tree gained a build failure for which I applied a partial revert patch. Non-merge commits (relative to Linus' tree): 5706 5781 files changed, 274209 insertions(+), 1

Re: [PATCH v2 4/4] irqchip: sifive-plic: Implement irq_set_affinity() for SMP host

2018-11-29 Thread Atish Patra
On 11/27/18 2:04 AM, Anup Patel wrote: Currently on SMP host, all CPUs take external interrupts routed via PLIC. All CPUs will try to claim a given external interrupt but only one of them will succeed while other CPUs would simply resume whatever they were doing before. This means if we have N CP

Re: > [PATCH] Security: Handle hidepid option correctly

2018-11-29 Thread 程洋
Here is an article illustrates the details. https://medium.com/@topjohnwu/from-anime-game-to-android-system-security-vulnerability-9b955a182f20 And There is a similar fix on kernel-4.4: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=99663be772c827b8f5f594fe87eb4807be

Re: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-29 Thread Alex Williamson
On Fri, 30 Nov 2018 05:29:47 + Bharat Bhushan wrote: > Hi, > > > -Original Message- > > From: Bjorn Helgaas > > Sent: Thursday, November 29, 2018 1:46 AM > > To: Bharat Bhushan > > Cc: alex.william...@redhat.com; Bjorn Helgaas ; linux- > > p...@vger.kernel.org; Linux Kernel Mailing

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-11-29 Thread Faiz Abbas
Hi Kishon, On 30/11/18 10:10 AM, Kishon Vijay Abraham I wrote: > Hi Faiz, > > On 30/11/18 12:35 AM, Faiz Abbas wrote: >> Errata i929 in certain OMAP5/DRA7XX/AM57XX silicon revisions >> (SPRZ426D - November 2014 - Revised February 2018 [1]) mentions >> unexpected tuning pattern errors. A small fai

linux-next: build warning after merge of the akpm tree

2018-11-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: lib/lzo/lzo1x_compress.c: In function 'lzo1x_1_do_compress': lib/lzo/lzo1x_compress.c:239:14: warning: 'm_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] m_

Re: [PATCH 2/3] phy: sr-usb: Add stingray usb phy driver

2018-11-29 Thread Srinath Mannam
Hi Kishon, Thank you for more information. Please find my answers below in line. On Fri, Nov 30, 2018 at 9:56 AM Kishon Vijay Abraham I wrote: > > Hi, > > On 29/11/18 6:31 PM, Srinath Mannam wrote: > > Hi Kishon, > > > > Thank you for review.. Please find my answers below in line. > > > > > > On

RE: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-29 Thread Bharat Bhushan
Hi, > -Original Message- > From: Bjorn Helgaas > Sent: Thursday, November 29, 2018 1:46 AM > To: Bharat Bhushan > Cc: alex.william...@redhat.com; Bjorn Helgaas ; linux- > p...@vger.kernel.org; Linux Kernel Mailing List ker...@vger.kernel.org>; bharatb.ya...@gmail.com; David Daney > ; jg

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

2018-11-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc_le perf) failed like this: bench/numa.c: In function 'bind_to_node': bench/numa.c:301:21: error: 'NUMA_NO_NODE' undeclared (first use in this function); did you mean 'NUMA_NUM_NODES'? if (target_node == NUMA_NO_NODE) {

[git pull] vfs.git fixes

2018-11-29 Thread Al Viro
Assorted fixes all over the place; iov_iter one is this cycle regression (splice from UDP triggering WARN_ON()), the rest is older. The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the git repository at:

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-29 Thread Eric W. Biederman
Arnd Bergmann writes: > On Thu, Nov 29, 2018 at 9:14 PM Andy Lutomirski wrote: >> > On Nov 29, 2018, at 11:55 AM, Christian Brauner >> > wrote: >> >> On Thu, Nov 29, 2018 at 11:22:58AM -0800, Andy Lutomirski wrote: >> >>> On Thu, Nov 29, 2018 at 11:17 AM Christian Brauner >> >>> wrote: >> >>

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-11-29 Thread Kishon Vijay Abraham I
Hi Faiz, On 30/11/18 12:35 AM, Faiz Abbas wrote: > Errata i929 in certain OMAP5/DRA7XX/AM57XX silicon revisions > (SPRZ426D - November 2014 - Revised February 2018 [1]) mentions > unexpected tuning pattern errors. A small failure band may be present > in the tuning range which may be missed by the

Re: [PATCH v3 0/7] zram idle page writeback

2018-11-29 Thread Sergey Senozhatsky
On (11/27/18 14:54), Minchan Kim wrote: > Inherently, swap device has many idle pages which are rare touched since > it was allocated. It is never problem if we use storage device as swap. > However, it's just waste for zram-swap. > > This patchset supports zram idle page writeback feature. > > *

RE: [PATCH v6 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-29 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Thursday, November 29, 2018 5:24 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; linux- > s...@vger.kernel.org; Marek Vasut ; Mark Brown > ;

[PATCH V2 2/4] spi: lpspi: Add slave mode support

2018-11-29 Thread Clark Wang
Add slave mode support to the fsl-lpspi driver, only in PIO mode. For now, there are some limitations for slave mode transmission, which have been mentioned in cover-letter. Signed-off-by: Clark Wang --- Change log: V2: - No change. --- drivers/spi/spi-fsl-lpspi.c | 107 +++

[PATCH V2 4/4] doc: lpspi: Document DT bindings for LPSPI slave mode

2018-11-29 Thread Clark Wang
Remove "fsl,imx8qxp-spi", it does not exist in spi-fsl-lpspi.c driver for now. Add introductions of interrupt-parent and spi-slave. Signed-off-by: Clark Wang --- Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Docum

[PATCH V2 0/4] spi: lpspi: Add Slave Mode support for LPSPI

2018-11-29 Thread Clark Wang
Hi Mark, i.MX LPSPI controller only works in Master mode previously. This patch series adds support slave mode to LPSPI controller, including: - Replace all related structure names and object names which is named "master" with "controller", - adds SPI slave mode support for i.MX7ulp and i.MX8

[PATCH V2 1/4] spi: lpspi: Replace all "master" with "controller"

2018-11-29 Thread Clark Wang
In order to enable the slave mode and make the code more readable, replace all related structure names and object names which is named "master" with "controller". Signed-off-by: Clark Wang --- Change log: V2: - No change. --- drivers/spi/spi-fsl-lpspi.c | 84

[PATCH V2 3/4] spi: lpspi: Let watermark change with send data length

2018-11-29 Thread Clark Wang
Configure watermark to change with the length of the sent data. Support LPSPI sending message shorter than tx/rxfifosize. Signed-off-by: Clark Wang --- Change log: V2: - No change. --- drivers/spi/spi-fsl-lpspi.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dr

Re: [PATCH 2/3] phy: sr-usb: Add stingray usb phy driver

2018-11-29 Thread Kishon Vijay Abraham I
Hi, On 29/11/18 6:31 PM, Srinath Mannam wrote: > Hi Kishon, > > Thank you for review.. Please find my answers below in line. > > > On Thu, Nov 29, 2018 at 3:55 PM Kishon Vijay Abraham I wrote: >> >> Hi, >> >> On 13/11/18 9:43 AM, Srinath Mannam wrote: >>> This driver supports all versions of s

Re: [PATCH] printk: don't unconditionally shortcut print_time()

2018-11-29 Thread Sergey Senozhatsky
On (11/29/18 15:19), Petr Mladek wrote: > This fixes a real problem. It might even avoid a crash. > > See syslog_print_all() and kmsg_dump_get_buffer(). They > start with calling msg_print_text() many times to calculate > how many messages fit into the given buffer. Then they > blindly copy the me

Re: linux-next: build warning after merge of the qcom tree

2018-11-29 Thread Stephen Rothwell
Hi Stephen, On Thu, 29 Nov 2018 08:30:48 -0800 Stephen Boyd wrote: > > Andy's email isn't at codeaurora.org anymore. Not sure if that matters > but he may be missing this. I have updated my contacts list, thanks. -- Cheers, Stephen Rothwell pgpMievFVKGCC.pgp Description: OpenPGP digital sign

[locking/lockdep] fe7e1ef5c1: WARNING:at_kernel/locking/lockdep.c:#register_lock_class

2018-11-29 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-4.9): commit: fe7e1ef5c1044f3ef122b877b078a47e74360dea ("locking/lockdep: Complain if a lock object has no name") https://github.com/bvanassche/linux for-next in testcase: trinity with following parameters: runtime: 300s test-descri

[PATCH] dma-debug: hns_enet_drv could use more DMA entries

2018-11-29 Thread Qian Cai
The amount of DMA mappings from Hisilicon HNS ethernet devices is huge, so it could trigger "DMA-API: debugging out of memory - disabling". hnae_get_handle [1] hnae_init_queue hnae_init_ring hnae_alloc_buffers [2] debug_dma_map_page dma_entry_alloc [1] for (i = 0; i

Re: [PATCH v2 3/4] irqchip: sifive-plic: Differentiate between PLIC handler and context

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 7:27 AM Atish Patra wrote: > > On 11/27/18 2:04 AM, Anup Patel wrote: > > We explicitly differentiate between PLIC handler and context because > > PLIC context is for given mode of HART whereas PLIC handler is per-CPU > > software construct meant for handling interrupts fro

Re: [PATCH v2 2/4] irqchip: sifive-plic: More flexible plic_irq_toggle()

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 7:09 AM Atish Patra wrote: > > On 11/27/18 2:03 AM, Anup Patel wrote: > > We make plic_irq_toggle() more generic so that we can enable/disable > > hwirq for given cpumask. This generic plic_irq_toggle() will be > > eventually used to implement set_affinity for PLIC driver.

Re: [PATCH v2 1/4] irqchip: sifive-plic: Pre-compute context hart base and enable base

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 6:05 AM Atish Patra wrote: > > On 11/27/18 2:03 AM, Anup Patel wrote: > > This patch does following optimizations: > > 1. Pre-compute hart base for each context handler > > 2. Pre-compute enable base for each context handler > > 3. Have enable lock for each context handler

[PATCH v3] PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT

2018-11-29 Thread honghui.zhang
From: Honghui Zhang Use the devm_of_pci_get_host_bridge_resources() API in place of the PCI OF DT parser. Signed-off-by: Honghui Zhang Acked-by: Ryder Lee --- drivers/pci/controller/pcie-mediatek.c | 101 + 1 file changed, 27 insertions(+), 74 deletions(-) dif

Re: [RFC][PATCH 00/14] function_graph: Rewrite to allow multiple users

2018-11-29 Thread Steven Rostedt
On Fri, 30 Nov 2018 11:26:58 +0900 Masami Hiramatsu wrote: > On Thu, 29 Nov 2018 11:46:52 -0500 > Steven Rostedt wrote: > > > On Thu, 29 Nov 2018 23:29:27 +0900 > > Masami Hiramatsu wrote: > > > > > > One way to solve this is to also have a counter array that gets updated > > > > every time

[V3] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-29 Thread Ryan Lee
This patch added max98373_reset function to avoid amp software reset failure and code duplication. Reset verification step has been added for stable amp reset and it repeats verification maximum 3 times when it is failed. Chip revision ID is available when the amp is in the idle state which means

[PATCH 1/2] tracepoint: Use __idx instead of idx in DO_TRACE macro to make it unique

2018-11-29 Thread Steven Rostedt
From: Zenghui Yu After enabling KVM event tracing, almost all of trace_kvm_exit()'s printk shows "kvm_exit: IRQ: ..." even if the actual exception_type is NOT IRQ. More specifically, trace_kvm_exit() is defined in virt/kvm/arm/trace.h by TRACE_EVENT. This slight problem may have exist

[PATCH 2/2] tracing/fgraph: Fix set_graph_function from showing interrupts

2018-11-29 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The tracefs file set_graph_function is used to only function graph functions that are listed in that file (or all functions if the file is empty). The way this is implemented is that the function graph tracer looks at every function, and if the current depth is zer

[PATCH 0/2] [GIT PULL] tracing: More fixes for 4.20

2018-11-29 Thread Steven Rostedt
Linus, This includes two more fixes: - Change idx variable in DO_TRACE macro to __idx to avoid name conflicts. A kvm event had "idx" as a parameter and it confused the macro. - Fix a race where interrupts would be traced when set_graph_function was set. The previous patch set increased

RE: [PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-29 Thread Ryan Lee
>-Original Message- >From: Mark Brown >Sent: Thursday, November 29, 2018 3:26 AM >To: Grant Grundler >Cc: Ryan Lee ; Liam Girdwood >; pe...@perex.cz; ti...@suse.com; Kuninori >Morimoto ; Benson Leung >; alsa-de...@alsa-project.org; LKML ker...@vger.kernel.org>; ryan.lee.ma...@gmail.com >S

Re: [PATCH v2 0/6] RFC: gup+dma: tracking dma-pinned pages

2018-11-29 Thread Tom Talpey
On 11/29/2018 10:00 PM, John Hubbard wrote: On 11/29/18 6:30 PM, Tom Talpey wrote: On 11/29/2018 9:21 PM, John Hubbard wrote: On 11/29/18 6:18 PM, Tom Talpey wrote: On 11/29/2018 8:39 PM, John Hubbard wrote: On 11/28/18 5:59 AM, Tom Talpey wrote: On 11/27/2018 9:52 PM, John Hubbard wrote: O

  1   2   3   4   5   6   7   8   9   10   >