Re: [PATCH v17 5/9] mm: hugetlb: set the PageHWPoison to the raw error page

2021-03-07 Thread Balbir Singh
On Thu, Feb 25, 2021 at 09:21:26PM +0800, Muchun Song wrote: > Because we reuse the first tail vmemmap page frame and remap it > with read-only, we cannot set the PageHWPosion on some tail pages. > So we can use the head[4].private (There are at least 128 struct > page structures associated with th

Re: [PATCH v3 0/4] ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 companion codec

2021-03-07 Thread Takashi Iwai
On Sat, 06 Mar 2021 12:19:30 +0100, Vitaly Rodionov wrote: > > Dell's laptops Inspiron 3500, Inspiron 3501, Inspiron 3505 are using > Cirrus Logic CS8409 HDA bridge with CS42L42 companion codec. > > The CS8409 is a multichannel HD audio routing controller. > CS8409 includes support for four chann

Re: qemu meltdown test failure was Re: [PATCH 4.4 00/30] 4.4.260-rc1 review

2021-03-07 Thread Pavel Machek
Hi! > > > Ok, so we ran some tests. > > > > > > And they failed: > > > > > > https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/jobs/1075959449 > > > > > > [ 26.785861] > > RESULT=fail> > > > Received signal: TEST_CASE_ID=CVE-2018-3639 RESULT=fail > > > > > > Testcase name is

Re: [PATCH] net: mellanox: mlxsw: fix error return code of mlxsw_sp_router_nve_promote_decap()

2021-03-07 Thread Ido Schimmel
On Sat, Mar 06, 2021 at 03:32:39PM +0100, Heiner Kallweit wrote: > On 06.03.2021 15:07, Jia-Ju Bai wrote: > > When fib_entry is NULL, no error return code of > > mlxsw_sp_router_nve_promote_decap() is assigned. > > To fix this bug, err is assigned with -EINVAL in this case. > > > Again, are you su

[PATCH] ti: wlcore: fix error return code of wl1271_cmd_build_ps_poll()

2021-03-07 Thread Jia-Ju Bai
When ieee80211_pspoll_get() returns NULL to skb, no error return code of wl1271_cmd_build_ps_poll() is assigned. To fix this bug, ret is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/wireless/ti/wlcore/cmd.c | 4 +++- 1 file changed, 3 ins

[PATCH] rsi: fix error return code of rsi_load_9116_firmware()

2021-03-07 Thread Jia-Ju Bai
When kmemdup() returns NULL to ta_firmware, no error return code of rsi_load_9116_firmware() is assigned. To fix this bug, status is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/wireless/rsi/rsi_91x_hal.c | 4 +++- 1 file changed, 3 inser

Re: [PATCH] platform/x86: intel_pmc: Ignore GBE LTR on Tiger Lake platforms

2021-03-07 Thread Neftin, Sasha
On 3/5/2021 21:06, David E. Box wrote: Due to a HW limitation, the Latency Tolerance Reporting (LTR) value programmed in the Tiger Lake GBE controller is not large enough to allow the platform to enter Package C10, which in turn prevents the platform from achieving its low power target during sus

Re: [External] Re: [PATCH v17 5/9] mm: hugetlb: set the PageHWPoison to the raw error page

2021-03-07 Thread Muchun Song
On Sun, Mar 7, 2021 at 4:19 PM Balbir Singh wrote: > > On Thu, Feb 25, 2021 at 09:21:26PM +0800, Muchun Song wrote: > > Because we reuse the first tail vmemmap page frame and remap it > > with read-only, we cannot set the PageHWPosion on some tail pages. > > So we can use the head[4].private (Ther

[PATCH] net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()

2021-03-07 Thread Jia-Ju Bai
When hns_assemble_skb() returns NULL to skb, no error return code of hns_nic_clear_all_rx_fetch() is assigned. To fix this bug, ret is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 4 +++- 1 file changed

[PATCH] usb: gadget: legacy: fix error return code of multi_bind()

2021-03-07 Thread Jia-Ju Bai
When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error return code of multi_bind() is assigned. To fix this bug, status is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/usb/gadget/legacy/multi.c | 4 +++- 1 file changed, 3 insertio

Re: [PATCH v4 4/4] mtd: spi-nor: implement OTP erase for Winbond and similar flashes

2021-03-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Michael-Walle/mtd-spi-nor-OTP-support/20210307-110709 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next config: sparc-allyesconfig (a

[PATCH] usb: gadget: legacy: fix error return code of msg_bind()

2021-03-07 Thread Jia-Ju Bai
When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error return code of msg_bind() is assigned. To fix this bug, status is assigned with -ENOMEM in this case. Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai --- drivers/usb/gadget/legacy/mass_storage.c | 4 +++- 1 file changed, 3 in

Re: [PATCH] net: mellanox: mlx5: fix error return code in mlx5_fpga_device_start()

2021-03-07 Thread Leon Romanovsky
On Thu, Mar 04, 2021 at 06:18:14AM -0800, Jia-Ju Bai wrote: > When mlx5_is_fpga_lookaside() returns a non-zero value, no error > return code is assigned. > To fix this bug, err is assigned with -EINVAL as error return code. > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai > --- > drivers/

[PATCH resend] usb: gadget: legacy: fix error return code of msg_bind()

2021-03-07 Thread Jia-Ju Bai
When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error return code of msg_bind() is assigned. To fix this bug, status is assigned with -ENOMEM in this case. Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai --- drivers/usb/gadget/legacy/mass_storage.c | 4 +++- 1 file changed, 3 in

Re: [PATCH v6 2/5] USB: misc: Add onboard_usb_hub driver

2021-03-07 Thread kernel test robot
drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/USB-misc-Add-onboard_usb_hub-driver/20210307-113654 base: https://git.kernel.org/pub

[PATCH] usb: renesas_usbhs: fix error return code of usbhsf_pkt_handler()

2021-03-07 Thread Jia-Ju Bai
When __usbhsf_pkt_get() returns NULL to pkt, no error return code of usbhsf_pkt_handler() is assigned. To fix this bug, ret is assigned with -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/usb/renesas_usbhs/fifo.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH 3/3] vDPA/ifcvf: bump version string to 1.0

2021-03-07 Thread Leon Romanovsky
On Fri, Mar 05, 2021 at 10:20:00PM +0800, Zhu Lingshan wrote: > This commit bumps ifcvf driver version string to 1.0 > > Signed-off-by: Zhu Lingshan > --- > drivers/vdpa/ifcvf/ifcvf_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/vdpa/ifcvf/ifcvf_main.c b/d

[PATCH] ath: ath6kl: fix error return code of ath6kl_htc_rx_bundle()

2021-03-07 Thread Jia-Ju Bai
When hif_scatter_req_get() returns NULL to scat_req, no error return code of ath6kl_htc_rx_bundle() is assigned. To fix this bug, status is assigned with -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/wireless/ath/ath6kl/htc_mbox.c | 4 +++- 1 file chang

Re: [PATCH] infiniband: hw: cxgb4: fix error return code of pass_open_rpl()

2021-03-07 Thread Leon Romanovsky
On Sat, Mar 06, 2021 at 05:53:17AM -0800, Jia-Ju Bai wrote: > When ep is NULL, no error code of pass_open_rpl() is returned. > To fix this bug, pass_open_rpl() returns -EINVAL in this case. Why do you think that this is an error? > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai > --- > d

Re: [PATCH] infiniband: hw: cxgb4: fix error return code of close_listsrv_rpl()

2021-03-07 Thread Leon Romanovsky
On Sat, Mar 06, 2021 at 05:55:48AM -0800, Jia-Ju Bai wrote: > When ep is NULL, no error code of close_listsrv_rpl() is returned. > To fix this bug, close_listsrv_rpl() returns -EINVAL in this case. I don't think that this is an error. > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai > --

[PATCH] net: wan: fix error return code of uhdlc_init()

2021-03-07 Thread Jia-Ju Bai
When priv->rx_skbuff or priv->tx_skbuff is NULL, no error return code of uhdlc_init() is assigned. To fix this bug, ret is assigned with -ENOMEM in these cases. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/wan/fsl_ucc_hdlc.c | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [PATCH] ath: ath6kl: fix error return code of ath6kl_htc_rx_bundle()

2021-03-07 Thread Leon Romanovsky
On Sun, Mar 07, 2021 at 01:07:57AM -0800, Jia-Ju Bai wrote: > When hif_scatter_req_get() returns NULL to scat_req, no error return > code of ath6kl_htc_rx_bundle() is assigned. > To fix this bug, status is assigned with -EINVAL in this case. > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai

[PATCH] gpu: drm: amd: amdgpu: fix error return code of amdgpu_acpi_init()

2021-03-07 Thread Jia-Ju Bai
Add error return code in error hanlding code of amdgpu_acpi_init(). Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm

Re: [PATCH] ath: ath6kl: fix error return code of ath6kl_htc_rx_bundle()

2021-03-07 Thread Jia-Ju Bai
Hi Leon, I am quite sorry for my incorrect patches... My static analysis tool reports some possible bugs about error handling code, and thus I write some patches for the bugs that seem to be true in my opinion. Because I am not familiar with many device drivers, some of my reported bugs can be

Re: [PATCH v4] RISC-V: enable XIP

2021-03-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Vitaly-Wool/RISC-V-enable-XIP/20210307-103904 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 280d542f6ffac0e6d65dc267f92191d509b13b64 con

[PATCH v3 2/4] devfreq/drivers/msm: Use devfreq cooling device registration

2021-03-07 Thread Daniel Lezcano
The devfreq core code is able to register the devfreq device as a cooling device if the 'is_cooling_device' flag is set in the profile. Use this flag and remove the cooling device registering code. Tested on dragonboard 845c Signed-off-by: Daniel Lezcano --- drivers/gpu/drm/msm/msm_gpu.c | 12

[PATCH v3 1/4] devfreq: Register devfreq as a cooling device on demand

2021-03-07 Thread Daniel Lezcano
Currently the default behavior is to manually having the devfreq backend to register themselves as a devfreq cooling device. Instead of adding the code in the drivers for the thermal cooling device registering, let's provide a flag in the devfreq's profile to tell the common devfreq code to regist

[PATCH v3 4/4] devfreq/drivers/lima: Use devfreq cooling device registration

2021-03-07 Thread Daniel Lezcano
The devfreq core code is able to register the devfreq device as a cooling device if the 'is_cooling_device' flag is set in the profile. Use this flag and remove the cooling device registering code. Signed-off-by: Daniel Lezcano --- drivers/gpu/drm/lima/lima_devfreq.c | 14 +- driver

[PATCH v3 3/4] devfreq/drivers/panfrost: Use devfreq cooling device registration

2021-03-07 Thread Daniel Lezcano
The devfreq core code is able to register the devfreq device as a cooling device if the 'is_cooling_device' flag is set in the profile. Use this flag and remove the cooling device registering code. Tested on rock960. Signed-off-by: Daniel Lezcano --- drivers/gpu/drm/panfrost/panfrost_devfreq.c

[syzbot] possible deadlock in io_sq_thread_finish

2021-03-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a38fd874 Linux 5.12-rc2 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=143ee02ad0 kernel config: https://syzkaller.appspot.com/x/.config?x=db9c6adb4986f2f2 dashboard link: https://syzkaller.appspo

[GIT PULL] m68k updates for 5.12 (take two)

2021-03-07 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git tags/m68k-for-v5.12-tag2 for you to fetch ch

Re: [PATCH 2/4] mips: bmips: add BCM63268 timer reset definitions

2021-03-07 Thread Álvaro Fernández Rojas
Hi Rob, El 06/03/2021 a las 22:17, Rob Herring escribió: On Thu, Feb 25, 2021 at 08:41:59PM +0100, Álvaro Fernández Rojas wrote: Add missing timer reset definitions for BCM63268. Signed-off-by: Álvaro Fernández Rojas --- include/dt-bindings/reset/bcm63268-reset.h | 4 1 file changed,

Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller

2021-03-07 Thread Álvaro Fernández Rojas
Hi Rob, El 06/03/2021 a las 21:14, Rob Herring escribió: On Wed, Feb 24, 2021 at 08:56:39AM +0100, Álvaro Fernández Rojas wrote: Document the binding for the BCM6345 external interrupt controller. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski Reviewed-by: Florian Fainelli

Re: [bugreport 5.9-rc8] general protection fault in __bfq_deactivate_entity

2021-03-07 Thread Dmitry Vyukov
On Sun, Mar 7, 2021 at 11:09 AM Hillf Danton wrote: > > On Sun, 7 Mar 2021 08:46:19 +0100 Dmitry Vyukov wrote: > > On Sun, Mar 7, 2021 at 3:15 AM Hillf Danton wrote: > > > > > > Dmitry can you shed some light on the tricks to config kasan to print > > > Call Trace as the reports with the leading

Build regressions/improvements in v5.12-rc2

2021-03-07 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.12-rc2[1] compared to v5.11[2]. Summarized: - build errors: +2/-0 - build warnings: +116/-8 JFYI, when comparing v5.12-rc2[1] to v5.12-rc1[3], the summaries are: - build errors: +0/-0 - build warnings: +0/-1 Happy fi

[PATCH 1/2] Perf: Clean generated directory, other archs.

2021-03-07 Thread Gon Solo
After a make clean there are generated directories left in the arch directories of perf. Clean them up. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Andreas Wendleder --- tools/perf/arch/arm64/Makefile | 5 +++-- tools/perf/arch/powerpc/Makefile | 5 +++-- tools/perf/arch/s390/Makefi

[PATCH 2/2] Perf: Clean beauty directory.

2021-03-07 Thread Gon Solo
Clean up generated beauty directory. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Andreas Wendleder --- tools/perf/Makefile.perf | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 5345ac70cd83..293e297f719d 100644 --- a/tools/p

Re: [PATCH v1 12/15] powerpc/uaccess: Refactor get/put_user() and __get/put_user()

2021-03-07 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-Cleanup-of-uaccess-h/20210226-015715 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-randconfig-s031-20210307 (a

[GIT PULL] Please pull powerpc/linux.git powerpc-5.12-2 tag

2021-03-07 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc fixes for 5.12: The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8: Linux 5.12-rc1 (2021-02-28 16:05:19 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linu

Re: [RFC PATCH v2 13/13] objtool: arm64: Enable stack validation for arm64

2021-03-07 Thread Ard Biesheuvel
On Wed, 3 Mar 2021 at 18:10, Julien Thierry wrote: > > From: Raphael Gault > > Add build option to run stack validation at compile time. > > When requiring stack validation, jump tables are disabled as it > simplifies objtool analysis (without having to introduce unreliable > artifacs). In local

Re: [PATCH] ath: ath6kl: fix error return code of ath6kl_htc_rx_bundle()

2021-03-07 Thread Heiner Kallweit
On 07.03.2021 10:31, Jia-Ju Bai wrote: > Hi Leon, > > I am quite sorry for my incorrect patches... > My static analysis tool reports some possible bugs about error handling code, > and thus I write some patches for the bugs that seem to be true in my opinion. > Because I am not familiar with many

[PATCH V2] arm64: dts: imx8mp: add wdog2/3 nodes

2021-03-07 Thread peng . fan
From: Peng Fan There is wdog[2,3] in i.MX8MP, so add them. Signed-off-by: Peng Fan --- V2: Update commit log arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/frees

Re: [PATCH] CIFS: Prevent error log on spurious oplock break

2021-03-07 Thread Shyam Prasad N
Hi Vincent, The reason for rejecting the request maybe a number of things like: corrupted request, stale request (for some old session), or for a wrong handle. I don't think we should treat any of these cases as a success. Also, from the MS-SMB2 documentation: https://docs.microsoft.com/en-us/ope

[PATCH] drivers: tty: vt: vt.c: fix NULL dereference crash

2021-03-07 Thread Hassan Shahbazi
Fix a NULL deference crash on hiding the cursor. Reported by: syzbot https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b Signed-off-by: Hassan Shahbazi --- drivers/tty/vt/vt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt.c b/

Linux 4.9.260

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.260 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.4.260

2021-03-07 Thread Greg Kroah-Hartman
diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt index 24da7b32c489..1218a5e2975c 100644 --- a/Documentation/filesystems/sysfs.txt +++ b/Documentation/filesystems/sysfs.txt @@ -211,12 +211,10 @@ Other notes: is 4096. - show() methods should return the n

Linux 4.14.224

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.224 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.14.224

2021-03-07 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/btusb.txt b/Documentation/devicetree/bindings/net/btusb.txt index 9c5e663fa1af..828a04695e1b 100644 --- a/Documentation/devicetree/bindings/net/btusb.txt +++ b/Documentation/devicetree/bindings/net/btusb.txt @@ -36,7 +36,7 @@ Following example use

Re: Linux 4.9.260

2021-03-07 Thread Greg Kroah-Hartman
diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt index 24da7b32c489..1218a5e2975c 100644 --- a/Documentation/filesystems/sysfs.txt +++ b/Documentation/filesystems/sysfs.txt @@ -211,12 +211,10 @@ Other notes: is 4096. - show() methods should return the n

Linux 4.4.260

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.260 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:

TREAT AND REPLY URGENTLY.

2021-03-07 Thread Mr. Dabire Basole
Dear Friend, Greetings! How are you with your family today? I hope both of you are in good health decently, I know that this message might meet you in utmost surprise as we never know each other before. I am Mr. Dabire Basole a banker by profession, I need your urgent assist in transferring the s

[PATCH v6 0/8] Fork brute force attack mitigation

2021-03-07 Thread John Wood
Attacks against vulnerable userspace applications with the purpose to break ASLR or bypass canaries traditionally use some level of brute force with the help of the fork system call. This is possible since when creating a new process using fork its memory contents are the same as those of the paren

[PATCH net] net: lapbether: Remove netif_start_queue / netif_stop_queue

2021-03-07 Thread Xie He
For the devices in this driver, the default qdisc is "noqueue", because their "tx_queue_len" is 0. In function "__dev_queue_xmit" in "net/core/dev.c", devices with the "noqueue" qdisc are specially handled. Packets are transmitted without being queued after a "dev->flags & IFF_UP" check. However,

[PATCH v2 0/2] docs: reporting-issues: a easier process for reporting stable regressions

2021-03-07 Thread Thorsten Leemhuis
This series creates a streamlined process for users wanting to report regressions within a stable and longterm kernel series. The existing process is too demanding, complicated and takes too much time for this case. I didn't CC the stable maintainers here, they need to review the whole document an

[PATCH v2 2/2] docs: reporting-issues.rst: shortcut for reporting stable regressions

2021-03-07 Thread Thorsten Leemhuis
Provide a much shorter and easier process for users that deal with regressions in stable and longterm kernels, as those should be reported quickly. Signed-off-by: Thorsten Leemhuis CC: Randy Dunlap --- v2 * revist, lots of small improvements in various places v1 * https://lore.kernel.org/linux-

[PATCH v2 1/2] docs: reporting-issues.rst: move tainted check upwards

2021-03-07 Thread Thorsten Leemhuis
Move the instuctions to check tainted status upwards one step. This is done in preparation for a follow up patch that introduces a new step that should come after the 'check tainted status' step, but is best done right after the 'check if this qualifies as regression, ...' step. Just moves text ar

Re: [RFC PATCH v2 00/13] Add futex2 syscall

2021-03-07 Thread Stefan Metzmacher
Hi André, > ** The wait on multiple problem > > The use case lies in the Wine implementation of the Windows NT interface > WaitMultipleObjects. This Windows API function allows a thread to sleep > waiting on the first of a set of event sources (mutexes, timers, signal, > console input, etc)

Re: [RFT PATCH v3 21/27] tty: serial: samsung_tty: IRQ rework

2021-03-07 Thread Krzysztof Kozlowski
On 05/03/2021 17:29, Hector Martin wrote: > On 06/03/2021 01.20, Andy Shevchenko wrote: >>> I am just splitting an >>> existing function into two, where one takes the lock and the other does >>> the work. Do you mean using a different locking function? I'm not >>> entirely sure what you're suggesti

Re: [PATCH 5.11 000/104] 5.11.4-rc1 review

2021-03-07 Thread Greg Kroah-Hartman
On Sun, Mar 07, 2021 at 07:46:06AM +0530, Naresh Kamboju wrote: > On Fri, 5 Mar 2021 at 17:55, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.11.4 release. > > There are 104 patches in this series, all will be posted as a response > > to this one. If an

[PATCH] brcmfmac: Add support for BCM43596 PCIe Wi-Fi

2021-03-07 Thread Konrad Dybcio
Add support for BCM43596 dual-band AC chip, found in SONY Xperia X Performance, XZ and XZs smartphones (and *possibly* other devices from other manufacturers). The chip doesn't require any special handling and seems to work just fine OOTB. PCIe IDs taken from: https://github.com/sonyxperiadev/ker

Re: [PATCH 5.11 000/104] 5.11.4-rc1 review

2021-03-07 Thread Greg Kroah-Hartman
On Sat, Mar 06, 2021 at 08:39:56AM -0800, Guenter Roeck wrote: > On Fri, Mar 05, 2021 at 01:20:05PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.11.4 release. > > There are 104 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.10 000/102] 5.10.21-rc1 review

2021-03-07 Thread Greg Kroah-Hartman
On Sat, Mar 06, 2021 at 02:25:44PM +0800, Samuel Zou wrote: > > > On 2021/3/5 20:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.21 release. > > There are 102 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH 5.10 000/102] 5.10.21-rc1 review

2021-03-07 Thread Greg Kroah-Hartman
On Fri, Mar 05, 2021 at 09:31:52PM -0800, Florian Fainelli wrote: > > > On 3/5/2021 4:20 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.21 release. > > There are 102 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [RFT PATCH v3 24/27] tty: serial: samsung_tty: Add support for Apple UARTs

2021-03-07 Thread Krzysztof Kozlowski
On 05/03/2021 18:04, Hector Martin wrote: > On 06/03/2021 00.28, Andy Shevchenko wrote: >>> + case TYPE_APPLE_S5L: >>> + WARN_ON(1); // No DMA >> >> Oh, no, please use the ONCE variant. > > Thanks, changing this for v4. > >> >> ... >> >>> + /* Apple types use these bits

Re: [PATCH 2/2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child

2021-03-07 Thread Krzysztof Kozlowski
On 05/03/2021 21:49, Rob Herring wrote: > On Fri, Feb 12, 2021 at 05:39:05PM +0100, Krzysztof Kozlowski wrote: >> Include the generic serial.yaml dtschema so the child node like >> "bluetooh" will be properly matched: >> >> arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml: >> serial@138000

Re: [PATCH] dt-bindings: iio: samsung,exynos-adc: add common clock properties

2021-03-07 Thread Krzysztof Kozlowski
On 05/03/2021 21:41, Rob Herring wrote: > On Mon, Feb 15, 2021 at 10:29:15AM +0100, Krzysztof Kozlowski wrote: >> On Mon, Feb 15, 2021 at 10:01:48AM +0100, Marek Szyprowski wrote: >>> Hi Krzysztof, >>> >>> On 12.02.2021 17:38, Krzysztof Kozlowski wrote: Add common properties appearing in DTSes

[PATCH v6 1/8] security: Add LSM hook at the point where a task gets a fatal signal

2021-03-07 Thread John Wood
Add a security hook that allows a LSM to be notified when a task gets a fatal signal. This patch is a previous step on the way to compute the task crash period by the "brute" LSM (linux security module to detect and mitigate fork brute force attack against vulnerable userspace processes). Signed-o

Re: [PATCH] arm64/mm: Fix __enable_mmu() for new TGRAN range values

2021-03-07 Thread Anshuman Khandual
On 3/5/21 8:21 PM, Mark Rutland wrote: > On Fri, Mar 05, 2021 at 08:06:09PM +0530, Anshuman Khandual wrote: >> From: James Morse >> >> As per ARM ARM DDI 0487G.a, when FEAT_LPA2 is implemented, ID_AA64MMFR0_EL1 >> might contain a range of values to describe supported translation granules >> (4K

Re: [PATCH] fb_defio: Use __set_page_dirty_no_writeback

2021-03-07 Thread kernel test robot
in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/fb_defio-Use-__set_page_dirty_no_writeback/20210307-110930 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a38fd8748464831584a19438cbb3082b5a2dab

Linux 5.4.103

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.103 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:

Linux 4.19.179

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.179 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 4.19.179

2021-03-07 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/btusb.txt b/Documentation/devicetree/bindings/net/btusb.txt index 37d67926dd6d..d883a35641d1 100644 --- a/Documentation/devicetree/bindings/net/btusb.txt +++ b/Documentation/devicetree/bindings/net/btusb.txt @@ -35,7 +35,7 @@ Following example use

Linux 5.10.21

2021-03-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.10.21 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:

Re: Linux 5.4.103

2021-03-07 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/btusb.txt b/Documentation/devicetree/bindings/net/btusb.txt index b1ad6ee68e90..c51dd99dc0d3 100644 --- a/Documentation/devicetree/bindings/net/btusb.txt +++ b/Documentation/devicetree/bindings/net/btusb.txt @@ -38,7 +38,7 @@ Following example use

Linux 5.11.4

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

Re: [RFC PATCH v2 00/13] Add futex2 syscall

2021-03-07 Thread Daurnimator
On Sun, 7 Mar 2021 at 22:35, Stefan Metzmacher wrote: > Instead of having a blocked futex_waitv() waiting on an fd (maybe a generic > eventfd() or a new futex2fd()) > would be a better interface? Like bring back FUTEX_FD? (which was removed back in 2.6.25)

Re: [PATCH 1/2] iio: cros_ec: do an early exit if not physical_device case

2021-03-07 Thread Jonathan Cameron
On Tue, 2 Mar 2021 11:46:06 +0100 Enric Balletbo i Serra wrote: > Hi all, > > On 21/2/21 17:29, Jonathan Cameron wrote: > > On Mon, 23 Nov 2020 16:40:16 +0200 > > Alexandru Ardelean wrote: > > > >> This whole code-block was put under one big if() condition/block. > >> This change does an ear

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1576:2: error: implicit declaration of function 'enable_kernel_vsx'

2021-03-07 Thread kernel test robot
config: powerpc-randconfig-r003-20210307 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4d90e460bcc7b3e5ff6c7e2e05e974772489c4b8) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: [PATCH v6 20/24] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-03-07 Thread Jonathan Cameron
On Sat, 6 Mar 2021 19:00:52 +0200 Alexandru Ardelean wrote: > On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron > wrote: > > > > On Sun, 28 Feb 2021 16:51:51 +0100 > > Lars-Peter Clausen wrote: > > > > > On 2/28/21 3:34 PM, Jonathan Cameron wrote: > > > > On Sun, 28 Feb 2021 09:51:38 +0100 >

[PATCH v6 2/8] security/brute: Define a LSM and manage statistical data

2021-03-07 Thread John Wood
Add a new Kconfig file to define a menu entry under "Security options" to enable the "Fork brute force attack detection and mitigation" feature. For a correct management of a fork brute force attack it is necessary that all the tasks hold statistical data. The same statistical data needs to be sha

Re: [PATCH] ath: ath6kl: fix error return code of ath6kl_htc_rx_bundle()

2021-03-07 Thread Leon Romanovsky
On Sun, Mar 07, 2021 at 05:31:01PM +0800, Jia-Ju Bai wrote: > Hi Leon, > > I am quite sorry for my incorrect patches... > My static analysis tool reports some possible bugs about error handling > code, and thus I write some patches for the bugs that seem to be true in my > opinion. > Because I am n

Re: [PATCH] iio: kfifo: mask flags without zero-check in devm_iio_kfifo_buffer_setup()

2021-03-07 Thread Jonathan Cameron
On Sat, 6 Mar 2021 18:28:34 +0200 Alexandru Ardelean wrote: > As pointed by Lars, this doesn't require a zero-check. Also, while looking > at this a little closer at it (again), the masking can be done later, as > there is a zero-check for 'mode_flags' anyway, which returns -EINVAL. And > we onl

Re: [PATCH] iio: buffer: fix use-after-free for attached_buffers array

2021-03-07 Thread Jonathan Cameron
On Sat, 6 Mar 2021 18:47:10 +0200 Alexandru Ardelean wrote: > Thanks to Lars for finding this. > The free of the 'attached_buffers' array should be done as late as > possible. This change moves it to iio_buffers_put(), which looks like > the best place for it, since it takes place right before t

[PATCH v6 3/8] securtiy/brute: Detect a brute force attack

2021-03-07 Thread John Wood
To detect a brute force attack it is necessary that the statistics shared by all the fork hierarchy processes be updated in every fatal crash and the most important data to update is the application crash period. To do so, use the new "task_fatal_signal" LSM hook added in a previous step. The appl

Re: [PATCH] blk-cgroup: Fix the recursive blkg rwstat

2021-03-07 Thread Tejun Heo
On Fri, Mar 05, 2021 at 11:32:05AM -0700, Jens Axboe wrote: > On 3/5/21 1:13 AM, Xunlei Pang wrote: > > The current blkio.throttle.io_service_bytes_recursive doesn't > > work correctly. > > > > As an example, for the following blkcg hierarchy: > > (Made 1GB READ in test1, 512MB READ in test2) > >

Re: [syzbot] possible deadlock in io_sq_thread_finish

2021-03-07 Thread Pavel Begunkov
On 07/03/2021 09:49, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:a38fd874 Linux 5.12-rc2 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=143ee02ad0 > kernel config: https://syzkaller.appspot.com/x/.config?x=db9c6a

Re: [PATCH] iio: adc: axp20x_adc: fix charging current reporting on AXP22x

2021-03-07 Thread Jonathan Cameron
On Sun, 7 Mar 2021 02:52:38 +0300 Evgeny Boger wrote: > Both the charging and discharging currents on AXP22x are stored as > 12-bit integers, in accordance with the datasheet. > It's also confirmed by vendor BSP (axp20x_adc.c:axp22_icharge_to_mA). > > The scale factor of 0.5 is never mentioned

Re: [PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-07 Thread Chen-Yu Tsai
On Sat, Mar 6, 2021 at 10:15 PM Jia-Ju Bai wrote: > > When sun6i_video_remote_subdev() returns NULL to subdev, no error return > code of sun6i_video_start_streaming() is assigned. > To fix this bug, ret is assigned with -EINVAL in this case. > > Reported-by: TOTE Robot > Signed-off-by: Jia-Ju Bai

Re: [Patch v3 0/2] cgroup: New misc cgroup controller

2021-03-07 Thread Tejun Heo
Hello, On Thu, Mar 04, 2021 at 03:19:44PM -0800, Vipin Sharma wrote: > This patch series is creating a new misc cgroup controller for limiting > and tracking of resources which are not abstract like other cgroup > controllers. > > This controller was initially proposed as encryption_id but after

Re: [PATCH] iio: buffer: fix use-after-free for attached_buffers array

2021-03-07 Thread Lars-Peter Clausen
On 3/7/21 1:36 PM, Jonathan Cameron wrote: On Sat, 6 Mar 2021 18:47:10 +0200 Alexandru Ardelean wrote: Thanks to Lars for finding this. The free of the 'attached_buffers' array should be done as late as possible. This change moves it to iio_buffers_put(), which looks like the best place for i

Re: [PATCH v9 1/3] ARM: dts: imx6ul: Add Variscite DART-6UL SoM support

2021-03-07 Thread Shawn Guo
On Sun, Feb 14, 2021 at 02:13:48PM +0100, Oliver Graute wrote: > This patch adds support for the i.MX6UL variant of the Variscite DART-6UL > SoM Carrier-Board > > Signed-off-by: Oliver Graute > Cc: Shawn Guo > Cc: Neil Armstrong > Cc: Marco Felsch > Cc: Parthiban Nallathambi > --- > .../boot

[GIT PULL] perf tools changes for v5.12: take 2

2021-03-07 Thread Arnaldo Carvalho de Melo
Hi Linus, Please consider pulling, rebased over v5.12-rc2, Best regards, - Arnaldo Test results at the end of this message. The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at

[PATCH v6 4/8] security/brute: Fine tuning the attack detection

2021-03-07 Thread John Wood
To avoid false positives during the attack detection it is necessary to narrow the possible cases. Only the following scenarios are taken into account: 1.- Launching (fork()/exec()) a setuid/setgid process repeatedly until a desirable memory layout is got (e.g. Stack Clash). 2.- Connecting to

Re: [PATCH] arm64: dts: imx8mn-beacon: Enable SDR104 on WiFi SDIO interface

2021-03-07 Thread Shawn Guo
On Sun, Feb 14, 2021 at 02:17:42PM -0600, Adam Ford wrote: > Enable 100Mhz and 200MHz pinmux and corrsesponding voltage supplies > to enable SDR104 on usdhc1 connecting the WiFi chip. > > Signed-off-by: Adam Ford Applied, thanks.

Re: [PATCH v2] clk: imx8mp: Remove the none exist pcie clocks

2021-03-07 Thread Shawn Guo
Copy Abel who is stepping up to maintain i.MX clock drivers. Shawn On Thu, Feb 18, 2021 at 04:33:46PM +0800, Richard Zhu wrote: > In the i.MX8MP PCIe design, the PCIe PHY REF clock comes from external > OSC or internal system PLL. It is configured in the IOMUX_GPR14 register > directly, and can't

Re: [PATCH] clk: imx8mq: Correct the pcie aux sels

2021-03-07 Thread Shawn Guo
+ Abel On Thu, Feb 18, 2021 at 03:29:34PM +0800, Richard Zhu wrote: > The sys2_pll_50m should be one of the clock sels of PCIE_AUX clock, > Change the sys2_pll_500m to sys2_pll_50m. > > Signed-off-by: Richard Zhu > --- > drivers/clk/imx/clk-imx8mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 d

[PATCH 1/3] net: davicom: Fix regulator not turned off on failed probe

2021-03-07 Thread Paul Cercueil
When the probe fails or requests to be defered, we must disable the regulator that was previously enabled. Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000") Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 12 +--- 1 file changed, 9 inserti

[PATCH 2/3] net: davicom: Fix regulator not turned off on driver removal

2021-03-07 Thread Paul Cercueil
We must disable the regulator that was enabled in the probe function. Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000") Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH 3/3] net: davicom: Use platform_get_irq_optional()

2021-03-07 Thread Paul Cercueil
The second IRQ line really is optional, so use platform_get_irq_optional() to obtain it. Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davico

[PATCH v6 5/8] security/brute: Mitigate a brute force attack

2021-03-07 Thread John Wood
In order to mitigate a brute force attack all the offending tasks involved in the attack must be killed. In other words, it is necessary to kill all the tasks that share the fork and/or exec statistical data related to the attack. Moreover, if the attack happens through the fork system call, the pr

  1   2   3   4   5   6   7   >