[PATCH v2 1/3] dt-bindings: arm: sunxi: add PineTab Early Adopter edition

2020-12-23 Thread Icenowy Zheng
Early adopter's PineTabs (and further releases) will have a new LCD panel different with the one that is used when in development (because the old panel's supply discontinued). Add a new DT compatible for it. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/arm/sunxi.yaml | 5

drivers/clocksource/timer-clint.c:72:24: sparse: sparse: cast removes address space '__iomem' of expression

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9 commit: 2ac6795fcc085e8d03649f1bbd0d70aaff612cad clocksource/drivers: Add CLINT timer driver date: 4 months ago config: riscv-randconfig-s031-20201221 (attached as

[git pull] drm fixes for 5.11-rc1

2020-12-23 Thread Dave Airlie
Hi Linus, Xmas eve pull request present. Just some fixes that trickled in this past week. Mostly amdgpu fixes, with a dma-buf/mips build fix and some misc komeda fixes. Hope you have a good holiday season, Dave. drm-next-2020-12-24: drm fixes for 5.11-rc1 dma-buf: - fix build on mips komeda: -

Re: [PATCH] csky: Fix a size determination in gpr_get()

2020-12-23 Thread Zhenzhong Duan
On Wed, Dec 23, 2020 at 10:57 PM Guo Ren wrote: > > Hi Zhengzhong, > > I'll take it, thx. Thanks Guo. Zhenzhong

Re: [PATCH v1] scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

2020-12-23 Thread Can Guo
On 2020-12-23 12:41, Can Guo wrote: On 2020-12-23 12:19, Stanley Chu wrote: Hi Can, On Tue, 2020-12-22 at 19:34 +0800, Can Guo wrote: On 2020-12-22 15:29, Stanley Chu wrote: > Flush during hibern8 is sufficient on MediaTek platforms, thus > enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL to skip

Re: linux kernel新手想参与文档翻译

2020-12-23 Thread Alex Shi
CC linux-doc ?? 2020/12/23 11:03, ?? : > ?? > ?0?2 ?0?2 ?0?2 > Linuxkernel??Documentation/translations/zh_CN ???

Re: [PATCH v2] vhost/vsock: add IOTLB API support

2020-12-23 Thread Jason Wang
On 2020/12/23 下午10:36, Stefano Garzarella wrote: This patch enables the IOTLB API support for vhost-vsock devices, allowing the userspace to emulate an IOMMU for the guest. These changes were made following vhost-net, in details this patch: - exposes VIRTIO_F_ACCESS_PLATFORM feature and inits

[PATCH v2] ARM: mstar: Unify common parts of BreadBee boards into a dtsi

2020-12-23 Thread Daniel Palmer
The BreadBee and the BreadBee Crust are the same PCB with a different SoC mounted. There are two top level dts to handle this. To avoid deduplicating the parts that are more related to the PCB than the SoC (i.e. the voltage regs and LEDs) add a common dtsi that can be included in both top level dt

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Andrea Arcangeli
On Wed, Dec 23, 2020 at 05:21:43PM -0800, Andy Lutomirski wrote: > I don’t love this as a long term fix. AFAICT we can have mm_tlb_flush_pending > set for quite a while — mprotect seems like it can wait in IO while splitting > a huge page, for example. That gives us a window in which every write

[PATCH] bcache: set pdev_set_uuid before scond loop iteration

2020-12-23 Thread Yi Li
There is no need to reassign pdev_set_uuid in the second loop iteration, so move it to the place before second loop. Signed-off-by: Yi Li --- drivers/md/bcache/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index

Re: [PATCH -next] ext4: use DEFINE_MUTEX (and mutex_init() had been too late)

2020-12-23 Thread Theodore Y. Ts'o
On Wed, Dec 23, 2020 at 10:12:54PM +0800, Zheng Yongjun wrote: > Signed-off-by: Zheng Yongjun Why is mutex_init() too late? We only take the mutex after we mounting an ext4 file system, and that can't happen until ext4_init_fs is called. - Ted > fs/ext4

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

2020-12-23 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some powerpc fixes for 5.11: The following changes since commit 8a5be36b9303ae167468d4f5e1b3c090b9981396: Merge tag 'powerpc-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2020-12-17 13:34:25 -080

[PATCH resend v13 5/5] leds: mt6360: Add LED driver for MT6360

2020-12-23 Thread Gene Chen
From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 3-channel RGB LED support Register/Flash/Breath Mode, and 1-channel for moonlight LED. Signed-off-by: Gene Chen --- drivers/leds/Kconfig | 13 + drivers/leds/Makefile | 1 + drivers/leds/led

[PATCH resend v13 4/5] dt-bindings: leds: Add bindings for MT6360 LED

2020-12-23 Thread Gene Chen
From: Gene Chen Add bindings document for LED support on MT6360 PMIC Signed-off-by: Gene Chen Reviewed-by: Rob Herring --- .../devicetree/bindings/leds/leds-mt6360.yaml | 159 + 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/le

[PATCH resend v13 3/5] dt-bindings: leds: Add LED_FUNCTION_MOONLIGHT definitions

2020-12-23 Thread Gene Chen
From: Gene Chen Add LED_FUNCTION_MOONLIGHT definitions Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski Acked-by: Rob Herring --- include/dt-bindings/leds/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h in

[PATCH resend v13 1/5] leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH

2020-12-23 Thread Gene Chen
From: Gene Chen Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH, and move the same registration functions outside of #ifdef block. Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski --- include/linux/led-class-flash.h | 42 - 1 file chang

[PATCH resend v13 2/5] leds: flash: Fix multicolor no-ops registration by return 0

2020-12-23 Thread Gene Chen
From: Gene Chen Fix multicolor no-ops registration by return 0, and move the same registration functions outside of #ifdef block. Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski --- include/linux/led-class-multicolor.h | 42 +--- 1 file changed, 15 insertio

[PATCH resend v13 0/5] leds: mt6360: Add LED driver for MT6360

2020-12-23 Thread Gene Chen
This patch series add MT6360 LED support contains driver and binding document Gene Chen (5) leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH leds: flash: Fix multicolor no-ops registration by return 0 dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions dt-bindin

Re: [PATCH] net: ethernet: Fix memleak in ethoc_probe

2020-12-23 Thread Jakub Kicinski
On Wed, 23 Dec 2020 14:17:29 -0800 Florian Fainelli wrote: > On 12/23/2020 1:11 PM, Jakub Kicinski wrote: > > On Wed, 23 Dec 2020 22:00:44 +0100 Andrew Lunn wrote: > >> On Wed, Dec 23, 2020 at 12:32:18PM -0800, Jakub Kicinski wrote: > >>> On Wed, 23 Dec 2020 16:33:04 +0100 Andrew Lunn wrote:

Re: [PATCH] io_uring: remove io_remove_personalities()

2020-12-23 Thread Yejune Deng
OK,I will adopt it and resubmit. On Wed, Dec 23, 2020 at 8:45 PM Pavel Begunkov wrote: > > On 23/12/2020 10:36, Stefano Garzarella wrote: > > On Wed, Dec 23, 2020 at 11:27:05AM +0800, Yejune Deng wrote: > >> The function io_remove_personalities() is very similar to > >> io_unregister_personality(

Re: [RFC PATCH 1/3] mm: support hugetlb free page reporting

2020-12-23 Thread Liang Li
> >>> +static int > >>> +hugepage_reporting_cycle(struct page_reporting_dev_info *prdev, > >>> + struct hstate *h, unsigned int nid, > >>> + struct scatterlist *sgl, unsigned int *offset) > >>> +{ > >>> + struct list_head *list = &h->hugepage_freelists[

Re: [PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-23 Thread Jin, Yao
On 12/24/2020 6:35 AM, Jiri Olsa wrote: On Wed, Dec 16, 2020 at 03:01:46PM +0800, Jin Yao wrote: Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Andy Lutomirski
> On Dec 23, 2020, at 2:29 PM, Yu Zhao wrote: > > > I was hesitant to suggest the following because it isn't that straight > forward. But since you seem to be less concerned with the complexity, > I'll just bring it on the table -- it would take care of both ufd and > clear_refs_write, wouldn

drivers/clocksource/timer-clint.c:72:24: sparse: sparse: cast removes address space '__iomem' of expression

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 2ac6795fcc085e8d03649f1bbd0d70aaff612cad clocksource/drivers: Add CLINT timer driver date: 4 months ago config: riscv-randconfig-s031-20201221 (attached as

Re: [PATCH 5.10 24/40] f2fs: fix to seek incorrect data offset in inline data file

2020-12-23 Thread Chao Yu
Hi Greg, Thanks a lot for helping to resend and merge the patch. :) Thanks, On 2020/12/23 23:33, Greg Kroah-Hartman wrote: From: Chao Yu commit 7a6e59d719ef0ec9b3d765cba3ba98ee585cbde3 upstream. As kitestramuort reported: F2FS-fs (nvme0n1p4): access invalid blkaddr:1598541474 [ 25.725898

Re: [PATCH v2] ubifs: Fix read out-of-bounds in ubifs_jnl_write_inode()

2020-12-23 Thread Zhihao Cheng
在 2020/12/24 7:07, Richard Weinberger 写道: Reproducer: 0. config KASAN && apply print.patch 1. mount ubifs on /root/temp 2. run test.sh What does test.sh do? Go to Link: https://bugzilla.kernel.org/show_bug.cgi?id=210865. test.sh creates a very long path file test_file, and then create a symb

[PATCH v3 09/14] ipu3-cio2: Add T: entry to MAINTAINERS

2020-12-23 Thread Daniel Scally
Development for the ipu3-cio2 driver is taking place in media_tree, but there's no T: entry in MAINTAINERS to denote that - rectify that oversight Reviewed-by: Laurent Pinchart Reviewed-by: Andy Shevchenko Signed-off-by: Daniel Scally --- Changes in v3 - None MAINTAINERS | 1 + 1 file

[PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-23 Thread Daniel Scally
From: Heikki Krogerus This implements the remaining .graph_* callbacks in the fwnode operations structure for the software nodes. That makes the fwnode_graph*() functions available in the drivers also when software nodes are used. The implementation tries to mimic the "OF graph" as much as possi

[PATCH v3 13/14] include: media: v4l2-fwnode: Include v4l2_fwnode_bus_type

2020-12-23 Thread Daniel Scally
V4L2 fwnode bus types are enumerated in v4l2-fwnode.c, meaning they aren't available to the rest of the kernel. Move the enum to the corresponding header so that I can use the label to refer to those values. Suggested-by: Andy Shevchenko Signed-off-by: Daniel Scally --- Changes in v3 - P

[PATCH v3 10/14] ipu3-cio2: Rename ipu3-cio2.c

2020-12-23 Thread Daniel Scally
ipu3-cio2 driver needs extending with multiple files; rename the main source file and specify the renamed file in Makefile to accommodate that. Suggested-by: Andy Shevchenko Reviewed-by: Laurent Pinchart Reviewed-by: Andy Shevchenko Signed-off-by: Daniel Scally --- Changes in v3 - None

[PATCH v3 12/14] acpi: Add acpi_dev_get_next_match_dev() and helper macro

2020-12-23 Thread Daniel Scally
To ensure we handle situations in which multiple sensors of the same model (and therefore _HID) are present in a system, we need to be able to iterate over devices matching a known _HID but unknown _UID and _HRV - add acpi_dev_get_next_match_dev() to accommodate that possibility and change acpi_de

[PATCH v3 14/14] ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver

2020-12-23 Thread Daniel Scally
Currently on platforms designed for Windows, connections between CIO2 and sensors are not properly defined in DSDT. This patch extends the ipu3-cio2 driver to compensate by building software_node connections, parsing the connection properties from the sensor's SSDB buffer. Suggested-by: Jordan Han

[PATCH v3 11/14] media: v4l2-core: v4l2-async: Check sd->fwnode->secondary in match_fwnode()

2020-12-23 Thread Daniel Scally
Where the fwnode graph is comprised of software_nodes, these will be assigned as the secondary to dev->fwnode. Check the v4l2_subdev's fwnode for a secondary and attempt to match against it during match_fwnode() to accommodate that possibility. Reviewed-by: Andy Shevchenko Reviewed-by: Laurent Pi

[PATCH v3 08/14] lib/test_printf.c: Use helper function to unwind array of software_nodes

2020-12-23 Thread Daniel Scally
Use the software_node_unregister_nodes() helper function to unwind this array in a cleaner way. Acked-by: Petr Mladek Reviewed-by: Andy Shevchenko Reviewed-by: Laurent Pinchart Reviewed-by: Sergey Senozhatsky Suggested-by: Andy Shevchenko Signed-off-by: Daniel Scally --- Changes in v3

[PATCH v3 02/14] property: Return true in fwnode_device_is_available for NULL ops

2020-12-23 Thread Daniel Scally
Some types of fwnode_handle do not implement the device_is_available() check, such as those created by software_nodes. There isn't really a meaningful way to check for the availability of a device that doesn't actually exist, so if the check isn't implemented just assume that the "device" is presen

[PATCH v3 05/14] software_node: unregister software_nodes in reverse order

2020-12-23 Thread Daniel Scally
To maintain consistency with software_node_unregister_nodes(), reverse the order in which the software_node_unregister_node_group() function unregisters nodes. Reported-by: kernel test robot Reported-by: Dan Carpenter Reviewed-by: Laurent Pinchart Suggested-by: Andy Shevchenko Signed-off-by: D

[PATCH v3 06/14] include: fwnode.h: Define format macros for ports and endpoints

2020-12-23 Thread Daniel Scally
OF, ACPI and software_nodes all implement graphs including nodes for ports and endpoints. These are all intended to be named with a common schema, as "port@n" and "endpoint@n" where n is an unsigned int representing the index of the node. To ensure commonality across the subsystems, provide a set o

[PATCH v3 01/14] software_node: Fix refcounts in software_node_get_next_child()

2020-12-23 Thread Daniel Scally
The software_node_get_next_child() function currently does not hold references to the child software_node that it finds or put the ref that is held against the old child - fix that. Fixes: 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node framework") Reviewed-by: Andy

[PATCH v3 04/14] software_node: Enforce parent before child ordering of nodes arrays

2020-12-23 Thread Daniel Scally
Registering software_nodes with the .parent member set to point to a currently unregistered software_node has the potential for problems, so enforce parent -> child ordering in arrays passed in to software_node_register_nodes(). Software nodes that are children of another software node should be u

[PATCH v3 00/14] Add functionality to ipu3-cio2 driver allowing software_node connections to sensors on platforms designed for Windows

2020-12-23 Thread Daniel Scally
Hello all v2: https://lore.kernel.org/linux-media/20201217234337.1983732-1-djrsca...@gmail.com/T/#md93fd090009b42a6a98aed892aff0d38cf07e0cd v1: https://lore.kernel.org/linux-media/20201130133129.1024662-1-djrsca...@gmail.com/T/#m91934e12e3d033da2e768e952ea3b4a125ee3e67 The RFC version before that:

[PATCH v3 03/14] property: Call fwnode_graph_get_endpoint_by_id() for fwnode->secondary

2020-12-23 Thread Daniel Scally
This function is used to find fwnode endpoints against a device. In some instances those endpoints are software nodes which are children of fwnode->secondary. Add support to fwnode_graph_get_endpoint_by_id() to find those endpoints by recursively calling itself passing the ptr to fwnode->secondary

Re: [PATCH] md/raid10: fix: incompatible types in comparison expression (different address spaces).

2020-12-23 Thread kernel test robot
Hi YANG, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on song-md/md-next] [also build test WARNING on v5.10 next-20201223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH] powerpc/32s: Fix RTAS machine check with VMAP stack

2020-12-23 Thread Michael Ellerman
Christophe Leroy writes: > Le 22/12/2020 à 08:11, Christophe Leroy a écrit : >> When we have VMAP stack, exception prolog 1 sets r1, not r11. > > But exception prolog 1 uses r1 to setup r1 when machine check happens in > kernel. > So r1 must be restored when the branch is not taken. See subsequen

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Andrea Arcangeli
Hello Linus, On Wed, Dec 23, 2020 at 03:39:53PM -0800, Linus Torvalds wrote: > On Wed, Dec 23, 2020 at 1:39 PM Andrea Arcangeli wrote: > > > > On Tue, Dec 22, 2020 at 08:36:04PM -0700, Yu Zhao wrote: > > > Thanks for the details. > > > > I hope we can find a way put the page_mapcount back where t

[PATCH] staging: comedi: remove warnings of comedi_lrange

2020-12-23 Thread Song Chen
Checkpatch.pl reports "warning: struct comedi_lrange should normally be const" in some places, which are supposed to be removed. Signed-off-by: Song Chen --- drivers/staging/comedi/drivers/das16.c | 4 ++-- drivers/staging/comedi/drivers/jr3_pci.c | 4 ++-- drivers/staging/comedi/drivers/ni_67

Re: [PATCH 5.10 00/40] 5.10.3-rc1 review

2020-12-23 Thread Daniel Díaz
Hello! On 12/23/20 9:33 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.3 release. There are 40 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should

Re: [ANNOUNCE] Git v2.30.0-rc2

2020-12-23 Thread Junio C Hamano
Thanks.

[PATCH v2, 3/3] mailbox: cmdq: add mt8192 support

2020-12-23 Thread Yongqiang Niu
add mt8192 support Signed-off-by: Yongqiang Niu --- drivers/mailbox/mtk-cmdq-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index 75378e3..7f243e1 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++ b/drivers

[PATCH v2, 1/3] dt-binding: gce: add gce header file for mt8192

2020-12-23 Thread Yongqiang Niu
Add documentation for the mt8192 gce. Add gce header file defined the gce hardware event, subsys number and constant for mt8192. Signed-off-by: Yongqiang Niu --- .../devicetree/bindings/mailbox/mtk-gce.txt| 7 +- include/dt-bindings/gce/mt8192-gce.h | 419 +++

[PATCH v2, 0/3] support gce on mt8192 platform

2020-12-23 Thread Yongqiang Niu
Change since v1: - move out shit jump patch - rmove usless patch Yongqiang Niu (3): dt-binding: gce: add gce header file for mt8192 arm64: dts: mt8192: add gce node mailbox: cmdq: add mt8192 support .../devicetree/bindings/mailbox/mtk-gce.txt| 7 +- arch/arm64/boot/dts/mediatek/m

[PATCH v2, 2/3] arm64: dts: mt8192: add gce node

2020-12-23 Thread Yongqiang Niu
add gce node Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 69d45c7..e9684a6 100644 --- a/arch/arm64/boot/dts/medi

Re: [RFC PATCH 1/3] mm: support hugetlb free page reporting

2020-12-23 Thread Liang Li
> > > > + spin_lock_irq(&hugetlb_lock); > > > > + > > > > + if (huge_page_order(h) > MAX_ORDER) > > > > + budget = HUGEPAGE_REPORTING_CAPACITY; > > > > + else > > > > + budget = HUGEPAGE_REPORTING_CAPACITY * 32; > > > > > > Wouldn't huge_page_order alwa

Re: [PATCH v3 2/3] regulator: mt6315: Add support for MT6315 regulator

2020-12-23 Thread Nicolas Boichat
On Wed, Dec 23, 2020 at 8:13 PM Hsin-Hsiung Wang wrote: > > The MT6315 is a regulator found on boards based on MediaTek MT8192 and > probably other SoCs. It connects as a slave to SoC using SPMI. > > Signed-off-by: Hsin-Hsiung Wang > --- > drivers/regulator/Kconfig | 10 + > dr

Re: [PATCH v4 07/11] dt-bindings: phy: convert MIPI DSI PHY binding to YAML schema

2020-12-23 Thread Chun-Kuang Hu
Hi, Chunfeng: Chunfeng Yun 於 2020年12月16日 週三 下午5:30寫道: > > Convert MIPI DSI PHY binding to YAML schema mediatek,dsi-phy.yaml > Reviewed-by: Chun-Kuang Hu > Cc: Chun-Kuang Hu > Cc: Philipp Zabel > Signed-off-by: Chunfeng Yun > --- > v4: > 1. add maintainer Philipp add support mt8183 suggest

Re: [PATCH v4 06/11] dt-bindings: phy: convert HDMI PHY binding to YAML schema

2020-12-23 Thread Chun-Kuang Hu
Hi, Chunfeng: Chunfeng Yun 於 2020年12月16日 週三 下午5:30寫道: > > Convert HDMI PHY binding to YAML schema mediatek,hdmi-phy.yaml > Reviewed-by: Chun-Kuang Hu > Cc: Chun-Kuang Hu > Cc: Philipp Zabel > Signed-off-by: Chunfeng Yun > Reviewed-by: Rob Herring > --- > v4: add maintainer Philipp > v3: ad

Re: [ANNOUNCE] Git v2.30.0-rc2

2020-12-23 Thread Todd Zullinger
Hi Junio, Junio C Hamano wrote: > Git 2.30 Release Notes (draft) > == ... > Performance, Internal Implementation, Development Support etc. ... > * Adjust tests so that they won't scream when the default initial >branch name is changed to 'main'. ... > * Test scrip

Re: WARNING in isotp_tx_timer_handler

2020-12-23 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:614cb589 Merge tag 'acpi-5.11-rc1-2' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=151d558f50 kernel config: https://syzkaller.appspot.com/x/.config?x=3e7e34a

mmotm 2020-12-23-16-15 uploaded

2020-12-23 Thread akpm
The mm-of-the-moment snapshot 2020-12-23-16-15 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH] powerpc/mm: Limit allocation of SWIOTLB on server machines

2020-12-23 Thread Thiago Jung Bauermann
Hi Ram, Thanks for reviewing this patch. Ram Pai writes: > On Fri, Dec 18, 2020 at 03:21:03AM -0300, Thiago Jung Bauermann wrote: >> On server-class POWER machines, we don't need the SWIOTLB unless we're a >> secure VM. Nevertheless, if CONFIG_SWIOTLB is enabled we unconditionally >> allocate

Re: [RESEND PATCH v3 0/2] ata: ahci_brcm: Fix use of BCM7216 reset controller

2020-12-23 Thread Florian Fainelli
On 12/16/2020 1:41 PM, Jim Quinlan wrote: > v3 -- discard commit from v2; instead rely on the new function > reset_control_rearm provided in a recent commit [1] applied > to reset/next. >-- New commit to correct pcie-brcmstb.c usage of a reset controller > to use reset/rear

Re: [PATCH v9 2/8] IMA: add support to measure buffer data hash

2020-12-23 Thread Mimi Zohar
On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > The original IMA buffer data measurement sizes were small (e.g. boot > command line), but the new buffer data measurement use cases have data > sizes that are a lot larger. Just as IMA measures the file data hash, > not the file data, IM

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Andrea Arcangeli
On Wed, Dec 23, 2020 at 02:45:59PM -0800, Nadav Amit wrote: > I think it may be reasonable. Whatever solution used, there will be 2 users of it: uffd-wp will use whatever technique used by clear_refs_write to avoid the mmap_write_lock. My favorite is Yu's patch and not the group lock anymore. The

Re: [GIT PULL] sound fixes for 5.11-rc1

2020-12-23 Thread pr-tracker-bot
The pull request you sent on Wed, 23 Dec 2020 09:31:23 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-fix-5.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9 Thank you! -- Deet-doot-d

Re: [GIT PULL REQUEST] watchdog - v5.11 Merge window

2020-12-23 Thread pr-tracker-bot
The pull request you sent on Tue, 22 Dec 2020 17:34:52 +0100: > git://www.linux-watchdog.org/linux-watchdog.git linux-watchdog-5.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6755f4563144e38f375f43dbb01926fd4ce08620 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [GIT PULL] chrome-platform changes for v5.11

2020-12-23 Thread pr-tracker-bot
The pull request you sent on Tue, 22 Dec 2020 16:29:21 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git > tags/tag-chrome-platform-for-v5.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a0881596757fbef5781dc3cde5e8393dc2eb7ae6 Thank

Re: [reiser4 SFRN 5.1.3] kernel [5.10.x] read not supported for file /test-exec \(pid: 10094 comm: debootstrap\)

2020-12-23 Thread Edward Shishkin
On 12/23/2020 05:01 PM, Metztli Information Technology wrote: Niltze [Здравствуйте : Hello], Ed- I built Linux kernel 5.10.1-1 within the 'Debian way' -- as usual -- to generate a kernel component for my Debian-Installer (d-i). The patch I applied is reiser4-for-5.10-rc3.patch.gz fr

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Linus Torvalds
On Wed, Dec 23, 2020 at 1:39 PM Andrea Arcangeli wrote: > > On Tue, Dec 22, 2020 at 08:36:04PM -0700, Yu Zhao wrote: > > Thanks for the details. > > I hope we can find a way put the page_mapcount back where there's a > page_count right now. I really don't think that's ever going to happen - at le

[PATCH v3 4/5] net: stmmac: dwmac-meson8b: move RGMII delays into a separate function

2020-12-23 Thread Martin Blumenstingl
Newer SoCs starting with the Amlogic Meson G12A have more a precise RGMII RX delay configuration register. This means more complexity in the code. Extract the existing RGMII delay configuration code into a separate function to make it easier to read/understand even when adding more logic in the fut

[PATCH v3 0/5] dwmac-meson8b: picosecond precision RX delay support

2020-12-23 Thread Martin Blumenstingl
Hello, with the help of Jianxin Pan (many thanks!) the meaning of the "new" PRG_ETH1[19:16] register bits on Amlogic Meson G12A, G12B and SM1 SoCs are finally known. These SoCs allow fine-tuning the RGMII RX delay in 200ps steps (contrary to what I have thought in the past [0] these are not some "

[PATCH v3 1/5] dt-bindings: net: dwmac-meson: use picoseconds for the RGMII RX delay

2020-12-23 Thread Martin Blumenstingl
Amlogic Meson G12A, G12B and SM1 SoCs have a more advanced RGMII RX delay register which allows picoseconds precision. Deprecate the old "amlogic,rx-delay-ns" in favour of the generic "rx-internal-delay-ps" property. For older SoCs the only known supported values were 0ns and 2ns. The new SoCs hav

[PATCH v3 2/5] net: stmmac: dwmac-meson8b: fix enabling the timing-adjustment clock

2020-12-23 Thread Martin Blumenstingl
The timing-adjustment clock only has to be enabled when a) there is a 2ns RX delay configured using device-tree and b) the phy-mode indicates that the RX delay should be enabled. Only enable the RX delay if both are true, instead of (by accident) also enabling it when there's the 2ns RX delay conf

[PATCH v3 3/5] net: stmmac: dwmac-meson8b: use picoseconds for the RGMII RX delay

2020-12-23 Thread Martin Blumenstingl
Amlogic Meson G12A, G12B and SM1 SoCs have a more advanced RGMII RX delay register which allows picoseconds precision. Parse the new "rx-internal-delay-ps" property or fall back to the value from the old "amlogic,rx-delay-ns" property. No upstream DTB uses the old "amlogic,rx-delay-ns" property (y

Re: [PATCH v8 4/4] NOTFORMERGE: drm/logicvc: Add plane colorkey support

2020-12-23 Thread Ilia Mirkin
FWIW this is something I added, hoping it was going to get used at some point, but I never followed up with support in xf86-video-nouveau for Xv. At this point, I'm not sure I ever will. I encoded the "enabled" part into the value with a high bit (1<<24) -- not sure that was such a great idea. All

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 4 months ago config: i386-randconfig-

[PATCH v3 5/5] net: stmmac: dwmac-meson8b: add support for the RGMII RX delay on G12A

2020-12-23 Thread Martin Blumenstingl
Amlogic Meson G12A (and newer: G12B, SM1) SoCs have a more advanced RX delay logic. Instead of fine-tuning the delay in the nanoseconds range it now allows tuning in 200 picosecond steps. This support comes with new bits in the PRG_ETH1[19:16] register. Add support for validating the RGMII RX dela

[PATCH] x86/entry: use STB_GLOBAL for register restoring thunk

2020-12-23 Thread Nick Desaulniers
Arnd found a randconfig that produces the warning: arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e when building with LLVM_IAS=1 (use Clang's integrated assembler). Josh notes: With the LLVM assembler stripping the .text section symbol, objtool has no way

drivers/clocksource/timer-clint.c:72:24: sparse: sparse: cast removes address space '__iomem' of expression

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 2ac6795fcc085e8d03649f1bbd0d70aaff612cad clocksource/drivers: Add CLINT timer driver date: 4 months ago config: riscv-randconfig-s031-20201221 (attached as

Re: KASAN: use-after-free Read in io_ring_ctx_wait_and_kill

2020-12-23 Thread Pavel Begunkov
On 20/12/2020 01:24, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:a409ed15 Merge tag 'gpio-v5.11-1' of git://git.kernel.org/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1425527b50 > kernel config: https://syz

Re: WARNING in __percpu_ref_exit

2020-12-23 Thread Pavel Begunkov
On 02/12/2020 13:01, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:0eedceaf Add linux-next specific files for 20201201 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1649b75350 > kernel config: https://syzkaller.

Re: [PATCH v5 2/5] tracing: Rework synthetic event command parsing

2020-12-23 Thread Tom Zanussi
Hi Masami, On Tue, 2020-12-22 at 21:42 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Mon, 21 Dec 2020 15:44:28 -0600 > Tom Zanussi wrote: > > > > @@ -656,7 +651,6 @@ static struct synth_field > > *parse_synth_field(int argc, const char **argv, > > > > size = synth_field_size(field->typ

Greetings My Dear Friend,

2020-12-23 Thread ABDERAZACK ZEBDANI
Greetings My Dear Friend, Before I introduce myself, I wish to inform you that this letter is not a hoax mail and I urge you to treat it serious.This letter must come to you as a big surprise, but I believe it is only a day that people meet and become great friends and business partners. Please I

Re: [PATCH v2] ubifs: Fix read out-of-bounds in ubifs_jnl_write_inode()

2020-12-23 Thread Richard Weinberger
Chengsong Ke, - Ursprüngliche Mail - > The memory area allocated in ubifs_jnl_write_inode() is not aligned with 8 > bytes: > ino_start = ino = kmalloc(write_len, GFP_NOFS); > > When ino_start passed into write_head -> ubifs_wbuf_write_nolock: >n = aligned_len >> c->max_write_shift; >

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Andrea Arcangeli
On Wed, Dec 23, 2020 at 03:29:51PM -0700, Yu Zhao wrote: > I was hesitant to suggest the following because it isn't that straight > forward. But since you seem to be less concerned with the complexity, > I'll just bring it on the table -- it would take care of both ufd and > clear_refs_write, would

[ANNOUNCE] Git v2.30.0-rc2

2020-12-23 Thread Junio C Hamano
A release candidate Git v2.30.0-rc2 is now available for testing at the usual places. It is comprised of 19 non-merge commits since v2.30.0-rc1, contributed by 5 people, none of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The followin

Re: [PATCH v23 11/15] tools: Introduce a minimal user-space tool for DAMON

2020-12-23 Thread Shakeel Butt
On Wed, Dec 23, 2020 at 10:38 AM SeongJae Park wrote: > [snip] > > I will drop this patch from the next version of this patchset, because this is > not the essential part but could only make the code review time consuming. I > will post another DAMON RFC patchset for convenient user space usages

Re: [PATCH v23 05/15] mm/damon: Implement primitives for the virtual memory address spaces

2020-12-23 Thread Shakeel Butt
On Wed, Dec 23, 2020 at 8:47 AM SeongJae Park wrote: > [snip] > > [snip] > > > + > > > +static bool damon_va_young(struct mm_struct *mm, unsigned long addr, > > > + unsigned long *page_sz) > > > +{ > > > + pte_t *pte = NULL; > > > + pmd_t *pmd = NULL; > > > +

Re: [PATCH v23 01/15] mm: Introduce Data Access MONitor (DAMON)

2020-12-23 Thread Shakeel Butt
On Wed, Dec 23, 2020 at 8:34 AM SeongJae Park wrote: [snip] > > Overall the patch looks good to me. Two concerns I have are if we > > should damon_callback here or with the real user and the regions part > > of primitive abstraction. For the first one, I don't have any strong > > opinion but for t

Re: [PATCH v5 1/2] dt-bindings: hwlock: add sun6i_hwspinlock

2020-12-23 Thread Rob Herring
On Wed, Dec 23, 2020 at 4:34 AM Wilken Gottwalt wrote: > > Adds documentation on how to use the sun6i_hwspinlock driver for sun6i > compatible SoCs. Please resend to DT list so that automated checks run and it's in my queue (PW). You need to run 'make dt_binding_check' as there are several issues

Re: [PATCH v2 09/14] phy: cadence: sierra: Model reference receiver as clocks (gate clocks)

2020-12-23 Thread kernel test robot
Hi Kishon, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on next-20201223] [cannot apply to robh/for-next phy/next v5.10] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Nadav Amit
> On Dec 23, 2020, at 2:05 PM, Andrea Arcangeli wrote: > > On Tue, Dec 22, 2020 at 04:40:32AM -0800, Nadav Amit wrote: >>> On Dec 21, 2020, at 1:24 PM, Yu Zhao wrote: >>> >>> On Mon, Dec 21, 2020 at 12:26:22PM -0800, Linus Torvalds wrote: On Mon, Dec 21, 2020 at 12:23 PM Nadav Amit wrote:

Re: [tip:efi/core 3/7] /tmp/slab-258052.s:9870: Error: unrecognized opcode `zext.b a2,a2'

2020-12-23 Thread Ard Biesheuvel
Hello Boris, On Wed, 23 Dec 2020 at 22:04, Borislav Petkov wrote: > > On Wed, Dec 23, 2020 at 12:02:33PM -0800, Nick Desaulniers wrote: > > On Wed, Dec 23, 2020 at 10:36 AM Borislav Petkov wrote: > > > > > > On Fri, Dec 18, 2020 at 09:03:14AM +0800, kernel test robot wrote: > > > > tree: https

[PATCH 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-23 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetre

[PATCH 2/2] arm64: dts: imx8mm: Add Gateworks IMX8MM Development Kits

2020-12-23 Thread Tim Harvey
The Gateworks Venice GW71xx-0x/GW72xx-0x/GW73xx-0x are development kits comprised of a GW700x SoM and a Baseboard. The GW700x SoM contains: - IMX8MM SoC - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller (eeprom/pushbutton/reset/voltage-monitor) - GbE PHY connected to the IMX8MM FEC -

drivers/clocksource/timer-clint.c:72:24: sparse: sparse: cast removes address space '__iomem' of expression

2020-12-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 614cb5894306cfa2c7d9b6168182876ff5948735 commit: 2ac6795fcc085e8d03649f1bbd0d70aaff612cad clocksource/drivers: Add CLINT timer driver date: 4 months ago config: riscv-randconfig-s031-20201221 (attached as

[PATCH] ata: ahci_brcm: Add back regulators management

2020-12-23 Thread Florian Fainelli
While reworking the resources management and departing from using ahci_platform_enable_resources() which did not allow a proper step separation like we need, we unfortunately lost the ability to control AHCI regulators. This broke some Broadcom STB systems that do expect regulators to be turned on

Re: [PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-23 Thread Jiri Olsa
On Wed, Dec 16, 2020 at 03:01:46PM +0800, Jin Yao wrote: > Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported > --per-die aggregation yet. > > One issue is found in check_per_pkg() for uncore events running on > AP system. On cascade Lake-AP, we have: > > S0-D0 > S0-D1 > S1-D

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-23 Thread Yu Zhao
On Wed, Dec 23, 2020 at 04:39:00PM -0500, Andrea Arcangeli wrote: > On Tue, Dec 22, 2020 at 08:36:04PM -0700, Yu Zhao wrote: > > Thanks for the details. > > I hope we can find a way put the page_mapcount back where there's a > page_count right now. > > If you're so worried about having to maintai

Re: [PATCH v2 05/12] software_node: unregister software_nodes in reverse order

2020-12-23 Thread Daniel Scally
On 21/12/2020 11:26, Andy Shevchenko wrote: > On Mon, Dec 21, 2020 at 11:21:16AM +0200, Sakari Ailus wrote: >> On Thu, Dec 17, 2020 at 11:43:30PM +, Daniel Scally wrote: >>> To maintain consistency with software_node_unregister_nodes(), reverse >>> the order in which the software_node_unregiste

Re: [PATCH v8 4/4] NOTFORMERGE: drm/logicvc: Add plane colorkey support

2020-12-23 Thread Simon Ser
nouveau already has something for colorkey: https://drmdb.emersion.fr/properties/4008636142/colorkey I know this is marked "not for merge", but it would be nice to discuss with them and come up with a standardized property.

Re: [PATCH v6 00/12] perf tools: fix perf stat with large socket IDs

2020-12-23 Thread Jiri Olsa
On Fri, Dec 04, 2020 at 11:48:36AM +, John Garry wrote: > On 03/12/2020 15:39, Jiri Olsa wrote: > > + > > > On Thu, Nov 26, 2020 at 04:13:16PM +0200, James Clark wrote: > > > Changes since v5: > > >* Fix test for cpu_map__get_die() by shifting id before testing. > > >* Fix test for cp

<    1   2   3   4   5   6   7   8   >