Re: [RFC v6 00/51] Large pages in the page cache

2020-06-11 Thread Christoph Hellwig
On Wed, Jun 10, 2020 at 01:12:54PM -0700, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > Another fortnight, another dump of my current large pages work. > I've squished a lot of bugs this time. xfstests is much happier now, > running for 1631 seconds and getting as far as generic/08

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT

2020-06-11 Thread Alexander A. Klimov
Am 11.06.20 um 05:12 schrieb Kees Cook: On Wed, Jun 10, 2020 at 08:11:39PM +0200, Alexander A. Klimov wrote: Am 10.06.20 um 10:57 schrieb Federico Vaga: On Tuesday, June 9, 2020 10:12:41 PM CEST Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links fo

Re: [LKP] [ima] 8eb613c0b8: stress-ng.icache.ops_per_sec -84.2% regression

2020-06-11 Thread Xing Zhengjun
On 6/10/2020 9:53 PM, Mimi Zohar wrote: Hi Xing, On Wed, 2020-06-10 at 11:21 +0800, Xing Zhengjun wrote: Hi Mimi, Do you have time to take a look at this? we noticed a 3.7% regression of boot-time.dhcp and a 84.2% regression of stress-ng.icache.ops_per_sec. Thanks. On 6/3/2020 5:11 P

Re: [PATCH V2 2/2] mtd: rawnand: qcom: set BAM mode only if not set already

2020-06-11 Thread Miquel Raynal
Hi Sivaprakash, Sivaprakash Murugesan wrote on Thu, 11 Jun 2020 09:57:59 +0530: > Hi Miquel, > > Thanks for the review. > > On 6/9/2020 7:33 PM, Miquel Raynal wrote: > > Hi Sivaprakash, > > > > Sivaprakash Murugesan wrote on Tue, 9 Jun > > 2020 16:40:56 +0530: > > > >> BAM mode is set by w

Re: [PATCH 1/2] mtd: rawnand: brcmnand: Don't default to edu transfer

2020-06-11 Thread Miquel Raynal
Hi Kamal, Kamal Dasu wrote on Thu, 11 Jun 2020 01:44:53 -0400: > When flash-dma is absent do not default to using flash-edu. > Make sure flash-edu is enabled before setting EDU transfer > function. > > Fixes: a5d53ad26a8b ("mtd: rawnand: brcmnand: Add support for flash-edu for > dma transfers"

Re: [PATCH] platform/x86: intel-hid: Use hp-wireless for rfkill on HP platforms

2020-06-11 Thread Kai-Heng Feng
> On Jun 10, 2020, at 23:49, mario.limoncie...@dell.com wrote: > >> -Original Message- >> From: platform-driver-x86-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Kai-Heng Feng >> Sent: Wednesday, June 10, 2020 10:38 AM >> To: alex.h...@canonical.com >> Cc: Kai-Heng Feng; D

Re: [PATCH 4.4 00/36] 4.4.227-rc2 review

2020-06-11 Thread Greg Kroah-Hartman
On Wed, Jun 10, 2020 at 01:37:56PM -0600, Shuah Khan wrote: > On 6/9/20 1:18 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.227 release. > > There are 36 patches in this series, all will be posted as a response > > to this one. If anyone has any issues w

Linux 5.7.2

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.2 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 5.7 00/24] 5.7.2-rc1 review

2020-06-11 Thread Greg Kroah-Hartman
On Wed, Jun 10, 2020 at 12:11:33PM -0700, Guenter Roeck wrote: > On Tue, Jun 09, 2020 at 07:45:31PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.2 release. > > There are 24 patches in this series, all will be posted as a response > > to this one. If

Re: Linux 5.6.18

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 2e0e3b45d02a..b39531a3c5bc 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -492,6 +492,7 @@ What:

Re: Linux 5.7.2

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 2e0e3b45d02a..b39531a3c5bc 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -492,6 +492,7 @@ What:

Re: [RFC PATCH 7/7] objtool: Make unwind_hints available for all architectures

2020-06-11 Thread Julien Thierry
Hi Miroslav, On 6/10/20 2:20 PM, Miroslav Benes wrote: Hi Julien, On Mon, 8 Jun 2020, Julien Thierry wrote: Unwind hints are useful to give some information about the call frame or stack states in non-standard code. Despite unwind hints being used in arch-independent code, the unwind_hint st

Re: Linux 4.19.128

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index b492fb6057c9..b9c14c11efc5 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -478,6 +478,7 @@ What:

Linux 5.6.18

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.6.18 kernel. All users of the 5.6 kernel series must upgrade. The updated 5.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.6.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.128

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.128 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: Linux 5.4.46

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index fc20cde63d1e..c24afa60a30e 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -486,6 +486,7 @@ What:

Re: Re: [PATCH v15 03/14] mm/damon: Implement region based sampling

2020-06-11 Thread SeongJae Park
On Wed, 10 Jun 2020 22:36:00 +0200 wrote: > On 6/8/20 1:40 PM, SeongJae Park wrote: > > From: SeongJae Park > > > > This commit implements DAMON's basic access check and region based > > sampling mechanisms. This change would seems make no sense, mainly > > because it is only a part of the DAM

Linux 5.4.46

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.46 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v3 2/2] regulator: Add driver for cros-ec-regulator

2020-06-11 Thread Pi-Hsun Shih
Thanks for the review, would address most of them in v4. An inline reply as below: On Thu, Jun 11, 2020 at 12:47 AM Enric Balletbo i Serra wrote: > > Hi Pi-Hsun, > > Thank you for your patch. > > On 10/6/20 11:07, Pi-Hsun Shih wrote: > > +/*

Re: [PATCH 4.4 00/36] 4.4.227-rc2 review

2020-06-11 Thread Greg Kroah-Hartman
On Thu, Jun 11, 2020 at 06:51:15AM +, Chris Paterson wrote: > Hello Greg, > > > From: stable-ow...@vger.kernel.org On > > Behalf Of Greg Kroah-Hartman > > Sent: 09 June 2020 20:18 > > > > This is the start of the stable review cycle for the 4.4.227 release. > > There are 36 patches in this s

Re: [PATCH] platform/x86: intel-hid: Use hp-wireless for rfkill on HP platforms

2020-06-11 Thread Kai-Heng Feng
> On Jun 11, 2020, at 01:41, Alex Hung wrote: > > On 2020-06-10 9:49 a.m., mario.limoncie...@dell.com wrote: >>> -Original Message- >>> From: platform-driver-x86-ow...@vger.kernel.org >> ow...@vger.kernel.org> On Behalf Of Kai-Heng Feng >>> Sent: Wednesday, June 10, 2020 10:38 AM >>> T

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-11 Thread Andy Shevchenko
On Thu, Jun 11, 2020 at 1:06 AM Wei Yang wrote: > On Wed, Jun 10, 2020 at 01:17:28PM +0300, Andy Shevchenko wrote: > >On Wed, Jun 10, 2020 at 2:06 AM Wei Yang wrote: > >> On Tue, Jun 09, 2020 at 12:16:49PM +0300, Andy Shevchenko wrote: > >> >On Mon, Jun 08, 2020 at 10:31:12PM +, Wei Yang wrot

[patch for-5.8] dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL

2020-06-11 Thread David Rientjes
DMA_REMAP is an unnecessary requirement for AMD SEV, which requires DMA_COHERENT_POOL, so avoid selecting it when it is otherwise unnecessary. The only other requirement for DMA coherent pools is DMA_DIRECT_REMAP, so ensure that properly selects the config option when needed. Fixes: 82fef0ad8

Re: [PATCH 2/2] mtd: rawnand: brcmnand: Ecc error handling on EDU transfers

2020-06-11 Thread Miquel Raynal
Hi Kamal, Kamal Dasu wrote on Thu, 11 Jun 2020 01:44:54 -0400: > Implemented ECC correctable and uncorrectable error handling for EDU Implement? > reads. If ECC correctable bitflips are encountered on EDU transfer, extra space ^ > read page again usin

Re: [PATCH] printk/kdb: Redirect printk messages into kdb in any context

2020-06-11 Thread Sergey Senozhatsky
On (20/06/10 17:41), Daniel Thompson wrote: > > Thanks for the link. I'm slightly surprised it took so many years > > to notice the addition of printk_nmi/printk_safe :) > > Rather by coincidence (at least I think its a coincidence) the problem > has recently become much more obvious. > > 0d00449

Re: [Linaro-mm-sig] [PATCH 04/18] dma-fence: prime lockdep annotations

2020-06-11 Thread Intel
On 6/4/20 10:12 AM, Daniel Vetter wrote: Two in one go: - it is allowed to call dma_fence_wait() while holding a dma_resv_lock(). This is fundamental to how eviction works with ttm, so required. - it is allowed to call dma_fence_wait() from memory reclaim contexts, specifically from s

[PATCH v4 16/27] clk: bcm: rpi: Rename is_prepared function

2020-06-11 Thread Maxime Ripard
The raspberrypi_fw_pll_is_on function doesn't only apply to PLL registered in the driver, but any clock exposed by the firmware. Since we also implement the is_prepared hook, make the function consistent with the other function names. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Acked-by:

[PATCH v4 01/27] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML

2020-06-11 Thread Maxime Ripard
From: Florian Fainelli Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with dt_binding_check and dtbs_check. Signed-off-by: Florian Fainelli Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt | 14

[PATCH v4 02/27] dt-bindings: clock: Add a binding for the RPi Firmware clocks

2020-06-11 Thread Maxime Ripard
The firmware running on the RPi VideoCore can be used to discover and change the various clocks running in the BCM2711. Since devices will need to use them through the DT, let's add a pretty simple binding. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Reviewe

[PATCH v4 07/27] clk: bcm: rpi: Remove global pllb_arm clock pointer

2020-06-11 Thread Maxime Ripard
The pllb_arm clk_hw pointer in the raspberry_clk structure isn't used anywhere but in the raspberrypi_register_pllb_arm. Let's remove it, this will make our lives easier in future patches. Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-...@vger.kernel.org Reviewed-by: Stephen Boyd Acked-by:

[PATCH v4 00/27] clk: bcm: rpi: Add support for BCM2711 firmware clocks

2020-06-11 Thread Maxime Ripard
Hi, Since the whole DRM/HDMI support began to grow fairly big, I've chosen to split away the two discussions between the firmware clocks and the HDMI support. Let me know what you think, Maxime Cc: bcm-kernel-feedback-l...@broadcom.com Cc: devicet...@vger.kernel.org Cc: Kamal Dasu Cc: linux-...

[PATCH v4 03/27] firmware: rpi: Only create clocks device if we don't have a node for it

2020-06-11 Thread Maxime Ripard
The firmware clocks driver was previously probed through a platform_device created by the firmware driver. Since we will now have a node for that clocks driver, we need to create the device only in the case where there's no node for it already. Reviewed-by: Nicolas Saenz Julienne Signed-off-by:

[PATCH v4 15/27] clk: bcm: rpi: Pass the clocks data to the firmware function

2020-06-11 Thread Maxime Ripard
The raspberry_clock_property only takes the clock ID as an argument, but now that we have a clock data structure it makes more sense to just pass that structure instead. Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-...@vger.kernel.org Reviewed-by: Stephen Boyd Acked-by: Nicolas Saenz Julien

[PATCH v4 27/27] clk: bcm: rpi: Remove the quirks for the CPU clock

2020-06-11 Thread Maxime Ripard
The CPU clock has had so far a bunch of quirks to expose the clock tree properly, but since we reverted to exposing them through the MMIO driver, we can remove that code from the firmware driver. Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-raspberrypi.c | 164 +--

[PATCH v4 17/27] clk: bcm: rpi: Split pllb clock hooks

2020-06-11 Thread Maxime Ripard
The driver only supports the pllb for now and all the clock framework hooks are a mix of the generic firmware interface and the specifics of the pllb. Since we will support more clocks in the future let's split the generic and specific hooks Cc: Michael Turquette Cc: linux-...@vger.kernel.org Ack

[PATCH v4 19/27] clk: bcm: rpi: Add DT provider for the clocks

2020-06-11 Thread Maxime Ripard
For the upcoming registration of the clocks provided by the firmware, make sure it's exposed to the device tree providers. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Acked-by: Nicolas Saenz Julienne Reviewed-by: Stephen Boyd Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-raspbe

[PATCH v4 23/27] Revert "clk: bcm2835: remove pllb"

2020-06-11 Thread Maxime Ripard
This reverts commit 2256d89333bd17b8b56b42734a7e1046d52f7fc3. Since we will be expanding the firmware clock driver, we'll need to remove the quirks to deal with the PLLB. However, we still want to expose the clock tree properly, so having that clock in the MMIO driver will allow that. Signed-off-b

[PATCH v4 14/27] clk: bcm: rpi: Add clock id to data

2020-06-11 Thread Maxime Ripard
The driver has really only supported one clock so far and has hardcoded the ID used in communications with the firmware in all the functions implementing the clock framework hooks. Let's store that in the clock data structure so that we can support more clocks later on. Cc: Michael Turquette Cc:

[PATCH v4 21/27] clk: bcm: rpi: Discover the firmware clocks

2020-06-11 Thread Maxime Ripard
The RaspberryPi4 firmware actually exposes more clocks than are currently handled by the driver and we will need to change some of them directly based on the pixel rate for the display related clocks, or the load for the GPU. Since the firmware implements DVFS, this rate change can have a number o

[PATCH v4 12/27] clk: bcm: rpi: Use CCF boundaries instead of rolling our own

2020-06-11 Thread Maxime Ripard
The raspberrypi firmware clock driver has a min_rate / max_rate clamping by storing the info it needs in a private structure. However, the CCF already provides such a facility, so we can switch to it to remove the boilerplate. Reviewed-by: Nicolas Saenz Julienne Signed-off-by: Maxime Ripard ---

[PATCH v4 20/27] clk: bcm: rpi: Add an enum for the firmware clocks

2020-06-11 Thread Maxime Ripard
While the firmware allows us to discover the available clocks, we need to discriminate those clocks to only register the ones meaningful to Linux. The firmware also doesn't provide a clock name, so having a list of the ID will help us to give clocks a proper name later on. Acked-by: Nicolas Saenz

[PATCH v4 22/27] clk: bcm: rpi: Give firmware clocks a name

2020-06-11 Thread Maxime Ripard
We've registered the firmware clocks using their ID as name, but it's much more convenient to register them using their proper name. Since the firmware doesn't provide it, we have to duplicate it. Acked-by: Nicolas Saenz Julienne Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-raspberrypi.

[PATCH v4 11/27] clk: bcm: rpi: Make sure the clkdev lookup is removed

2020-06-11 Thread Maxime Ripard
The clkdev lookup created for the cpufreq device is never removed if there's an issue later in probe or at module removal time. Let's convert to the managed variant of the clk_hw_register_clkdev function to make sure it happens. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Acked-by: Nicol

[PATCH v4 18/27] clk: bcm: rpi: Make the PLLB registration function return a clk_hw

2020-06-11 Thread Maxime Ripard
The raspberrypi_register_pllb has been returning an integer so far to notify whether the functions has exited successfully or not. However, the OF provider functions in the clock framework require access to the clk_hw structure so that we can expose those clocks to device tree consumers. Since we

[PATCH v4 13/27] clk: bcm: rpi: Create a data structure for the clocks

2020-06-11 Thread Maxime Ripard
So far the driver has really only been providing a single clock, and stored both the data associated to that clock in particular with the data associated to the "controller". Since we will change that in the future, let's decouple the clock data from the provider data. Cc: Michael Turquette Cc:

[PATCH v4 08/27] clk: bcm: rpi: Make sure pllb_arm is removed

2020-06-11 Thread Maxime Ripard
The pllb_arm clock was created at probe time, but was never removed if something went wrong later in probe, or if the driver was ever removed from the system. Now that we are using clk_hw_register(), we can just use its managed variant to take care of that for us. Cc: Michael Turquette Cc: Steph

[PATCH v4 06/27] clk: bcm: rpi: Use clk_hw_register for pllb_arm

2020-06-11 Thread Maxime Ripard
The pllb_arm clock is defined as a fixed factor clock with the pllb clock as a parent. However, all its configuration is entirely static, and thus we don't really need to call clk_hw_register_fixed_factor() but can simply call clk_hw_register() with a static clk_fixed_factor structure. Cc: Michael

[PATCH v4 24/27] ARM: dts: bcm2711: Add firmware clocks node

2020-06-11 Thread Maxime Ripard
Now that we have a clock driver for the clocks exposed by the firmware, let's add the device tree nodes for it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/d

[PATCH v4 26/27] clk: bcm2835: Don't cache the PLLB rate

2020-06-11 Thread Maxime Ripard
The PLLB rate will be changed through the firmware clocks drivers and will change behind this drivers' back, so we don't want to cache the rate. Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-bcm2835.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/bcm

[PATCH v4 09/27] clk: bcm: rpi: Remove pllb_arm_lookup global pointer

2020-06-11 Thread Maxime Ripard
The pllb_arm_lookup pointer in the struct raspberrypi_clk is not used for anything but to store the returned pointer to clkdev_hw_create, and is not used anywhere else in the driver. Let's remove that global pointer from the structure. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Acked-by

[PATCH v4 05/27] clk: bcm: rpi: Statically init clk_init_data

2020-06-11 Thread Maxime Ripard
Instead of declaring the clk_init_data and then calling memset on it, just initialise properly. Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-...@vger.kernel.org Reviewed-by: Stephen Boyd Acked-by: Nicolas Saenz Julienne Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-raspberrypi.c |

[PATCH v4 10/27] clk: bcm: rpi: Switch to clk_hw_register_clkdev

2020-06-11 Thread Maxime Ripard
Since we don't care about retrieving the clk_lookup structure pointer returned by clkdev_hw_create, we can just use the clk_hw_register_clkdev function. Cc: Michael Turquette Cc: linux-...@vger.kernel.org Acked-by: Nicolas Saenz Julienne Reviewed-by: Stephen Boyd Signed-off-by: Maxime Ripard -

[PATCH v4 25/27] clk: bcm2835: Allow custom CCF flags for the PLLs

2020-06-11 Thread Maxime Ripard
While some clock types allow for each clock to specify its own custom flags, the PLLs can't. We will need this for the PLLB, so let's add it. Signed-off-by: Maxime Ripard --- drivers/clk/bcm/clk-bcm2835.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-b

[PATCH v4 04/27] clk: bcm: rpi: Allow the driver to be probed by DT

2020-06-11 Thread Maxime Ripard
The current firmware clock driver for the RaspberryPi can only be probed by manually registering an associated platform_device. While this works fine for cpufreq where the device gets attached a clkdev lookup, it would be tedious to maintain a table of all the devices using one of the clocks expos

Re: [PATCH v6 11/12] PCI: qcom: Add Force GEN1 support

2020-06-11 Thread Stanimir Varbanov
Hi Ansuel, Sorry that I didn't make this comment earlier. The subject and description are misleading. The patch itself is not forcing anything (the DT is filling the gen to 1), so please fix that. On 6/10/20 7:06 PM, Ansuel Smith wrote: > From: Sham Muthayyan > > Add Force GEN1 support needed

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Lontium vendor prefix

2020-06-11 Thread Vinod Koul
Add prefix for Lontium Semiconductor Corporation Acked-by: Rob Herring Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bi

[PATCH v2 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-06-11 Thread Vinod Koul
Lontium Lt9611 is a DSI to HDMI bridge which supports two DSI ports and I2S port as an input and HDMI port as output Co-developed-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Signed-off-by: Vinod Koul --- drivers/g

[PATCH v2 0/3] Add LT9611 DSI to HDMI bridge

2020-06-11 Thread Vinod Koul
Hi, This series adds driver and bindings for Lontium LT9611 bridge chip which takes MIPI DSI as input and HDMI as output. This chip can be found in 96boards RB3 platform [1] commonly called DB845c. [1]: https://www.96boards.org/product/rb3-platform/ Changes in v2: - Add acks by Rob - Fix comm

[PATCH v2 2/3] dt-bindings: display: bridge: Add documentation for LT9611

2020-06-11 Thread Vinod Koul
Lontium LT9611 is a DSI to HDMI bridge which supports 2 DSI ports and I2S port as input and one HDMI port as output Reviewed-by: Rob Herring Signed-off-by: Vinod Koul --- .../display/bridge/lontium,lt9611.yaml| 176 ++ 1 file changed, 176 insertions(+) create mode 10064

Re: [PATCH] arch/x86: reset MXCSR to default in kernel_fpu_begin()

2020-06-11 Thread Petteri Aimonen
Hi, > How about putting the file you frob in > /sys/kernel/debug/selftest_helpers/something_or_other. The idea would > be that /sys/kernel/debug/selftest_helpers would be a general place > for kernel helpers needed to make selftests work. Seems like this is the consensus for now. Any opinions o

Re: Re: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

2020-06-11 Thread SeongJae Park
On Wed, 10 Jun 2020 23:35:24 -0700 Joe Perches wrote: > On Thu, 2020-06-11 at 08:25 +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > This patchset 1) adds support of deprecated terms in the 'checkpatch.pl' > > and 2) set the 'blacklist' and 'whitelist' as deprecated with > > replacem

Re: [PATCH 1/2] xhci: Suspend ports to U3 directly from U1 or U2

2020-06-11 Thread Kai-Heng Feng
> On Jun 10, 2020, at 23:58, Mathias Nyman > wrote: > > On 10.6.2020 18.43, Kai-Heng Feng wrote: >> >> >>> On Jun 10, 2020, at 22:32, Alan Stern wrote: >>> >>> On Wed, Jun 10, 2020 at 02:42:30PM +0800, Kai-Heng Feng wrote: xHCI spec "4.15.1 Port Suspend" states that port can be put t

Re: [PATCH 14/21] KVM: Move x86's version of struct kvm_mmu_memory_cache to common code

2020-06-11 Thread Marc Zyngier
Hi Sean, On 2020-06-05 22:38, Sean Christopherson wrote: Move x86's 'struct kvm_mmu_memory_cache' to common code in anticipation of moving the entire x86 implementation code to common KVM and reusing it for arm64 and MIPS. Add a new architecture specific asm/kvm_types.h to control the existence

[PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread Herbert Xu
The header file linux/uio.h includes crypto/hash.h which pulls in most of the Crypto API. Since linux/uio.h is used throughout the kernel this means that every tiny bit of change to the Crypto API causes the entire kernel to get rebuilt. This patch fixes this by moving it into lib/iov_iter.c inst

Re: possible deadlock in send_sigio

2020-06-11 Thread Dmitry Vyukov
On Thu, Jun 11, 2020 at 4:33 AM Waiman Long wrote: > > On 4/4/20 1:55 AM, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:bef7b2a7 Merge tag 'devicetree-for-5.7' of git://git.kerne.. > > git tree: upstream > > console output: https://syzkaller.ap

Re: Linux 4.4.227

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index f97d1aaec1f9..e9f9ce0688bc 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -279,6 +279,7 @@ What:

Linux 4.4.227

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.227 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.227

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.227 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.184

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 9ebca6a750f3..5abe1cc9f068 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -381,6 +381,7 @@ What:

Linux 4.14.184

2020-06-11 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.184 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.9.227

2020-06-11 Thread Greg Kroah-Hartman
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index b41046b5713b..a5225df4a070 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -358,6 +358,7 @@ What:

RE: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-11 Thread David Laight
From: Kees Cook > Sent: 11 June 2020 04:03 ... > > IIRC other kernels (eg NetBSD) do the copies for ioctl() requests > > in the ioctl syscall wrapper. > > The IOW/IOR/IOWR flags have to be right. > > Yeah, this seems like it'd make a lot more sense (and would have easily > caught the IOR/IOW issue

Re: [git pull] drm i915 fixes for rc1

2020-06-11 Thread Dave Airlie
On Thu, 11 Jun 2020 at 13:56, Dave Airlie wrote: > > Hi Linus, Hey actually skip this one in favour of the later one, one of the ast fixes needs to get into stable as well. Dave.

Re: [PATCH v6 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-06-11 Thread Miquel Raynal
Hi Yifeng, [...] > +static void rk_nfc_disable_clk(struct rk_nfc_clk *clk) > +{ > + if (!IS_ERR(clk->nfc_clk)) > + clk_disable_unprepare(clk->nfc_clk); > + clk_disable_unprepare(clk->ahb_clk); > +} > + > +static int rk_nfc_ooblayout_free(struct mtd_info *mtd, int section, > +

Re: [PATCH v2] mtd: parsers: bcm63xx: simplify CFE detection

2020-06-11 Thread Miquel Raynal
Hi Álvaro, Álvaro Fernández Rojas wrote on Mon, 8 Jun 2020 18:06:49 +0200: > Instead of trying to parse CFE version string, which is customized by some > vendors, let's just check that "CFE1" was passed on argument 3. > > Signed-off-by: Álvaro Fernández Rojas > Signed-off-by: Jonas Gorski >

drivers/mtd/nand/raw/mxic_nand.c:219:9: sparse: sparse: cast removes address space '' of expression

2020-06-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b29482fde649c72441d5478a4ea2c52c56d97a5e commit: 738b0ca55f4f6ae1035262c2a2a605d2e9085031 mtd: rawnand: Add Macronix raw NAND controller driver date: 10 months ago config: m68k-randconfig-s031-20200611

Re: [PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread Herbert Xu
On Thu, Jun 11, 2020 at 05:43:32PM +1000, Herbert Xu wrote: > > Finally the prototype of the function has been changed to avoid > the unnecessary use of a void pointer. OK that doesn't quite work. Let me respin without it and instead add some missing inclusions of crypto/hash.h in files that were

[PATCH v3] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-06-11 Thread John Paul Adrian Glaubitz
Hi! This is version 3 of my patch to implement __get_user_u64() for SH. I have asked both Yutaka Niibe and Yoshinori Sato to look over my changes and they both agreed that an entry in __ex_tables for the second access was missing, so I add the missing ".long 1b+2, 3b\n\t". The changes should be

[PATCH] mld: fix memory leak in ipv6_mc_destroy_dev()

2020-06-11 Thread Wang Hai
Commit a84d01647989 ("mld: fix memory leak in mld_del_delrec()") fixed the memory leak of MLD, but missing the ipv6_mc_destroy_dev() path, in which mca_sources are leaked after ma_put(). Using ip6_mc_clear_src() to take care of the missing free. BUG: memory leak unreferenced object 0x8881113d

[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-06-11 Thread John Paul Adrian Glaubitz
Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined! with on SH since the kernel misses a 64-bit implementation of get_user(). Implement the missing 64-bit get_user() as __get_user_u64(), m

Re: [PATCH] printk/kdb: Redirect printk messages into kdb in any context

2020-06-11 Thread Petr Mladek
On Wed 2020-06-10 17:41:40, Daniel Thompson wrote: > On Sat, May 16, 2020 at 01:36:38AM +0900, Sergey Senozhatsky wrote: > > On (20/05/15 17:32), Sumit Garg wrote: > > > > Can I please have some context what problem does this solve? > > > > > > You can find the problem description here [1] which l

Re: [PATCH 17/21] KVM: arm64: Use common code's approach for __GFP_ZERO with memory caches

2020-06-11 Thread Marc Zyngier
Hi Sean, On 2020-06-05 22:38, Sean Christopherson wrote: Add a "gfp_zero" member to arm64's 'struct kvm_mmu_memory_cache' to make the struct and its usage compatible with the common 'struct kvm_mmu_memory_cache' in linux/kvm_host.h. This will minimize code churn when arm64 moves to the common

Re: [PATCH v4 1/4] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2020-06-11 Thread EastL
On Fri, 2020-05-29 at 13:24 -0600, Rob Herring wrote: > On Thu, May 28, 2020 at 05:57:09PM +0800, EastL wrote: > > Document the devicetree bindings for MediaTek Command-Queue DMA controller > > which could be found on MT6779 SoC or other similar Mediatek SoCs. > > > > Signed-off-by: EastL > > Ne

Re: [PATCH 18/21] KVM: arm64: Use common KVM implementation of MMU memory caches

2020-06-11 Thread Marc Zyngier
On 2020-06-05 22:38, Sean Christopherson wrote: Move to the common MMU memory cache implementation now that the common code and arm64's existing code are semantically compatible. No functional change intended. Suggested-by: Christoffer Dall Signed-off-by: Sean Christopherson --- arch/arm64/i

Re: [PATCH v2] exfat: add missing brelse() calls on error paths

2020-06-11 Thread Markus Elfring
… > +++ b/fs/exfat/namei.c > @@ -1077,10 +1077,14 @@ static int exfat_rename_file(struct inode *inode, > struct exfat_chain *p_dir, > > epold = exfat_get_dentry(sb, p_dir, oldentry + 1, &old_bh, > §or_old); > + if (!epold) > + ret

Re: [PATCH 2/2] spi: tools: Fix build errors

2020-06-11 Thread Geert Uytterhoeven
Hi Qing, Thanks for your patch! On Thu, Jun 11, 2020 at 5:43 AM Qing Zhang wrote: > Fix the following build errors: > > include/linux/spi 2>&1 || true > ln -sf > /home/zhangqing/spi.git2/tools/spi/../../include/uapi/linux/spi/spidev.h > include/linux/spi/spidev.h > make -f /home/zhangqing/spi.

RE: [PATCH v4] scsi: ufs: Fix imprecise load calculation in devfreq window

2020-06-11 Thread Avri Altman
> > The UFS load calculation is based on "total_time" and "busy_time" in a > devfreq window. However, the source of time is different for both > parameters: "busy_time" is assigned from "jiffies" thus has different > accuracy from "total_time" which is assigned from ktime_get(). > > Besides, th

[PATCH v4 2/2] regulator: Add driver for cros-ec-regulator

2020-06-11 Thread Pi-Hsun Shih
Add driver for cros-ec-regulator, representing a voltage regulator that is connected and controlled by ChromeOS EC, and is controlled by kernel with EC host commands. Signed-off-by: Pi-Hsun Shih --- Changes from v3: * Remove check around CONFIG_OF. * Add new host commands to cros_ec_trace. * Use

[PATCH v4 0/2] Add support for voltage regulator on ChromeOS EC.

2020-06-11 Thread Pi-Hsun Shih
Add support for controlling voltage regulator that is connected and controlled by ChromeOS EC. Kernel controls these regulators through newly added EC host commands. Changes from v3: * Fix dt bindings file name. * Remove check around CONFIG_OF in driver. * Add new host commands to cros_ec_trace. *

[PATCH v4 1/2] dt-bindings: regulator: Add DT binding for cros-ec-regulator

2020-06-11 Thread Pi-Hsun Shih
Add DT binding documentation for cros-ec-regulator, a voltage regulator controlled by ChromeOS EC. Signed-off-by: Pi-Hsun Shih --- Changes from v3: * Fix dt bindings file name. * Add full example. Changes from v2: * No change Changes from v1: * Change compatible string to google,regulator-cros-

Re: [PATCH 00/21] KVM: Cleanup and unify kvm_mmu_memory_cache usage

2020-06-11 Thread Marc Zyngier
Hi Sean, On 2020-06-05 22:38, Sean Christopherson wrote: This series resurrects Christoffer Dall's series[1] to provide a common MMU memory cache implementation that can be shared by x86, arm64 and MIPS. It also picks up a suggested change from Ben Gardon[2] to clear shadow page tables during

Kernel 5.7.0, nouveau 1.0.15-r1, sudo lshw -C display, *-display UNCLAIMED

2020-06-11 Thread Zeno Davatz
Hi With Kernel 5.7.0, nouveau drivers 1.0.15-r1 sudo `lshw -C display` will show me: *-display UNCLAIMED Also `xrandr -q` will not work: xrandr: Failed to get size of gamma for output default Screen 0: minimum 1680 x 1050, current 1680 x 1050, maximum 1680 x 1050 default connected primary 16

Re: [PATCH v2 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC

2020-06-11 Thread Andy Shevchenko
On Thu, Jun 11, 2020 at 10:12:46AM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add support for USB PHY on Intel LGM SoC. ... > +static int get_flipped(struct tca_apb *ta, bool *flipped) > +{ > + union extcon_property_value property; > + int ret; > +

Re: [PATCH v4 1/2] dt-bindings: regulator: Add DT binding for cros-ec-regulator

2020-06-11 Thread Enric Balletbo i Serra
Hi Pi-Hsun, Thank you for the patch, one minor nitpick that in my opinion would be good to address. On 11/6/20 10:04, Pi-Hsun Shih wrote: > Add DT binding documentation for cros-ec-regulator, a voltage regulator > controlled by ChromeOS EC. > > Signed-off-by: Pi-Hsun Shih > --- > Changes from v

Re: [PATCH 2/2] KVM: async_pf: Inject 'page ready' event only if 'page not present' was previously injected

2020-06-11 Thread Vitaly Kuznetsov
Vivek Goyal writes: > On Wed, Jun 10, 2020 at 07:55:32PM +0200, Vitaly Kuznetsov wrote: >> 'Page not present' event may or may not get injected depending on >> guest's state. If the event wasn't injected, there is no need to >> inject the corresponding 'page ready' event as the guest may get >> c

Re: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

2020-06-11 Thread Jiri Slaby
On 11. 06. 20, 9:38, SeongJae Park wrote: > On Wed, 10 Jun 2020 23:35:24 -0700 Joe Perches wrote: > >> On Thu, 2020-06-11 at 08:25 +0200, SeongJae Park wrote: >>> From: SeongJae Park >>> >>> This patchset 1) adds support of deprecated terms in the 'checkpatch.pl' >>> and 2) set the 'blacklist' a

Re: [PATCH] serial: core: drop unnecessary gpio include

2020-06-11 Thread Lukas Wunner
[cc += Heiko] On Wed, Jun 10, 2020 at 05:51:21PM +0200, Johan Hovold wrote: > Drop the recently added gpio include from the serial-core header in > favour of a forward declaration and instead include the gpio header only > where needed. Hm, but why? Are there adverse effects if this is included

[PATCH v5 0/2] Add support for voltage regulator on ChromeOS EC.

2020-06-11 Thread Pi-Hsun Shih
Add support for controlling voltage regulator that is connected and controlled by ChromeOS EC. Kernel controls these regulators through newly added EC host commands. Changes from v4: * Change compatible name from regulator-cros-ec to cros-ec-regulator. Changes from v3: * Fix dt bindings file name

Re: [smp] b2a02fc43a: suspend-stress.fail

2020-06-11 Thread Chen Yu
Hi Peter, On Wed, Jun 10, 2020 at 5:52 PM Peter Zijlstra wrote: > > On Wed, Jun 10, 2020 at 04:35:02PM +0800, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed the following commit (built with gcc-9): > > > > commit: b2a02fc43a1f40ef4eb2fb2b06357382608d4d84 ("smp: Optimize > > send_c

[PATCH v5 2/2] regulator: Add driver for cros-ec-regulator

2020-06-11 Thread Pi-Hsun Shih
Add driver for cros-ec-regulator, representing a voltage regulator that is connected and controlled by ChromeOS EC, and is controlled by kernel with EC host commands. Signed-off-by: Pi-Hsun Shih --- Changes from v4: * Change compatible name from regulator-cros-ec to cros-ec-regulator. Changes fr

  1   2   3   4   5   6   7   8   9   10   >