Re: [PATCH 2/2] Input: add MStar msg26xx touchscreen driver

2021-01-20 Thread Dmitry Torokhov
Hi Vincent, On Wed, Jan 20, 2021 at 07:01:08PM +0100, Vincent Knecht wrote: > +struct packet { > + u8 y_high : 4; > + u8 x_high : 4; This will not work on big endian devices as order of bitfields changes. I'd recommended treating contact packet as sequence of bytes and parse, i.

Re: usb: dwc3: gadget: skip pullup and set_speed after suspend

2021-01-20 Thread Jung Daehwan
Hi, On Thu, Jan 21, 2021 at 01:00:32AM +, Thinh Nguyen wrote: > Hi, > > Daehwan Jung wrote: > > Sometimes dwc3_gadget_pullup and dwc3_gadget_set_speed are called after > > entering suspend. That's why it needs to check whether suspend > > > > 1. dwc3 sends disconnect uevent and turn off. (sus

[PATCH 28/29] csky: Using set_max_mapnr api

2021-01-20 Thread guoren
From: Guo Ren Using set_max_mapnr API instead of setting the value directly. Signed-off-by: Guo Ren --- arch/csky/mm/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/csky/mm/init.c b/arch/csky/mm/init.c index bc05a3be9d57..03970f4408f5 100644 --- a/arch/csky/

[PATCH 18/29] csky: Sync riscv mm/fault.c for easy maintenance

2021-01-20 Thread guoren
From: Guo Ren Sync arch/riscv/mm/fault.c into arch/csky for easy maintenance. Here are the patches related to the modification: cac4d1d "riscv/mm/fault: Move no context handling to no_context()" ac416a7 "riscv/mm/fault: Move vmalloc fault handling to vmalloc_fault()" 6c11ffb "riscv/mm/fault: Mov

[PATCH 24/29] csky: Coding convention del unnecessary definition

2021-01-20 Thread guoren
From: Guo Ren Remove _PAGE_IOREMAP, __READABLE, __WRITEABLE, abi/pgtable-bits.h definition, they are no use at all. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/abiv1/inc/abi/pgtable-bits.h | 17 ++-- arch/csky/abiv2/inc/abi/pgtable-bits.h | 14 +- arch/csky/include/asm/pgta

[PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-20 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 41 + arch/arm/configs/imx_v6_v7_defconfig| 1 + 2 files changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dt

[PATCH 23/29] csky: Fixup _PAGE_ACCESSED for default pgprot

2021-01-20 Thread guoren
From: Guo Ren When the system memory is exhausted, linux will trigger kswapd to shrink memory page cache. We found the csky's .text file mapping pages would be reclaimed earlier than arm's elf. Because csky doesn't give _PAGE_ACCESSED for default pgprot and in zap_pte_range if (pte_young(ptent)

[PATCH 22/29] csky: remove unused including

2021-01-20 Thread guoren
From: Tian Tao Remove including that don't need it. Signed-off-by: Tian Tao Signed-off-by: Guo Ren --- arch/csky/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/csky/include/asm/thread_info.h b/arch/csky/include/asm/thread_info.h index 21456a3737c2..f704e27

[PATCH 16/29] csky: Add faulthandler_disabled() check

2021-01-20 Thread guoren
From: Guo Ren Similar to other architectures: In addition to in_atomic, we also need pagefault_disabled() to check. Signed-off-by: Guo Ren --- arch/csky/mm/fault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/csky/mm/fault.c b/arch/csky/mm/fault.c index cecca672

Re: [PATCH v2 bpf-next 3/4] libbpf: BTF dumper support for typed data

2021-01-20 Thread Andrii Nakryiko
On Sun, Jan 17, 2021 at 2:22 PM Alan Maguire wrote: > > Add a BTF dumper for typed data, so that the user can dump a typed > version of the data provided. > > The API is > > int btf_dump__emit_type_data(struct btf_dump *d, __u32 id, > const struct btf_dump_emit_type_da

[PATCH 02/29] csky: Fixup perf probe failed

2021-01-20 Thread guoren
From: Guo Ren Current perf init will failed with: [1.452433] csky-pmu: probe of soc:pmu failed with error -16 This patch fix it up with adding CPUHP_AP_PERF_CSKY_ONLINE in cpuhotplug.h. Signed-off-by: Guo Ren Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- arch/csky

[PATCH 03/29] csky: Fixup show_regs doesn't contain regs->usp

2021-01-20 Thread guoren
From: Guo Ren Current show_regs didn't display regs->usp and it confused debug. So fixup wrong SP display and add PT_REGS. Signed-off-by: Guo Ren --- arch/csky/kernel/ptrace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/csky/kernel/ptrace.c b/arch/csky/kernel/

[PATCH 05/29] csky: Fixup barrier design

2021-01-20 Thread guoren
From: Guo Ren Remove shareable bit for ordering barrier, just keep ordering in current hart is enough for SMP. Using three continuous sync.is as PTW barrier to prevent speculative PTW in 860 microarchitecture. Signed-off-by: Guo Ren --- arch/csky/include/asm/barrier.h | 82

[PATCH 04/29] csky: Remove custom asm/atomic.h implementation

2021-01-20 Thread guoren
From: Guo Ren Use generic atomic implementation based on cmpxchg. So remove csky asm/atomic.h. Signed-off-by: Guo Ren Cc: Peter Zijlstra Cc: Arnd Bergmann Cc: Paul E. McKenney --- arch/csky/include/asm/atomic.h | 212 - 1 file changed, 212 deletions(-) delet

[PATCH 01/29] csky: Add memory layout 2.5G(user):1.5G(kernel)

2021-01-20 Thread guoren
From: Guo Ren There are two ways for translating va to pa for csky: - Use TLB(Translate Lookup Buffer) and PTW (Page Table Walk) - Use SSEG0/1 (Simple Segment Mapping) We use tlb mapping 0-2G and 3G-4G virtual address area and SSEG0/1 are for 2G-2.5G and 2.5G-3G translation. We could disable S

[PATCH v2 2/4] KVM: SVM: Add emulation support for #GP triggered by SVM instructions

2021-01-20 Thread Wei Huang
From: Bandan Das While running SVM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on host) before checking VMCB's instruction intercept. If EAX falls into such memory areas, #GP is triggered before VMEXIT. This causes problem u

[PATCH v2 1/4] KVM: x86: Factor out x86 instruction emulation with decoding

2021-01-20 Thread Wei Huang
Move the instruction decode part out of x86_emulate_instruction() for it to be used in other places. Also kvm_clear_exception_queue() is moved inside the if-statement as it doesn't apply when KVM are coming back from userspace. Co-developed-by: Bandan Das Signed-off-by: Bandan Das Signed-off-by:

[PATCH v2 0/4] Handle #GP for SVM execution instructions

2021-01-20 Thread Wei Huang
While running SVM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on host) before checking VMCB's instruction intercept. If EAX falls into such memory areas, #GP is triggered before #VMEXIT. This causes unexpected #GP under nested

Re: [PATCH 2/3] input/touchscreen: Add device tree support to wacom_i2c

2021-01-20 Thread Alistair Francis
On Tue, Jan 19, 2021 at 6:17 PM Dmitry Torokhov wrote: > > On Sat, Jan 16, 2021 at 08:24:27PM -0800, Alistair Francis wrote: > > Allow the wacom-i2c device to be exposed via device tree. > > The patch seems incomplete. I see we are reading and storing properties, > but we are not using them whatso

Re: [PATCH V1] clk: qcom: gcc-sc7180: Mark the MM XO clocks to be always ON

2021-01-20 Thread Taniya Das
Hi Bjorn, On 1/21/2021 4:10 AM, Bjorn Andersson wrote: On Wed 20 Jan 01:47 CST 2021, Taniya Das wrote: There are intermittent GDSC power-up failures observed for titan top gdsc, which requires the XO clock. Thus mark all the MM XO clocks always enabled from probe. But if this is the reason

[PATCH v2] media: zr364xx: fix memory leaks in probe()

2021-01-20 Thread Dan Carpenter
Syzbot discovered that the probe error handling doesn't clean up the resources allocated in zr364xx_board_init(). There are several related bugs in this code so I have re-written the error handling. 1) Introduce a new function zr364xx_board_uninit() which cleans up the resources in zr364xx_b

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread David Gibson
On Wed, Jan 20, 2021 at 11:55:08PM -0600, Frank Rowand wrote: > On 1/20/21 11:43 PM, Viresh Kumar wrote: > > Hi Frank, > > > > On 20-01-21, 23:34, Frank Rowand wrote: > >> It should be possible to apply this same concept to copying > >> overlay_base.dts > >> to overlay_base_base.dts, removing the

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread David Gibson
On Wed, Jan 20, 2021 at 11:00:17PM -0600, Frank Rowand wrote: > > +David > > so I don't have to repeat this in another thread > > On 1/19/21 11:06 PM, Viresh Kumar wrote: > > On 19-01-21, 09:44, Frank Rowand wrote: > >> No. overlay_base.dts is intentionally compiled into a base FDT, not > >> an

Re: [PATCH V5 4/5] kbuild: Add support to build overlays (%.dtbo)

2021-01-20 Thread David Gibson
On Thu, Jan 21, 2021 at 09:43:00AM +0530, Viresh Kumar wrote: > On 21-01-21, 11:49, David Gibson wrote: > > If you're using overlays, you probably need the -@ flag, for both the > > base file and the overlays, which AFAICT is not already the case. > > I think the idea was to do that in the platfor

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread David Gibson
On Thu, Jan 21, 2021 at 11:20:40AM +0530, Viresh Kumar wrote: > On 20-01-21, 23:45, Frank Rowand wrote: > > I have only the most surface knowledge of fdtoverlay, mostly from > > "fdtoverlay --help", but you can apply multiple overlays with a > > single invocation of fdtoverlay. My _assumption_ was

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread David Gibson
On Thu, Jan 21, 2021 at 11:04:26AM +0530, Viresh Kumar wrote: > On 20-01-21, 23:14, Frank Rowand wrote: > > It is a convenient FDT to use because it provides the frame that the > > overlays > > require to be applied. It is fortunate that fdtoverlay does not reject the > > use > > of an FDT with

Re: [PATCH V5 3/5] scripts: dtc: Remove the unused fdtdump.c file

2021-01-20 Thread David Gibson
On Thu, Jan 21, 2021 at 09:47:57AM +0530, Viresh Kumar wrote: > On 21-01-21, 11:44, David Gibson wrote: > > On Wed, Jan 20, 2021 at 12:36:45PM +0530, Viresh Kumar wrote: > > > This was copied from external DTC repository long back and isn't used > > > anymore. Over that the dtc tool can be used to

[PATCH v2] arch/alpha:fix typo in a comment

2021-01-20 Thread ChunyouTang
From: tangchunyou Fix typo in a comment in arch/alpha/boot/bootpz.c "cvan" -> ", it can" Signed-off-by: tangchunyou --- arch/alpha/boot/bootpz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/alpha/boot/bootpz.c b/arch/alpha/boot/bootpz.c index 61b61be..90a2b34 10064

Re: Splicing to/from a tty

2021-01-20 Thread Linus Torvalds
On Wed, Jan 20, 2021 at 3:14 PM Al Viro wrote: > > Umm... Why do we clear FMODE_PWRITE there [seq_open - ed], anyway? I think it's pointless and historical, and comes from "several /proc files supported the simple single-write model, nothing ever supported moving around and writing". The seq_fi

Re: [PATCH v2 5/5] soc / drm: mediatek: Move mtk mutex driver to soc folder

2021-01-20 Thread Chun-Kuang Hu
Hi, Matthias: Matthias Brugger 於 2021年1月21日 週四 上午2:33寫道: > > On Thu, Jan 07, 2021 at 07:17:29AM +0800, Chun-Kuang Hu wrote: > > From: CK Hu > > > > mtk mutex is used by DRM and MDP driver, and its function is SoC-specific, > > so move it to soc folder. > > > > Signed-off-by: CK Hu > > Signed-of

Re: [PATCH 2/2] mmc: remove sirf prima/atlas driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午3:28写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../devicetree/bindings/mmc/sdhci-sirf.txt| 18

Re: [PATCH v3 02/10] certs: Fix blacklisted hexadecimal hash string check

2021-01-20 Thread Jarkko Sakkinen
On Wed, Jan 20, 2021 at 12:12:50PM +0100, Mickaël Salaün wrote: > > On 20/01/2021 04:43, Jarkko Sakkinen wrote: > > On Thu, Jan 14, 2021 at 04:19:01PM +0100, Mickaël Salaün wrote: > >> From: Mickaël Salaün > >> > >> When looking for a blacklisted hash, bin2hex() is used to transform a > >> binary

Re: [PATCH] nand: raw: remove tango driver

2021-01-20 Thread Miquel Raynal
On Wed, 2021-01-20 at 15:05:26 UTC, Arnd Bergmann wrote: > From: Arnd Bergmann > > The tango platform is getting removed, so the driver is no > longer needed. > > Cc: Marc Gonzalez > Cc: Mans Rullgard > Signed-off-by: Arnd Bergmann Applied to https://git.kernel.org/pub/scm/linux/kernel/git/m

[PATCH] riscv: Fixup pfn_valid error with wrong max_mapnr

2021-01-20 Thread guoren
From: Guo Ren The max_mapnr is the number of PFNs, not absolute PFN offset. Signed-off-by: Guo Ren Cc: Palmer Dabbelt --- arch/riscv/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index bf5379135e39..1576ee9e5e94 10064

[PATCH] rcu: Release per-cpu krcp page cache when CPU going offline

2021-01-20 Thread qiang . zhang
From: Zqiang If CPUs go offline, the corresponding krcp's page cache can not be use util the CPU come back online, or maybe the CPU will never go online again, this commit therefore free krcp's page cache when CPUs go offline. Signed-off-by: Zqiang --- kernel/rcu/tree.c | 47 ++

Re: [PATCH v3 04/10] certs: Fix blacklist flag type confusion

2021-01-20 Thread Jarkko Sakkinen
On Wed, Jan 20, 2021 at 12:15:10PM +0100, Mickaël Salaün wrote: > > On 20/01/2021 04:55, Jarkko Sakkinen wrote: > > On Thu, Jan 14, 2021 at 04:19:03PM +0100, Mickaël Salaün wrote: > >> From: David Howells > >> > >> KEY_FLAG_KEEP is not meant to be passed to keyring_alloc() or key_alloc(), > >> as

Re: [PATCH] scsi: ufs: delete redundant if statement in ufshcd_intr()

2021-01-20 Thread Martin K. Petersen
Bean, > Once going into while-do loop, intr_status is already true, this > if-statement is redundant, remove it. Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v2 5/7] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio

2021-01-20 Thread Oleksij Rempel
The backlight power is controlled through the reg_bl_12v0 regulator. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts/imx

[PATCH v2 3/7] ARM: dts: imx6dl-prtvt7: Add display and panel nodes

2021-01-20 Thread Oleksij Rempel
Add Innolux G070Y2-T02 panel to the Protonic VT7 board. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/bo

[PATCH v2 7/7] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties

2021-01-20 Thread Oleksij Rempel
Remove touchscreen-size-* properties. This values are not correct, event if it works with ts_test tool, it fails to work properly with weston. And the real range of values reported by the driver (or measured by the controller) is close to max values and may change with time on resistive panels. So

[PATCH v2 2/7] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c | 16

Re: [PATCH] sched/deadline: Reduce rq lock contention in dl_add_task_root_domain()

2021-01-20 Thread Juri Lelli
Hi, On 19/01/21 09:35, Dietmar Eggemann wrote: > dl_add_task_root_domain() is called during sched domain rebuild: > > rebuild_sched_domains_locked() > partition_and_rebuild_sched_domains() > rebuild_root_domains() > for all top_cpuset descendants: >update_tasks_ro

test-definitions: kselftest upgrade to v5.10

2021-01-20 Thread Naresh Kamboju
If you are not using the test-definitions project to run kselftest, please ignore this email. A new run script for kselftest, run_kselftest.sh [1], was created during the Linux v5.10 release. This script allows someone to run both individual test cases and sets of test cases. Accordingly, the tes

[PATCH v10 02/16] dmaengine: dw-axi-dmac: simplify descriptor management

2021-01-20 Thread Sia Jee Heng
Simplify and refactor the descriptor management by removing the redundant Linked List Item (LLI) queue control logic from the AxiDMA driver. The descriptor is split into virtual descriptor and hardware LLI so that only hardware LLI memories are allocated from the DMA memory pool. Up to 64 descript

[PATCH] pinctrl: actions: Add the platform dependency to drivers

2021-01-20 Thread Manivannan Sadhasivam
The Actions Semi pinctrl drivers are a mix of both ARM32 and ARM64 platforms. So let's add the correct platform dependency to avoid them being selected on the other. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/actions/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dr

[PATCH 3/3] memory: mtk-smi: Switch MTK_SMI to tristate

2021-01-20 Thread Yong Wu
This patch switches MTK_SMI to tristate. Support it could be 'm'. Meanwhile, Fix a build issue while MTK_SMI is built as module. Signed-off-by: Yong Wu --- This patch has a little conflict with the mt8192 iommu patch which delete the MTK_LARB_NR_MAX in smi.h(It's still reviewing). This patch reb

[PATCH 2/3] memory: mtk-smi: Add module_exit and module_license

2021-01-20 Thread Yong Wu
The config MTK_SMI always depends on MTK_IOMMU which is built-in currently. Thus we don't have module_exit before. This patch adds module_exit and module_license. It is a preparing patch for supporting MTK_SMI could been built as a module. Signed-off-by: Yong Wu --- drivers/memory/mtk-smi.c | 10

[PATCH v3] scsi/qla4xxx: convert sysfs sprintf/snprintf family to sysfs_emit

2021-01-20 Thread Jiapeng Zhong
Fix the following coccicheck warning: ./drivers/scsi/qla4xxx/ql4_attr.c: WARNING: use scnprintf or sprintf Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- Changes in v3: - convert sysfs_emit_at to sysfs_emit. drivers/scsi/qla4xxx/ql4_attr.c | 32 1

Re: [PATCH v2] dts64: mt7622: fix slow sd card access

2021-01-20 Thread SkyLake Huang
On Wed, 2021-01-13 at 19:09 +0100, Frank Wunderlich wrote: > From: Frank Wunderlich > > Fix extreme slow speed (200MB takes ~20 min) on writing sdcard on > bananapi-r64 by adding reset-control for mmc1 like it's done for mmc0/emmc. > > Cc: sta...@vger.kernel.org > Fixes: 2c002a3049f7 ("arm64: dt

Re: [PATCH 2/2] drm/msm/a6xx: Create an A6XX GPU specific address space

2021-01-20 Thread Sai Prakash Ranjan
Hi Angelo, On 2021-01-20 16:34, AngeloGioacchino Del Regno wrote: Il 11/01/21 13:04, Sai Prakash Ranjan ha scritto: A6XX GPUs have support for last level cache(LLC) also known as system cache and need to set the bus attributes to use it. Currently we use a generic adreno iommu address space imp

[PATCH 1/3] memory: mtk-smi: Use platform_register_drivers

2021-01-20 Thread Yong Wu
In this file, we have 2 drivers, smi-common and smi-larb. Use platform_register_drivers. Signed-off-by: Yong Wu --- drivers/memory/mtk-smi.c | 25 ++--- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c index ac

Support MTK_SMI modular

2021-01-20 Thread Yong Wu
This patchset mainly support MTK_SMI could be modular. No other function add. The MTK_IOMMU config will be another patchset. rebase on v5.11-rc1. Yong Wu (3): memory: mtk-smi: Use platform_register_drivers memory: mtk-smi: Add module_exit and module_license memory: mtk-smi: Switch MTK_SMI t

[PATCH v10 04/16] dmaengine: dw-axi-dmac: Add device_synchronize() callback

2021-01-20 Thread Sia Jee Heng
Add support for device_synchronize() callback function to sync with dmaengine_terminate_sync(). Signed-off-by: Sia Jee Heng Reviewed-by: Andy Shevchenko Reviewed-by: Eugeniy Paltsev Tested-by: Eugeniy Paltsev --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8 1 file changed, 8 i

[PATCH v10 05/16] dmaengine: dw-axi-dmac: Add device_config operation

2021-01-20 Thread Sia Jee Heng
Add device_config() callback function so that the device address can be passed to the dma driver. DMA clients use this interface to pass in the device address to the AxiDMA. Without this interface, data transfer between device to memory and memory to device would failed. Signed-off-by: Sia Jee He

Re: [PATCH] ACPI / device_sysfs: Use OF_MODALIAS for "compatible" modalias

2021-01-20 Thread Kai-Heng Feng
On Tue, Jan 19, 2021 at 6:34 PM Greg Kroah-Hartman wrote: > > On Tue, Jan 19, 2021 at 11:41:59AM +0200, Andy Shevchenko wrote: > > On Tue, Jan 19, 2021 at 04:41:48PM +0800, Kai-Heng Feng wrote: > > > On Tue, Jan 19, 2021 at 4:27 PM Greg Kroah-Hartman > > > wrote: > > > > On Tue, Jan 19, 2021 at 0

[PATCH v10 06/16] dmaengine: dw-axi-dmac: Support device_prep_slave_sg

2021-01-20 Thread Sia Jee Heng
Add device_prep_slave_sg() callback function so that DMA_MEM_TO_DEV and DMA_DEV_TO_MEM operations in single mode can be supported. Existing AxiDMA driver only support data transfer between memory to memory. Data transfer between device to memory and memory to device in single mode would failed if

[PATCH] ARM: multi_v7_defconfig: Enable Actions Semi platform and drivers

2021-01-20 Thread Manivannan Sadhasivam
The support for Actions Semi ARM32 platform has matured enough in the mainline. So let's enable it in multi_v7_defconfig along with the relevant drivers. The platform can now boot a distro from eMMC or uSD without any out of tree patch. Signed-off-by: Manivannan Sadhasivam --- arch/arm/configs/m

Re: [PATCH] net: stmmac: dwmac-meson8b: fix the RX delay validation

2021-01-20 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 19 Jan 2021 21:24:24 +0100 you wrote: > When has_prg_eth1_rgmii_rx_delay is true then we support RX delays > between 0ps and 3000ps in 200ps steps. Swap the validation of the RX > delay based on the has_prg_eth1_rgm

[PATCH v10 15/16] dmaengine: dw-axi-dmac: Set constraint to the Max segment size

2021-01-20 Thread Sia Jee Heng
Add support for DMA Scatter-Gather (SG) constraint so that DMA clients can handle the AxiDMA limitation. Without supporting DMA constraint the default Max segment size reported by dmaengine is 64KB, which is not supported by Intel KeemBay AxiDMA. Signed-off-by: Sia Jee Heng Reviewed-by: Andy She

Re: linux-next: build failure after merge of the akpm-current tree

2021-01-20 Thread Stephen Rothwell
Hi Dan, On Tue, 19 Jan 2021 21:48:52 -0800 Dan Williams wrote: > > On Tue, Jan 19, 2021 at 9:25 PM Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the akpm-current tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > mm/memory_hotplug.c: In fun

[PATCH 3/3] media: mtk-vcodec: Separating mtk encoder driver

2021-01-20 Thread Irui Wang
MTK H264 Encoder(VENC_SYS) and VP8 Encoder(VENC_LT_SYS) are two independent hardware instance. They have their owner interrupt, register mapping, and special clocks. This patch seperates them into two drivers: User Call "VIDIOC_QUERYCAP": H264 Encoder return driver name "mtk-vcodec-enc"; VP8 Encod

[PATCH 1/3] dt-bindings: media: mtk-vcodec: Separating mtk vcodec encoder node

2021-01-20 Thread Irui Wang
Updates binding document since the avc and vp8 hardware encoder in MT8173 are now separated. Separate "mediatek,mt8173-vcodec-enc" to "mediatek,mt8173-vcodec-vp8-enc" and "mediatek,mt8173-vcodec-avc-enc". Signed-off-by: Hsin-Yi Wang Signed-off-by: Maoguang Meng Signed-off-by: Irui Wang --- ..

[PATCH 2/3] arm64: dts: mt8173: Separating mtk-vcodec-enc device node

2021-01-20 Thread Irui Wang
There are two separate hardware encoder blocks inside MT8173. Split the current mtk-vcodec-enc node to match the hardware architecture. Signed-off-by: Hsin-Yi Wang Signed-off-by: Maoguang Meng Signed-off-by: Irui Wang --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 60

[PATCH v10 12/16] dmaengine: dw-axi-dmac: Add Intel KeemBay AxiDMA support

2021-01-20 Thread Sia Jee Heng
Add support for Intel KeemBay AxiDMA to the .compatible field. The AxiDMA Apb region will be accessible if the compatible string matches the "intel,kmb-axi-dma". Signed-off-by: Sia Jee Heng Reviewed-by: Andy Shevchenko Reviewed-by: Eugeniy Paltsev Tested-by: Eugeniy Paltsev --- drivers/dma/dw

[PATCH v10 11/16] dmaengine: dw-axi-dmac: Add Intel KeemBay DMA register fields

2021-01-20 Thread Sia Jee Heng
Add support for Intel KeemBay DMA registers. These registers are required to run data transfer between device to memory and memory to device on Intel KeemBay SoC. Signed-off-by: Sia Jee Heng Reviewed-by: Andy Shevchenko Reviewed-by: Eugeniy Paltsev Tested-by: Eugeniy Paltsev --- drivers/dma/d

[PATCH v10 16/16] dmaengine: dw-axi-dmac: Virtually split the linked-list

2021-01-20 Thread Sia Jee Heng
AxiDMA driver exposed the dma_set_max_seg_size() to the DMAENGINE. It shall helps the DMA clients to create size-optimized linked-list for the controller. However, there are certain situations where DMA client might not be abled to benefit from the dma_get_max_seg_size() if the segment size can't

[PATCH v10 14/16] dmaengine: dw-axi-dmac: Add Intel KeemBay AxiDMA BYTE and HALFWORD registers

2021-01-20 Thread Sia Jee Heng
Add support for Intel KeemBay AxiDMA BYTE and HALFWORD registers programming. Intel KeemBay AxiDMA supports data transfer between device to memory and memory to device operations. This code is needed by I2C, I3C, I2S, SPI and UART which uses FIFO size of 8bits and 16bits to perform memory to devi

[PATCH v10 13/16] dmaengine: dw-axi-dmac: Add Intel KeemBay AxiDMA handshake

2021-01-20 Thread Sia Jee Heng
Add support for Intel KeemBay AxiDMA device handshake programming. Device handshake number passed in to the AxiDMA shall be written to the Intel KeemBay AxiDMA hardware handshake registers before DMA operations are started. Signed-off-by: Sia Jee Heng Reviewed-by: Andy Shevchenko Reviewed-by: Eu

[PATCH v10 08/16] dmaengine: dw-axi-dmac: Support of_dma_controller_register()

2021-01-20 Thread Sia Jee Heng
Add support for of_dma_controller_register() so that DMA clients can pass in device handshake number to the AxiDMA driver. DMA clients shall code the device handshake number in the Device tree. When DMA activities are needed, DMA clients shall invoke OF helper function to pass in the device handsh

[PATCH v10 07/16] dmaegine: dw-axi-dmac: Support device_prep_dma_cyclic()

2021-01-20 Thread Sia Jee Heng
Add support for device_prep_dma_cyclic() callback function to benefit DMA cyclic client, for example ALSA. Existing AxiDMA driver only support data transfer between memory to memory. Data transfer between device to memory and memory to device in cyclic mode would failed if this interface is not su

[PATCH v10 10/16] dt-binding: dma: dw-axi-dmac: Add support for Intel KeemBay AxiDMA

2021-01-20 Thread Sia Jee Heng
Add support for Intel KeemBay AxiDMA to the dw-axi-dmac Schemas DT binding. Signed-off-by: Sia Jee Heng Reviewed-by: Eugeniy Paltsev Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/d

[PATCH v10 09/16] dmaengine: dw-axi-dmac: Support burst residue granularity

2021-01-20 Thread Sia Jee Heng
Add support for DMA_RESIDUE_GRANULARITY_BURST so that AxiDMA can report DMA residue. Existing AxiDMA driver only support data transfer between memory to memory operation, therefore reporting DMA residue to the DMA clients is not supported. Reporting DMA residue to the DMA clients is important as

[PATCH v10 00/16] dmaengine: dw-axi-dmac: support Intel KeemBay AxiDMA

2021-01-20 Thread Sia Jee Heng
The below patch series are to support AxiDMA running on Intel KeemBay SoC. The base driver is dw-axi-dmac. This driver only support DMA memory copy transfers. Code refactoring is needed so that additional features can be supported. The features added in this patch series are: - Replacing Linked Li

[PATCH v10 03/16] dmaengine: dw-axi-dmac: move dma_pool_create() to alloc_chan_resources()

2021-01-20 Thread Sia Jee Heng
The DMA memory block is created at driver load time and exist for device lifetime. Move the dma_pool_create() to the ->chan_resource() callback function allowing the DMA memory blocks to be created as needed and destroyed when the channel is freed. Signed-off-by: Sia Jee Heng Reviewed-by: Andy Sh

[PATCH v10 01/16] dt-bindings: dma: Add YAML schemas for dw-axi-dmac

2021-01-20 Thread Sia Jee Heng
YAML schemas Device Tree (DT) binding is the new format for DT to replace the old format. Introduce YAML schemas DT binding for dw-axi-dmac and remove the old version. Signed-off-by: Sia Jee Heng Reviewed-by: Eugeniy Paltsev Reviewed-by: Rob Herring --- .../bindings/dma/snps,dw-axi-dmac.txt

[PATCH v2 1/7] dt-bindings: display: simple: add Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devic

[PATCH v2 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

2021-01-20 Thread Oleksij Rempel
At some point PWM cell count was changed, but it didn't triggered any error, since this DT was overwriting "#pwm-cells". To make sure, we are in sync with the kernel driver, remove this property and fix the pwm consumer. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 3 +

[PATCH v2 0/7] devicetree fixes for Protonic and Plymovent boards

2021-01-20 Thread Oleksij Rempel
changes v2: - imx6dl-prtvt7: remove touchscreen-inverted-* Oleksij Rempel (7): dt-bindings: display: simple: add Innolux G070Y2-T02 panel drm: panel-simple: Add support for the Innolux G070Y2-T02 panel ARM: dts: imx6dl-prtvt7: Add display and panel nodes ARM: dts: imx6dl-prtvt7: add TSC204

[PATCH v2 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node

2021-01-20 Thread Oleksij Rempel
Add touchscreen support to the Protonic VT7 board. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt

Re: [PATCH v2] perf stat: Append to default list if use -e +event

2021-01-20 Thread Jin, Yao
Hi Arnaldo, On 1/21/2021 8:03 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Jan 20, 2021 at 10:25:53PM +0100, Jiri Olsa escreveu: On Mon, Jan 18, 2021 at 12:54:37PM +0800, Jin, Yao wrote: root@kbl-ppc:# ./perf stat -e +power/energy-pkg/ -a -- sleep 1 Performance counter stats for 'system wi

[PATCH] powerpc: fix AKEBONO build failures

2021-01-20 Thread Randy Dunlap
On 1/20/21 1:29 PM, Yury Norov wrote: > Hi all, > > I found the power pc build broken on today's > linux-next (647060f3b592). Darn, I was building linux-5.11-rc4. I'll try linux-next after I send this. --- From: Randy Dunlap Fulfill AKEBONO Kconfig requirements. Fixes these Kconfig warnings

Re: [Freedreno] [PATCH 2/2] drm/msm/a6xx: Create an A6XX GPU specific address space

2021-01-20 Thread Sai Prakash Ranjan
On 2021-01-20 21:48, Rob Clark wrote: On Mon, Jan 11, 2021 at 4:04 AM Sai Prakash Ranjan wrote: A6XX GPUs have support for last level cache(LLC) also known as system cache and need to set the bus attributes to use it. Currently we use a generic adreno iommu address space implementation which a

Re: Splicing to/from a tty

2021-01-20 Thread Willy Tarreau
On Wed, Jan 20, 2021 at 07:38:38PM -0800, Linus Torvalds wrote: > On Wed, Jan 20, 2021 at 5:45 PM Al Viro wrote: > > > > splice() triggers an error for seekable destination with O_APPEND and > > with NULL off_out. > > Ok, that's just broken. > > > Same for splice() to socket with > > fcn

[PATCH] mt7915: Convert to DEFINE_SHOW_ATTRIBUTE

2021-01-20 Thread dingsenjie
From: dingsenjie Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: dingsenjie --- .../net/wireless/mediatek/mt76/mt7915/debugfs.c| 36 -- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.

Re: [PATCH] coresight: etm4x: Add config to exclude kernel mode tracing

2021-01-20 Thread Sai Prakash Ranjan
On 2021-01-21 00:18, Mathieu Poirier wrote: On Tue, Jan 19, 2021 at 08:36:22AM +, Al Grant wrote: Hi Sai, > From: saiprakash.ranjan=codeaurora@mg.codeaurora.org > Hi Mathieu, > > On 2021-01-19 01:53, Mathieu Poirier wrote: > > On Fri, Jan 15, 2021 at 11:16:24AM +0530, Sai Prakash Ranjan

Re: [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-20 Thread Julian Calaby
Hi Chaitanya, On Tue, Jan 19, 2021 at 5:01 PM Chaitanya Kulkarni wrote: > > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows callers

Re: [PATCH] scripts/spelling.txt: increase error-prone spell checking

2021-01-20 Thread Randy Dunlap
On 1/20/21 6:07 PM, ChunyouTang wrote: > From: tangchunyou > > Increase direcly,maping,manger spelling error check Hi, I don't see all of those in the patch below. What happened? > Signed-off-by: WenZhang > --- > scripts/spelling.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/s

Re: [PATCH net v4] net: lapb: Add locking to the lapb module

2021-01-20 Thread Xie He
On Wed, Jan 20, 2021 at 12:42 PM Xie He wrote: > > With this patch, there is still a problem that lapb_unregister may run > concurrently with other LAPB API functions (such as > lapb_data_received). This other LAPB API function can get the > lapb->lock after lapb->lock is released by lapb_unregist

Re: [PATCH] pinctrl: qcom: spmi-gpio: Assign boolean values to a bool variable

2021-01-20 Thread Bjorn Andersson
On Wed 20 Jan 01:29 CST 2021, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:340:3-15: WARNING: > Assignment of 0/1 to bool variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Reviewed-by: Bjorn Andersson Althou

"INFO: task hung in exit_mm" and "INFO: task hung in do_exit" should be duplicate crash reports

2021-01-20 Thread 慕冬亮
Dear kernel developers, I found that on the syzbot dashboard, “INFO: task hung in exit_mm”[1] and "INFO: task hung in do_exit"[2] should share the same root cause. The reasons for the above statement: 1) the stack trace is the same, and this title difference is due to the inline property of "exit

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread Viresh Kumar
On 20-01-21, 23:55, Frank Rowand wrote: > yes, but using the modified versions ("/plugin/;" removed) of > testcases.dtb and overlay_base.dtb. Okay, that would work fine I guess. I will try to implement this in the new version. > I apologize in advance if I get confused in these threads or cause c

Re: [PATCH] scripts/spelling.txt: increase error-prone spell checking

2021-01-20 Thread Joe Perches
On Wed, 2021-01-20 at 19:02 -0800, Randy Dunlap wrote: > On 1/20/21 6:07 PM, ChunyouTang wrote: > > From: tangchunyou > > > > Increase direcly,maping,manger spelling error check > > Hi, > I don't see all of those in the patch below. > What happened? I think mostly it's just a poor commit messag

Re: [RFC PATCH v2] pinctrl: add helper to expose pinctrl state in debugfs

2021-01-20 Thread Drew Fustini
On Mon, Jan 11, 2021 at 12:03:18PM +0200, Tony Lindgren wrote: > Hi, > > * Linus Walleij [210109 21:14]: > > On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > > > > > I discussed my use case and this patch on #armlinux earlier this week > > > and Alexandre Belloni suggested looking at the pi

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread Frank Rowand
On 1/20/21 11:43 PM, Viresh Kumar wrote: > Hi Frank, > > On 20-01-21, 23:34, Frank Rowand wrote: >> It should be possible to apply this same concept to copying overlay_base.dts >> to overlay_base_base.dts, removing the "/plugin/;" from overlay_base_base.dts >> and using an additional rule to use f

Re: [PATCH v3 0/3] scsi: ufs: Cleanup and refactor clock scaling

2021-01-20 Thread Martin K. Petersen
Stanley, > This series cleans up and refactors clk-scaling feature, and shall not > change any functionality. Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v5 00/21] ibmvfc: initial MQ development/enablement

2021-01-20 Thread Martin K. Petersen
On Thu, 14 Jan 2021 14:31:27 -0600, Tyrel Datwyler wrote: > Recent updates in pHyp Firmware and VIOS releases provide new infrastructure > towards enabling Subordinate Command Response Queues (Sub-CRQs) such that each > Sub-CRQ is a channel backed by an actual hardware queue in the FC stack on the

Re: Splicing to/from a tty

2021-01-20 Thread Linus Torvalds
On Wed, Jan 20, 2021 at 5:45 PM Al Viro wrote: > > splice() triggers an error for seekable destination with O_APPEND and > with NULL off_out. Ok, that's just broken. > Same for splice() to socket with > fcntl(sock_fd, F_SETFL, O_APPEND); > done first. Same. As long as you don't pass a

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-20 Thread Viresh Kumar
On 20-01-21, 23:45, Frank Rowand wrote: > I have only the most surface knowledge of fdtoverlay, mostly from > "fdtoverlay --help", but you can apply multiple overlays with a > single invocation of fdtoverlay. My _assumption_ was that the > overlays would be applied in order, and after any given ov

ARM: dts: mmp devicetree updates

2021-01-20 Thread Lubomir Rintel
Hi, chained to this message is a handful of patches related to MMP device trees and bindings. Please take a look and consider queueing them for for 5.12. Thank you Lubo

[PATCH 01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property

2021-01-20 Thread Lubomir Rintel
The property specifies a list of GPIO-capable pins. Don't limit it to a single element as there's presumably more than one GPIO pin. Signed-off-by: Lubomir Rintel --- Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Docu

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