Re: [PATCH 2/2] ALSA: hda/hdmi - Add Tegra186 and Tegra194 support

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:53:17 +0100, Thierry Reding wrote: > > From: Thierry Reding > > Tegra186 and Tegra194 contain the same codecs as earlier chips and can > be supported using the same patch function. > > Signed-off-by: Thierry Reding Applied now, thanks. Takashi

Re: [PATCH] clk: qcom: Fix MSM8998 resets

2018-12-03 Thread Bjorn Andersson
On Mon 03 Dec 07:34 PST 2018, Jeffrey Hugo wrote: > The offsets for the defined BCR reset registers does not match the hardware > documentation. Update the values to match the hardware documentation. > Sorry for not spotting this before. > Fixes: b5f5f525c547 (clk: qcom: Add MSM8998 Global

Re: [PATCH 2/2] ALSA: hda/hdmi - Add Tegra186 and Tegra194 support

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:53:17 +0100, Thierry Reding wrote: > > From: Thierry Reding > > Tegra186 and Tegra194 contain the same codecs as earlier chips and can > be supported using the same patch function. > > Signed-off-by: Thierry Reding Applied now, thanks. Takashi

Re: [PATCH] clk: qcom: Fix MSM8998 resets

2018-12-03 Thread Bjorn Andersson
On Mon 03 Dec 07:34 PST 2018, Jeffrey Hugo wrote: > The offsets for the defined BCR reset registers does not match the hardware > documentation. Update the values to match the hardware documentation. > Sorry for not spotting this before. > Fixes: b5f5f525c547 (clk: qcom: Add MSM8998 Global

Re: [PATCH 1/2] ALSA: hda/tegra - Probe up to 8 codecs

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:53:16 +0100, Thierry Reding wrote: > > From: Thierry Reding > > Recent devices support more than the 4 codecs that the AZX core will > probe by default. Probe up to 8 codecs to make sure all of them are > enumerated. > > Suggested-by: Sameer Pujar > Signed-off-by:

Re: [PATCH 1/2] ALSA: hda/tegra - Probe up to 8 codecs

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:53:16 +0100, Thierry Reding wrote: > > From: Thierry Reding > > Recent devices support more than the 4 codecs that the AZX core will > probe by default. Probe up to 8 codecs to make sure all of them are > enumerated. > > Suggested-by: Sameer Pujar > Signed-off-by:

[tip:x86/urgent] x86/boot: Clear RSDP address in boot_params for broken loaders

2018-12-03 Thread tip-bot for Juergen Gross
Commit-ID: 182ddd16194cd082f25fa1b063dae3c7c5cce384 Gitweb: https://git.kernel.org/tip/182ddd16194cd082f25fa1b063dae3c7c5cce384 Author: Juergen Gross AuthorDate: Mon, 3 Dec 2018 11:38:11 +0100 Committer: Ingo Molnar CommitDate: Mon, 3 Dec 2018 11:56:37 +0100 x86/boot: Clear RSDP

[tip:x86/urgent] x86/boot: Clear RSDP address in boot_params for broken loaders

2018-12-03 Thread tip-bot for Juergen Gross
Commit-ID: 182ddd16194cd082f25fa1b063dae3c7c5cce384 Gitweb: https://git.kernel.org/tip/182ddd16194cd082f25fa1b063dae3c7c5cce384 Author: Juergen Gross AuthorDate: Mon, 3 Dec 2018 11:38:11 +0100 Committer: Ingo Molnar CommitDate: Mon, 3 Dec 2018 11:56:37 +0100 x86/boot: Clear RSDP

Re: [PATCH v2 06/15] arm: dts: Add devicetree for OrangePi 2G IoT board

2018-12-03 Thread Rob Herring
On Tue, Nov 20, 2018 at 9:38 PM Manivannan Sadhasivam wrote: > > Add initial devicetree support for OrangePi 2G IoT board from Xunlong. > > Signed-off-by: Andreas Färber > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm/boot/dts/Makefile| 2 + >

Re: [PATCH v2 06/15] arm: dts: Add devicetree for OrangePi 2G IoT board

2018-12-03 Thread Rob Herring
On Tue, Nov 20, 2018 at 9:38 PM Manivannan Sadhasivam wrote: > > Add initial devicetree support for OrangePi 2G IoT board from Xunlong. > > Signed-off-by: Andreas Färber > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm/boot/dts/Makefile| 2 + >

[PATCH 2/2] ALSA: hda/hdmi - Add Tegra186 and Tegra194 support

2018-12-03 Thread Thierry Reding
From: Thierry Reding Tegra186 and Tegra194 contain the same codecs as earlier chips and can be supported using the same patch function. Signed-off-by: Thierry Reding --- sound/pci/hda/patch_hdmi.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_hdmi.c

[PATCH 1/2] ALSA: hda/tegra - Probe up to 8 codecs

2018-12-03 Thread Thierry Reding
From: Thierry Reding Recent devices support more than the 4 codecs that the AZX core will probe by default. Probe up to 8 codecs to make sure all of them are enumerated. Suggested-by: Sameer Pujar Signed-off-by: Thierry Reding --- sound/pci/hda/hda_tegra.c | 2 +- 1 file changed, 1

[PATCH 2/2] ALSA: hda/hdmi - Add Tegra186 and Tegra194 support

2018-12-03 Thread Thierry Reding
From: Thierry Reding Tegra186 and Tegra194 contain the same codecs as earlier chips and can be supported using the same patch function. Signed-off-by: Thierry Reding --- sound/pci/hda/patch_hdmi.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_hdmi.c

[PATCH 1/2] ALSA: hda/tegra - Probe up to 8 codecs

2018-12-03 Thread Thierry Reding
From: Thierry Reding Recent devices support more than the 4 codecs that the AZX core will probe by default. Probe up to 8 codecs to make sure all of them are enumerated. Suggested-by: Sameer Pujar Signed-off-by: Thierry Reding --- sound/pci/hda/hda_tegra.c | 2 +- 1 file changed, 1

Re: [PATCH v9 3/4] seccomp: add a return code to trap to userspace

2018-12-03 Thread Tycho Andersen
On Sun, Dec 02, 2018 at 11:26:50PM -0600, Serge E. Hallyn wrote: > On Sun, Dec 02, 2018 at 08:28:26PM -0700, Tycho Andersen wrote: > > +struct seccomp_knotif { > > + /* The struct pid of the task whose filter triggered the notification */ > > + struct task_struct *task; > > + > > + /* The

Re: [PATCH v9 3/4] seccomp: add a return code to trap to userspace

2018-12-03 Thread Tycho Andersen
On Sun, Dec 02, 2018 at 11:26:50PM -0600, Serge E. Hallyn wrote: > On Sun, Dec 02, 2018 at 08:28:26PM -0700, Tycho Andersen wrote: > > +struct seccomp_knotif { > > + /* The struct pid of the task whose filter triggered the notification */ > > + struct task_struct *task; > > + > > + /* The

Re: [PATCH] mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate()

2018-12-03 Thread Nishanth Menon
On 17:50-20181203, Dan Carpenter wrote: > The > comparison should be >= or we access one element beyond the end > of the array. > > (The inst->qinsts[] array is allocated in the ti_msgmgr_probe() function > and it has ->num_valid_queues elements.) > > Fixes:

Re: [PATCH] mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate()

2018-12-03 Thread Nishanth Menon
On 17:50-20181203, Dan Carpenter wrote: > The > comparison should be >= or we access one element beyond the end > of the array. > > (The inst->qinsts[] array is allocated in the ti_msgmgr_probe() function > and it has ->num_valid_queues elements.) > > Fixes:

Re: [PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-12-03 Thread Chen-Yu Tsai
On Wed, Nov 28, 2018 at 12:25 PM Chen-Yu Tsai wrote: > > Hi, > > On Thu, Nov 15, 2018 at 5:36 PM Chen-Yu Tsai wrote: > > > > Hi everyone, > > > > This is v2 of my Broadcom-based Bluetooth controllers on Allwinner SoC- > > based SBCs series. > > > > Changes since v1: > > > > - Collected tags >

Re: [PATCH v8 2/3] x86: add support for Huawei WMI hotkeys.

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:46:01 +0100, ayman.baga...@gmail.com wrote: > > > > + priv->cdev.name = "platform::micmute"; > > > + priv->cdev.max_brightness = 1; > > > + priv->cdev.brightness_set_blocking = > > > huawei_wmi_micmute_led_set; > > > + priv->cdev.default_trigger = "audio-micmute"; > > > +

Re: [PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-12-03 Thread Chen-Yu Tsai
On Wed, Nov 28, 2018 at 12:25 PM Chen-Yu Tsai wrote: > > Hi, > > On Thu, Nov 15, 2018 at 5:36 PM Chen-Yu Tsai wrote: > > > > Hi everyone, > > > > This is v2 of my Broadcom-based Bluetooth controllers on Allwinner SoC- > > based SBCs series. > > > > Changes since v1: > > > > - Collected tags >

Re: [PATCH v8 2/3] x86: add support for Huawei WMI hotkeys.

2018-12-03 Thread Takashi Iwai
On Mon, 03 Dec 2018 16:46:01 +0100, ayman.baga...@gmail.com wrote: > > > > + priv->cdev.name = "platform::micmute"; > > > + priv->cdev.max_brightness = 1; > > > + priv->cdev.brightness_set_blocking = > > > huawei_wmi_micmute_led_set; > > > + priv->cdev.default_trigger = "audio-micmute"; > > > +

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-12-03 Thread Rob Herring
On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: > > Hi, > > On 2018/11/30 17:16, Stephen Boyd wrote: > > Quoting Sugaya, Taichi (2018-11-29 04:24:51) > >> On 2018/11/28 11:01, Stephen Boyd wrote: > >>> Quoting Sugaya Taichi (2018-11-18 17:01:07) > create mode 100644 >

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-12-03 Thread Rob Herring
On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: > > Hi, > > On 2018/11/30 17:16, Stephen Boyd wrote: > > Quoting Sugaya, Taichi (2018-11-29 04:24:51) > >> On 2018/11/28 11:01, Stephen Boyd wrote: > >>> Quoting Sugaya Taichi (2018-11-18 17:01:07) > create mode 100644 >

Re: [PATCH v8 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-12-03 Thread ayman . bagabas
On Mon, 2018-12-03 at 13:00 +0100, Takashi Iwai wrote: > On Fri, 30 Nov 2018 00:57:38 +0100, > Ayman Bagabas wrote: > > Some of Huawei laptops come with a LED in the micmute key. This > > patch > > enables the use of micmute LED for these devices: > > 1. Matebook X (19e5:3200), (19e5:3201) > > 2.

Re: [PATCH v8 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-12-03 Thread ayman . bagabas
On Mon, 2018-12-03 at 13:00 +0100, Takashi Iwai wrote: > On Fri, 30 Nov 2018 00:57:38 +0100, > Ayman Bagabas wrote: > > Some of Huawei laptops come with a LED in the micmute key. This > > patch > > enables the use of micmute LED for these devices: > > 1. Matebook X (19e5:3200), (19e5:3201) > > 2.

Gooday To You,

2018-12-03 Thread Ali Hamadu
Gooday To You, Please i need your kind Assistance. I will be very glad if you can assist me to receive this sum of ( $22. Million US dollars.) into your bank account for the benefit of our both families, reply me if you are ready to receive this fund.

Gooday To You,

2018-12-03 Thread Ali Hamadu
Gooday To You, Please i need your kind Assistance. I will be very glad if you can assist me to receive this sum of ( $22. Million US dollars.) into your bank account for the benefit of our both families, reply me if you are ready to receive this fund.

Gooday To You,

2018-12-03 Thread Ali Hamadu
Gooday To You, Please i need your kind Assistance. I will be very glad if you can assist me to receive this sum of ( $22. Million US dollars.) into your bank account for the benefit of our both families, reply me if you are ready to receive this fund.

Gooday To You,

2018-12-03 Thread Ali Hamadu
Gooday To You, Please i need your kind Assistance. I will be very glad if you can assist me to receive this sum of ( $22. Million US dollars.) into your bank account for the benefit of our both families, reply me if you are ready to receive this fund.

Re: [PATCH 0/2] pinctrl: sunxi: a64: Drop numeral from csi0/ts0

2018-12-03 Thread Maxime Ripard
On Mon, Dec 03, 2018 at 11:40:58PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This small series renames the csi0 and ts0 pin function names to csi and > ts. This makes the names match the datasheet. As there are only one of > each type of controller, having a numeral suffix doesn't make sense.

Re: [PATCH 0/2] pinctrl: sunxi: a64: Drop numeral from csi0/ts0

2018-12-03 Thread Maxime Ripard
On Mon, Dec 03, 2018 at 11:40:58PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This small series renames the csi0 and ts0 pin function names to csi and > ts. This makes the names match the datasheet. As there are only one of > each type of controller, having a numeral suffix doesn't make sense.

Re: [PATCH v8 2/3] x86: add support for Huawei WMI hotkeys.

2018-12-03 Thread ayman . bagabas
On Mon, 2018-12-03 at 13:00 +0100, Takashi Iwai wrote: > On Fri, 30 Nov 2018 00:57:37 +0100, > Ayman Bagabas wrote: > > This driver adds support for missing hotkeys on some Huawei > > laptops. > > Laptops such as the Matebook X have non functioning hotkeys. > > Whereas > > newer laptops such as

Re: [PATCH v8 2/3] x86: add support for Huawei WMI hotkeys.

2018-12-03 Thread ayman . bagabas
On Mon, 2018-12-03 at 13:00 +0100, Takashi Iwai wrote: > On Fri, 30 Nov 2018 00:57:37 +0100, > Ayman Bagabas wrote: > > This driver adds support for missing hotkeys on some Huawei > > laptops. > > Laptops such as the Matebook X have non functioning hotkeys. > > Whereas > > newer laptops such as

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-03 Thread Andy Shevchenko
On Mon, Dec 3, 2018 at 9:58 AM Florian Eckert wrote: > >> > Btw, is the statement in above email still actual? "...I can fix > >> > required things." > > > >> Yes i will fix your hints tomorrow and send a v6 of my patchset. > >> Thank you for your hints and time > >> It would be nice if you

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-03 Thread Andy Shevchenko
On Mon, Dec 3, 2018 at 9:58 AM Florian Eckert wrote: > >> > Btw, is the statement in above email still actual? "...I can fix > >> > required things." > > > >> Yes i will fix your hints tomorrow and send a v6 of my patchset. > >> Thank you for your hints and time > >> It would be nice if you

[PATCH 0/2] pinctrl: sunxi: a64: Drop numeral from csi0/ts0

2018-12-03 Thread Chen-Yu Tsai
Hi everyone, This small series renames the csi0 and ts0 pin function names to csi and ts. This makes the names match the datasheet. As there are only one of each type of controller, having a numeral suffix doesn't make sense. I'd like to do the rename now while we don't have users nor support

[PATCH 0/2] pinctrl: sunxi: a64: Drop numeral from csi0/ts0

2018-12-03 Thread Chen-Yu Tsai
Hi everyone, This small series renames the csi0 and ts0 pin function names to csi and ts. This makes the names match the datasheet. As there are only one of each type of controller, having a numeral suffix doesn't make sense. I'd like to do the rename now while we don't have users nor support

Re: [PATCH 0/4] x86/mm/cpa: Fix cpa-array TLB invalidation

2018-12-03 Thread Peter Zijlstra
On Fri, Nov 30, 2018 at 04:19:46PM +, StDenis, Tom wrote: > NAK I get a failure in TTM on init with your x86/mm branch (see attached > dmesg). So the good news is that with some additional self-tests I can trivially reproduce this. The bad news is that an otherwise straight forward cleanup

Re: [PATCH 0/4] x86/mm/cpa: Fix cpa-array TLB invalidation

2018-12-03 Thread Peter Zijlstra
On Fri, Nov 30, 2018 at 04:19:46PM +, StDenis, Tom wrote: > NAK I get a failure in TTM on init with your x86/mm branch (see attached > dmesg). So the good news is that with some additional self-tests I can trivially reproduce this. The bad news is that an otherwise straight forward cleanup

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

2018-12-03 Thread Tony Lindgren
* Stephen Boyd [181130 23:52]: > Quoting Tony Lindgren (2018-11-30 07:37:29) > > Hi, > > > > * Tero Kristo [181130 09:21]: > > > On 30/11/2018 09:57, Stephen Boyd wrote: > > > > No that is not preferred. Can the omap2_clk_deny_idle() function be > > > > integrated closer into the clk framework

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

2018-12-03 Thread Tony Lindgren
* Stephen Boyd [181130 23:52]: > Quoting Tony Lindgren (2018-11-30 07:37:29) > > Hi, > > > > * Tero Kristo [181130 09:21]: > > > On 30/11/2018 09:57, Stephen Boyd wrote: > > > > No that is not preferred. Can the omap2_clk_deny_idle() function be > > > > integrated closer into the clk framework

Re: [PATCH 05/12] PCI: aardvark: add suspend to RAM support

2018-12-03 Thread Miquel Raynal
Hi Lorenzo, Lorenzo Pieralisi wrote on Mon, 3 Dec 2018 10:27:08 +: > [+Rafael, Sudeep] > > On Fri, Nov 23, 2018 at 03:18:24PM +0100, Miquel Raynal wrote: > > Add suspend and resume callbacks. The priority of these are > > "_noirq()", to workaround early access to the registers done by the

Re: [PATCH 05/12] PCI: aardvark: add suspend to RAM support

2018-12-03 Thread Miquel Raynal
Hi Lorenzo, Lorenzo Pieralisi wrote on Mon, 3 Dec 2018 10:27:08 +: > [+Rafael, Sudeep] > > On Fri, Nov 23, 2018 at 03:18:24PM +0100, Miquel Raynal wrote: > > Add suspend and resume callbacks. The priority of these are > > "_noirq()", to workaround early access to the registers done by the

[PATCH] clk: qcom: Fix MSM8998 resets

2018-12-03 Thread Jeffrey Hugo
The offsets for the defined BCR reset registers does not match the hardware documentation. Update the values to match the hardware documentation. Fixes: b5f5f525c547 (clk: qcom: Add MSM8998 Global Clock Control (GCC) driver) Signed-off-by: Jeffrey Hugo --- drivers/clk/qcom/gcc-msm8998.c | 38

[PATCH] clk: qcom: Fix MSM8998 resets

2018-12-03 Thread Jeffrey Hugo
The offsets for the defined BCR reset registers does not match the hardware documentation. Update the values to match the hardware documentation. Fixes: b5f5f525c547 (clk: qcom: Add MSM8998 Global Clock Control (GCC) driver) Signed-off-by: Jeffrey Hugo --- drivers/clk/qcom/gcc-msm8998.c | 38

Re: [PATCH v14 04/11] livepatch: Refuse to unload only livepatches available during a forced transition

2018-12-03 Thread Miroslav Benes
You probably forgot to replace the subject with Josh's proposal. > module_put() is currently never called in klp_complete_transition() when > klp_force is set. As a result, we might keep the reference count even when > klp_enable_patch() fails and klp_cancel_transition() is called. Correct. >

Re: [PATCH v14 04/11] livepatch: Refuse to unload only livepatches available during a forced transition

2018-12-03 Thread Miroslav Benes
You probably forgot to replace the subject with Josh's proposal. > module_put() is currently never called in klp_complete_transition() when > klp_force is set. As a result, we might keep the reference count even when > klp_enable_patch() fails and klp_cancel_transition() is called. Correct. >

Re: [PATCH v10] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-03 Thread Shah, Nehal-bakulchandra
On 11/27/2018 10:09 PM, Elie Morisse wrote: > Hi Nehal-bakulchandra, > >> There was intention behind to make two separate driver for pci and I2c. > It has future usecase in our platforms and hence we made modular designed. > So better to make it two separate driver. > > I merged the two

Re: [PATCH v10] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-03 Thread Shah, Nehal-bakulchandra
On 11/27/2018 10:09 PM, Elie Morisse wrote: > Hi Nehal-bakulchandra, > >> There was intention behind to make two separate driver for pci and I2c. > It has future usecase in our platforms and hence we made modular designed. > So better to make it two separate driver. > > I merged the two

Re: v4.14 fix for Hikey 960 unbalanced IRQ enablement

2018-12-03 Thread Sasha Levin
On Mon, Dec 03, 2018 at 03:42:41PM +0100, Daniel Lezcano wrote: On 03/12/2018 15:14, Greg KH wrote: On Mon, Dec 03, 2018 at 11:31:02AM -0200, Rafael David Tinoco wrote: Sasha, could you consider including this cherry-picked patchset in v4.14. Kernel v4.14 might suffer from the following

Re: v4.14 fix for Hikey 960 unbalanced IRQ enablement

2018-12-03 Thread Sasha Levin
On Mon, Dec 03, 2018 at 03:42:41PM +0100, Daniel Lezcano wrote: On 03/12/2018 15:14, Greg KH wrote: On Mon, Dec 03, 2018 at 11:31:02AM -0200, Rafael David Tinoco wrote: Sasha, could you consider including this cherry-picked patchset in v4.14. Kernel v4.14 might suffer from the following

Re: [PATCH 2/3] mm/vmscan: Enable kswapd to reclaim low-protected memory

2018-12-03 Thread Xunlei Pang
On 2018/12/3 下午7:56, Michal Hocko wrote: > On Mon 03-12-18 16:01:18, Xunlei Pang wrote: >> There may be cgroup memory overcommitment, it will become >> even common in the future. >> >> Let's enable kswapd to reclaim low-protected memory in case >> of memory pressure, to mitigate the global direct

Re: [PATCH 2/3] mm/vmscan: Enable kswapd to reclaim low-protected memory

2018-12-03 Thread Xunlei Pang
On 2018/12/3 下午7:56, Michal Hocko wrote: > On Mon 03-12-18 16:01:18, Xunlei Pang wrote: >> There may be cgroup memory overcommitment, it will become >> even common in the future. >> >> Let's enable kswapd to reclaim low-protected memory in case >> of memory pressure, to mitigate the global direct

[PATCH v11] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-03 Thread Elie Morisse
MP2 controllers have two separate busses, so may accommodate up to two I2C adapters. Those adapters are listed in the ACPI namespace with the "AMDI0011" HID, and probed by a platform driver. Communication with the MP2 takes place through iomapped registers, or through DMA for more than 32 bytes

[PATCH v11] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-03 Thread Elie Morisse
MP2 controllers have two separate busses, so may accommodate up to two I2C adapters. Those adapters are listed in the ACPI namespace with the "AMDI0011" HID, and probed by a platform driver. Communication with the MP2 takes place through iomapped registers, or through DMA for more than 32 bytes

Re: [PATCH 1/2] thermal/int340x_thermal: Add additional UUIDs

2018-12-03 Thread Zhang Rui
Hi, Matthew, On 三, 2018-10-10 at 01:30 -0700, Matthew Garrett wrote: > Platforms support more DPTF policies than the driver currently > exposes. > Add them. This effectively reverts > 31908f45a583e8f21db37f402b6e8d5739945afd which removed several UUIDs > without explaining why. > I'm going to

Re: [PATCH 1/2] thermal/int340x_thermal: Add additional UUIDs

2018-12-03 Thread Zhang Rui
Hi, Matthew, On 三, 2018-10-10 at 01:30 -0700, Matthew Garrett wrote: > Platforms support more DPTF policies than the driver currently > exposes. > Add them. This effectively reverts > 31908f45a583e8f21db37f402b6e8d5739945afd which removed several UUIDs > without explaining why. > I'm going to

Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code

2018-12-03 Thread Paul Gortmaker
[Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code] On 03/12/2018 (Mon 11:14) Lee Jones wrote: > On Sun, 02 Dec 2018, Paul Gortmaker wrote: > > > The Kconfig currently controlling compilation of this code is: > > > > drivers/mfd/Kconfig:config MFD_STA2X11 > >

Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code

2018-12-03 Thread Paul Gortmaker
[Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code] On 03/12/2018 (Mon 11:14) Lee Jones wrote: > On Sun, 02 Dec 2018, Paul Gortmaker wrote: > > > The Kconfig currently controlling compilation of this code is: > > > > drivers/mfd/Kconfig:config MFD_STA2X11 > >

Re: [PATCH] printk: Add caller information to printk() output.

2018-12-03 Thread Petr Mladek
On Sat 2018-12-01 23:44:37, Tetsuo Handa wrote: > On 2018/12/01 0:40, Petr Mladek wrote: > >> Some examples for console output: > >> > >> [0.293000] [T1] smpboot: CPU0: Intel(R) Core(TM) i5-4440S CPU @ > >> 2.80GHz (family: 0x6, model: 0x3c, stepping: 0x3) > >> [0.299733] [T1]

Re: [PATCH] printk: Add caller information to printk() output.

2018-12-03 Thread Petr Mladek
On Sat 2018-12-01 23:44:37, Tetsuo Handa wrote: > On 2018/12/01 0:40, Petr Mladek wrote: > >> Some examples for console output: > >> > >> [0.293000] [T1] smpboot: CPU0: Intel(R) Core(TM) i5-4440S CPU @ > >> 2.80GHz (family: 0x6, model: 0x3c, stepping: 0x3) > >> [0.299733] [T1]

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

2018-12-03 Thread Tetsuo Handa
On 2018/12/03 23:14, Petr Mladek wrote: > Well, IMHO, it does not explain the pagefault above. The copy_to_user() > could come either from syslog_print() or from syslog_print_all(). They > both have their own checks that prevent the buf overflow. > > The code is tricky but it looks safe now. Is

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

2018-12-03 Thread Tetsuo Handa
On 2018/12/03 23:14, Petr Mladek wrote: > Well, IMHO, it does not explain the pagefault above. The copy_to_user() > could come either from syslog_print() or from syslog_print_all(). They > both have their own checks that prevent the buf overflow. > > The code is tricky but it looks safe now. Is

Re: [PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-12-03 Thread Miroslav Benes
On Thu, 29 Nov 2018, Petr Mladek wrote: > -static int klp_init_patch(struct klp_patch *patch) > +/* Init operations that must succeed before klp_free_patch() can be called. > */ > +static int klp_init_patch_before_free(struct klp_patch *patch) There is no klp_free_patch() now, so the comment is

Re: [PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-12-03 Thread Miroslav Benes
On Thu, 29 Nov 2018, Petr Mladek wrote: > -static int klp_init_patch(struct klp_patch *patch) > +/* Init operations that must succeed before klp_free_patch() can be called. > */ > +static int klp_init_patch_before_free(struct klp_patch *patch) There is no klp_free_patch() now, so the comment is

Re: [PATCH v5 RESEND] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-12-03 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 03, 2018 at 12:18:46PM +, Robert Walker escreveu: > This patch adds support for generating instruction samples from trace of > AArch32 programs using the A32 and T32 instruction sets. > > T32 has variable 2 or 4 byte instruction size, so the conversion between > addresses and

Re: [PATCH v5 RESEND] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-12-03 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 03, 2018 at 12:18:46PM +, Robert Walker escreveu: > This patch adds support for generating instruction samples from trace of > AArch32 programs using the A32 and T32 instruction sets. > > T32 has variable 2 or 4 byte instruction size, so the conversion between > addresses and

[PATCH] misc: vexpress: Off by one in vexpress_syscfg_exec()

2018-12-03 Thread Dan Carpenter
The > comparison should be >= to prevent reading beyond the end of the func->template[] array. (The func->template array is allocated in vexpress_syscfg_regmap_init() and it has func->num_templates elements.) Fixes: 974cc7b93441 ("mfd: vexpress: Define the device as MFD cells") Signed-off-by:

[PATCH] misc: vexpress: Off by one in vexpress_syscfg_exec()

2018-12-03 Thread Dan Carpenter
The > comparison should be >= to prevent reading beyond the end of the func->template[] array. (The func->template array is allocated in vexpress_syscfg_regmap_init() and it has func->num_templates elements.) Fixes: 974cc7b93441 ("mfd: vexpress: Define the device as MFD cells") Signed-off-by:

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-12-03 Thread Sasha Levin
On Sat, Nov 24, 2018 at 01:46:34PM -0500, Steven Rostedt wrote: On Fri, 23 Nov 2018 15:00:11 -0500 Sasha Levin wrote: What will happen with these is that once Greg's scripts process Linus's tree he'll end up with this patch series inconsistently backported to stable trees, which is not what

Re: [PATCH] fbdev: fsl-diu: remove redundant null check on cmap

2018-12-03 Thread Timur Tabi
On 12/3/18 12:43 AM, Wen Yang wrote: The null check on >cmap is redundant since cmap is a struct inside fb_info and can never be null, so the check is always true. we may remove it. Signed-off-by: Wen Yang Acked-by: Timur Tabi

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-12-03 Thread Sasha Levin
On Sat, Nov 24, 2018 at 01:46:34PM -0500, Steven Rostedt wrote: On Fri, 23 Nov 2018 15:00:11 -0500 Sasha Levin wrote: What will happen with these is that once Greg's scripts process Linus's tree he'll end up with this patch series inconsistently backported to stable trees, which is not what

Re: [PATCH] fbdev: fsl-diu: remove redundant null check on cmap

2018-12-03 Thread Timur Tabi
On 12/3/18 12:43 AM, Wen Yang wrote: The null check on >cmap is redundant since cmap is a struct inside fb_info and can never be null, so the check is always true. we may remove it. Signed-off-by: Wen Yang Acked-by: Timur Tabi

Re: BUG: corrupted list in freeary

2018-12-03 Thread Dmitry Vyukov
On Sat, Dec 1, 2018 at 9:22 PM Manfred Spraul wrote: > > Hi Dmitry, > > On 11/30/18 6:58 PM, Dmitry Vyukov wrote: > > On Thu, Nov 29, 2018 at 9:13 AM, Manfred Spraul > > wrote: > >> Hello together, > >> > >> On 11/27/18 4:52 PM, syzbot wrote: > >> > >> Hello, > >> > >> syzbot found the following

Re: BUG: corrupted list in freeary

2018-12-03 Thread Dmitry Vyukov
On Sat, Dec 1, 2018 at 9:22 PM Manfred Spraul wrote: > > Hi Dmitry, > > On 11/30/18 6:58 PM, Dmitry Vyukov wrote: > > On Thu, Nov 29, 2018 at 9:13 AM, Manfred Spraul > > wrote: > >> Hello together, > >> > >> On 11/27/18 4:52 PM, syzbot wrote: > >> > >> Hello, > >> > >> syzbot found the following

Re: [PATCH] clocksource: riscv_timer: Provide sched_clock

2018-12-03 Thread Daniel Lezcano
On 03/12/2018 15:50, Anup Patel wrote: > On Mon, Dec 3, 2018 at 6:29 PM Daniel Lezcano > wrote: >> >> On 03/12/2018 13:35, Anup Patel wrote: >>> Currently, we don't have a sched_clock registered for RISC-V systems. >>> This means Linux time keeping will use jiffies (running at HZ) as the >>>

Re: [PATCH] clocksource: riscv_timer: Provide sched_clock

2018-12-03 Thread Daniel Lezcano
On 03/12/2018 15:50, Anup Patel wrote: > On Mon, Dec 3, 2018 at 6:29 PM Daniel Lezcano > wrote: >> >> On 03/12/2018 13:35, Anup Patel wrote: >>> Currently, we don't have a sched_clock registered for RISC-V systems. >>> This means Linux time keeping will use jiffies (running at HZ) as the >>>

Re: [PATCH] clocksource: riscv_timer: Provide sched_clock

2018-12-03 Thread Anup Patel
On Mon, Dec 3, 2018 at 6:29 PM Daniel Lezcano wrote: > > On 03/12/2018 13:35, Anup Patel wrote: > > Currently, we don't have a sched_clock registered for RISC-V systems. > > This means Linux time keeping will use jiffies (running at HZ) as the > > default sched_clock. > > > > To avoid this, we

Re: [PATCH] clocksource: riscv_timer: Provide sched_clock

2018-12-03 Thread Anup Patel
On Mon, Dec 3, 2018 at 6:29 PM Daniel Lezcano wrote: > > On 03/12/2018 13:35, Anup Patel wrote: > > Currently, we don't have a sched_clock registered for RISC-V systems. > > This means Linux time keeping will use jiffies (running at HZ) as the > > default sched_clock. > > > > To avoid this, we

[PATCH] mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate()

2018-12-03 Thread Dan Carpenter
The > comparison should be >= or we access one element beyond the end of the array. (The inst->qinsts[] array is allocated in the ti_msgmgr_probe() function and it has ->num_valid_queues elements.) Fixes: a2b79838b891 ("mailbox: ti-msgmgr: Add support for Secure Proxy") Signed-off-by: Dan

[PATCH] mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate()

2018-12-03 Thread Dan Carpenter
The > comparison should be >= or we access one element beyond the end of the array. (The inst->qinsts[] array is allocated in the ti_msgmgr_probe() function and it has ->num_valid_queues elements.) Fixes: a2b79838b891 ("mailbox: ti-msgmgr: Add support for Secure Proxy") Signed-off-by: Dan

[PATCH] dmaengine: dmatest: fix a small memory leak in dmatest_func()

2018-12-03 Thread Dan Carpenter
We recently moved the test size tests around but it means we need to adjust the error handling as well or we leak the "pq_coefs" memory. I updated the label name to reflect that we're freeing coefs. Fixes: 787d3083caf8 ("dmaengine: dmatest: move size checks earlier in function") Signed-off-by:

[PATCH] dmaengine: dmatest: fix a small memory leak in dmatest_func()

2018-12-03 Thread Dan Carpenter
We recently moved the test size tests around but it means we need to adjust the error handling as well or we leak the "pq_coefs" memory. I updated the label name to reflect that we're freeing coefs. Fixes: 787d3083caf8 ("dmaengine: dmatest: move size checks earlier in function") Signed-off-by:

Re: [PATCH 1/3] mm/memcg: Fix min/low usage in propagate_protected_usage()

2018-12-03 Thread Xunlei Pang
On 2018/12/3 下午7:54, Michal Hocko wrote: > On Mon 03-12-18 16:01:17, Xunlei Pang wrote: >> When usage exceeds min, min usage should be min other than 0. >> Apply the same for low. > > Why? What is the actual problem. children_min_usage tracks the total children usages under min, it's natural

Re: [PATCH 1/3] mm/memcg: Fix min/low usage in propagate_protected_usage()

2018-12-03 Thread Xunlei Pang
On 2018/12/3 下午7:54, Michal Hocko wrote: > On Mon 03-12-18 16:01:17, Xunlei Pang wrote: >> When usage exceeds min, min usage should be min other than 0. >> Apply the same for low. > > Why? What is the actual problem. children_min_usage tracks the total children usages under min, it's natural

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-03 Thread Pavel Machek
On Mon 2018-12-03 15:17:37, Michal Hocko wrote: > On Mon 03-12-18 15:14:59, Pavel Machek wrote: > > On Mon 2018-12-03 14:53:51, Michal Hocko wrote: > > > On Mon 03-12-18 14:10:06, Pavel Machek wrote: > > > > On Mon 2018-12-03 13:38:57, Michal Hocko wrote: > > > > > On Mon 03-12-18 13:31:49, Oleg

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-03 Thread Pavel Machek
On Mon 2018-12-03 15:17:37, Michal Hocko wrote: > On Mon 03-12-18 15:14:59, Pavel Machek wrote: > > On Mon 2018-12-03 14:53:51, Michal Hocko wrote: > > > On Mon 03-12-18 14:10:06, Pavel Machek wrote: > > > > On Mon 2018-12-03 13:38:57, Michal Hocko wrote: > > > > > On Mon 03-12-18 13:31:49, Oleg

Re: v4.14 fix for Hikey 960 unbalanced IRQ enablement

2018-12-03 Thread Daniel Lezcano
On 03/12/2018 15:14, Greg KH wrote: > On Mon, Dec 03, 2018 at 11:31:02AM -0200, Rafael David Tinoco wrote: >> Sasha, could you consider including this cherry-picked patchset in v4.14. >> >> Kernel v4.14 might suffer from the following unbalanced enablement for the >> board Hikey 960: >> >> Nov 5

Re: v4.14 fix for Hikey 960 unbalanced IRQ enablement

2018-12-03 Thread Daniel Lezcano
On 03/12/2018 15:14, Greg KH wrote: > On Mon, Dec 03, 2018 at 11:31:02AM -0200, Rafael David Tinoco wrote: >> Sasha, could you consider including this cherry-picked patchset in v4.14. >> >> Kernel v4.14 might suffer from the following unbalanced enablement for the >> board Hikey 960: >> >> Nov 5

Re: XFS patches for stable

2018-12-03 Thread Richard Weinberger
On Sun, Dec 2, 2018 at 9:09 PM Greg KH wrote: > > On Sun, Dec 02, 2018 at 08:10:16AM -0800, Christoph Hellwig wrote: > > As someone who has done xfs stable backports for a while I really don't > > think the autoselection is helpful at all. > > autoselection for xfs patches has been turned off for

Re: XFS patches for stable

2018-12-03 Thread Richard Weinberger
On Sun, Dec 2, 2018 at 9:09 PM Greg KH wrote: > > On Sun, Dec 02, 2018 at 08:10:16AM -0800, Christoph Hellwig wrote: > > As someone who has done xfs stable backports for a while I really don't > > think the autoselection is helpful at all. > > autoselection for xfs patches has been turned off for

Re: [PATCH 00/13 v2] Regulator ena_gpiod fixups

2018-12-03 Thread Marek Szyprowski
PID: 1 at drivers/gpio/gpiolib-devres.c:336 s2mps11_pmic_probe+0x1c4/0x49c Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.20.0-rc5-next-20181203-00020-gf6d64d46ca8c #1156 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x14) []

Re: [PATCH v2] mm: prototype: rid swapoff of quadratic complexity

2018-12-03 Thread Vineeth Remanan Pillai
Hi Matthew, This seems terribly complicated.  You run through i_pages, record the indices of the swap entries, then go back and look them up again by calling shmem_getpage() which calls the incredibly complex 300 line shmem_getpage_gfp(). Can we refactor shmem_getpage_gfp() to skip some of

Re: [PATCH 00/13 v2] Regulator ena_gpiod fixups

2018-12-03 Thread Marek Szyprowski
PID: 1 at drivers/gpio/gpiolib-devres.c:336 s2mps11_pmic_probe+0x1c4/0x49c Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.20.0-rc5-next-20181203-00020-gf6d64d46ca8c #1156 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x14) []

Re: [PATCH v2] mm: prototype: rid swapoff of quadratic complexity

2018-12-03 Thread Vineeth Remanan Pillai
Hi Matthew, This seems terribly complicated.  You run through i_pages, record the indices of the swap entries, then go back and look them up again by calling shmem_getpage() which calls the incredibly complex 300 line shmem_getpage_gfp(). Can we refactor shmem_getpage_gfp() to skip some of

[PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Lukasz Luba
The refactoring is needed for the new client in devfreq: suspend. To avoid code duplication, move it to the new local function devfreq_set_target. The patch is based on earlier work by Tobias Jakobi. Suggested-by: Tobias Jakobi Suggested-by: Chanwoo Choi Signed-off-by: Lukasz Luba ---

Re: [PATCH v2 2/4] clk: core: link consumer with clock driver

2018-12-03 Thread Miquel Raynal
Hello, kbuild test robot wrote on Sat, 1 Dec 2018 08:29:05 +0800: > Hi Miquel, > > I love your patch! Yet something to improve: > > [auto build test ERROR on clk/clk-next] > [also build test ERROR on v4.20-rc4 next-20181130] > [if your patch is applied to the wrong git tree, please drop us a

[PATCH v2 0/5] devfreq: handle suspend/resume

2018-12-03 Thread Lukasz Luba
Hi all, This v2 patch set aims to address the issue with devfreq devices' frequency during suspend/resume. It extends suspend/resume by calls to Devfreq framework. In the devfreq framework there is a small refactoring to avoid code duplication in changging frequency (patch 1) and there are

[PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Lukasz Luba
The refactoring is needed for the new client in devfreq: suspend. To avoid code duplication, move it to the new local function devfreq_set_target. The patch is based on earlier work by Tobias Jakobi. Suggested-by: Tobias Jakobi Suggested-by: Chanwoo Choi Signed-off-by: Lukasz Luba ---

<    5   6   7   8   9   10   11   12   13   14   >