Re: [PATCH 0/3] drm: commit_work scheduling

2020-09-21 Thread Daniel Vetter
On Mon, Sep 21, 2020 at 5:16 PM Rob Clark wrote: > > On Mon, Sep 21, 2020 at 2:21 AM Daniel Vetter wrote: > > > > On Sat, Sep 19, 2020 at 12:37:23PM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > The android userspace treats the display pipeline as a realtime problem. > > > And arguab

Re: [PATCH v7 05/10] arm64: dts: actions: limit address range for pinctrl node

2020-09-21 Thread Manivannan Sadhasivam
On Sun, Jul 19, 2020 at 11:12:02PM +0530, Amit Singh Tomar wrote: > After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for > Actions Semi S700") following error has been observed while booting > Linux on Cubieboard7-lite(based on S700 SoC). > > [0.257415] pinctrl-s700 e01b.p

[PATCH] MIPS: idle: Add prototype for function check_wait

2020-09-21 Thread Pujin Shi
This commit adds a prototype to fix warning at W=1: arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait' [-Werror=missing-prototypes] Signed-off-by: Pujin Shi --- arch/mips/include/asm/idle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/include/asm

[RFC -V2] autonuma: Migrate on fault among multiple bound nodes

2020-09-21 Thread Huang Ying
Now, AutoNUMA can only optimize the page placement among the NUMA nodes if the default memory policy is used. Because the memory policy specified explicitly should take precedence. But this seems too strict in some situations. For example, on a system with 4 NUMA nodes, if the memory of an appli

[PATCH V4] drm/dp_mst: Retrieve extended DPCD caps for topology manager

2020-09-21 Thread Koba Ko
As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1,read the DP_DP13_DPCD_REV to get the faster capability. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 0,read DP_DPCD_REV. Signed-off-by: Koba Ko Reviewed-by: Lyude Paul --- drivers/g

Re: [PATCH v3 2/3] arm64: dts: imx8mq-librem5: align GPIO hog names with dtschema

2020-09-21 Thread Shawn Guo
On Sun, Sep 20, 2020 at 09:57:48PM +0200, Krzysztof Kozlowski wrote: > dtschema expects GPIO hogs to end with 'hog' suffix. > > Signed-off-by: Krzysztof Kozlowski Ping me after dtschema gets accepted. Shawn > > --- > > Changes since v2: > 1. None, split from previous patchset using common GP

Re: [PATCH v3 1/3] arm64: dts: imx8mq-librem5: correct GPIO hog property

2020-09-21 Thread Shawn Guo
On Sun, Sep 20, 2020 at 09:57:47PM +0200, Krzysztof Kozlowski wrote: > Correct the name of property for GPIO specifier in GPIO hog. > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.

Re: [PATCH 04/42] mfd: atmel-hlcdc: use PLATFORM_DEVID_NONE

2020-09-21 Thread Alexandre Belloni
On 21/09/2020 22:49:38+0200, Krzysztof Kozlowski wrote: > Use PLATFORM_DEVID_NONE define instead of "-1" value because: > - it brings some meaning, > - it might point attention why auto device ID was not used. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni > --- > drivers

[PATCH v1 1/2] scsi: ufs: Serialize eh_work with system PM events and async scan

2020-09-21 Thread Can Guo
Serialize eh_work with system PM events and async scan to make sure eh_work does not run in parallel with them. Change-Id: I33012c68e2ea443950313c59a4a46ad88cf3c82d Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 64 +-- drivers/scsi/ufs/ufshcd.

[PATCH v1 2/2] scsi: ufs: Fix a racing problem between ufshcd_abort and eh_work

2020-09-21 Thread Can Guo
In current task abort routine, if task abort happens to the device W-LU, the code directly jumps to ufshcd_eh_host_reset_handler() to perform a full reset and restore then returns FAIL or SUCCESS. Commands sent to the device W-LU are most likely the SSU cmds sent during UFS PM operations. If such S

RE: [PATCH] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-21 Thread 劉偉權
Hi Andrew, I summary table 12,13 from RTL8211E-VB datasheet as below. [Table 12] RTL8211E-VB Pin Pin Name LED0 PHYAD[0] LED1 PHYAD[1] RXCTLPHYAD[2] RXD2 AN[0] RXD3 AN[1] -Mode LED2

Re: [PATCH] arm64: dts: imx8mm-var-som-symphony: Drop wake-up source from RTC

2020-09-21 Thread Shawn Guo
On Sat, Sep 19, 2020 at 04:06:47PM +0200, Krzysztof Kozlowski wrote: > The RTC on Symphony board does not have its interrupt pin connected to > the SoC, therefore it is not capable of waking up. > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.

Re: [PATCH v2 1/4] ARM: dts: imx6qdl-gw5xxx: correct interrupt flags

2020-09-21 Thread Shawn Guo
On Thu, Sep 17, 2020 at 08:54:46PM +0200, Krzysztof Kozlowski wrote: > GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. > These are simple defines so they could be used in DTS but they will not > have the same meaning: > 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE > 2. GPIO_ACTIVE

Re: [PATCH 5/5] mm/thp: Split huge pmds/puds if they're pinned when fork()

2020-09-21 Thread John Hubbard
On 9/21/20 2:20 PM, Peter Xu wrote: ... diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 7ff29cc3d55c..c40aac0ad87e 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -1074,6 +1074,23 @@ int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, src_page = pmd_page(pm

Re: [PATCH v3] drm/dp_mst: Retrieve extended DPCD caps for topology manager

2020-09-21 Thread Koba Ko
On Tue, Sep 22, 2020 at 2:11 AM Lyude Paul wrote: > > Hi, sorry I lost track of this until just now. Comments down below: Sorry, the wrong base. I will modify it based on v2 and will send v4. > > On Fri, 2020-09-11 at 11:44 +0800, Koba Ko wrote: > > As per DP-1.3, First check DP_EXTENDED_RECEIVER

[PATCH] media: vidtv: add error checks

2020-09-21 Thread Mauro Carvalho Chehab
Currently, there are not checks if something gets bad during memory allocation: it will simply use NULL pointers and crash. Add error path at the logic which allocates memory for the MPEG-TS generator code, propagating the errors up to the vidtv_bridge. Now, if something wents bad, start_streaming

[PATCH] [v2] nvme: replace meaningless judgement by checking whether req is null

2020-09-21 Thread Xianting Tian
Currently, we use nvmeq->q_depth as the upper limit for a valid tag in nvme_handle_cqe(), it is not correct. Because the available tag number is recorded in tagset, which is not equal to nvmeq->q_depth. The nvme driver registers interrupts for queues before initializing the tagset, because it uses

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
On 22/09/2020 03:58, Andy Lutomirski wrote: > On Mon, Sep 21, 2020 at 5:24 PM Pavel Begunkov wrote: >>> Ah, so reading /dev/input/event* would suffer from the same issue, >>> and that one would in fact be broken by your patch in the hypothetical >>> case that someone tried to use io_ur

Re: [PATCH] soc: actions: include header to fix missing prototype

2020-09-21 Thread Manivannan Sadhasivam
On Sun, Sep 20, 2020 at 10:26:52PM +0200, Krzysztof Kozlowski wrote: > Include the header with prototype of owl_sps_set_pg to fix: > > drivers/soc/actions/owl-sps-helper.c:16:5: warning: no previous prototype > for 'owl_sps_set_pg' [-Wmissing-prototypes] > > Signed-off-by: Krzysztof Kozlowski

Re: [PATCH] arm64: dts: imx8mm-var-som-symphony: fix ptn5150 interrupts

2020-09-21 Thread Shawn Guo
On Thu, Sep 17, 2020 at 08:41:31PM +0200, Krzysztof Kozlowski wrote: > Conversion of int-gpios into interrupts property requires also > interrupt-parent and uses different flags. > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.

Re: [PATCH v7 3/4] ARM: dts: Add Caninos Loucos Labrador v2

2020-09-21 Thread Manivannan Sadhasivam
On Mon, Sep 21, 2020 at 11:43:01PM -0300, Matheus Castello wrote: > Add Device Trees for Caninos Loucos Labrador CoM Core v2 and base board > M v1. Based on the work of Andreas Färber on Lemaker Guitar device tree. > > Signed-off-by: Matheus Castello > Reviewed-by: Manivannan Sadhasivam > Review

Re: [PATCH v5 05/38] drm: prime: use sgtable iterators in drm_prime_sg_to_page_addr_arrays()

2020-09-21 Thread Marek Szyprowski
Hi Alex, On 22.09.2020 01:15, Alex Goins wrote: > Tested-by: Alex Goins > > This change fixes a regression with drm_prime_sg_to_page_addr_arrays() and > AMDGPU in v5.9. Thanks for testing! > Commit 39913934 similarly revamped AMDGPU to use sgtable helper functions. > When > it changed from dma

Re: [PATCH v7 2/4] dt-bindings: arm: actions: Document Caninos Loucos Labrador

2020-09-21 Thread Manivannan Sadhasivam
On Mon, Sep 21, 2020 at 11:43:00PM -0300, Matheus Castello wrote: > Update the documentation to add the Caninos Loucos Labrador. Labrador > project consists of the computer on module Core v2 based on the Actions > Semi S500, computer on module Core v3 based on the Actions Semi S700 > and the Labrad

[PATCH v5 4/5] vfio/type1: Use iommu_aux_at(de)tach_group() APIs

2020-09-21 Thread Lu Baolu
Replace iommu_aux_at(de)tach_device() with iommu_at(de)tach_subdev_group(). Signed-off-by: Lu Baolu --- drivers/vfio/vfio_iommu_type1.c | 43 + 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu

[PATCH v5 5/5] iommu/vt-d: Add is_aux_domain support

2020-09-21 Thread Lu Baolu
With subdevice information opt-in through iommu_ops.aux_at(de)tach_dev() interfaces, the vendor iommu driver is able to learn the knowledge about the relationships between the subdevices and the aux-domains. Implement is_aux_domain() support based on the relationship knowledges. Signed-off-by: Lu

Re: [PATCH v7 1/4] dt-bindings: Add vendor prefix for Caninos Loucos

2020-09-21 Thread Manivannan Sadhasivam
On Mon, Sep 21, 2020 at 11:42:59PM -0300, Matheus Castello wrote: > The Caninos Loucos Program develops Single Board Computers with an open > structure. The Program wants to form a community of developers to use > IoT technologies and disseminate the learning of embedded systems in > Brazil. > > I

Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-21 Thread Ard Biesheuvel
On Tue, 22 Sep 2020 at 02:27, Douglas Anderson wrote: > > On every boot time we see messages like this: > > [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 > [0.025363] xor: measuring software checksum speed > [0.035351]8regs : 3952.000 MB/sec > [0.045384]32regs

Re: [PATCHv4 1/6] iommu/io-pgtable-arm: Add support to use system cache

2020-09-21 Thread Sai Prakash Ranjan
Hi Will, On 2020-09-21 23:33, Will Deacon wrote: On Fri, Sep 11, 2020 at 07:57:18PM +0530, Sai Prakash Ranjan wrote: Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the attributes set in TCR for the page table walker when using system cache. I wonder if the panfrost folks can reuse this fo

Re: [PATCH 3/6] drm/i915: use vmap in shmem_pin_map

2020-09-21 Thread Christoph Hellwig
On Mon, Sep 21, 2020 at 08:11:57PM +0100, Matthew Wilcox wrote: > This is awkward. I'd like it if we had a vfree() variant which called > put_page() instead of __free_pages(). I'd like it even more if we > used release_pages() instead of our own loop that called put_page(). Note that we don't ne

Re: [PATCH] kernel/resource: Fix use of ternary condition in release_mem_region_adjustable

2020-09-21 Thread David Hildenbrand
On 22.09.20 08:07, Nathan Chancellor wrote: > Clang warns: > > kernel/resource.c:1281:53: warning: operator '?:' has lower precedence > than '|'; '|' will be evaluated first > [-Wbitwise-conditional-parentheses] > new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : > 0); >

[PATCH] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-21 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- Separate this patch from the machine driver patch series at https://patchwork.kernel.org/cover/11773209/ in the hope that this can be merg

[PATCHv5 4/6] drm/msm/a6xx: Add support for using system cache(LLC)

2020-09-21 Thread Sai Prakash Ranjan
From: Sharat Masetty The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffers and the other slice is used for caching the GPU SMMU pagetables. This talks to the core system cache driver to acquire the

[PATCHv5 3/6] drm/msm: rearrange the gpu_rmw() function

2020-09-21 Thread Sai Prakash Ranjan
From: Sharat Masetty The register read-modify-write construct is generic enough that it can be used by other subsystems as needed, create a more generic rmw() function and have the gpu_rmw() use this new function. Signed-off-by: Sharat Masetty Reviewed-by: Jordan Crouse Signed-off-by: Sai Prak

[PATCHv5 6/6] iommu: arm-smmu-impl: Add a space before open parenthesis

2020-09-21 Thread Sai Prakash Ranjan
Fix the checkpatch warning for space required before the open parenthesis. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu

[PATCHv5 5/6] iommu: arm-smmu-impl: Use table to list QCOM implementations

2020-09-21 Thread Sai Prakash Ranjan
Use table and of_match_node() to match qcom implementation instead of multiple of_device_compatible() calls for each QCOM SMMU implementation. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[PATCHv5 2/6] iommu/arm-smmu: Add domain attribute for system cache

2020-09-21 Thread Sai Prakash Ranjan
Add iommu domain attribute for using system cache aka last level cache by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 + drivers/iommu/a

[PATCHv5 1/6] iommu/io-pgtable-arm: Add support to use system cache

2020-09-21 Thread Sai Prakash Ranjan
Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the attributes set in TCR for the page table walker when using system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/io-pgtable-arm.c | 7 ++- include/linux/io-pgtable.h | 4 2 files changed, 10 insertions(+), 1 deletion

[PATCHv5 0/6] System Cache support for GPU and required SMMU support

2020-09-21 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

Re: [PATCH v12 4/4] ext4: Use generic casefolding support

2020-09-21 Thread Daniel Rosenberg
On Mon, Sep 21, 2020 at 11:29 AM Eric Biggers wrote: > > On Sun, Sep 20, 2020 at 09:10:57PM -0400, Gabriel Krisman Bertazi wrote: > > Daniel Rosenberg writes: > > > > > This switches ext4 over to the generic support provided in > > > the previous patch. > > > > > > Since casefolded dentries behav

[PATCH v5 0/5] iommu aux-domain APIs extensions

2020-09-21 Thread Lu Baolu
Hi Jorge and Alex, A description of this patch series could be found here. https://lore.kernel.org/linux-iommu/20200901033422.22249-1-baolu...@linux.intel.com/ This version adds some changes according to Alex's review comments. - Add comments and naming rule for subdevices. https://lore.kernel.

Re: [PATCH v7 4/4] arm64: dts: Add Caninos Loucos Labrador v3

2020-09-21 Thread Manivannan Sadhasivam
Hi, On Mon, Sep 21, 2020 at 11:43:02PM -0300, Matheus Castello wrote: > Add Device Trees for Caninos Loucos Labrador CoM Core v3 and base board > M v2. Based on the work of Andreas Färber on Cubieboard 7 device tree. > > Signed-off-by: Matheus Castello > --- > arch/arm64/boot/dts/actions/Makefi

Re: [PATCH v18 25/32] mm/mlock: remove lru_lock on TestClearPageMlocked in munlock_vma_page

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > In the func munlock_vma_page, the page must be PageLocked as well as > pages in split_huge_page series funcs. Thus the PageLocked is enough > to serialize both funcs. > > So we could relief the TestClearPageMlocked/hpage_nr_pages which are not > necessary un

[PATCH] kernel/resource: Fix use of ternary condition in release_mem_region_adjustable

2020-09-21 Thread Nathan Chancellor
Clang warns: kernel/resource.c:1281:53: warning: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Wbitwise-conditional-parentheses] new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0); ~ ^

Re: [PATCH 5.4 00/72] 5.4.67-rc1 review

2020-09-21 Thread Naresh Kamboju
On Mon, 21 Sep 2020 at 22:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.67 release. > There are 72 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. > > Resp

Re: [External] Re: [PATCH v2] stackleak: Fix a race between stack erasing sysctl handlers

2020-09-21 Thread Muchun Song
On Mon, Sep 14, 2020 at 9:56 PM Alexander Popov wrote: > > On 07.09.2020 16:53, Muchun Song wrote: > > On Mon, Sep 7, 2020 at 7:24 PM Alexander Popov wrote: > >> > >> On 07.09.2020 05:54, Muchun Song wrote: > >>> Hi all, > >>> > >>> Any comments or suggestions? Thanks. > >>> > >>> On Fri, Aug 28,

[tip:objtool/core] BUILD SUCCESS 14db1f0a93331d0958e90da522c429ff0890d2d6

2020-09-21 Thread kernel test robot
randconfig-a004-20200920 i386 randconfig-a005-20200920 i386 randconfig-a001-20200920 i386 randconfig-a002-20200921 i386 randconfig-a006-20200921 i386 randconfig-a003-20200921 i386 randconfig-a004

Re: [Patch v2] arm64: dts: layerscape: correct watchdog clocks for LS1088A

2020-09-21 Thread Shawn Guo
On Tue, Sep 22, 2020 at 11:31:46AM +0800, Qiang Zhao wrote: > From: Zhao Qiang > > On LS1088A, watchdog clk are divided by 16, correct it in dts. > > Signed-off-by: Zhao Qiang Applied, thanks.

Re: [PATCH] net/mlx5: remove unreachable return

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 13:41 +0200, Pavel Machek wrote: > The last return statement is unreachable code. I'm not sure if it > will > provoke any warnings, but it looks ugly. > > Signed-off-by: Pavel Machek (CIP) > > Applied to net-next-mlx5. Thanks, Saeed.

Re: [PATCH v18 24/32] mm/pgdat: remove pgdat lru_lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. > > Signed-off-by: Alex Shi > Reviewed-by: Alexander Duyck I don't take pleasure in spoiling your celebrations and ceremonies, but I strongly agree with AlexD that this should simply b

Re: [PATCH -next] net/mlx5: simplify the return expression of mlx5_ec_init()

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 21:10 +0800, Qinglang Miao wrote: > Simplify the return expression. > > Signed-off-by: Qinglang Miao > --- > drivers/net/ethernet/mellanox/mlx5/core/ecpf.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > Applied to net-next-mlx5. Thanks.

[PATCH] drm/amd/display: Simplify condition in try_disable_dsc

2020-09-21 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:637:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] && !params[i].clock_force_enable == DSC_CLK_FORCE_DEFAULT) {

Re: [PATCH v18 23/32] mm/lru: revise the comments of lru_lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Hugh Dickins > > Since we changed the pgdat->lru_lock to lruvec->lru_lock, it's time to > fix the incorrect comments in code. Also fixed some zone->lru_lock comment > error from ancient time. etc. > > Signed-off-by: Hugh Dickins > Signed-off-by: Ale

Re: [PATCH v18 22/32] mm/vmscan: use relock for move_pages_to_lru

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Hugh Dickins > > Use the relock function to replace relocking action. And try to save few > lock times. > > Signed-off-by: Hugh Dickins > Signed-off-by: Alex Shi > Reviewed-by: Alexander Duyck NAK. Who wrote this rubbish? Oh, did I? Maybe somethi

Re: [PATCH v18 21/32] mm/lru: introduce the relock_page_lruvec function

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Alexander Duyck > > Use this new function to replace repeated same code, no func change. > > When testing for relock we can avoid the need for RCU locking if we simply > compare the page pgdat and memcg pointers versus those that the lruvec is > hold

[PATCH v1 2/2] scsi: ufs: Fix a racing problem between ufshcd_abort and eh_work

2020-09-21 Thread Can Guo
In current task abort routine, if task abort happens to the device W-LU, the code directly jumps to ufshcd_eh_host_reset_handler() to perform a full reset and restore then returns FAIL or SUCCESS. Commands sent to the device W-LU are most likely the SSU cmds sent during UFS PM operations. If such S

RE: [PATCH V2 0/2] add QoS support for cpuidle system

2020-09-21 Thread Joakim Zhang
Hi Sean, Any comments? Best Regards, Joakim Zhang > -Original Message- > From: Joakim Zhang > Sent: 2020年9月19日 2:17 > To: mche...@kernel.org; robh...@kernel.org; s...@mess.org > Cc: linux-me...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx >

[PATCH v1 1/2] scsi: ufs: Serialize eh_work with system PM events and async scan

2020-09-21 Thread Can Guo
Serialize eh_work with system PM events and async scan to make sure eh_work does not run in parallel with them. Change-Id: I33012c68e2ea443950313c59a4a46ad88cf3c82d Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 64 +-- drivers/scsi/ufs/ufshcd.

Re: [PATCH v2 31/32] auxdisplay: charlcd: Do not print chars at end of line

2020-09-21 Thread Willy Tarreau
On Mon, Sep 21, 2020 at 04:46:43PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > Skip printing characters at the end of a display line. This fits to the > behaviour we already had, that the cursor is nailed to last position of > a line. Just very old memories, but wasn't this used

Re: [PATCH v2 28/32] auxdisplay: hd44780: Remove clear_fast

2020-09-21 Thread Willy Tarreau
Hi Lars, On Mon, Sep 21, 2020 at 04:46:40PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > We remove the hd44780_clear_fast (display) clear implementation. charlcd > will fall back to use hd44780_common_clear_display then, which is much > much faster. I might have got confused, bu

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-21 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 08:30:06AM +0300, Jarkko Sakkinen wrote: > On Mon, Sep 21, 2020 at 02:18:49PM -0700, Sean Christopherson wrote: > > On Tue, Sep 22, 2020 at 12:07:36AM +0300, Jarkko Sakkinen wrote: > > > On Mon, Sep 21, 2020 at 09:57:58AM -0700, Sean Christopherson wrote: > > > > On Mon, Sep

Re: [PATCH v2 00/33] Make charlcd device independent

2020-09-21 Thread Willy Tarreau
Hi Lars, On Mon, Sep 21, 2020 at 04:46:12PM +0200, poesc...@lemonage.de wrote: > This tries to make charlcd device independent. At the moment hd44780 > device specific code is contained deep in charlcd. This moves this out > into a hd44780_common module, where the two hd44780 drivers we have at >

Re: [PATCH 5/6] scsi: ufs: show ufs part info in error case

2020-09-21 Thread Can Guo
On 2020-09-18 12:13, Jaegeuk Kim wrote: On 09/17, Can Guo wrote: On 2020-09-17 00:05, Jaegeuk Kim wrote: > On 09/16, Bean Huo wrote: > > On Tue, 2020-09-15 at 13:45 -0700, Jaegeuk Kim wrote: > > > Cc: Avri Altman > > > Signed-off-by: Jaegeuk Kim > > > --- > > > drivers/scsi/ufs/ufshcd.c | 8 +

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-21 Thread Jarkko Sakkinen
On Mon, Sep 21, 2020 at 02:18:49PM -0700, Sean Christopherson wrote: > On Tue, Sep 22, 2020 at 12:07:36AM +0300, Jarkko Sakkinen wrote: > > On Mon, Sep 21, 2020 at 09:57:58AM -0700, Sean Christopherson wrote: > > > On Mon, Sep 21, 2020 at 03:49:46PM +0300, Jarkko Sakkinen wrote: > > > > On Fri, Sep

[RFC PATCH v2] tools/x86: add kcpuid tool to show raw CPU features

2020-09-21 Thread Feng Tang
End users frequently want to know what features their processor supports, independent of what the kernel supports. /proc/cpuinfo is great. It is omnipresent and since it is provided by the kernel it is always as up to date as the kernel. But, it could be ambiguous about processor features which ca

Re: [PATCH v18 20/32] mm/lru: replace pgdat lru_lock with lruvec lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > This patch moves per node lru_lock into lruvec, thus bring a lru_lock for > each of memcg per node. So on a large machine, each of memcg don't > have to suffer from per node pgdat->lru_lock competition. They could go > fast with their self lru_lock. > > Afte

Re: [PATCH v2 13/13] x86/platform/uv: Update Copyrights to conform to HPE standards

2020-09-21 Thread Greg Kroah-Hartman
On Mon, Sep 21, 2020 at 09:25:04PM -0500, Russ Anderson wrote: > On Thu, Sep 17, 2020 at 09:54:29AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 16, 2020 at 02:20:39PM -0500, Mike Travis wrote: > > > Add Copyrights to those files that have been updated for UV5 changes. > > > > > > Signed-off-b

Re: [PATCH] mm/shmem.c: Fix the missing unaccount on the failed path

2020-09-21 Thread Tianjia Zhang
On 9/21/20 2:49 AM, Hugh Dickins wrote: On Mon, 21 Sep 2020, Tianjia Zhang wrote: In function __shmem_file_setup(), shmem_unacct_size() is forgotten on the failed path, so add it. Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to alloc_file_pseudo()") Cc: Al Viro Signed-off-by:

[PATCH] KVM: x86: emulate wait-for-SIPI and SIPI-VMExit

2020-09-21 Thread yadong . qi
From: Yadong Qi Background: We have a lightweight HV, it needs INIT-VMExit and SIPI-VMExit to wake-up APs for guests since it do not monitor the Local APIC. But currently virtual wait-for-SIPI(WFS) state is not supported in nVMX, so when running on top of KVM, the L1 HV cannot receive the INIT-VM

Re: [PATCH 2/2] net/mlx5e: Use kfree() to free fd->g in accel_fs_tcp_create_groups()

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 19:23 +0300, Denis Efremov wrote: > Memory ft->g in accel_fs_tcp_create_groups() is allocaed with > kcalloc(). > It's excessive to free ft->g with kvfree(). Use kfree() instead. > > Signed-off-by: Denis Efremov > --- > series applied to net-next-mlx5

Re: [PATCH RFT/RFC 01/49] staging: media: Revert "media: zoran: remove deprecated driver"

2020-09-21 Thread Christoph Hellwig
> + fh->buffers.buffer[i].v4l.fbuffer = mem; > + fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem); > + fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem); > + for (off = 0; off < fh->buffers.buffer_size; > + off += PAG

Re: general protection fault in perf_misc_flags

2020-09-21 Thread Dmitry Vyukov
On Mon, Sep 21, 2020 at 10:59 PM 'Nick Desaulniers' via syzkaller-bugs wrote: > > On Mon, Sep 21, 2020 at 1:09 AM 'Dmitry Vyukov' via Clang Built Linux > wrote: > > > > On Mon, Sep 21, 2020 at 7:54 AM Dmitry Vyukov wrote: > > > > > > On Sat, Sep 19, 2020 at 1:08 PM Borislav Petkov wrote: > > >

[PATCH v3 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-21 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bin

[PATCH v3 0/3] mainline Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
changes v3: - use old style copyright text changes v2: - fsl.yaml: reorder ply,plym2m - imx6dl-plym2m.dts: use hyphen instead of underscore in phy-clock Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add

[PATCH v3 3/3] ARM: dts: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 396 2 files changed, 397 insertions(+)

Re: general protection fault in perf_misc_flags

2020-09-21 Thread Dmitry Vyukov
On Mon, Sep 21, 2020 at 10:59 PM 'Nick Desaulniers' via syzkaller-bugs wrote: > > On Mon, Sep 21, 2020 at 1:09 AM 'Dmitry Vyukov' via Clang Built Linux > wrote: > > > > On Mon, Sep 21, 2020 at 7:54 AM Dmitry Vyukov wrote: > > > > > > On Sat, Sep 19, 2020 at 1:08 PM Borislav Petkov wrote: > > >

[PATCH v3 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 6da9d734cdb7..

Re: [PATCH RFT/RFC 06/49] staging: media: zoran: unsplit lines

2020-09-21 Thread Christoph Hellwig
On Mon, Sep 21, 2020 at 10:19:41AM +, Corentin Labbe wrote: > This patch un-split some lines. > Signed-off-by: Corentin Labbe Just don't do this. This is a purious change going over 80 chars for absolutely no reason, and you'd still need a very good reason for that.

Re: [PATCH RFT/RFC 24/49] staging: media: zoran: Use DMA coherent for stat_com

2020-09-21 Thread Christoph Hellwig
On Mon, Sep 21, 2020 at 10:19:59AM +, Corentin Labbe wrote: > Instead of using a fragile virt_to_bus, let's use proper DMA coherent > for the stat_com entry. > > Signed-off-by: Corentin Labbe > --- > drivers/staging/media/zoran/zoran.h| 2 ++ > drivers/staging/media/zoran/zoran_card

Re: NVFS XFS metadata (was: [PATCH] pmem: export the symbols __copy_user_flushcache and __copy_from_user_flushcache)

2020-09-21 Thread Dave Chinner
Hi Mikulas, I'll say up front that I think you're barking up the wrong tree trying to knock down XFS and ext4 to justify NVFS. NVFS will stand or fall on it's own merits, not on how you think it's better than other filesystems... I have some fundamental concerns about the NVFS integrity model, th

Re: [PATCH v18 19/32] mm/swap.c: serialize memcg changes in pagevec_lru_move_fn

2020-09-21 Thread Alex Shi
在 2020/9/22 上午8:42, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> Hugh Dickins' found a memcg change bug on original version: >> If we want to change the pgdat->lru_lock to memcg's lruvec lock, we have >> to serialize mem_cgroup_move_account during pagevec_lru_move_fn. The >> pos

Re: [PATCH 5.8 000/118] 5.8.11-rc1 review

2020-09-21 Thread Naresh Kamboju
On Mon, 21 Sep 2020 at 22:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.11 release. > There are 118 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. > > Res

Re: [PATCH v18 17/32] mm/compaction: do page isolation first in compaction

2020-09-21 Thread Alex Shi
在 2020/9/22 上午7:49, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> Currently, compaction would get the lru_lock and then do page isolation >> which works fine with pgdat->lru_lock, since any page isoltion would >> compete for the lru_lock. If we want to change to memcg lru_lock, w

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-09-21 Thread Sibi Sankar
On 2020-09-22 01:26, Stephen Boyd wrote: Quoting Rafael J. Wysocki (2020-09-21 09:18:17) On Fri, Aug 21, 2020 at 10:49 PM Sibi Sankar wrote: > > Add GENPD_FLAG_NO_SUSPEND/RESUME flags to instruct genpd to keep the > status of the PM domain unaltered during suspend/resume respectively. > The fl

Re: [PATCH v3 2/2] arm64: dts: qcom: Switch sc7180-trogdor to control SPI CS via GPIO

2020-09-21 Thread Akash Asthana
On 9/22/2020 2:57 AM, Douglas Anderson wrote: As talked about in the patch ("arm64: dts: qcom: sc7180: Provide pinconf for SPI to use GPIO for CS"), on some boards it makes much more sense (and is much more efficient) to think of the SPI Chip Select as a GPIO. Trogdor is one such board where t

[PATCH v4] powercap: include header to fix -Wmissing-prototypes

2020-09-21 Thread Pujin Shi
Include the linux/idle_inject.h header to fix W=1 build warning: drivers/powercap/idle_inject.c:152:6: warning: no previous prototype for ‘idle_inject_set_duration’ [-Wmissing-prototypes] drivers/powercap/idle_inject.c:167:6: warning: no previous prototype for ‘idle_inject_get_duration’

Re: [PATCH v3 1/2] arm64: dts: qcom: sc7180: Provide pinconf for SPI to use GPIO for CS

2020-09-21 Thread Akash Asthana
On 9/22/2020 2:57 AM, Douglas Anderson wrote: When the chip select line is controlled by the QUP, changing CS is a time consuming operation. We have to send a command over to the geni and wait for it to Ack us every time we want to change (both making it high and low). To send this command we

Re: remove set_fs for riscv v2

2020-09-21 Thread Christoph Hellwig
Given tht we've not made much progress with the common branch, are you fine just picking this up through the riscv tree for 5.10? I'll defer other architectures that depend on the common changes to 5.11 then. On Wed, Sep 09, 2020 at 08:55:15AM +0200, Christoph Hellwig wrote: > now that we've sort

[PATCH v3] arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases

2020-09-21 Thread Andre Heider
The included armada-37xx.dtsi already defines these two aliases. Signed-off-by: Andre Heider Reviewed-by: Pali Rohár --- v3: really fix filename, sorry for the spam... too early, not enough coffee v2: fix filename in commit message This goes on top of Pali's patch: "arm64: dts: marvell: espress

[PATCH v2] arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases

2020-09-21 Thread Andre Heider
The included armada-3xxx.dtsi already defines these two aliases. Signed-off-by: Andre Heider Reviewed-by: Pali Rohár --- v2: fix filename in commit message This goes on top of Pali's patch: "arm64: dts: marvell: espressobin: Add ethernet switch aliases" The resulting .dtb files are the same.

Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-21 Thread Yafang Shao
On Mon, Sep 21, 2020 at 7:36 PM Michal Hocko wrote: > > On Mon 21-09-20 19:23:01, Yafang Shao wrote: > > On Mon, Sep 21, 2020 at 7:05 PM Michal Hocko wrote: > > > > > > On Mon 21-09-20 18:55:40, Yafang Shao wrote: > > > > On Mon, Sep 21, 2020 at 4:12 PM Michal Hocko wrote: > > > > > > > > > > On

Re: [PATCH -next] phy: fix USB_LGM_PHY warning & build errors

2020-09-21 Thread Ramuthevar, Vadivel MuruganX
Hi Randy, Thank you for the report, surely will fix it. Regards Vadivel On 21/9/2020 11:45 pm, Randy Dunlap wrote: Ping. Still seeing this in linux-next. On 9/17/20 10:51 AM, Randy Dunlap wrote: From: Randy Dunlap Fix a Kconfig warning that is causing lots of build errors when USB_SUPPO

Re: UBSAN: array-index-out-of-bounds in arch_uprobe_analyze_insn

2020-09-21 Thread syzbot
syzbot has bisected this issue to: commit 4b2bd5fec007a4fd3fc82474b9199af25013de4c Author: John Stultz Date: Sat Oct 8 00:02:33 2016 + proc: fix timerslack_ns CAP_SYS_NICE check when adjusting self bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1697348d90 start commi

Re: [PATCH] mmap_lock: add tracepoints around lock acquisition

2020-09-21 Thread Yafang Shao
On Tue, Sep 22, 2020 at 12:53 AM Axel Rasmussen wrote: > > On Sun, Sep 20, 2020 at 9:58 PM Yafang Shao wrote: > > > > On Fri, Sep 18, 2020 at 2:13 AM Axel Rasmussen > > wrote: > > > > > > The goal of these tracepoints is to be able to debug lock contention > > > issues. This lock is acquired on

Re: [PATCH bpf-next v3 3/5] bpf: add 'bpf_mptcp_sock' structure and helper

2020-09-21 Thread Alexei Starovoitov
On Fri, Sep 18, 2020 at 02:10:42PM +0200, Nicolas Rybowski wrote: > + > +BPF_CALL_1(bpf_mptcp_sock, struct sock *, sk) > +{ > + if (sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP && > sk_is_mptcp(sk)) { > + struct mptcp_subflow_context *mptcp_sfc = mptcp_subflow_ctx(sk); Could

Re: [PATCH] scsi: target: remove redundant assignment to variable 'ret'

2020-09-21 Thread Martin K. Petersen
On Mon, 14 Sep 2020 10:32:07 +0800, Jing Xiangfeng wrote: > The variable ret has been initialized with a value '0'. The assignment > in switch-case is redundant. So remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: target: Remove redundant assignment to variable 'ret' https://git.

Re: [mm/debug_vm_pgtable/locks] e2aad6f1d2: BUG:unable_to_handle_page_fault_for_address

2020-09-21 Thread Aneesh Kumar K.V
On 9/21/20 2:51 PM, kernel test robot wrote: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: e2aad6f1d232b457ea6a3194992dd4c0a83534a5 ("mm/debug_vm_pgtable/locks: take correct page table lock") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

Re: [PATCH v4] scsi: libfc: Fix passing zero to 'PTR_ERR' warning

2020-09-21 Thread Martin K. Petersen
On Wed, 9 Sep 2020 21:54:32 +0800, YueHaibing wrote: > drivers/scsi/libfc/fc_disc.c:304 > fc_disc_error() warn: passing zero to 'PTR_ERR' > > fp maybe NULL in fc_disc_error(), use PTR_ERR_OR_ZERO to handle this. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: libfc: Fix passing zero to 'PTR_ER

Re: [PATCH 1/2] dyndbg: dont panic over bad input

2020-09-21 Thread jim . cromie
On Mon, Sep 21, 2020 at 1:29 PM Joe Perches wrote: > > On Mon, 2020-09-21 at 13:04 -0600, Jim Cromie wrote: > > This BUG_ON, from 2009, caught the impossible case of a word-char both > > starting and ending a string (loosely speaking). A bad (reverted) > > patch finally hit this case, but even "i

Re: [PATCH -next] scsi: aic94xx: Remove unused inline function

2020-09-21 Thread Martin K. Petersen
On Wed, 9 Sep 2020 21:57:11 +0800, YueHaibing wrote: > There is no caller in tree, so can remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: aic94xx: Remove unused inline function https://git.kernel.org/mkp/scsi/c/3f4fee002b00 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: target: tcmu: add a missing newline when printing parameters

2020-09-21 Thread Martin K. Petersen
On Thu, 3 Sep 2020 19:29:33 +0800, Xiongfeng Wang wrote: > When I cat module paramter 'global_max_data_area_mb' by sysfs, it > displays as follows. It's better to add a newline for easy reading. > > root@(none):/# cat > /sys/module/target_core_user/parameters/global_max_data_area_mb > 2048nonero

  1   2   3   4   5   6   7   8   9   10   >