[PATCH 08/13] pinctrl: rockchip: Add RK3308 definitions to separate from other SoCs

2020-07-16 Thread Jianqun Xu
Add RK3308 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 8e3fa901

[PATCH 04/13] pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq

2020-07-16 Thread Jianqun Xu
There need to enable pclk_gpio when do irq_create_mapping, since it will do access to gpio controller. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c i

[PATCH 02/13] pinctrl: rockchip: modify rockchip_pin_ctrl to const struct

2020-07-16 Thread Jianqun Xu
The rockchip_pin_ctrl structure actually is soc data structure for pinctrl on Rockchip SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 62 +++--- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b

[PATCH 03/13] pinctrl: rockchip: make driver be tristate module

2020-07-16 Thread Jianqun Xu
Make pinctrl-rockchip driver to be tristate module, support to build as a module, this is useful for GKI. Signed-off-by: Jianqun Xu --- drivers/pinctrl/Kconfig| 2 +- drivers/pinctrl/pinctrl-rockchip.c | 7 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 01/13] pinctrl: rockchip: add nr_pins to rockchip_pin_ctrl

2020-07-16 Thread Jianqun Xu
Add nr_pins to rockchip_pin_ctrl by hand, instead of calculating during driver probe. This patch is prepare work for making rockchip_pin_ctrl to be const type. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 22 -- 1 file changed, 20 insertions(+), 2 deleti

[PATCH RESEND 00/13] pinctrl: rockchip: prepare work for split driver

2020-07-16 Thread Jianqun Xu
This serial patchs include 12 codingstyle patches and 1 bug fix (enable gpio pclk for rockchip_gpio_to_irq). Also it's prepare for split driver work. Jianqun Xu (13): pinctrl: rockchip: add nr_pins to rockchip_pin_ctrl pinctrl: rockchip: modify rockchip_pin_ctrl to const struct pinctrl: roc

Re: [PATCH V5 1/4] mm/debug_vm_pgtable: Add tests validating arch helpers for core MM features

2020-07-16 Thread Anshuman Khandual
On 07/16/2020 07:44 PM, Steven Price wrote: > On 13/07/2020 04:23, Anshuman Khandual wrote: >> This adds new tests validating arch page table helpers for these following >> core memory features. These tests create and test specific mapping types at >> various page table levels. >> >> 1. SPECIAL

warning: some functions compiled with BTI and some compiled without BTI

2020-07-16 Thread kernel test robot
Hi Mark, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 07a56bb875afbe39dabbf6ba7b83783d166863db commit: 97fed779f2a68937d9590fbbe8ed31d6ebbce5a5 arm64: bti: Provide Kconfig for kernel mode BTI date: 2 months ago

[PATCH v4 7/7] kprobes: Flag out CONFIG_MODULES dependent code

2020-07-16 Thread Jarkko Sakkinen
Remove CONFIG_MODULES dependency by flagging out the dependent code. This allows to use kprobes in a kernel without support for loadable modules, which could be useful for a test kernel or perhaps an embedded kernel. Cc: Andi Kleen Cc: Masami Hiramatsu Signed-off-by: Jarkko Sakkinen --- arch/K

[PATCH v1 1/2] dt-bindings: dma: mediatek: mark useless items as decrepted

2020-07-16 Thread Huihui Wang
From: huihui wang Because we move dma address bits config to mtk-uart-apdma.c, it is unnecessary to be configured in device tree. Update the document at the same time. Signed-off-by: huihui wang --- .../devicetree/bindings/dma/mtk-uart-apdma.txt| 11 +-- 1 file changed, 5 inser

[PATCH v1 2/2] dma: mediatek: dma address bits config with compatible data

2020-07-16 Thread Huihui Wang
From: huihui wang 1.Legacy implement only support 33 bits address, we change the solution to support any width address. 2.DMA address bits is very detail information, and it is not proper to config in device tree. So we move it into mtk_uart_apdma.c, and config it by compatible data. Signed-off

[PATCH v4 6/7] kprobes: Use text_alloc() and text_free()

2020-07-16 Thread Jarkko Sakkinen
Use text_alloc() and text_free(). Those arch's that provide their allocators will benefit from this because they can provide their custom allocator and render out the compile time dep to the module subsystem. Other arch's will continue to work as the fallback implementations call module_alloc() and

[PATCH v1]dma: mediatek: dma address bits config with compatible data

2020-07-16 Thread Huihui Wang
This patch change to use compatible data to configure mediatek dma address bits. And update dt-bindings as well. huihui wang (2): dt-bindings: dma: mediatek: mark useless items as decrepted dma: mediatek: dma address bits config with compatible data .../bindings/dma/mtk-uart-apdma.txt

[PATCH v4 3/7] vmalloc: Add text_alloc() and text_free()

2020-07-16 Thread Jarkko Sakkinen
Introduce functions for allocating memory for dynamic trampolines, such as kprobes. An arch can promote the availability of these functions with CONFIG_ARCH_HAS_TEXT_ALLOC. Provide default/fallback implementation wrapping module_alloc() and module_memfree(). Cc: Andi Kleen Cc: Masami Hiramatsu S

[PATCH v4 5/7] arch/x86: kprobes: Use text_alloc() in alloc_insn_page()

2020-07-16 Thread Jarkko Sakkinen
Use text_alloc() as part of the arch specific implementation for alloc_insn_page(). Cc: Andi Kleen Cc: Masami Hiramatsu Signed-off-by: Jarkko Sakkinen Im --- arch/x86/kernel/kprobes/core.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/x86/kernel/kprobes/core.c

[PATCH v4 2/7] kprobes: Use lock_modules() and unlock_modules()

2020-07-16 Thread Jarkko Sakkinen
Use lock_modules() and unlock_modules() in order to remove compile time dependency to the module subsystem. Cc: Andi Kleen Cc: Masami Hiramatsu Signed-off-by: Jarkko Sakkinen --- kernel/kprobes.c| 4 ++-- kernel/trace/trace_kprobe.c | 4 ++-- 2 files changed, 4 insertions(+), 4 del

[PATCH v2 8/9] soundwire: intel: add wake interrupt support

2020-07-16 Thread Bard Liao
From: Rander Wang When system is suspended in clock stop mode on intel platforms, both master and slave are in clock stop mode and soundwire bus is taken over by a glue hardware. The bus message for jack event is processed by this glue hardware, which will trigger an interrupt to resume audio pci

[PATCH v2 5/9] soundwire: intel_init: add implementation of sdw_intel_enable_irq()

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart This function is required to enable all interrupts across all links. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel_init.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/soundwire/intel

[PATCH v2 6/9] soundwire: intel_init: use EXPORT_SYMBOL_NS

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart Make sure all symbols in this soundwire-intel-init module are exported with a namespace. The MODULE_IMPORT_NS will be used in Intel/SOF HDaudio modules to be posted in a separate series. Namespaces are only introduced for the Intel parts of the SoundWire code at this

[PATCH v2 2/9] soundwire: intel: revisit SHIM programming sequences.

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart Somehow the existing code is not aligned with the steps described in the documentation, refactor code and make sure the register programming sequences are correct. Also add missing power-up, power-down and wake capabilities (the last two are used in follow-up patches bu

[PATCH v2 9/9] Soundwire: intel_init: save Slave(s) _ADR info in sdw_intel_ctx

2020-07-16 Thread Bard Liao
Save ACPI information in context so that we can match machine driver with sdw _ADR matching tables. Suggested-by: Guennadi Liakhovetski Signed-off-by: Bard Liao Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel_init.c | 24 1 file changed, 24 insertions(+

[PATCH v4 0/7] arch/x86: kprobes: Remove MODULES dependency

2020-07-16 Thread Jarkko Sakkinen
Remove MODULES dependency by migrating from module_alloc() to the new text_alloc() API. Essentially these changes provide preliminaries for allowing to compile a static kernel with a proper tracing support. The same API can be used later on in other sites that allocate space for trampolines, and t

[PATCH v2 7/9] soundwire: intel/cadence: merge Soundwire interrupt handlers/threads

2020-07-16 Thread Bard Liao
The existing code uses one pair of interrupt handler/thread per link but at the hardware level the interrupt is shared. This works fine for legacy PCI interrupts, but leads to timeouts in MSI (Message-Signaled Interrupt) mode, likely due to edges being lost. This patch unifies interrupt handling f

[PATCH v4 4/7] arch/x86: Implement text_alloc() and text_free()

2020-07-16 Thread Jarkko Sakkinen
Implement text_alloc() and text_free() with vmalloc() and vfree(), thus dropping the dependency to the module subsystem. Cc: Masami Hiramatsu Cc: Andi Kleen Suggested-by: Peter Zijlstra Signed-off-by: Jarkko Sakkinen --- arch/x86/Kconfig | 3 +++ arch/x86/kernel/Makefile | 1

[PATCH v4 1/7] module: Add lock_modules() and unlock_modules()

2020-07-16 Thread Jarkko Sakkinen
Add wrapper functions for acquiring module_mutex so that the locking can be implicitly compiled out when CONFIG_MODULES is not enabled. Cc: Andi Kleen Suggested-by: Masami Hiramatsu Signed-off-by: Jarkko Sakkinen --- include/linux/module.h | 18 ++ 1 file changed, 18 insertions

[PATCH v2 4/9] soundwire: intel: introduce helper for link synchronization

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart After arming the synchronization, the SYNCGO field controls the hardware-based synchronization between links. Move the programming and wait for clear of SYNCGO to dedicated helper. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/i

[PATCH v2 3/9] soundwire: intel: introduce a helper to arm link synchronization

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart Move code from pre_bank_switch to dedicated helper, will be used in follow-up patches as recommended by programming flows. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 26 -- 1 file changed, 16

[PATCH v2 0/9] soundwire: intel: revisit SHIM programming

2020-07-16 Thread Bard Liao
This series does some cleanup, revisits SHIM programming sequences, and merges Soundwire interrupt handlers/threads. changes in v2: - Resume M device instead of S device in intel_master_process_wakeen_event function. See the comment in intel_master_process_wakeen_event() in detail. Bard Li

[PATCH v2 1/9] soundwire: intel: reuse code for wait loops to set/clear bits

2020-07-16 Thread Bard Liao
From: Pierre-Louis Bossart Refactor code and use same routines on set/clear Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 45 +-- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/drivers/soundwir

linux-next: build failure after merge of the sound tree

2020-07-16 Thread Stephen Rothwell
Hi all, After merging the sound tree, today's linux-next build (x86_64 allmodconfig) failed like this: sound/core/pcm_memory.c: In function 'do_alloc_pages': sound/core/pcm_memory.c:47:7: error: implicit declaration of function 'dma_is_direct'; did you mean 'd_is_dir'? [-Werror=implicit-functio

Re: [PATCH 1/1] irqchip: Add config MTK_SYSIRQ and MTK_CIRQ

2020-07-16 Thread Saravana Kannan
On Tue, Jun 23, 2020 at 1:37 AM Marc Zyngier wrote: > > + Saravana > > On 2020-06-23 07:36, Hanks Chen wrote: > > [...] > > > Hi Marc, > > > > I want to break the dependency between ARCH_MEDIATEK and CIRQ/SYSIRQ, > > because we need to follow the GKI. > > This isn't what GKI mandates. GKI requires

[PATCH v2] PCI: hv: Fix a timing issue which causes kdump to fail occasionally

2020-07-16 Thread Wei Hu
Kdump could fail sometime on HyperV guest over Accerlated Network interface. This is because the retry in hv_pci_enter_d0() relies on an asynchronous host event to arrive guest before calling hv_send_resources_allocated(). This fixes the problem by moving retry to hv_pci_probe(), removing this depe

Re: [RFC PATCH v1] irqchip: Add IRQCHIP_MODULE_BEGIN/END helper macros

2020-07-16 Thread Saravana Kannan
On Wed, Jun 3, 2020 at 3:12 AM Marc Zyngier wrote: > > Hi Saravana, > > On 2020-05-01 21:23, Saravana Kannan wrote: > > On Fri, May 1, 2020 at 1:48 AM Marc Zyngier wrote: > >> > >> On 2020-04-29 20:04, Saravana Kannan wrote: > >> > On Wed, Apr 29, 2020 at 2:28 AM Marc Zyngier wrote: > >> > >> [.

[PATCH] net: ethernet: ave: Fix error returns in ave_init

2020-07-16 Thread Wang Hai
When regmap_update_bits failed in ave_init(), calls of the functions reset_control_assert() and clk_disable_unprepare() were missed. Add goto out_reset_assert to do this. Fixes: 57878f2f4697 ("net: ethernet: ave: add support for phy-mode setting of system controller") Reported-by: Hulk Robot Sig

[PATCH 2/2] ALSA: hda: Add support for Loongson 7A1000 controller

2020-07-16 Thread Kaige Li
Add the new PCI ID 0x0014 0x7a07 to support Loongson 7A1000 controller. Signed-off-by: Kaige Li --- sound/pci/hda/hda_intel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 1625721..ea1d535 100644 --- a/sound/pci/hda/hda_intel.c

[PATCH 1/2] ALSA: hda/realtek: Fix headset mic on Loongson platform

2020-07-16 Thread Kaige Li
Add pin quirks to enable use of the headset mic on Loongson platform. Signed-off-by: Kaige Li --- sound/pci/hda/patch_realtek.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4c7e191..b227be3 100644 --- a/sound/

[PATCH] ocfs2: fix remounting needed after setfacl command

2020-07-16 Thread Gang He
When use setfacl command to change a file's acl, the user cannot get the latest acl information from the file via getfacl command, until remounting the file system. e.g. setfacl -m u:ivan:rw /ocfs2/ivan getfacl /ocfs2/ivan getfacl: Removing leading '/' from absolute path names file: ocfs2/ivan owne

[PATCH v2] mm: mmap: Merge vma after call_mmap() if possible

2020-07-16 Thread linmiaohe
From: Miaohe Lin The vm_flags may be changed after call_mmap() because drivers may set some flags for their own purpose. As a result, we failed to merge the adjacent vma due to the different vm_flags as userspace can't pass in the same one. Try to merge vma after call_mmap() to fix this issue. S

[PATCH v2] irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macros

2020-07-16 Thread Saravana Kannan
Compiling an irqchip driver as a platform driver needs to bunch of things to be done right: - Making sure the parent domain is initialized first - Making sure the device can't be unbound from sysfs - Disallowing module unload if it's built as a module - Finding the parent node - Etc. Instead of tr

Re: [PATCH v3 0/3] Off-load TLB invalidations to host for !GTSE

2020-07-16 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of July 17, 2020 12:08 pm: > Excerpts from Qian Cai's message of July 17, 2020 3:27 am: >> On Fri, Jul 03, 2020 at 11:06:05AM +0530, Bharata B Rao wrote: >>> Hypervisor may choose not to enable Guest Translation Shootdown Enable >>> (GTSE) option for the gues

[PATCH v3 0/2] two generic block layer fixes for 5.9

2020-07-16 Thread Coly Li
Hi Jens, These two patches are posted for a while, and have reviewed by several other developers. Comparing to previous version, now the discard bio alignment patch can correctly handles partition offset as Martin suggested. I verify it with 5.8-rc5 kernel on VMware ESXi 6.5. Could you please t

Re: [PATCH -next] bcache: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread miaoqinglang
在 2020/7/17 10:22, Coly Li 写道: On 2020/7/16 17:54, Coly Li wrote: On 2020/7/16 17:03, Qinglang Miao wrote: From: Yongqiang Liu Hi Qianlang and Yongqiang, Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/md/bcache/closure.c | 16 +++-

[PATCH v3 1/2] block: change REQ_OP_ZONE_RESET and REQ_OP_ZONE_RESET_ALL to be odd numbers

2020-07-16 Thread Coly Li
Currently REQ_OP_ZONE_RESET and REQ_OP_ZONE_RESET_ALL are defined as even numbers 6 and 8, such zone reset bios are treated as READ bios by bio_data_dir(), which is obviously misleading. The macro bio_data_dir() is defined in include/linux/bio.h as, 55 #define bio_data_dir(bio) \ 56 (op_

[PATCH v3 2/2] block: improve discard bio alignment in __blkdev_issue_discard()

2020-07-16 Thread Coly Li
This patch improves discard bio split for address and size alignment in __blkdev_issue_discard(). The aligned discard bio may help underlying device controller to perform better discard and internal garbage collection, and avoid unnecessary internal fragment. Current discard bio split algorithm in

Re: [PATCH v2 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm

2020-07-16 Thread Peter Chen
On 20-07-16 13:24:52, Rob Herring wrote: > On Tue, Jul 14, 2020 at 05:18:20PM +0200, Philippe Schenker wrote: > > Chipidea depends on some hardware signals to be there in order > > for runtime-pm to work well. Add the possibility to disable runtime > > power management that is necessary for certain

Re: Speaker pops with max98357a on rk3399-gru-kevin since v5.7

2020-07-16 Thread Tzung-Bi Shih
On Thu, Jul 16, 2020 at 7:49 PM Alper Nebi Yasak wrote: > I have been getting "pop" sounds from the speaker on my rk3399-gru-kevin > for a while, and bisected it to 128f825aeab7 ("ASoC: max98357a: move > control of SD_MODE to DAPM"), but looks like the pops were somewhat > expected: I am not conv

[PATCH v3 0/4] Split PCIe node to comply with hardware design

2020-07-16 Thread chuanjia.liu
There are two independent PCIe controllers in MT2712/MT7622 platform, and each of them should contain an independent MSI domain. In current architecture, MSI domain will be inherited from the root bridge, and all of the devices will share the same MSI domain. Hence that, the PCIe devices will not

Re: [PATCH -next] bcache: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Coly Li
On 2020/7/16 17:54, Coly Li wrote: > On 2020/7/16 17:03, Qinglang Miao wrote: >> From: Yongqiang Liu >> > > Hi Qianlang and Yongqiang, > >> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. >> >> Signed-off-by: Yongqiang Liu >> --- >> drivers/md/bcache/closure.c | 16 +++- >> 1

Re: [PATCH -next] scsi: hisi_sas: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread miaoqinglang
在 2020/7/16 20:39, luojiaxing 写道: Hi, Qinglang On 2020/7/16 16:47, Qinglang Miao wrote: From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu ---   drivers/scsi/hisi_sas/hisi_sas_main.c | 137 ++   1 file changed, 10

Re: [PATCH -next] rsxx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Jens Axboe
On 7/16/20 7:37 PM, miaoqinglang wrote: > > 在 2020/7/16 23:45, Jens Axboe 写道: >> On 7/16/20 3:04 AM, Qinglang Miao wrote: >>> From: Liu Shixin >>> >>> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. >> None of these apply against the 5.9 block tree, looks like some >> read -> read_iter conv

Re: [PATCH v4 1/2] kernel: Implement selective syscall userspace redirection

2020-07-16 Thread Gabriel Krisman Bertazi
Andy Lutomirski writes: > On Thu, Jul 16, 2020 at 12:31 PM Gabriel Krisman Bertazi > wrote: >> > > This is quite nice. I have a few comments, though: > > You mentioned rt_sigreturn(). Should this automatically exempt the > kernel-provided signal restorer on architectures (e.g. x86_32) that > p

Re: [PATCH] remoteproc: qcom: pil-info: Fix shift overflow

2020-07-16 Thread Nathan Chancellor
On Wed, Jul 15, 2020 at 10:48:17PM -0700, Bjorn Andersson wrote: > On platforms with 32-bit phys_addr_t the shift to get the upper word of > the base address of the memory region is invalid. Cast the base to 64 > bit to resolv this. > > Fixes: 549b67da660d ("remoteproc: qcom: Introduce helper to s

Re: [Intel-wired-lan] [PATCH] igc: Do not use link uninitialized in igc_check_for_copper_link

2020-07-16 Thread Nathan Chancellor
On Thu, Jul 16, 2020 at 07:29:03PM +0300, Neftin, Sasha wrote: > On 7/16/2020 07:49, Nathan Chancellor wrote: > > Clang warns: > > > Hello Nathan, > Thanks for tracking our code.Please, look at > https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200709073416.14126-1-sasha.nef...@intel.

Re: [PATCH v3 0/3] Off-load TLB invalidations to host for !GTSE

2020-07-16 Thread Nicholas Piggin
Excerpts from Qian Cai's message of July 17, 2020 3:27 am: > On Fri, Jul 03, 2020 at 11:06:05AM +0530, Bharata B Rao wrote: >> Hypervisor may choose not to enable Guest Translation Shootdown Enable >> (GTSE) option for the guest. When GTSE isn't ON, the guest OS isn't >> permitted to use instructio

[PATCH] ebpf: fix parameter naming confusing

2020-07-16 Thread YangYuxi
Signed-off-by: YangYuxi --- kernel/bpf/syscall.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 0fd80ac81f70..300ae16baffc 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c @@ -1881,13 +1881,13 @@ struct

[PATCH 09/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3228 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 44f051af

[PATCH 13/13] pinctrl: rockchip: do codingstyle by adding mux route definitions

2020-07-16 Thread Jianqun Xu
Add MR_SAME/MR_GRF/MR_PMU definitions, and update data in mux route structures. This patch do nothing change, only do some codingstyle. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 674 + 1 file changed, 104 insertions(+), 570 deletions(-) diff

[PATCH 12/13] pinctrl: rockchip: define common codes without special chip name

2020-07-16 Thread Jianqun Xu
Modify RK3399_DRV_3BITS_PER_PIN to ROCKCHIP_DRV_3BITS_PER_PIN, and modify RK3288_DRV_BITS_PER_PIN to ROCKCHIP_DRV_BITS_PER_PIN. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/pinctr

[PATCH 11/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3128 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 04e7027ec8e1..3b74455dcd

[PATCH 07/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3368 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 34 ++ 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index

[PATCH 08/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3308 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 8e3fa901

[PATCH 10/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3288 definitons to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index ec6a1a08f8

[PATCH 06/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3399 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 1be4627f387

[PATCH 05/13] pinctrl: rockchip: create irq mapping in gpio_to_irq

2020-07-16 Thread Jianqun Xu
Remove totally irq mappings create in probe, the gpio irq mapping will be created when do gpio_to_irq -> rockchip_gpio_to_irq -> irq_create_mapping This patch can speed up system boot on, also abandon many unused irq mappings' create. Signed-off-by: Jianqun Xu --- driver

[PATCH 06/13] pinctrl: rockchip: do codingstyle

2020-07-16 Thread Jianqun Xu
Add RK3399 definitions to separate from other SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 1be4627f387

RE: [PATCH v6 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-16 Thread Alim Akhtar
Hi Avi, > -Original Message- > From: Avi Shchislowski > Sent: 16 July 2020 15:31 > To: Bart Van Assche ; daejun7.p...@samsung.com; Avri > Altman ; j...@linux.ibm.com; > martin.peter...@oracle.com; asuto...@codeaurora.org; > bean...@micron.com; stanley@mediatek.com; c...@codeaurora.org

Re: [PATCH] ASoC: meson: add the missed kfree() for axg_card_add_tdm_loopback

2020-07-16 Thread Jing Xiangfeng
On 2020/7/16 21:29, Jerome Brunet wrote: On Thu 16 Jul 2020 at 15:25, Jing Xiangfeng wrote: axg_card_add_tdm_loopback() misses to call kfree() in an error path. Add the missed function call to fix it. Fixes: c84836d7f650 ("ASoC: meson: axg-card: use modern dai_link style") Signed-off-by:

[PATCH 03/13] pinctrl: rockchip: make driver be tristate module

2020-07-16 Thread Jianqun Xu
Make pinctrl-rockchip driver to be tristate module, support to build as a module, this is useful for GKI. Signed-off-by: Jianqun Xu --- drivers/pinctrl/Kconfig| 2 +- drivers/pinctrl/pinctrl-rockchip.c | 7 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 02/13] pinctrl: rockchip: modify rockchip_pin_ctrl to const struct

2020-07-16 Thread Jianqun Xu
The rockchip_pin_ctrl structure actually is soc data structure for pinctrl on Rockchip SoCs. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 62 +++--- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b

[PATCH 01/13] pinctrl: rockchip: add nr_pins to rockchip_pin_ctrl

2020-07-16 Thread Jianqun Xu
Add nr_pins to rockchip_pin_ctrl by hand, instead of calculating during driver probe. This patch is prepare work for making rockchip_pin_ctrl to be const type. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 22 -- 1 file changed, 20 insertions(+), 2 deleti

[PATCH 04/13] pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq

2020-07-16 Thread Jianqun Xu
There need to enable pclk_gpio when do irq_create_mapping, since it will do access to gpio controller. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c i

[PATCH 00/13] pinctrl: rockchip: prepare work for split driver

2020-07-16 Thread Jianqun Xu
This serial patchs include 12 codingstyle patches and 1 bug fix (enable gpio pclk for rockchip_gpio_to_irq). Also it's prepare for split driver work. Jianqun Xu (13): pinctrl: rockchip: add nr_pins to rockchip_pin_ctrl pinctrl: rockchip: modify rockchip_pin_ctrl to const struct pinctrl: roc

[PATCH v13 1/2] dt-bindings: phy: Document Samsung UFS PHY bindings

2020-07-16 Thread Alim Akhtar
This patch documents Samsung UFS PHY device tree bindings Reviewed-by: Rob Herring Signed-off-by: Alim Akhtar Tested-by: Paweł Chmiel --- .../bindings/phy/samsung,ufs-phy.yaml | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindin

[PATCH v13 2/2] phy: samsung-ufs: add UFS PHY driver for samsung SoC

2020-07-16 Thread Alim Akhtar
This patch introduces Samsung UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. [Robot: -Wmissing-prototypes and -Wsometimes-uninitialized] Reported-by: kernel test robot Reviewed-by: Kiwoong Kim Signed-off-by: Seungwon J

Re: [PATCH v2 0/2] psi: enhance psi with the help of ebpf

2020-07-16 Thread Yafang Shao
On Fri, Jul 17, 2020 at 1:04 AM Shakeel Butt wrote: > > On Wed, Jul 15, 2020 at 8:19 PM Yafang Shao wrote: > > > > On Thu, Jul 16, 2020 at 12:36 AM Shakeel Butt wrote: > > > > > > Hi Yafang, > > > > > > On Tue, Mar 31, 2020 at 3:05 AM Yafang Shao wrote: > > > > > > > > PSI gives us a powerful w

[tip:master] BUILD SUCCESS 8b68f1cda59dc238dc67989c8ac3fa95873f89ed

2020-07-16 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 8b68f1cda59dc238dc67989c8ac3fa95873f89ed Merge branch 'irq/urgent' elapsed time: 722m configs tested: 74 configs skipped: 1 The following configs have been built successfully. More configs may be teste

[tip:x86/entry] BUILD SUCCESS 790ce3b40017bbd759a3d81e23c05d42b3d34b90

2020-07-16 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry branch HEAD: 790ce3b40017bbd759a3d81e23c05d42b3d34b90 x86/idtentry: Remove stale comment elapsed time: 722m configs tested: 28 configs skipped: 70 The following configs have been built successfully. More confi

Re: [PATCH -next] rsxx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread miaoqinglang
在 2020/7/16 23:45, Jens Axboe 写道: On 7/16/20 3:04 AM, Qinglang Miao wrote: From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. None of these apply against the 5.9 block tree, looks like some read -> read_iter conversion has happened in another branch that I'm not privy to

Re: [PATCH -next] gpu: host1x: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread miaoqinglang
在 2020/7/16 21:34, Thierry Reding 写道: On Thu, Jul 16, 2020 at 05:03:23PM +0800, Qinglang Miao wrote: From: Yongqiang Liu Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yongqiang Liu --- drivers/gpu/host1x/debug.c | 28 1 file changed, 4

Re: [PATCH 1/2] irqchip: imx-intmux: add system PM support

2020-07-16 Thread kernel test robot
Hi Joakim, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/irq/core] [also build test WARNING on linux/master linus/master v5.8-rc5 next-20200716] [cannot apply to arm-jcooper/irqchip/for-next] [If your patch is applied to the wrong git tree, kindly drop us

Re: [PATCH 2/2] Input: elan_i2c - Modify the IAP related functio n for page sizes 128, 512 bytes.

2020-07-16 Thread Dmitry Torokhov
Hi Jingle, On Thu, Jul 16, 2020 at 02:15:23PM +0800, jingle.wu wrote: > HI Dmitry: > > Just to confirm, the older devices (I assume that pattern 0 means older) > have version command that is numerically higher than the one for the > newer (pattern >= 1) devices? > > >> Yes, Pattern 1, 2 are ne

Re: Regression: squashfs issues since change "squashfs: migrate from ll_rw_block usage to BIO"

2020-07-16 Thread Phillip Lougher
On Fri, Jul 17, 2020 at 12:07 AM Andrew Morton wrote: > > On Tue, 14 Jul 2020 21:41:07 +0200 Bernd Amend wrote: > > > Hi, > > > > With the Linux Kernel version 5.8-rc5/master I am unable to mount some > > squashfs filesystems compressed with "-comp lz4". > > If I try to mount them I get the follo

Re: [PATCH -next] s390/mm: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread miaoqinglang
在 2020/7/16 19:26, Heiko Carstens 写道: On Thu, Jul 16, 2020 at 05:07:03PM +0800, Qinglang Miao wrote: From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- arch/s390/mm/dump_pagetables.c | 12 +--- 1 file changed, 1 insertion(+), 11

Re: [PATCH v5 5/5] iommu/vt-d: Check UAPI data processed by IOMMU core

2020-07-16 Thread Lu Baolu
On 7/17/20 2:45 AM, Jacob Pan wrote: IOMMU generic layer already does sanity checks UAPI data for version match and argsz range under generic information. Remove the redundant version check from VT-d driver and check for vendor specific data size. Signed-off-by: Jacob Pan Reviewed-by: Lu Baol

Re: [PATCH net-next 10/13] qed: add support for new port modes

2020-07-16 Thread Jakub Kicinski
On Thu, 16 Jul 2020 14:54:43 +0300 Alexander Lobakin wrote: > These ports ship on new boards revisions and are supported by newer > firmware versions. > > Signed-off-by: Alexander Lobakin > Signed-off-by: Igor Russkikh What is the driver actually doing with them, tho? Looks like you translate

[PATCH] dma-buf: heaps: Introduce dma_heap_add_cma() for non-default CMA heap

2020-07-16 Thread Kunihiko Hayashi
Current dma-buf heaps can handle only default CMA. This introduces dma_heap_add_cma() function to attach CMA heaps that belongs to a device. At first, the driver calls of_reserved_mem_device_init() to set memory-region property associated with reserved-memory defined as CMA to the device. And when

Re: [PATCH v2] selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support

2020-07-16 Thread Jakub Kicinski
On Thu, 16 Jul 2020 17:51:14 +0200 Paolo Pisati wrote: > Fix ip_defrag.sh when CONFIG_NF_DEFRAG_IPV6=m: > > $ sudo ./ip_defrag.sh > + set -e > + mktemp -u XX > + readonly NETNS=ns-rGlXcw > + trap cleanup EXIT > + setup > + ip netns add ns-rGlXcw > + ip -netns ns-rGlXcw link set lo up > + ip ne

Re: [PATCH v2 bpf-next 1/2] bpf: separate bpf_get_[stack|stackid] for perf events BPF

2020-07-16 Thread kernel test robot
config: arm64-randconfig-r004-20200716 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ed6b578040a85977026c93bf4188f996148f3218) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: [PATCH] mm: mmap: Merge vma after call_mmap() if possible

2020-07-16 Thread linmiaohe
Andrew Morton wrote: >On Tue, 14 Jul 2020 11:07:44 +0800 linmiaohe wrote: > >> From: Miaohe Lin >> >> The vm_flags may be changed after call_mmap() because drivers may set >> some flags for their own purpose. As a result, we failed to merge the >> adjacent vma due to the different vm_flags as

Re: [PATCH] leds: add NCT6795D driver

2020-07-16 Thread Alexandre Courbot
Hi Jacek, On Thu, Jul 16, 2020 at 4:32 AM Jacek Anaszewski wrote: > > Hi Alexandre, > > On 7/15/20 3:54 AM, Alexandre Courbot wrote: > > Hi Pavel, > > > > On Wed, Jul 15, 2020 at 7:33 AM Pavel Machek wrote: > >> > >> Hi! > >> > >>> Add support for the LED feature of the NCT6795D chip found on so

Re: [PATCH] arm64: Make TSK_STACK_CANARY more accurate defined

2020-07-16 Thread Guo Ren
BTW, Jim found a GCC security leak in arm64, and would you want to have a look at it? --- I notice in the epilogue I get ld a4, 8(sp) ld a5, 100(t6) xor a5, a4, a5 bne a5,zero,.L4 This looks like a security leak that the canary value is left in a4. The i386 implementation operat

Re: [PATCH net-next 2/2] hinic: add log in exception handling processes

2020-07-16 Thread luobin (L)
On 2020/7/16 23:27, Jakub Kicinski wrote: > On Thu, 16 Jul 2020 20:50:56 +0800 Luo bin wrote: >> improve the error message when functions return failure and dump >> relevant registers in some exception handling processes >> >> Signed-off-by: Luo bin > > For kernel builds with W=1 C=1 flags this p

Re: [PATCH v18 06/14] mm/damon: Implement callbacks for the virtual memory address spaces

2020-07-16 Thread Shakeel Butt
On Mon, Jul 13, 2020 at 1:44 AM SeongJae Park wrote: > > From: SeongJae Park > > This commit introduces a reference implementation of the address space > specific low level primitives for the virtual address space, so that > users of DAMON can easily monitor the data accesses on virtual address >

[PATCH 3/3] media: Add support for the AM/FM radio chip KT0913 from KT Micro.

2020-07-16 Thread Santiago Hormazabal
This chip requires almost no support components and can used over I2C. The driver uses the I2C bus and exposes the controls as a V4L2 radio. Tested with a module that contains this chip (from SZZSJDZ.com, part number ZJ-801B) and a H2+ AllWinner SoC running the master (at this time) of the media_tr

[PATCH 2/3] media: kt0913: device tree binding

2020-07-16 Thread Santiago Hormazabal
Document bindings for the kt0913 AM/FM radio tuner. Signed-off-by: Santiago Hormazabal --- .../bindings/media/i2c/ktm,kt0913.yaml| 56 +++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ktm,kt0913.yaml diff --git a/Docume

[PATCH 1/3] dt-bindings: vendor-prefixes: Add KT Micro

2020-07-16 Thread Santiago Hormazabal
Adds ktm as the prefix of KT Micro, Inc. Signed-off-by: Santiago Hormazabal --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes

[PATCH 0/3] KT091 FM/AM driver

2020-07-16 Thread Santiago Hormazabal
media: adds support for kt0913 FM/AM tuner chip Adds a driver for the KT0913 FM/AM tuner chip from KT Micro. This chip is found on many low cost FM/AM radios and DVD/Home Theaters. The chip provides two ways of usage, a manual mode (requiring only a few buttons) or complete control via I2C. This d

Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"

2020-07-16 Thread Karol Herbst
On Fri, Jul 17, 2020 at 1:54 AM Bjorn Helgaas wrote: > > [+cc Sasha -- stable kernel regression] > [+cc Patrick, Kai-Heng, LKML] > > On Fri, Jul 17, 2020 at 12:10:39AM +0200, Karol Herbst wrote: > > On Tue, Jul 7, 2020 at 9:30 PM Karol Herbst wrote: > > > > > > Hi everybody, > > > > > > with the

Re: [PATCH net 2/3] net: bcmgenet: test RBUF_ACPI_EN when resuming

2020-07-16 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > When the GENET driver resumes from deep sleep the UMAC_CMD > register may not be accessible and therefore should not be > accessed from bcmgenet_wol_power_up_cfg() if the GENET has > been reset. > > This commit adds a check of the RBUF_ACPI_EN flag whe

Re: [PATCH net 1/3] net: bcmgenet: test MPD_EN when resuming

2020-07-16 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > When the GENET driver resumes from deep sleep the UMAC_CMD > register may not be accessible and therefore should not be > accessed from bcmgenet_wol_power_up_cfg() if the GENET has > been reset. > > This commit adds a check of the MPD_EN flag when Wake

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