[PATCH 3/5] drm/msm/dsi_pll_10nm: Fix bad VCO rate calculation and prescaler

2021-01-09 Thread AngeloGioacchino Del Regno
The VCO rate was being miscalculated due to a big overlook during the process of porting this driver from downstream to upstream: here we are really recalculating the rate of the VCO by reading the appropriate registers and returning a real frequency, while downstream the driver was doing

[PATCH 4/5] drm/msm/dsi_pll_10nm: Fix variable usage for pll_lockdet_rate

2021-01-09 Thread AngeloGioacchino Del Regno
The PLL_LOCKDET_RATE_1 was being programmed with a hardcoded value directly, but the same value was also being specified in the dsi_pll_regs struct pll_lockdet_rate variable: let's use it! Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 3 ++- 1 file

[PATCH 0/2] Add support for Goodix GT9286 chip

2021-01-09 Thread AngeloGioacchino Del Regno
Add support for the GT9286 chip, tested on F(x)Tec Pro1 (MSM8998). AngeloGioacchino Del Regno (2): input: goodix: Add support for Goodix GT9286 chip dt-bindings: ts: goodix: Add binding for GT9286 IC Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 1 +

[PATCH 1/2] input: goodix: Add support for Goodix GT9286 chip

2021-01-09 Thread AngeloGioacchino Del Regno
The Goodix GT9286 is a capacitive touch sensor IC based on GT1x. This chip can be found on a number of smartphones, including the F(x)tec Pro 1 and the Elephone U. Signed-off-by: AngeloGioacchino Del Regno --- drivers/input/touchscreen/goodix.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 2/2] dt-bindings: ts: goodix: Add binding for GT9286 IC

2021-01-09 Thread AngeloGioacchino Del Regno
Support for this chip was added to the goodix driver: add the DT binding for it. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting

2021-01-09 Thread Mel Gorman
On Fri, Jan 08, 2021 at 09:21:48PM +0100, Peter Zijlstra wrote: > On Fri, Jan 08, 2021 at 10:27:38AM +, Mel Gorman wrote: > > > 1. avg_scan_cost is now based on the average scan cost of a rq but > >avg_idle is still scaled to the domain size. This is a bit problematic > >because it's

[PATCH 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-09 Thread AngeloGioacchino Del Regno
Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. Signed-off-by: AngeloGioacchino Del Regno --- .../pinctrl/awinic,aw9523-pinctrl.yaml| 111 ++ 1 file changed, 111 insertions(+) create mode 100644

[PATCH 0/2] Add Awinic AW9523(B) I2C GPIO Expander driver

2021-01-09 Thread AngeloGioacchino Del Regno
This adds support for the Awinic AW9523/AW9523B I2C GPIO Expander, as found in the F(x)Tec Pro1 smartphone (there, it's used to drive a keyboard matrix). This driver was tested on the aforementioned smartphone. AngeloGioacchino Del Regno (2): pinctrl: Add driver for Awinic AW9523/B I2C GPIO

[PATCH 1/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander

2021-01-09 Thread AngeloGioacchino Del Regno
The Awinic AW9523(B) is a multi-function I2C gpio expander in a TQFN-24L package, featuring PWM (max 37mA per pin, or total max power 3.2Watts) for LED driving capability. It has two ports with 8 pins per port (for a total of 16 pins), configurable as either PWM with 1/256 stepping or GPIO

Re: [PATCH 1/8] dt-binding: watchdog: add more Rockchip compatibles to snps,dw-wdt.yaml

2021-01-09 Thread Heiko Stübner
Am Freitag, 18. Dezember 2020, 13:05:27 CET schrieb Johan Jonker: > The watchdog compatible strings are suppose to be SoC orientated. > In the more recently added Rockchip SoC dtsi files only > the fallback string "snps,dw-wdt" is used, so add the following > compatible strings: > >

Re: [RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting

2021-01-09 Thread Mel Gorman
On Fri, Jan 08, 2021 at 08:45:44PM +0100, Peter Zijlstra wrote: > On Fri, Jan 08, 2021 at 04:10:51PM +0100, Vincent Guittot wrote: > > Also, there is another problem (that I'm investigating) which is that > > this_rq()->avg_idle is stalled when your cpu is busy. Which means that > > this avg_idle

Re: [PATCH] xfs: Wake CIL push waiters more reliably

2021-01-09 Thread Donald Buczek
On 07.01.21 23:19, Dave Chinner wrote: On Sun, Jan 03, 2021 at 05:03:33PM +0100, Donald Buczek wrote: On 02.01.21 23:44, Dave Chinner wrote: On Sat, Jan 02, 2021 at 08:12:56PM +0100, Donald Buczek wrote: On 31.12.20 22:59, Dave Chinner wrote: On Thu, Dec 31, 2020 at 12:48:56PM +0100, Donald

Re: [PATCH 0/2] Add support for Goodix GT9286 chip

2021-01-09 Thread Bastien Nocera
On Sat, 2021-01-09 at 14:55 +0100, AngeloGioacchino Del Regno wrote: > Add support for the GT9286 chip, tested on F(x)Tec Pro1 (MSM8998). Can you please add this test information to the commit message for the goodix.c patch? Feel free to add my: Reviewed-by: Bastien Nocera to both patches when

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Sedat Dilek
On Fri, Dec 11, 2020 at 7:46 PM 'Sami Tolvanen' via Clang Built Linux wrote: > > This patch series adds support for building the kernel with Clang's > Link Time Optimization (LTO). In addition to performance, the primary > motivation for LTO is to allow Clang's Control-Flow Integrity (CFI) > to

Re: [PATCH 1/1] mwifiex: Fix possible buffer overflows in mwifiex_config_scan

2021-01-09 Thread Peter Seiderer
Hello Zhang, On Tue, 8 Dec 2020 20:45:23 +0800, Xiaohui Zhang wrote: > From: Zhang Xiaohui > > mwifiex_config_scan() calls memcpy() without checking > the destination size may trigger a buffer overflower, > which a local user could use to cause denial of service > or the execution of

[PATCH] dm crypt: do not call bio_endio() from the dm-crypt tasklet

2021-01-09 Thread Ignat Korchagin
Sometimes, when dm-crypt executes decryption in a tasklet, we may get the following on a kasan-enabled kernel: [ 397.613621][ C74] == [ 397.621794][ C74] BUG: KASAN: use-after-free in

Linux 4.4.250

2021-01-09 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.250 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:

Re: Linux 4.4.250

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 15560bbc07f6..c600c076d2c6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 249 +SUBLEVEL = 250 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/powerpc/sysdev/mpic_msgr.c

Linux 4.9.250

2021-01-09 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.250 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.9.250

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index ef1c9929cdcc..525d7ec7249d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 249 +SUBLEVEL = 250 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/powerpc/sysdev/mpic_msgr.c

Linux 4.14.214

2021-01-09 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.214 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

Linux 5.4.88

2021-01-09 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.88 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: Linux 4.19.166

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index e636c2143295..b2c939f289c2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 165 +SUBLEVEL = 166 EXTRAVERSION = NAME = "People's Front" diff --git a/drivers/dma/at_hdmac.c

Re: Linux 5.4.88

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 71968b4bb313..450ebe152806 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 87 +SUBLEVEL = 88 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/drivers/dma/at_hdmac.c

Linux 5.10.6

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

Linux 4.19.166

2021-01-09 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.166 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

Re: Linux 5.10.6

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml index 8acd2de3de3a..d30dc045aac6 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml @@ -63,6 +63,11 @@ properties:

Re: Linux 4.14.214

2021-01-09 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index d059e257b976..d36b8f4228a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 213 +SUBLEVEL = 214 EXTRAVERSION = NAME = Petit Gorille diff --git

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Josh Poimboeuf
On Sat, Jan 09, 2021 at 03:54:20PM +0100, Sedat Dilek wrote: > I am interested in having Clang LTO (Clang-CFI) for x86-64 working and > help with testing. > > I tried the Git tree mentioned in [3] > (together with changes from ). > > I only see in my build-log... > >

Re: (subset) [PATCH 0/2] PCI: rockchip: Fix PCIe probing in 5.9

2021-01-09 Thread Heiko Stuebner
On Sat, 15 Aug 2020 13:51:10 +0100, Marc Zyngier wrote: > Recent changes to the way PCI DT nodes are parsed are now enforcing > the presence of a "device_type" property, which has been mandated > since... forever. This has the unfortunate effect of breaking > non-compliant systems, and those using

Re: (subset) [PATCH v2 1/4] ARM: dts: rockchip: add QoS register compatibles for rk3066/rk3188

2021-01-09 Thread Heiko Stuebner
On Sun, 6 Dec 2020 11:37:08 +0100, Johan Jonker wrote: > With the conversion of syscon.yaml minItems for compatibles > was set to 2. Current Rockchip dtsi files only use "syscon" for > QoS registers. Add Rockchip QoS compatibles for rk3066/rk3188 > to reduce notifications produced with: > > make

Re: [PATCH v2] arm64: defconfig: Enable REGULATOR_MP8859

2021-01-09 Thread Heiko Stuebner
On Fri, 31 Jul 2020 21:33:24 +0530, Jagan Teki wrote: > RK3399 boards like ROC-RK3399-PC is using MP8859 DC/DC converter > for 12V supply. > > roc-rk3399-pc initially used 12V fixed regulator for this supply, > but the below commit has switched to use MP8859. > > commit

Re: [PATCH v2] arm64: dts: rockchip: add SPDIF node for rk3399-rockpro64

2021-01-09 Thread Heiko Stuebner
On Mon, 10 Aug 2020 18:16:19 +0900, Katsuhiro Suzuki wrote: > This patch adds 'disabled' SPDIF sound node and related settings > for rk3399-rockpro64. > > There are 2 reasons: > - All RK3399 dma-bus channels have been already used by I2S0/1/2 > - RockPro64 does not have SPDIF optical nor

Re: [PATCH] arm64: dts: rockchip: assign a fixed index to mmc devices on rk3328 boards

2021-01-09 Thread Heiko Stuebner
On Sat, 19 Dec 2020 22:05:00 +0100, Johan Jonker wrote: > Recently introduced async probe on mmc devices can shuffle block IDs. > Pin them to fixed values to ease booting in environments where UUIDs > are not practical. Use newly introduced aliases for mmcblk devices from [1]. > > [1]

Re: [PATCH v2] arm64: dts: rockchip: enable HDMI sound nodes for rk3328-rock64

2021-01-09 Thread Heiko Stuebner
On Mon, 3 Aug 2020 00:42:31 +0900, Katsuhiro Suzuki wrote: > This patch enables HDMI sound (I2S0) and Analog sound (I2S1) which > are defined in rk3328.dtsi, and replace SPDIF nodes. > > We can use SPDIF pass-through with suitable ALSA settings and on > mpv or other media players. > - Settings:

Re: [PATCH] arm64: dts: rockchip: Pinebook Pro: Use supported PCIe link speed

2021-01-09 Thread Heiko Stuebner
On Wed, 30 Sep 2020 14:56:27 -0400, Simon South wrote: > On Pinebook Pro laptops with an NVMe SSD installed, prevent random > crashes in the NVMe driver by not attempting to use a PCIe link speed > higher than that supported by the RK3399 SoC. > > See commit 712fa1777207 ("arm64: dts: rockchip:

Re: (subset) [PATCH 0/2] ARM: dts: rockchip: minor tweaks for rk3288-miqi.This series adds a missing mali GPU node and two additional CPU opp points

2021-01-09 Thread Heiko Stuebner
On Fri, 8 Jan 2021 17:10:34 +0200, Demetris Ierokipides wrote: > Demetris Ierokipides (2): > ARM: dts: rockchip: add gpu node to rk3288-miqi > ARM: dts: rockchip: add extra cpu opp points to rk3288-miqi > > arch/arm/boot/dts/rk3288-miqi.dts | 17 + > 1 file changed, 17

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Sedat Dilek
On Sat, Jan 9, 2021 at 4:36 PM Josh Poimboeuf wrote: > > On Sat, Jan 09, 2021 at 03:54:20PM +0100, Sedat Dilek wrote: > > I am interested in having Clang LTO (Clang-CFI) for x86-64 working and > > help with testing. > > > > I tried the Git tree mentioned in [3] > > (together with changes from ).

Re: [PATCH v2 2/3] net: sfp: assume that LOS is not implemented if both LOS normal and inverted is set

2021-01-09 Thread Russell King - ARM Linux admin
On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote: > On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Rohár wrote: > > From: Russell King > > > > Some GPON SFP modules (e.g. Ubiquiti U-Fiber Instant) have set both > > SFP_OPTIONS_LOS_INVERTED and SFP_OPTIONS_LOS_NORMAL bits in their

Re: LTS: proc: fix lookup in /proc/net subdirectories after setns(2)

2021-01-09 Thread Sasha Levin
On Fri, Jan 08, 2021 at 07:47:17AM +, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: Hi Greg, Can you cherry-pick these to 4.19.y & 5.4.y: commit e06689bf57017ac022ccf0f2a5071f760821ce0f Author: Alexey Dobriyan Date: Wed Dec 4 16:49:59 2019 -0800 proc: change ->nlink under

Re: [PATCH v2 2/3] net: sfp: assume that LOS is not implemented if both LOS normal and inverted is set

2021-01-09 Thread Andrew Lunn
On Sat, Jan 09, 2021 at 03:46:01PM +, Russell King - ARM Linux admin wrote: > On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote: > > On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Rohár wrote: > > > From: Russell King > > > > > > Some GPON SFP modules (e.g. Ubiquiti U-Fiber

[PATCH] loop: devirtualise ki_complete call

2021-01-09 Thread Pavel Begunkov
lo_rw_aio() knows what iocb.ki_complete it set, so instead of an expensive indirect call it can call lo_rw_aio_complete() directly. Signed-off-by: Pavel Begunkov --- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/loop.c

[PATCH] target/file: don't zero iter before iov_iter_bvec

2021-01-09 Thread Pavel Begunkov
iov_iter_bvec() initialises iterators well, no need to pre-zero it beforehand as done in fd_execute_rw_aio(). Compilers can't optimise it out and generate extra code for that (confirmed with assembly). Signed-off-by: Pavel Begunkov --- drivers/target/target_core_file.c | 2 +- 1 file changed, 1

To linux kernel!

2021-01-09 Thread Steven Newbury
Linux https://bit.ly/2JY7Ueo Steven Newbury I might as well be dead, but I could kill you instead. - PJ Harvey If you brutalize the world around you, you also brutalize yourself. - Flanders Falling in Love is a trick our genes pull on our otherwise perceptive mind to hoodwink us

Re: [PATCH] ARM: OMAP2+: omap_device: fix idling of devices during probe

2021-01-09 Thread Adam Ford
On Fri, Jan 8, 2021 at 1:37 PM Andreas Kemnade wrote: > > Hi, > > On Fri, 8 Jan 2021 13:17:06 -0600 > Adam Ford wrote: > > > On Mon, Dec 7, 2020 at 8:01 AM Tony Lindgren wrote: > > > > > > * Doug Anderson [201204 16:43]: > > > > Hi, > > > > > > > > On Fri, Dec 4, 2020 at 8:14 AM Andreas

[PATCH] mm/filemap: don't revert iter on -EIOCBQUEUED

2021-01-09 Thread Pavel Begunkov
Currently, if I/O is enqueued for async execution direct paths of generic_file_{read,write}_iter() will always revert the iter. There are no users expecting that, and that is also costly. Leave iterators as is on -EIOCBQUEUED. Signed-off-by: Pavel Begunkov --- mm/filemap.c | 6 -- 1 file

[PATCH v3 0/7] no-copy bvec

2021-01-09 Thread Pavel Begunkov
Currently, when iomap and block direct IO gets a bvec based iterator the bvec will be copied, with all other accounting that takes much CPU time and causes additional allocation for larger bvecs. The patchset makes it to reuse the passed in iter bvec. [1,2] are forbidding zero-length bvec

[PATCH v3 2/7] bvec/iter: disallow zero-length segment bvecs

2021-01-09 Thread Pavel Begunkov
zero-length bvec segments are allowed in general, but not handled by bio and down the block layer so filtered out. This inconsistency may be confusing and prevent from optimisations. As zero-length segments are useless and places that were generating them are patched, declare them not allowed.

[PATCH v3 3/7] block/psi: remove PSI annotations from direct IO

2021-01-09 Thread Pavel Begunkov
Direct IO does not operate on the current working set of pages managed by the kernel, so it should not be accounted as memory stall to PSI infrastructure. The block layer and iomap direct IO use bio_iov_iter_get_pages() to build bios, and they are the only users of it, so to avoid PSI tracking

[PATCH v3 6/7] bio: add a helper calculating nr segments to alloc

2021-01-09 Thread Pavel Begunkov
Add a helper function calculating the number of bvec segments we need to allocate to construct a bio. It doesn't change anything functionally, but will be used to not duplicate special cases in the future. Reviewed-by: Christoph Hellwig Signed-off-by: Pavel Begunkov --- fs/block_dev.c |

[PATCH v3 7/7] bio: don't copy bvec for direct IO

2021-01-09 Thread Pavel Begunkov
The block layer spends quite a while in blkdev_direct_IO() to copy and initialise bio's bvec. However, if we've already got a bvec in the input iterator it might be reused in some cases, i.e. when new ITER_BVEC_FLAG_FIXED flag is set. Simple tests show considerable performance boost, and it also

[PATCH v3 4/7] target/file: allocate the bvec array as part of struct target_core_file_cmd

2021-01-09 Thread Pavel Begunkov
From: Christoph Hellwig This saves one memory allocation, and ensures the bvecs aren't freed before the AIO completion. This will allow the lower level code to be optimized so that it can avoid allocating another bvec array. Signed-off-by: Christoph Hellwig Signed-off-by: Pavel Begunkov ---

[PATCH v3 5/7] iov_iter: optimise bvec iov_iter_advance()

2021-01-09 Thread Pavel Begunkov
iov_iter_advance() is heavily used, but implemented through generic means. For bvecs there is a specifically crafted function for that, so use bvec_iter_advance() instead, it's faster and slimmer. Reviewed-by: Christoph Hellwig Signed-off-by: Pavel Begunkov --- lib/iov_iter.c | 19

[PATCH v3 1/7] splice: don't generate zero-len segement bvecs

2021-01-09 Thread Pavel Begunkov
iter_file_splice_write() may spawn bvec segments with zero-length. In preparation for prohibiting them, filter out by hand at splice level. Reviewed-by: Christoph Hellwig Signed-off-by: Pavel Begunkov --- fs/splice.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Josh Poimboeuf
On Sat, Jan 09, 2021 at 04:46:21PM +0100, Sedat Dilek wrote: > On Sat, Jan 9, 2021 at 4:36 PM Josh Poimboeuf wrote: > > > > On Sat, Jan 09, 2021 at 03:54:20PM +0100, Sedat Dilek wrote: > > > I am interested in having Clang LTO (Clang-CFI) for x86-64 working and > > > help with testing. > > > > >

[PATCH] arm64: dts: msm8998: Use rpmpd definitions for opp table levels

2021-01-09 Thread AngeloGioacchino Del Regno
The dt-bindings/power/qcom-rpmpd.h header is being included in this DT but the RPMPD OPP table declarations were using open-coded values: use the definitions found in the aforementioned header. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 20

Re: [PATCH] iov_iter: optimise iter type checking

2021-01-09 Thread Pavel Begunkov
On 06/12/2020 16:01, Pavel Begunkov wrote: > On 21/11/2020 14:37, Pavel Begunkov wrote: >> The problem here is that iov_iter_is_*() helpers check types for >> equality, but all iterate_* helpers do bitwise ands. This confuses >> compilers, so even if some cases were handled separately with >>

Re: general protection fault in io_sqe_files_unregister

2021-01-09 Thread Pavel Begunkov
On 09/01/2021 11:50, Hillf Danton wrote: > Sat, 09 Jan 2021 00:29:16 -0800 >> syzbot found the following issue on: >> >> HEAD commit:71c061d2 Merge tag 'for-5.11-rc2-tag' of git://git.kernel... >> git tree: upstream >> console output:

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Sedat Dilek
On Sat, Jan 9, 2021 at 5:07 PM Josh Poimboeuf wrote: > > On Sat, Jan 09, 2021 at 04:46:21PM +0100, Sedat Dilek wrote: > > On Sat, Jan 9, 2021 at 4:36 PM Josh Poimboeuf wrote: > > > > > > On Sat, Jan 09, 2021 at 03:54:20PM +0100, Sedat Dilek wrote: > > > > I am interested in having Clang LTO

WARNING in tcindex_alloc_perfect_hash

2021-01-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f6e7a024 Merge tag 'arc-5.11-rc3' of git://git.kernel.org/.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=11a9a760d0 kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224

BUG: unable to handle kernel paging request in percpu_ref_exit

2021-01-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:36bbbd0e Merge branch 'rcu/urgent' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=149afeeb50 kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224

Re: [PATCH v2 2/3] net: sfp: assume that LOS is not implemented if both LOS normal and inverted is set

2021-01-09 Thread Russell King - ARM Linux admin
On Sat, Jan 09, 2021 at 04:54:22PM +0100, Andrew Lunn wrote: > On Sat, Jan 09, 2021 at 03:46:01PM +, Russell King - ARM Linux admin > wrote: > > On Thu, Jan 07, 2021 at 05:54:28PM +0100, Andrew Lunn wrote: > > > On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Rohár wrote: > > > > From: Russell

[PATCH 0/5] MSM8998 DTS updates

2021-01-09 Thread Konrad Dybcio
This patch series brings some minor, but important fixes to the MSM8998 DTSI, including renaming I2C hosts to match the correct scheme, adding DMA to them, merging the -pins.dtsi into the main one and adding capacity-dmips-mhz to CPU cores. Some components were also disabled by default (with no

[PATCH 2/5] arm64: dts: qcom: msm8998: Add DMA to I2C hosts

2021-01-09 Thread Konrad Dybcio
Add DMA properties to I2C hosts to allow for DMA transfers. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 37 +++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi

[PATCH 3/5] arm64: dts: qcom: msm8998: Add I2C pinctrl and fix BLSP2_I2C naming

2021-01-09 Thread Konrad Dybcio
The BLSP2-connected interfaces started from 0 which is.. misleading to say the least.. the clock names corresponding to these started from 1, so let's align to that so as to reduce confusion. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno ---

[PATCH 1/2] soc: qcom: socinfo: Add SoC IDs for 630 family

2021-01-09 Thread Konrad Dybcio
From: Konrad Dybcio Add missing SoC IDs for Snapdragon 630-family platforms. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- drivers/soc/qcom/socinfo.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c

[PATCH 2/2] soc: qcom: socinfo: Add SoC IDs for APQ/MSM8998

2021-01-09 Thread Konrad Dybcio
Add missing SoC IDs for Snapdragon 835-family platforms. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- drivers/soc/qcom/socinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index

[PATCH 1/5] arm64: dts: qcom: msm8998: Merge in msm8998-pins.dtsi to msm8998.dtsi

2021-01-09 Thread Konrad Dybcio
This is the usual way of handling pin configuration upstream now, so align to it. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8998-pins.dtsi | 108 - arch/arm64/boot/dts/qcom/msm8998.dtsi | 106 +++-

[PATCH 4/5] arm64: dts: qcom: msm8998: Add capacity-dmips-mhz to CPU cores

2021-01-09 Thread Konrad Dybcio
Add capacity-dmips-mhz to ensure the scheduler can efficiently make use of the big.LITTLE core configuration. Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 5/5] arm64: dts: qcom: msm8998: Disable some components by default

2021-01-09 Thread Konrad Dybcio
Some components (like PCIe) are not used on all devices and with a certain firmware configuration they might end up triggering a force reboot or a Synchronous Abort. This commit brings no functional difference as the nodes are enabled on devices which didn't disable them previously.

[PATCH] iommu: arm-smmu-qcom: Add sdm630/msm8998 compatibles for qcom quirks

2021-01-09 Thread Konrad Dybcio
SDM630 and MSM8998 are among the SoCs that use Qualcomm's implementation of SMMUv2 which has already proven to be problematic over the years. Add their compatibles to the lookup list to prevent the platforms from being shut down by the hypervisor at MMU probe. Signed-off-by: Konrad Dybcio

Re: [PATCH v3 01/13] arm: dts: owl-s500: Add Clock Management Unit

2021-01-09 Thread Cristian Ciocaltea
On Sat, Jan 09, 2021 at 12:38:13AM -0300, Matheus Castello wrote: > > > Em 12/29/2020 6:17 PM, Cristian Ciocaltea escreveu: > > Add Clock Management Unit for Actions Semi S500 SoC. > > > > Signed-off-by: Cristian Ciocaltea > > Reviewed-by: Manivannan Sadhasivam [...] > Tested-by: Matheus

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Josh Poimboeuf
> > > Did you push it (oh ah push it push it really really really good...) > > > to your remote Git please :-). > > > > I thought I already pushed it pretty good ;-) do you not see it? > > > > git://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git > > objtool-vmlinux > > > >

Re: [PATCH v4 16/17] x86/ioapic: export a few functions and data structures via io_apic.h

2021-01-09 Thread Wei Liu
On Wed, Jan 06, 2021 at 08:33:49PM +, Wei Liu wrote: > We are about to implement an irqchip for IO-APIC when Linux runs as root > on Microsoft Hypervisor. At the same time we would like to reuse > existing code as much as possible. > > Move mp_chip_data to io_apic.h and make a few helper

[PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
Previously, the 1GHz variants were marked as a turbo, because that variant has reduced thermal operating range. Now that the thermal throttling is in place, it should be safe to remove the turbo-mode from the 1GHz variants, because the CPU will automatically slow if the thermal limit is reached.

Re: BUG: unable to handle kernel paging request in percpu_ref_exit

2021-01-09 Thread Pavel Begunkov
On 09/01/2021 16:27, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:36bbbd0e Merge branch 'rcu/urgent' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=149afeeb50 > kernel config:

Re: [PATCH v4 17/17] x86/hyperv: handle IO-APIC when running as root

2021-01-09 Thread Wei Liu
On Wed, Jan 06, 2021 at 08:33:50PM +, Wei Liu wrote: > Just like MSI/MSI-X, IO-APIC interrupts are remapped by Microsoft > Hypervisor when Linux runs as the root partition. Implement an IRQ chip > to handle mapping and unmapping of IO-APIC interrupts. > > Use custom functions for mapping and

Aw: [PATCH v2 3/3] regulator: mt6323: Add OF match table

2021-01-09 Thread Frank Wunderlich
Hi > Gesendet: Samstag, 09. Januar 2021 um 12:26 Uhr > Von: matthias@kernel.org > Changes in v2: > - check for CONFIG_OF > - add Fixes tag > --- a/drivers/regulator/mt6323-regulator.c > +++ b/drivers/regulator/mt6323-regulator.c > @@ -406,9 +406,18 @@ static const struct platform_device_id

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Sedat Dilek
On Sat, Jan 9, 2021 at 5:33 PM Josh Poimboeuf wrote: > > > > > Did you push it (oh ah push it push it really really really good...) > > > > to your remote Git please :-). > > > > > > I thought I already pushed it pretty good ;-) do you not see it? > > > > > >

Re: [PATCH v3] driver core: Fix device link device name collision

2021-01-09 Thread Michael Walle
Am 2021-01-08 18:22, schrieb Saravana Kannan: On Fri, Jan 8, 2021 at 12:16 AM Michael Walle wrote: Am 2021-01-08 02:24, schrieb Saravana Kannan: > The device link device's name was of the form: > -- > > This can cause name collision as reported here [1] as device names are > not globally

[PATCH v2] iommu: arm-smmu-qcom: Add sdm630/msm8998 compatibles for qcom quirks

2021-01-09 Thread Konrad Dybcio
SDM630 and MSM8998 are among the SoCs that use Qualcomm's implementation of SMMUv2 which has already proven to be problematic over the years. Add their compatibles to the lookup list to prevent the platforms from being shut down by the hypervisor at MMU probe. Signed-off-by: Konrad Dybcio

Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
On Sat, Jan 9, 2021 at 10:39 AM Adam Ford wrote: > > Previously, the 1GHz variants were marked as a turbo, > because that variant has reduced thermal operating range. > > Now that the thermal throttling is in place, it should be > safe to remove the turbo-mode from the 1GHz variants, because >

Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread H. Nikolaus Schaller
Hi Adam, > Am 09.01.2021 um 17:39 schrieb Adam Ford : > > Previously, the 1GHz variants were marked as a turbo, > because that variant has reduced thermal operating range. > > Now that the thermal throttling is in place, it should be > safe to remove the turbo-mode from the 1GHz variants,

Re: BUG: unable to handle kernel paging request in percpu_ref_exit

2021-01-09 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+99ed55100402022a6...@syzkaller.appspotmail.com Tested on: commit: d9d05217 io_uring: stop SQPOLL submit on creator's death git tree:

[PATCH V2] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
Previously, the 1GHz variants were marked as a turbo, because that variant has reduced thermal operating range. Now that the thermal throttling is in place, it should be safe to remove the turbo-mode from the 1GHz variants, because the CPU will automatically slow if the thermal limit is reached.

Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

2021-01-09 Thread Adam Ford
On Sat, Jan 9, 2021 at 10:58 AM H. Nikolaus Schaller wrote: > > Hi Adam, > > > Am 09.01.2021 um 17:39 schrieb Adam Ford : > > > > Previously, the 1GHz variants were marked as a turbo, > > because that variant has reduced thermal operating range. > > > > Now that the thermal throttling is in

Re: [PATCH] iov_iter: optimise iter type checking

2021-01-09 Thread Al Viro
On Sat, Jan 09, 2021 at 04:09:08PM +, Pavel Begunkov wrote: > On 06/12/2020 16:01, Pavel Begunkov wrote: > > On 21/11/2020 14:37, Pavel Begunkov wrote: > >> The problem here is that iov_iter_is_*() helpers check types for > >> equality, but all iterate_* helpers do bitwise ands. This confuses

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Josh Poimboeuf
On Sat, Jan 09, 2021 at 05:45:47PM +0100, Sedat Dilek wrote: > I tried merging with clang-cfi Git which is based on Linux v5.11-rc2+ > with a lot of merge conflicts. > > Did you try on top of cfi-10 Git tag which is based on Linux v5.10? > > Whatever you successfully did... Can you give me a

Re: [PATCH v9 00/16] Add support for Clang LTO

2021-01-09 Thread Josh Poimboeuf
On Sat, Jan 09, 2021 at 11:03:57AM -0600, Josh Poimboeuf wrote: > On Sat, Jan 09, 2021 at 05:45:47PM +0100, Sedat Dilek wrote: > > I tried merging with clang-cfi Git which is based on Linux v5.11-rc2+ > > with a lot of merge conflicts. > > > > Did you try on top of cfi-10 Git tag which is based

Re: [PATCH] evm: Fix memleak in init_desc

2021-01-09 Thread Eric Biggers
On Sat, Jan 09, 2021 at 07:33:05PM +0800, Dinghao Liu wrote: > When kmalloc() fails, tmp_tfm allocated by > crypto_alloc_shash() has not been freed, which > leads to memleak. > > Fixes: d46eb3699502b ("evm: crypto hash replaced by shash") > Signed-off-by: Dinghao Liu > --- >

WARNING in qp_host_alloc_queue

2021-01-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:36bbbd0e Merge branch 'rcu/urgent' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d5176750 kernel config: https://syzkaller.appspot.com/x/.config?x=8aa30b9da402d224

Re: BUG: unable to handle kernel paging request in percpu_ref_exit

2021-01-09 Thread Pavel Begunkov
On 09/01/2021 17:01, syzbot wrote: > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger any > issue: #syz fix: io_uring: Fix return value from alloc_fixed_file_ref_node > > Reported-and-tested-by: syzbot+99ed55100402022a6...@syzkaller.appspotmail.com > >

Re: [PATCH] ACPI: scan: Fix a Hyper-V Linux VM panic caused by buffer overflow

2021-01-09 Thread Rafael J. Wysocki
On Saturday, January 9, 2021 10:37:41 AM CET Dexuan Cui wrote: > > From: Andy Shevchenko > > Sent: Saturday, January 9, 2021 12:52 AM > >> > >> Hi Rafael, Len, and all, > >> Can you please take a look at the v2 patch? > >> > >> The Linux mainline has been broken for several weeks when it > >>

Re: [PATCH v3] driver core: Fix device link device name collision

2021-01-09 Thread Saravana Kannan
On Sat, Jan 9, 2021 at 8:49 AM Michael Walle wrote: > > Am 2021-01-08 18:22, schrieb Saravana Kannan: > > On Fri, Jan 8, 2021 at 12:16 AM Michael Walle wrote: > >> > >> Am 2021-01-08 02:24, schrieb Saravana Kannan: > >> > The device link device's name was of the form: > >> > -- > >> > > >> >

[BUG mips llvm] MIPS: malformed R_MIPS_{HI16,LO16} with LLVM

2021-01-09 Thread Alexander Lobakin
Machine: MIPS32 R2 Big Endian (interAptiv (multi)) While testing MIPS with LLVM, I found a weird and very rare bug with MIPS relocs that LLVM emits into kernel modules. It happens on both 11.0.0 and latest git snapshot and applies, as I can see, only to references to static symbols. When the

Re: KMSAN: uninit-value in __crypto_memneq (2)

2021-01-09 Thread Eric Biggers
+Jason, since this looks WireGuard-related. On Sat, Jan 09, 2021 at 05:05:24AM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:73d62e81 kmsan: random: prevent boot-time reports in _mix_.. > git tree: https://github.com/google/kmsan.git master >

Re: [PATCH v4 mips-next 0/7] MIPS: vmlinux.lds.S sections fixes & cleanup

2021-01-09 Thread Alexander Lobakin
From: Thomas Bogendoerfer Date: Sat, 9 Jan 2021 12:12:59 +0100 > On Thu, Jan 07, 2021 at 12:33:38PM +, Alexander Lobakin wrote: >> This series hunts the problems discovered after manual enabling of >> ARCH_WANT_LD_ORPHAN_WARN. Notably: >> - adds the missing PAGE_ALIGNED_DATA() section

Re: [PATCH 1/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander

2021-01-09 Thread kernel test robot
' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/AngeloGioacchino-Del-Regno/Add-Awinic-AW9523-B-I2C-GPIO-Expander-driver/20210109-220525 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel config: sparc

Re: [PATCH v12] ARM: uncompress: Validate start of physical memory against passed DTB

2021-01-09 Thread Dmitry Osipenko
04.01.2021 16:01, Geert Uytterhoeven пишет: > Currently, the start address of physical memory is obtained by masking > the program counter with a fixed mask of 0xf800. This mask value > was chosen as a balance between the requirements of different platforms. > However, this does require that

[ANNOUNCE] 4.9.250-rt165

2021-01-09 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 4.9.250-rt165 stable release. This release is just an update to the new stable v4.9.250 version and no RT specific changes have been performed. You can get this release via the git tree at:

<    1   2   3   4   >