[PATCH] arm64: tegra: Add power-domain for Tegra210 HDA

2021-01-06 Thread Sameer Pujar
HDA initialization is failing occasionally on Tegra210 and following print is observed in the boot log. Because of this probe() fails and no sound card is registered. [16.800802] tegra-hda 7003.hda: no codecs found! Codecs request a state change and enumeration by the controller. In

[PATCH] Hyper-V: pci: x64: Generalize irq/msi set-up and handling

2021-01-06 Thread Sunil Muthuswamy
Currently, operations related to irq/msi in Hyper-V vPCI are x86-specific code. In order to support virtual PCI on Hyper-V for other architectures, introduce generic interfaces to replace the x86-specific ones. There are no functional changes in this patch. Signed-off-by: Sunil Muthuswamy

RE: [EXT] Re: vfio-pci: protect remap_pfn_range() from simultaneous calls

2021-01-06 Thread Bharat Bhushan
> -Original Message- > From: Ankur Arora > Sent: Wednesday, January 6, 2021 11:44 PM > To: Bharat Bhushan ; alex.william...@redhat.com > Cc: linux-kernel@vger.kernel.org; Sunil Kovvuri Goutham > > Subject: [EXT] Re: vfio-pci: protect remap_pfn_range() from simultaneous calls > >

Re: [PATCH] drm/msm: Only enable A6xx LLCC code on A6xx

2021-01-06 Thread Sai Prakash Ranjan
On 2021-01-05 01:00, Konrad Dybcio wrote: Using this code on A5xx (and probably older too) causes a smmu bug. Fixes: 474dadb8b0d5 ("drm/msm/a6xx: Add support for using system cache(LLC)") Signed-off-by: Konrad Dybcio Tested-by: AngeloGioacchino Del Regno --- Reviewed-by: Sai Prakash

Re: [PATCH] drm/panel: feiyang-fy07024di26a30d: cleanup if panel attaching failed

2021-01-06 Thread Icenowy Zheng
于 2021年1月6日 GMT+08:00 下午5:47:20, Jagan Teki 写到: >On Sat, Nov 28, 2020 at 6:23 PM Icenowy Zheng wrote: >> >> Attaching the panel can fail, so cleanup work is necessary, otherwise >> a pointer to freed struct drm_panel* will remain in drm_panel code. >> >> Do the cleanup if panel attaching

Re: [BUG] from x86: Support kmap_local() forced debugging

2021-01-06 Thread Willem de Bruijn
On Wed, Jan 6, 2021 at 9:11 PM Willem de Bruijn wrote: > > On Wed, Jan 6, 2021 at 8:49 PM Jakub Kicinski wrote: > > > > On Wed, 6 Jan 2021 17:03:48 -0800 Linus Torvalds wrote: > > > I wonder whether there is other code that "knows" about kmap() only > > > affecting PageHighmem() pages thing that

[PATCH 4/6] vfio/iommu_type1: Drop parameter "pgsize" of vfio_dma_bitmap_alloc_all

2021-01-06 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Remove parameter "pgsize" of vfio_dma_bitmap_alloc_all. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 6/6] vfio/iommu_type1: Drop parameter "pgsize" of update_user_bitmap

2021-01-06 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Drop parameter "pgsize" of update_user_bitmap. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c

[PATCH 3/6] vfio/iommu_type1: Initially set the pinned_page_dirty_scope

2021-01-06 Thread Keqian Zhu
For now there are 3 ways to promote the pinned_page_dirty_scope status of vfio_iommu: 1. Through vfio pin interface. 2. Detach a group without pinned_dirty_scope. 3. Attach a group with pinned_dirty_scope. For point 3, the only chance to promote the pinned_page_dirty_scope status is when

[PATCH 5/6] vfio/iommu_type1: Drop parameter "pgsize" of vfio_iova_dirty_bitmap

2021-01-06 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Remove parameter "pgsize" of vfio_iova_dirty_bitmap. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c

[PATCH 1/6] vfio/iommu_type1: Make an explicit "promote" semantic

2021-01-06 Thread Keqian Zhu
When we want to promote the pinned_page_dirty_scope of vfio_iommu, we call the "update" function to visit all vfio_group, but when we want to downgrade this, we can set the flag as false directly. So we'd better make an explicit "promote" semantic to the "update" function. BTW, if vfio_iommu

[PATCH 2/6] vfio/iommu_type1: Ignore external domain when promote pinned_scope

2021-01-06 Thread Keqian Zhu
The pinned_scope of external domain's groups are always true, that's to say we can safely ignore external domain when promote pinned_scope status of vfio_iommu. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-)

[PATCH 0/6] vfio/iommu_type1: Some optimizations about dirty tracking

2021-01-06 Thread Keqian Zhu
Hi, In patch series[1], I put forward some fixes and optimizations for vfio_iommu_type1. This extracts and improves the optimization part of it. [1] https://lore.kernel.org/linux-iommu/20201210073425.25960-1-zhukeqi...@huawei.com/T/#t Thanks, Keqian Keqian Zhu (6): vfio/iommu_type1: Make

GREETINGS FROM TRACY WILLIAM

2021-01-06 Thread Miss Tracy William
-- Hello Dear, how are you today,I hope you are doing great. It is my great pleasure to contact you and i hope you don't mind,I was just surfing through the Internet search when i found your email address,I want to make a new and special friend,I hope you don't mind. My name is Tracy William,I

[PATCH 7/8] fpga: dfl: add support for N3000 Nios private feature

2021-01-06 Thread Moritz Fischer
From: Xu Yilun This patch adds support for the Nios handshake private feature on Intel PAC (Programmable Acceleration Card) N3000. The Nios is the embedded processor on the FPGA card. This private feature provides a handshake interface to FPGA Nios firmware, which receives retimer configuration

[PATCH 6/8] fpga: dfl: move dfl bus related APIs to include/linux/dfl.h

2021-01-06 Thread Moritz Fischer
From: Xu Yilun Now the dfl drivers could be made as independent modules and put in different folders according to their functionalities. In order for scattered dfl device drivers to include dfl bus APIs, move the dfl bus APIs to a new header file in the public folder. [m...@kernel.org: Fixed up

[PATCH 8/8] memory: dfl-emif: add the DFL EMIF private feature driver

2021-01-06 Thread Moritz Fischer
From: Xu Yilun This driver is for the EMIF private feature implemented under FPGA Device Feature List (DFL) framework. It is used to expose memory interface status information as well as memory clearing control. The purpose of memory clearing block is to zero out all private memory when FPGA is

[PATCH 5/8] fpga: dfl: add dfl bus support to MODULE_DEVICE_TABLE()

2021-01-06 Thread Moritz Fischer
From: Xu Yilun Device Feature List (DFL) is a linked list of feature headers within the device MMIO space. It is used by FPGA to enumerate multiple sub features within it. Each feature can be uniquely identified by DFL type and feature id, which can be read out from feature headers. A dfl bus

[PATCH 1/8] fpga: dfl: refactor cci_enumerate_feature_devs()

2021-01-06 Thread Moritz Fischer
From: Matthew Gerlach In preparation of looking for dfls based on a vendor specific pci capability, move the code for the default method of finding the first dfl at offset 0 of Bar 0 to its own function. Signed-off-by: Matthew Gerlach Acked-by: Wu Hao Signed-off-by: Moritz Fischer ---

[PATCH 4/8] fpga: dfl: move dfl_device_id to mod_devicetable.h

2021-01-06 Thread Moritz Fischer
From: Xu Yilun In order to support MODULE_DEVICE_TABLE() for dfl device driver, this patch moves struct dfl_device_id to mod_devicetable.h Some brief description for DFL (Device Feature List) is added to make the DFL known to the whole kernel. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao

[PATCH 2/8] fpga: dfl-pci: locate DFLs by PCIe vendor specific capability

2021-01-06 Thread Moritz Fischer
From: Matthew Gerlach A PCIe vendor specific extended capability is introduced by Intel to specify the start of a number of DFLs. Signed-off-by: Matthew Gerlach Signed-off-by: Moritz Fischer --- Documentation/fpga/dfl.rst | 27 drivers/fpga/dfl-pci.c | 87

[PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-06 Thread Moritz Fischer
This is a resend of the previous (unfortunately late) patchset of changes for FPGA DFL. This contains Matthew's changes to allow for more flexible discovery of DFLs. Xu's changeset adds support for DFL device drivers. Two of the first users are part of the patchset: dfl-emif a memory controller,

[PATCH 3/8] fpga: dfl: fix the definitions of type & feature_id for dfl devices

2021-01-06 Thread Moritz Fischer
From: Xu Yilun The value of the field dfl_device.type comes from the 12 bits register field DFH_ID according to DFL spec. So this patch changes the definition of the type field to u16. Also it is not necessary to illustrate the valid bits of the type field in comments. Instead we should

Re: [PATCH 1/2] mfd: intel-m10-bmc: specify the retimer sub devices

2021-01-06 Thread Xu Yilun
On Wed, Jan 06, 2021 at 08:23:30AM +, Lee Jones wrote: > On Wed, 06 Jan 2021, Xu Yilun wrote: > > > The patch specifies the 2 retimer sub devices and their resources in the > > parent driver's mfd_cell. It also adds the register definition of the > > retimer sub devices. > > > > There are 2

Re: [PATCH 2/2] misc: add support for retimers interfaces on Intel MAX 10 BMC

2021-01-06 Thread Xu Yilun
On Wed, Jan 06, 2021 at 10:06:14AM +0100, Greg KH wrote: > On Wed, Jan 06, 2021 at 04:53:29PM +0800, Xu Yilun wrote: > > On Wed, Jan 06, 2021 at 08:56:42AM +0100, Greg KH wrote: > > > On Wed, Jan 06, 2021 at 03:36:07PM +0800, Xu Yilun wrote: > > > > This driver supports the ethernet retimers

Re: [PATCH] vdpa/mlx5: Fix memory key MTT population

2021-01-06 Thread Jason Wang
On 2021/1/6 下午5:05, Eli Cohen wrote: map_direct_mr() assumed that the number of scatter/gather entries returned by dma_map_sg_attrs() was equal to the number of segments in the sgl list. This led to wrong population of the mkey object. Fix this by properly referring to the returned value. In

Re: [PATCH v7 1/4] dt-bindings: Document the hi3559a clock bindings

2021-01-06 Thread Dongjiu Geng
On 2020/12/22 2:54, Rob Herring wrote: > On Tue, 15 Dec 2020 11:09:44 +, Dongjiu Geng wrote: >> Add DT bindings documentation for hi3559a SoC clock. >> >> Signed-off-by: Dongjiu Geng >> --- >> .../clock/hisilicon,hi3559av100-clock.yaml| 59 +++ >>

[PATCH 2/2] tools: gpio: fix %llu warning in gpio-watch.c

2021-01-06 Thread Kent Gibson
Some platforms, such as mips64, don't map __u64 to long long unsigned int so using %llu produces a warning: gpio-watch.c: In function ‘main’: gpio-watch.c:89:30: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long unsigned int’}

[PATCH 1/2] tools: gpio: fix %llu warning in gpio-event-mon.c

2021-01-06 Thread Kent Gibson
Some platforms, such as mips64, don't map __u64 to long long unsigned int so using %llu produces a warning: gpio-event-mon.c:110:37: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘__u64’ {aka ‘long unsigned int’} [-Wformat=] 110 |

[PATCH 0/2] tools: gpio: fix %llu warnings

2021-01-06 Thread Kent Gibson
Fix a couple of warnings that I ran across while testing selftest changes. Sorry about the repetition in the checkin comments, but as the problem was introduced to the two files separately it seemed more appropriate than tying their history together. Cheers, Kent. Kent Gibson (2): tools:

Re: [PATCH v2 1/3] ASoC: SOF: Intel: hda: Resume codec to do jack detection

2021-01-06 Thread Kai-Heng Feng
On Tue, Jan 5, 2021 at 9:00 PM Kai Vehmanen wrote: > > Hi, > > On Mon, 4 Jan 2021, Kai-Heng Feng wrote: > > > Instead of queueing jackpoll_work, runtime resume the codec to let it > > use different jack detection methods based on jackpoll_interval. > > hmm, but jackpoll_work() does the same

Re: [PATCH v5 5/5] ARM: dts: add Kverneland TGO board

2021-01-06 Thread Shawn Guo
On Thu, Dec 10, 2020 at 10:13:41AM +0100, Oleksij Rempel wrote: > VICTGO is the Kverneland TGO IsoBus universal terminal for agricultural > applications on tractors > > Co-Developed-by: David Jander > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel > --- >

Re: [PATCH 4/6] hugetlb: avoid allocation failed when page reporting is on going

2021-01-06 Thread Liang Li
> > Page reporting isolates free pages temporarily when reporting > > free pages information. It will reduce the actual free pages > > and may cause application failed for no enough available memory. > > This patch try to solve this issue, when there is no free page > > and page repoting is on

Re: [PATCH v13 3/4] selinux: teach SELinux about anonymous inodes

2021-01-06 Thread Lokesh Gidra
On Wed, Jan 6, 2021 at 7:03 PM Paul Moore wrote: > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra wrote: > > From: Daniel Colascione > > > > This change uses the anon_inodes and LSM infrastructure introduced in > > the previous patches to give SELinux the ability to control > > anonymous-inode

Re: [PATCH v5 3/5] ARM: dts: add Kverneland UT1, UT1Q and UT1P

2021-01-06 Thread Shawn Guo
On Thu, Dec 10, 2020 at 10:13:39AM +0100, Oleksij Rempel wrote: > VICUT1(Q,P) is the Kverneland UT1(Q,P) IsoBus universal terminal for > agricultural > applications on tractors. > > Co-Developed-by: David Jander > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel > --- >

[PATCH] usb: typec: Send uevent for num_altmodes update

2021-01-06 Thread Prashant Malani
Generate a change uevent when the "number_of_alternate_modes" sysfs file for partners and plugs is updated by a port driver. Cc: Heikki Krogerus Cc: Benson Leung Signed-off-by: Prashant Malani --- drivers/usb/typec/class.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] cpuset: Modify the type of use_parent_ecpus from int to bool

2021-01-06 Thread lifeng68
Since the use_parent_ecpus in cpuset is only used as bool type, change the type from int to bool. Signed-off-by: lifeng68 --- kernel/cgroup/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index

Re: [PATCH 3/6] hugetlb: add free page reporting support

2021-01-06 Thread Liang Li
On Thu, Jan 7, 2021 at 12:08 AM Michal Hocko wrote: > > On Tue 05-01-21 22:49:21, Liang Li wrote: > > hugetlb manages its page in hstate's free page list, not in buddy > > system, this patch try to make it works for hugetlbfs. It canbe > > used for memory overcommit in virtualization and hugetlb

Re: [PATCH] ubsan: disable unsigned-integer-overflow sanitizer with clang

2021-01-06 Thread Nathan Chancellor
On Wed, Jan 06, 2021 at 11:06:39PM +0100, Arnd Bergmann wrote: > On Wed, Jan 6, 2021 at 10:38 PM Nathan Chancellor > wrote: > > On Wed, Jan 06, 2021 at 10:12:51AM +0100, Arnd Bergmann wrote: > > > On Tue, Jan 5, 2021 at 10:25 AM Arnd Bergmann wrote: > > > > > > > > On Mon, Jan 4, 2021 at 11:33

[PATCH] objtool: Don't add empty symbols to the rbtree

2021-01-06 Thread Josh Poimboeuf
Building with the Clang assembler shows the following warning: arch/x86/kernel/ftrace_64.o: warning: objtool: missing symbol for insn at offset 0x16 The Clang assembler strips section symbols. That ends up giving objtool's find_func_containing() much more test coverage than normal. Turns

Re: [PATCH 2/6] mm: let user decide page reporting option

2021-01-06 Thread Liang Li
> > enum { > > PAGE_REPORTING_IDLE = 0, > > @@ -44,7 +45,7 @@ __page_reporting_request(struct page_reporting_dev_info > > *prdev) > > * now we are limiting this to running no more than once every > > * couple of seconds. > > */ > > -

Re: [PATCH v2] ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2

2021-01-06 Thread Shawn Guo
On Wed, Dec 09, 2020 at 11:09:03PM +0100, Lukasz Majewski wrote: > From: Mans Rullgard > > Add pinmux setting for USB1 overcurrent on pwm2 pad. > > Signed-off-by: Mans Rullgard > Signed-off-by: Lukasz Majewski Applied, thanks.

Re: [PATCH v1 2/2] ARM: dts: add Protonic PRTI6G board

2021-01-06 Thread Shawn Guo
On Wed, Dec 09, 2020 at 02:00:16PM +0100, Oleksij Rempel wrote: > Protonic PRTI6G is a reference platform for industrial, safety critical > applications > > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6ul-prti6g.dts | 356

Re: [PATCH v2] docs: octeontx2: tune rst markup

2021-01-06 Thread George Cherian
--202. > > Tune markup and formatting for better presentation in the HTML view. > > Signed-off-by: Lukas Bulwahn > --- > v1 -> v2: minor stylistic tuning as suggested by Randy > > applies cleanly on current master (v5.11-rc2) and next-20210106 > > George, please ack.

Re: [PATCH v1] ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup

2021-01-06 Thread Shawn Guo
On Wed, Dec 09, 2020 at 01:20:51PM +0100, Oleksij Rempel wrote: > Remove board specific PHY fixup introduced by commit: > > | 709bc0657fe6f9f5 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup > init") > > This fixup addresses boards with a specific configuration: a KSZ8081RNA > PHY with

Re: [PATCH v13 2/4] fs: add LSM-supporting anon-inode interface

2021-01-06 Thread dancol
On 2021-01-06 21:09, Paul Moore wrote: Is it necessary to pass both the context_inode pointer and the secure boolean? It seems like if context_inode is non-NULL then one could assume that a secure anonymous inode was requested; is there ever going to be a case where this is not true? The

Re: [External] Re: [PATCH v2 4/6] mm: hugetlb: add return -EAGAIN for dissolve_free_huge_page

2021-01-06 Thread Muchun Song
On Thu, Jan 7, 2021 at 1:07 AM Michal Hocko wrote: > > On Wed 06-01-21 16:47:37, Muchun Song wrote: > > When dissolve_free_huge_page() races with __free_huge_page(), we can > > do a retry. Because the race window is small. > > Is this a bug fix or mere optimization. I have hard time to tell from

[PATCH v9, 10/11] drm/mediatek: add DDP support for MT8183

2021-01-06 Thread Yongqiang Niu
Add DDP support for MT8167 SoC. Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 48 ++ 1 file changed, 48 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 1f99db6..1308046

[PATCH v9, 11/11] This patch add support for mediatek SOC MT8183

2021-01-06 Thread Yongqiang Niu
1. add ovl private data 2. add rdma private data 3. add gamma privte data 4. add main and external path module for crtc create Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 1 + drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 18 +

[PATCH v9, 09/11] drm/mediatek: enable dither function

2021-01-06 Thread Yongqiang Niu
for 5 or 6 bpc panel, we need enable dither function to improve the display quality Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 38 - 1 file changed, 37 insertions(+), 1 deletion(-) diff --git

[PATCH v9, 07/11] drm/mediatek: separate gamma module

2021-01-06 Thread Yongqiang Niu
mt8183 gamma module will different with mt8173 separate gamma for add private data Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/Makefile | 1 + drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 185 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |

linux-next: build warning after merge of the f2fs tree

2021-01-06 Thread Stephen Rothwell
Hi all, After merging the f2fs tree, today's linux-next build (htmldocs) produced this warning: Documentation/ABI/testing/sysfs-fs-f2fs:382: WARNING: Inline emphasis start-string without end-string. Introduced by commit f23307575903 ("f2fs: introduce sb_status sysfs node") -- Cheers,

[PATCH v9, 05/11] drm/mediatek: add fifo_size into rdma private data

2021-01-06 Thread Yongqiang Niu
Get the fifo size from device tree because each rdma in the same SoC may have different fifo size Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

[PATCH v9, 08/11] drm/mediatek: add has_dither private data for gamma

2021-01-06 Thread Yongqiang Niu
not all SoC has dither function in gamma module dd private data to control this function setting Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c

[PATCH v9, 06/11] drm/mediatek: add RDMA fifo size error handle

2021-01-06 Thread Yongqiang Niu
This patch add RDMA fifo size error handle rdma fifo size will not always bigger than the calculated threshold if that case happened, we need set fifo size as the threshold Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 4 1 file changed, 4 insertions(+) diff

[PATCH v9, 02/11] dt-bindings: mediatek: add description for mt8183 display

2021-01-06 Thread Yongqiang Niu
add description for mt8183 display Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v9, 04/11] arm64: dts: mt8183: refine gamma compatible name

2021-01-06 Thread Yongqiang Niu
mt8183 gamma is different with mt8173 remove mt8173 compatible name for mt8183 gamma Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi

[PATCH v9, 03/11] arm64: dts: mt8183: rename rdma fifo size

2021-01-06 Thread Yongqiang Niu
property name must include only lowercase and '-' Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index

[PATCH v9, 01/11] dt-bindings: mediatek: add rdma-fifo-size description for mt8183 display

2021-01-06 Thread Yongqiang Niu
rdma fifo size may be different even in same SOC, add this property to the corresponding rdma Signed-off-by: Yongqiang Niu --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v9, 00/11] drm/mediatek: add support for mediatek SOC MT8183

2021-01-06 Thread Yongqiang Niu
This series are based on 5.11-rc1 and provide 11 patch to support mediatek SOC MT8183 Change since v8 - fix some review comment in v8 - separate gamma module for mt8183 has no dither function in gamma - enable dither function for 5 or 6 bpc panel display - separate ddp mutex patch from the whole

Re: [PATCH v7 0/8] mainline Plymovent M2M and BAS board

2021-01-06 Thread Shawn Guo
On Mon, Dec 07, 2020 at 03:09:31PM +0100, Oleksij Rempel wrote: > changes v7: > - panel-simple.yaml: fix comments and part order > - panel-simple.yaml: invent a product description for the Kyocera tcg070wvlq > panel > > changes v6: > - do more panel-simple.yaml related cleanups > > changes v5:

Re: [External] Re: [PATCH v2 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-06 Thread Muchun Song
On Thu, Jan 7, 2021 at 5:00 AM Mike Kravetz wrote: > > On 1/6/21 8:56 AM, Michal Hocko wrote: > > On Wed 06-01-21 16:47:36, Muchun Song wrote: > >> There is a race condition between __free_huge_page() > >> and dissolve_free_huge_page(). > >> > >> CPU0: CPU1: > >> > >> //

Re: [PATCH v13 2/4] fs: add LSM-supporting anon-inode interface

2021-01-06 Thread Paul Moore
On Wed, Jan 6, 2021 at 9:44 PM Lokesh Gidra wrote: > On Wed, Jan 6, 2021 at 6:10 PM Paul Moore wrote: > > > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra wrote: > > > From: Daniel Colascione > > > > > > This change adds a new function, anon_inode_getfd_secure, that creates > > >

Re: [PATCH v13 2/4] fs: add LSM-supporting anon-inode interface

2021-01-06 Thread Paul Moore
On Wed, Jan 6, 2021 at 9:42 PM dancol wrote: > > On 2021-01-06 21:09, Paul Moore wrote: > > Is it necessary to pass both the context_inode pointer and the secure > > boolean? It seems like if context_inode is non-NULL then one could > > assume that a secure anonymous inode was requested; is

Re: [PATCH v13 3/4] selinux: teach SELinux about anonymous inodes

2021-01-06 Thread Paul Moore
On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra wrote: > From: Daniel Colascione > > This change uses the anon_inodes and LSM infrastructure introduced in > the previous patches to give SELinux the ability to control > anonymous-inode files that are created using the new > anon_inode_getfd_secure()

Re: [PATCH 0/3] Add sound card support for imx8mn-evk board

2021-01-06 Thread Shawn Guo
On Mon, Dec 07, 2020 at 05:12:33PM +0800, Shengjiu Wang wrote: > Support wm8524 and spdif sound card. > > Shengjiu Wang (3): > arm64: dts: imx8mn: Configure clock rate for audio plls > arm64: dts: imx8mn-evk: Add sound-wm8524 card nodes > arm64: dts: imx8mn-evk: Add sound-spdif card nodes

linux-next: Tree for Jan 7

2021-01-06 Thread Stephen Rothwell
Hi all, Changes since 20210106: Non-merge commits (relative to Linus' tree): 1554 1545 files changed, 58978 insertions(+), 25936 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm

Re: [PATCH v6 10/22] clk: mediatek: Add MT8192 basic clocks support

2021-01-06 Thread Ikjoon Jang
On Wed, Jan 6, 2021 at 7:06 PM Weiyi Lu wrote: > > On Wed, 2021-01-06 at 18:52 +0800, Ikjoon Jang wrote: > > On Wed, Jan 6, 2021 at 6:42 PM Weiyi Lu wrote: > > > > > > On Wed, 2021-01-06 at 18:25 +0800, Ikjoon Jang wrote: > > > > On Tue, Dec 22, 2020 at 9:14 PM Weiyi Lu wrote: > > > > > > > > >

RE: [PATCH 4/6] irqchip/aspeed: Add Aspeed eSPI interrupt controller

2021-01-06 Thread ChiaWei Wang
Hi Marc, > -Original Message- > From: Marc Zyngier > Sent: Wednesday, January 6, 2021 6:59 PM > To: ChiaWei Wang > Subject: Re: [PATCH 4/6] irqchip/aspeed: Add Aspeed eSPI interrupt controller > > On 2021-01-06 05:59, Chia-Wei, Wang wrote: > > The eSPI interrupt controller acts as a SW

Re: [PATCH] arm64: dts: imx8mn: Fix duplicate node name

2021-01-06 Thread Shawn Guo
On Mon, Dec 07, 2020 at 02:53:24PM +0800, Shengjiu Wang wrote: > Error log: > sysfs: cannot create duplicate filename '/bus/platform/devices/3000.bus' > > The spba bus name is duplicate with aips bus name. > Refine spba bus name to fix this issue. > > Fixes: 970406eaef3a ("arm64: dts:

Re: [PATCH 1/6] mm: Add batch size for free page reporting

2021-01-06 Thread Liang Li
> So you are going to need a lot more explanation for this. Page > reporting already had the concept of batching as you could only scan > once every 2 seconds as I recall. Thus the "PAGE_REPORTING_DELAY". The > change you are making doesn't make any sense without additional > context. The reason

Re: [External] Re: [PATCH v2 2/6] mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page

2021-01-06 Thread Muchun Song
On Thu, Jan 7, 2021 at 12:35 AM Michal Hocko wrote: > > On Wed 06-01-21 16:47:35, Muchun Song wrote: > > Because we only can isolate a active page via isolate_huge_page() > > and hugetlbfs_fallocate() forget to mark it as active, we cannot > > isolate and migrate those pages. > > I've little bit

[PATCH v2 4/7] selftests: remove obsolete gpio references from kselftest_deps.sh

2021-01-06 Thread Kent Gibson
GPIO Makefile has been greatly simplified so remove references to lines which no longer exist. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- tools/testing/selftests/kselftest_deps.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v2 6/7] selftests: gpio: port to GPIO uAPI v2

2021-01-06 Thread Kent Gibson
Add a port to the GPIO uAPI v2 interface and make it the default. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- .../testing/selftests/gpio/gpio-mockup-cdev.c | 75 +-- tools/testing/selftests/gpio/gpio-mockup.sh | 11 ++- 2 files changed, 76 insertions(+), 10

[PATCH v2 3/7] selftests: remove obsolete build restriction for gpio

2021-01-06 Thread Kent Gibson
Build restrictions related to the gpio-mockup-chardev helper are no longer relevant so remove them. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- tools/testing/selftests/Makefile | 9 - 1 file changed, 9 deletions(-) diff --git a/tools/testing/selftests/Makefile

[PATCH v2 1/7] selftests: gpio: rework and simplify test implementation

2021-01-06 Thread Kent Gibson
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount. Rework the test implementation to provide a common test suite with a simplified pluggable uAPI

[PATCH v2 2/7] selftests: gpio: remove obsolete gpio-mockup-chardev.c

2021-01-06 Thread Kent Gibson
GPIO selftests have changed to new gpio-mockup-cdev helper, so remove old gpio-mockup-chardev helper. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- .../selftests/gpio/gpio-mockup-chardev.c | 323 -- 1 file changed, 323 deletions(-) delete mode 100644

[PATCH v2 5/7] tools: gpio: remove uAPI v1 code no longer used by selftests

2021-01-06 Thread Kent Gibson
gpio-mockup-chardev helper has been obsoleted and removed, so also remove the tools/gpio code that it, and nothing else, was using. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- tools/gpio/gpio-utils.c | 89 - tools/gpio/gpio-utils.h | 6 --- 2

[PATCH v2 7/7] selftests: gpio: add CONFIG_GPIO_CDEV to config

2021-01-06 Thread Kent Gibson
GPIO CDEV is now optional and required for the selftests so add it to the config. Signed-off-by: Kent Gibson Acked-by: Linus Walleij --- tools/testing/selftests/gpio/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/gpio/config

[PATCH v2 0/7] selftests: gpio: rework and port to GPIO uAPI v2

2021-01-06 Thread Kent Gibson
Initially I just wanted to port the selftests to the latest GPIO uAPI, but on finding that, due to dependency issues, the selftests are not built for the buildroot environments that I do most of my GPIO testing in, I decided to take a closer look. The first patch is essentially a rewrite of the

Re: [PATCH] mm/memcontrol: fix warning in mem_cgroup_page_lruvec()

2021-01-06 Thread Baoquan He
On 01/06/21 at 11:35am, Andrew Morton wrote: > On Wed, 6 Jan 2021 14:49:35 +0800 Baoquan He wrote: > > > > Fixes: 9a1ac2288cf1 ("mm/memcontrol:rewrite mem_cgroup_page_lruvec()") > > > > ... > > > > Thanks for fixing this. We also encountered this issue in kdump kernel > > with the mainline 5.10

Re: [External] Re: [PATCH v2 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

2021-01-06 Thread Muchun Song
On Thu, Jan 7, 2021 at 12:13 AM Michal Hocko wrote: > > On Wed 06-01-21 16:47:34, Muchun Song wrote: > > If the refcount is one when it is migrated, it means that the page > > was freed from under us. So we are done and do not need to migrate. > > Is this common enough that it would warrant the

Re: [PATCH] x86/iommu: Fix two minimal issues in check_iommu_entries()

2021-01-06 Thread Zhenzhong Duan
On Tue, Jan 5, 2021 at 3:04 AM Konrad Rzeszutek Wilk wrote: > > On Wed, Dec 23, 2020 at 02:24:12PM +0800, Zhenzhong Duan wrote: > > check_iommu_entries() checks for cyclic dependency in iommu entries > > and fixes the cyclic dependency by setting x->depend to NULL. But > > this repairing isn't

[PATCH] net/ipv6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'.

2021-01-06 Thread Jiapeng Zhong
The print format of this parameter does not match, because it is defined as int type, so modify the matching format of this parameter to %d format. Signed-off-by: Jiapeng Zhong Reported-by: Abaci --- net/ipv6/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v11 7/7] soc: mediatek: SVS: add mt8192 SVS GPU driver

2021-01-06 Thread Roger Lu
Signed-off-by: Roger Lu --- drivers/soc/mediatek/mtk-svs.c | 477 - 1 file changed, 471 insertions(+), 6 deletions(-) diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c index 5c315467747d..17e61acce868 100644 ---

[PATCH v11 4/7] soc: mediatek: SVS: add debug commands

2021-01-06 Thread Roger Lu
The purpose of SVS is to help find the suitable voltages for DVFS. Therefore, if SVS bank voltages are concerned to be wrong, we can adjust SVS bank voltages by this patch. Signed-off-by: Roger Lu --- drivers/soc/mediatek/mtk-svs.c | 325 + 1 file changed, 325

[PATCH v11 3/7] soc: mediatek: SVS: introduce MTK SVS engine

2021-01-06 Thread Roger Lu
The Smart Voltage Scaling(SVS) engine is a piece of hardware which calculates suitable SVS bank voltages to OPP voltage table. Then, DVFS driver could apply those SVS bank voltages to PMIC/Buck when receiving OPP_EVENT_ADJUST_VOLTAGE. Signed-off-by: Roger Lu --- drivers/soc/mediatek/Kconfig |

[PATCH v11 1/7] dt-bindings: soc: mediatek: add mtk svs dt-bindings

2021-01-06 Thread Roger Lu
Document the binding for enabling mtk svs on MediaTek SoC. Signed-off-by: Roger Lu --- .../bindings/soc/mediatek/mtk-svs.yaml| 80 +++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mtk-svs.yaml diff --git

[PATCH v11 2/7] arm64: dts: mt8183: add svs device information

2021-01-06 Thread Roger Lu
add compitable/reg/irq/clock/efuse setting in svs node Signed-off-by: Roger Lu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index

[PATCH v11 6/7] arm64: dts: mt8192: add svs device information

2021-01-06 Thread Roger Lu
add compitable/reg/irq/clock/efuse/reset setting in svs node Signed-off-by: Roger Lu --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi

[PATCH v11 5/7] dt-bindings: soc: mediatek: add mt8192 svs dt-bindings

2021-01-06 Thread Roger Lu
Signed-off-by: Roger Lu --- .../devicetree/bindings/soc/mediatek/mtk-svs.yaml| 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/mtk-svs.yaml b/Documentation/devicetree/bindings/soc/mediatek/mtk-svs.yaml index

Re: [PATCH v13 2/4] fs: add LSM-supporting anon-inode interface

2021-01-06 Thread Lokesh Gidra
On Wed, Jan 6, 2021 at 6:10 PM Paul Moore wrote: > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra wrote: > > From: Daniel Colascione > > > > This change adds a new function, anon_inode_getfd_secure, that creates > > anonymous-node file with individual non-S_PRIVATE inode to which security > >

[PATCH v11 0/7] soc: mediatek: SVS: introduce MTK SVS

2021-01-06 Thread Roger Lu
1. SVS driver uses OPP adjust event in [1] to update OPP table voltage part. 2. SVS driver gets thermal/GPU device by node [2][3] and CPU device by get_cpu_device(). After retrieving subsys device, SVS driver does device_link_add() to make sure probe/suspend callback priority. 3. SVS dts refers to

[PATCH v2 2/2] drm/sun4i: tcon: improve DCLK polarity handling

2021-01-06 Thread Giulio Benetti
From: Giulio Benetti It turned out(Maxime suggestion) that bit 26 of SUN4I_TCON0_IO_POL_REG is dedicated to invert DCLK polarity and this makes thing really easier than before. So let's handle DCLK polarity by adding SUN4I_TCON0_IO_POL_DCLK_POSITIVE as bit 26 and activating according to

[PATCH v2 1/2] drm/sun4i: tcon: fix inverted DCLK polarity

2021-01-06 Thread Giulio Benetti
From: Giulio Benetti During commit 88bc4178568b ("drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags") DRM_BUS_FLAG_* macros have been changed to avoid ambiguity but just because of this ambiguity previous DRM_BUS_FLAG_PIXDATA_(POS/NEG)EDGE were used meaning _SAMPLE_ not _DRIVE_.

[PATCH v2 0/2] drm/sun4i: fix DCLK and improve its handling

2021-01-06 Thread Giulio Benetti
From: Giulio Benetti First patch is a tested by me fix, while the second need testing to understand if it works correctly with any sunxi SoC with DE peripheral. Already tested SoCs are: - A20 - A33 Need testing: - A10 - A10s - A13 Giulio Benetti (2): drm/sun4i: tcon: fix inverted DCLK

Re: [PATCH 2/2] KVM: nVMX: fix for disappearing L1->L2 event injection on L1 migration

2021-01-06 Thread Maxim Levitsky
On Wed, 2021-01-06 at 10:17 -0800, Sean Christopherson wrote: > On Wed, Jan 06, 2021, Maxim Levitsky wrote: > > If migration happens while L2 entry with an injected event to L2 is pending, > > we weren't including the event in the migration state and it would be > > lost leading to L2 hang. > >

RE: [PATCH 5/6] soc: aspeed: Add eSPI driver

2021-01-06 Thread ChiaWei Wang
Hi Rob, > -Original Message- > From: Rob Herring > Sent: Wednesday, January 6, 2021 11:32 PM > To: ChiaWei Wang > Subject: Re: [PATCH 5/6] soc: aspeed: Add eSPI driver > > On Wed, Jan 06, 2021 at 01:59:38PM +0800, Chia-Wei, Wang wrote: > > The Aspeed eSPI controller is slave device to

RE: [PATCH 1/6] dt-bindings: aspeed: Add eSPI controller

2021-01-06 Thread ChiaWei Wang
Hi Rob, > -Original Message- > From: Rob Herring > Sent: Wednesday, January 6, 2021 11:08 PM > To: ChiaWei Wang > Subject: Re: [PATCH 1/6] dt-bindings: aspeed: Add eSPI controller > > On Wed, 06 Jan 2021 13:59:34 +0800, Chia-Wei, Wang wrote: > > Add dt-bindings and the inclusion header

[PATCH] linux/clk.h: use correct kernel-doc notation for 2 functions

2021-01-06 Thread Randy Dunlap
Fix kernel-doc notation for 2 functions so that the generated html is correct. Currently it skips all text between the ':' and the '-', so "[un]register a clock rate" is missing. Fixes: 86bcfa2e87c4 ("clk: add pr_debug & kerneldoc around clk notifiers") Signed-off-by: Randy Dunlap Cc: Mike

<    1   2   3   4   5   6   7   8   9   10   >