[PATCH v4 0/4] Add LT9611 DSI to HDMI bridge

2020-07-07 Thread Vinod Koul
Hi, This series adds driver and bindings for Lontium LT9611 bridge chip which takes MIPI DSI as input and HDMI as output. This chip can be found in 96boards RB3 platform [1] commonly called DB845c. [1]: https://www.96boards.org/product/rb3-platform/ Changes in v4: - Add msm/dsi patch to create

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread David Hildenbrand
On 08.07.20 08:22, Mike Rapoport wrote: > On Tue, Jul 07, 2020 at 09:27:43PM -0700, Dan Williams wrote: >> On Tue, Jul 7, 2020 at 9:08 PM Justin He wrote: >> [..] Especially for architectures that use memblock info for numa info (which seems to be everyone except x86) why not implement a

Re: [PATCH v2] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-07 Thread Xiaoyao Li
On 7/3/2020 5:38 AM, Abhishek Bhardwaj wrote: This change adds a new kernel configuration that sets the l1d cache flush setting at compile time rather than at run time. Signed-off-by: Abhishek Bhardwaj --- Changes in v2: - Fix typo in the help of the new KConfig. arch/x86/kernel/cpu/bugs.c

RE: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Justin He
Hi Dan > -Original Message- > From: Dan Williams > Sent: Wednesday, July 8, 2020 1:48 PM > To: Mike Rapoport > Cc: Justin He ; Michal Hocko ; David > Hildenbrand ; Catalin Marinas ; > Will Deacon ; Vishal Verma ; > Dave Jiang ; Andrew Morton foundation.org>; Baoquan He ; Chuhong Yuan >

Re: [PATCH] xfs: Use fallthrough pseudo-keyword

2020-07-07 Thread Dave Chinner
On Tue, Jul 07, 2020 at 06:48:29PM -0700, Joe Perches wrote: > On Tue, 2020-07-07 at 13:50 -0700, Darrick J. Wong wrote: > > On Tue, Jul 07, 2020 at 03:05:04PM -0500, Gustavo A. R. Silva wrote: > > > Replace the existing /* fall through */ comments and its variants with > > > the new pseudo-keyword

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Dan Williams
On Tue, Jul 7, 2020 at 11:22 PM Mike Rapoport wrote: [..] > > > Thanks for your suggestion, > > > Could I wrap the codes and let memory_add_physaddr_to_nid simply invoke > > > phys_to_target_node()? > > > > I think it needs to be the reverse. phys_to_target_node() should call > > memory_add_physad

Re: [PATCH 2/9] usb: cdns3: Improvement: removed not needed variables initialization

2020-07-07 Thread Peter Chen
On 20-07-07 13:16:33, Dan Carpenter wrote: > On Tue, Jul 07, 2020 at 06:23:32AM +, Peter Chen wrote: > > On 20-07-01 08:19:57, Pawel Laszczak wrote: > > > Patch remove some variables initialization from core.c and drd.c > > > file. > > > > > > Signed-off-by: Pawel Laszczak > > > --- > > > dr

Re: [PATCH 2/13] misc: rtsx: Check the return value of pcie_capability_read_*()

2020-07-07 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2020 at 12:03:13AM +0200, Saheed Olayemi Bolarinwa wrote: > From: Bolarinwa Olayemi Saheed > > On failure pcie_capability_read_dword() sets it's last parameter, val > to 0. In which case (val & PCI_EXP_DEVCTL2_LTR_EN) evaluates to 0. > However, with Patch 13/13, it is possible tha

[PATCH] Replace HTTP links with HTTPS ones: CEPH COMMON CODE (LIBCEPH)

2020-07-07 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v3 4/8] KVM: X86: Split kvm_update_cpuid()

2020-07-07 Thread Xiaoyao Li
Split the part of updating vcpu model out of kvm_update_cpuid(), and put it into a new kvm_update_vcpu_model(). So it's more clear that kvm_update_cpuid() is to update guest CPUID settings, while kvm_update_vcpu_model() is to update vcpu model (settings) based on the updated CPUID settings. Signed

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-07 Thread Lee Jones
On Wed, 08 Jul 2020, Damien Le Moal wrote: > On 2020/07/07 23:01, Lee Jones wrote: > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > There are a whole lot more of these. More f

Re: [PATCH v2 2/2] kbuild: trace functions in subdirectories of lib/

2020-07-07 Thread Petr Mladek
On Tue 2020-07-07 18:21:17, Masahiro Yamada wrote: > ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) > > exists here in sub-directories of lib/ to keep the behavior of > commit 2464a609ded0 ("ftrace: do not trace library functions"). > > Since that commit, not only the objects in

[PATCH v3 8/8] KVM: X86: Move kvm_apic_set_version() to kvm_update_vcpu_model()

2020-07-07 Thread Xiaoyao Li
There is no dependencies between kvm_apic_set_version() and kvm_update_cpuid() because kvm_apic_set_version() queries X2APIC CPUID bit, which is not touched/changed by kvm_update_cpuid(). Obviously, kvm_apic_set_version() belongs to the category of updating vcpu model. Signed-off-by: Xiaoyao Li

[PATCH v3 6/8] KVM: X86: Move kvm_x86_ops.update_vcpu_model() into kvm_update_vcpu_model()

2020-07-07 Thread Xiaoyao Li
kvm_x86_ops.update_vcpu_model() is used to update vmx/svm vcpu settings based on updated CPUID settings. So it's supposed to be called after CPUIDs are fully updated, i.e., kvm_update_cpuid(). Currently, kvm_update_cpuid() only updates CPUID bits of OSXSAVE, APIC, OSPKE, MWAIT, KVM_FEATURE_PV_UNHA

[PATCH v3 7/8] KVM: lapic: Use guest_cpuid_has() in kvm_apic_set_version()

2020-07-07 Thread Xiaoyao Li
Only code cleanup and no functional change. Signed-off-by: Xiaoyao Li --- arch/x86/kvm/lapic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 5bf72fc86a8e..e5dbb7ebae78 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/

[PATCH v3 3/8] KVM: X86: Introduce kvm_check_cpuid()

2020-07-07 Thread Xiaoyao Li
Use kvm_check_cpuid() to validate if userspace provides legal cpuid settings and call it before KVM updates CPUID. Signed-off-by: Xiaoyao Li --- Is the check of virutal address width really necessary? KVM doesn't check other bits at all. I guess the policy is that KVM allows illegal CPUID setting

[PATCH v3 2/8] KVM: X86: Go on updating other CPUID leaves when leaf 1 is absent

2020-07-07 Thread Xiaoyao Li
As handling of bits out of leaf 1 added over time, kvm_update_cpuid() should not return directly if leaf 1 is absent, but should go on updateing other CPUID leaves. Keep the update of apic->lapic_timer.timer_mode_mask in a separate wrapper, to minimize churn for code since it will be moved out of

[PATCH v3 5/8] KVM: X86: Rename cpuid_update() to update_vcpu_model()

2020-07-07 Thread Xiaoyao Li
The name of callback cpuid_update() is misleading that it's not about updating CPUID settings of vcpu but updating the configurations of vcpu based on the CPUIDs. So rename it to update_vcpu_model(). Signed-off-by: Xiaoyao Li --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/cpuid.c

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-07 Thread Lee Jones
On Wed, 08 Jul 2020, Martin K. Petersen wrote: > On Tue, 7 Jul 2020 15:00:45 +0100, Lee Jones wrote: > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > There are a whole lot m

[PATCH v3 1/8] KVM: X86: Reset vcpu->arch.cpuid_nent to 0 if SET_CPUID* fails

2020-07-07 Thread Xiaoyao Li
Current implementation keeps userspace input of CPUID configuration and cpuid->nent even if kvm_update_cpuid() fails. Reset vcpu->arch.cpuid_nent to 0 for the case of failure as a simple fix. Besides, update the doc to explicitly state that if IOCTL SET_CPUID* fail KVM gives no gurantee that previ

Re: [PATCH v1 0/9] s390: implement and optimize vmemmap_free()

2020-07-07 Thread David Hildenbrand
On 07.07.20 14:13, David Hildenbrand wrote: > On 07.07.20 14:08, Heiko Carstens wrote: >> On Fri, Jul 03, 2020 at 03:39:08PM +0200, David Hildenbrand wrote: >>> This series is based on the latest s390/features branch [1]. It implements >>> vmemmap_free(), consolidating it with vmem_add_range(), and

Re: Bug Report High CPU Usage events_power_efficient

2020-07-07 Thread Martin Zaharinov
Add Greg , Florian, Eric to this bug > On 7 Jul 2020, at 22:54, Martin Zaharinov wrote: > > And this is log from /sys/kernel/debug/tracing/trace > > > # entries-in-buffer/entries-written: 32410/32410 #P:64 > # > # _-=> irqs-off > #

[PATCH v3 0/8] Refactor handling flow of KVM_SET_CPUID*

2020-07-07 Thread Xiaoyao Li
This serial is the extended version of https://lkml.kernel.org/r/20200528151927.14346-1-xiaoyao...@intel.com First two patches are bug fixing, and the others aim to refactor the flow of SET_CPUID* as: 1. cpuid check: check if userspace provides legal CPUID settings; 2. cpuid update: Update some

Re: [PATCH net] xsk: remove cheap_dma optimization

2020-07-07 Thread Christoph Hellwig
On Mon, Jun 29, 2020 at 04:41:16PM +0100, Robin Murphy wrote: > On 2020-06-28 18:16, Björn Töpel wrote: >> >> On 2020-06-27 09:04, Christoph Hellwig wrote: >>> On Sat, Jun 27, 2020 at 01:00:19AM +0200, Daniel Borkmann wrote: Given there is roughly a ~5 weeks window at max where this removal co

Re: [PATCH v4 04/11] mm/hugetlb: make hugetlb migration callback CMA aware

2020-07-07 Thread Michal Hocko
On Tue 07-07-20 13:31:19, Michal Hocko wrote: > Btw. you are keeping his acks even > after considerable changes to patches which I am not really sure he is > ok with. I am sorry but I have missed the last email from Mike in v3. -- Michal Hocko SUSE Labs

Re: [PATCH] scatterlist: protect parameters of the sg_table related macros

2020-07-07 Thread Christoph Hellwig
On Tue, Jun 30, 2020 at 10:16:02AM +0200, Marek Szyprowski wrote: > Add brackets to protect parameters of the recently added sg_table related > macros from side-effects. Applied to the dma-mapping tree, thanks.

Re: [PATCH v3 7/8] mm/mempolicy: use a standard migration target allocation callback

2020-07-07 Thread Michal Hocko
On Tue 07-07-20 21:20:44, Qian Cai wrote: [...] > migrate_pages() starts failing like this apparently using the new > callback on NUMA systems, > > [ 6147.019063][T45242] LTP: starting move_pages12 > [ 6147.475680][T64921] BUG: unable to handle page fault for address: > ffe0 Hmm, thi

Re: [PATCH] selftests: kmod: Add module address visibility test

2020-07-07 Thread Luis Chamberlain
On Fri, Jul 03, 2020 at 11:43:28AM -0700, Kees Cook wrote: > Make sure we don't regress the CAP_SYSLOG behavior of the module address > visibility via /proc/modules nor /sys/module/*/sections/*. > > Cc: Luis Chamberlain > Cc: Shuah Khan > Cc: linux-kselft...@vger.kernel.org > Signed-off-by: Kees

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Dan Williams
On Tue, Jul 7, 2020 at 11:20 PM Mike Rapoport wrote: [..] > > Darn, I saw ARCH_KEEP_MEMBLOCK and had delusions of grandeur that it > > could solve my numa api woes. At least for x86 the problem is already > > solved with reserved numa_meminfo, but now I'm trying to write generic > > drivers that u

Re: [PATCH -next] Documentation/vm: fix tables in arch_pgtable_helpers

2020-07-07 Thread Mike Rapoport
n Corbet > Cc: linux-...@vger.kernel.org > Cc: Anshuman Khandual > Cc: Mike Rapoport > Cc: linux-a...@vger.kernel.org > Cc: linux...@kvack.org > Cc: Andrew Morton > --- > Documentation/vm/arch_pgtable_helpers.rst | 333 ++-- > 1 file changed, 116 insertions(+), 21

Re: [PATCH -next] Documentation/vm: fix tables in arch_pgtable_helpers

2020-07-07 Thread Anshuman Khandual
> Cc: Anshuman Khandual > Cc: Mike Rapoport > Cc: linux-a...@vger.kernel.org > Cc: linux...@kvack.org > Cc: Andrew Morton > --- > Documentation/vm/arch_pgtable_helpers.rst | 333 ++-- > 1 file changed, 116 insertions(+), 217 deletions(-) &g

Re: [PATCH 01/16] init: remove the bstat helper

2020-07-07 Thread Christoph Hellwig
On Tue, Jul 07, 2020 at 09:54:30AM -0700, Song Liu wrote: > Would this official mm tree work? > > T: git git://github.com/hnaz/linux-mm.git > > If not, I am OK with either vfs tree or a dedicated tree. That is a constantly rebased tree, so I don't think it helps.

Re: [PATCH 4.9 00/24] 4.9.230-rc1 review

2020-07-07 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:44, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.230 release. > There are 24 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

[PATCH v4 2/4] dt-bindings: arm: rockchip: Add Rock Pi N8 binding

2020-07-07 Thread Jagan Teki
Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VMARC RK3288 SOM need to mount on top of dalang carrier board for making Rock PI N8 SBC. Add dt-bindings for it. Signed-off-by: Jagan Teki --- Chang

[PATCH v4 1/4] arm64: dts: rockchip: Trivial cleanups for RockPI N10

2020-07-07 Thread Jagan Teki
Radxa dalang carrier boards are used to mount vmarc SoM's of rk3399pro and rk3288 to make complete SBC. So, this patch adds trivial changes to properties. - move common properties into radxa dalang carrier dtsi. - maintain ascending order for nodes, properties. - change the order of dtsi include s

[PATCH v4 3/4] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support

2020-07-07 Thread Jagan Teki
VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - eMMC: 16GB/32GB/64GB - SD slot - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC R

[PATCH v4 4/4] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support

2020-07-07 Thread Jagan Teki
Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including rk3

[PATCH v4 0/4] ARM: dts: rockchip: Radxa Rock Pi N8 initial support

2020-07-07 Thread Jagan Teki
Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VMARC RK3288 SOM need to mount on top of dalang carrier board for making Rock PI N8 SBC. This series moved i2c2 into rk3399pro dtsi and rest are simi

Re: [PATCH 04/30] usb: misc: sisusbvga: sisusb_init: Mark all 'static const' arrays as __maybe_unused

2020-07-07 Thread Lee Jones
On Tue, 07 Jul 2020, Joe Perches wrote: > On Tue, 2020-07-07 at 09:03 +0100, Lee Jones wrote: > > On Fri, 03 Jul 2020, Joe Perches wrote: > > > > > On Fri, 2020-07-03 at 18:41 +0100, Lee Jones wrote: > > > > drivers/usb/misc/sisusbvga/sisusb_init.h is included by a few > > > > source files. Most

Re: [PATCH v3 10/16] exec: Remove do_execve_file

2020-07-07 Thread Luis Chamberlain
On Thu, Jul 02, 2020 at 11:41:34AM -0500, Eric W. Biederman wrote: > Now that the last callser has been removed remove this code from exec. > > For anyone thinking of resurrecing do_execve_file please note that > the code was buggy in several fundamental ways. > > - It did not ensure the file it

[PATCH] Replace HTTP links with HTTPS ones: W1 DALLAS'S 1-WIRE BUS

2020-07-07 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] kernel: perf_event: use for_each_set_bit() to simplify the code

2020-07-07 Thread Xu Wang
Using for_each_set_bit() to simplify the code. Signed-off-by: Xu Wang --- arch/xtensa/kernel/perf_event.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/xtensa/kernel/perf_event.c b/arch/xtensa/kernel/perf_event.c index 9bae79f70301..99fcd63ce597 100644 --- a/arch/xt

Re: [PATCH 4.14 00/27] 4.14.188-rc1 review

2020-07-07 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:46, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.188 release. > There are 27 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 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced function parameters

2020-07-07 Thread Hannes Reinecke
On 7/7/20 4:00 PM, Lee Jones wrote: Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_disc.c:343: warning: Function parameter or member 'disc' not described in 'fc_disc_gpn_ft_req' drivers/scsi/libfc/fc_disc.c:343: warning: Excess function parameter 'lport' description

[PATCH] Replace HTTP links with HTTPS ones: OMFS

2020-07-07 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v1] riscv: Add jump-label implementation

2020-07-07 Thread Björn Töpel
On Tue, 7 Jul 2020 at 17:08, Emil Renner Berthing wrote: > > Add jump-label implementation based on the ARM64 version. > Thanks for working on this! > Tested on the HiFive Unleashed board. > > Signed-off-by: Emil Renner Berthing > --- > > Changes since RFC: > - Use RISCV_PTR and RISCV_LGPTR mac

[PATCH] Replace HTTP links with HTTPS ones: SOFTLOGIC 6x10 MPEG CODEC

2020-07-07 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher'

2020-07-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcde237b9b0eb1d19306e6f48c0a4e058907619f commit: 75ccbef6369e94ecac696a152a998a978d41376b bpf: Introduce BPF dispatcher date: 7 months ago config: x86_64-randconfig-r014-20200707 (attached as .config

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Mike Rapoport
On Tue, Jul 07, 2020 at 09:27:43PM -0700, Dan Williams wrote: > On Tue, Jul 7, 2020 at 9:08 PM Justin He wrote: > [..] > > > Especially for architectures that use memblock info for numa info > > > (which seems to be everyone except x86) why not implement a generic > > > memory_add_physaddr_to_nid(

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Mike Rapoport
On Tue, Jul 07, 2020 at 10:48:19PM -0700, Dan Williams wrote: > On Tue, Jul 7, 2020 at 10:33 PM Mike Rapoport wrote: > > > > On Tue, Jul 07, 2020 at 08:56:36PM -0700, Dan Williams wrote: > > > On Tue, Jul 7, 2020 at 7:20 PM Justin He wrote: > > > > > > > > Hi Michal and David > > > > > > > > > --

Re: [PATCH] nvme-pci: use standard block status symbolic names to check return value

2020-07-07 Thread Baolin Wang
On Wed, Jul 08, 2020 at 07:09:00AM +0200, Christoph Hellwig wrote: > On Wed, Jul 08, 2020 at 10:18:01AM +0800, Baolin Wang wrote: > > It's better to use the same symbol as the return to check return value, > > and will always work in the unlikely event that the defines are reordered. > > > > Sugge

Re: [PATCH 4/4] drm: fb-helper: Convert logging to drm_* functions.

2020-07-07 Thread Thomas Zimmermann
Am 07.07.20 um 18:37 schrieb Suraj Upadhyay: > Change logging information from dev_info() to drm_info(). > > Signed-off-by: Suraj Upadhyay Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_fb_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers

Re: [PATCH 3/4] drm: edid: Convert logging to drm_* functions.

2020-07-07 Thread Thomas Zimmermann
Thanks! Am 07.07.20 um 18:36 schrieb Suraj Upadhyay: > Change logging of warnings to drm_warn() form dev_warn(). > > Signed-off-by: Suraj Upadhyay Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_edid.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH] scsi: storvsc: Add validation for untrusted Hyper-V values

2020-07-07 Thread Martin K. Petersen
On Mon, 6 Jul 2020 12:09:28 -0400, Andres Beltran wrote: > For additional robustness in the face of Hyper-V errors or malicious > behavior, validate all values that originate from packets that > Hyper-V has sent to the guest. Ensure that invalid values cannot > cause data being copied out of the b

Re: stop using ->read and ->write for kernel access v3

2020-07-07 Thread Christoph Hellwig
On Tue, Jul 07, 2020 at 01:24:01PM -0700, Linus Torvalds wrote: > On Tue, Jul 7, 2020 at 10:48 AM Christoph Hellwig wrote: > > > > Hi Al and Linus (and Stephen, see below), > > > > as part of removing set_fs entirely (for which I have a working > > prototype), we need to stop calling ->read and ->

Re: [PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-07 Thread Martin K. Petersen
On Tue, 7 Jul 2020 15:00:45 +0100, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > There are a whole lot more of these. More fixes to follow. > > Lee Jones (10): >

Re: [PATCH] scsi: ufs: change upiu_flags to be u8

2020-07-07 Thread Martin K. Petersen
On Mon, 6 Jul 2020 14:39:36 +0200, Bean Huo wrote: > According to the UFS Spec, the Flags in the UPIU is one-byte length, not > 4 bytes. change it to be u8. Applied to 5.9/scsi-queue, thanks! [1/1] scsi: ufs: Change upiu_flags to be u8 https://git.kernel.org/mkp/scsi/c/a23064c4123b -- Ma

Re: [PATCH][next] scsi: lpfc: fix inconsistent indenting

2020-07-07 Thread Martin K. Petersen
On Tue, 7 Jul 2020 16:00:18 +0100, Colin King wrote: > Fix smatch warning: > drivers/scsi/lpfc/lpfc_sli.c:15156 lpfc_cq_poll_hdler() warn: inconsistent > indenting Applied to 5.9/scsi-queue, thanks! [1/1] scsi: lpfc: Fix inconsistent indenting https://git.kernel.org/mkp/scsi/c/26e0b9aa3578

Re: [PATCH 5/5] nvme-pci: Use standard block status macro

2020-07-07 Thread Christoph Hellwig
On Tue, Jul 07, 2020 at 12:01:23PM -0700, Keith Busch wrote: > On Fri, Jul 03, 2020 at 10:49:24AM +0800, Baolin Wang wrote: > > static blk_status_t nvme_map_data(struct nvme_dev *dev, struct request > > *req, > > @@ -844,7 +844,7 @@ static blk_status_t nvme_map_metadata(struct nvme_dev > > *dev,

Re: [PATCH bpf-next 2/2] selftests/bpf: add selftests verifying bpf_trace_printk() behaviour

2020-07-07 Thread Andrii Nakryiko
On Fri, Jul 3, 2020 at 7:45 AM Alan Maguire wrote: > > Simple selftest that verifies bpf_trace_printk() returns a sensible > value and tracing messages appear. > > Signed-off-by: Alan Maguire > --- > .../selftests/bpf/prog_tests/trace_printk.c| 71 > ++ > tools/testi

Re: [PATCH 4.19 00/36] 4.19.132-rc1 review

2020-07-07 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:48, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.132 release. > There are 36 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

[PATCH RFC] kernel: Implement selective syscall redirection through personality

2020-07-07 Thread Gabriel Krisman Bertazi
The problem I'm trying to solve is that modern Windows applications are executing system call instructions directly from the application's code without going through the WinAPI. This breaks Wine emulation, because it doesn't have a chance to intercept and emulate these syscalls before they are sub

Re: [PATCH bpf-next 1/2] bpf: use dedicated bpf_trace_printk event instead of trace_printk()

2020-07-07 Thread Andrii Nakryiko
On Fri, Jul 3, 2020 at 7:47 AM Alan Maguire wrote: > > The bpf helper bpf_trace_printk() uses trace_printk() under the hood. > This leads to an alarming warning message originating from trace > buffer allocation which occurs the first time a program using > bpf_trace_printk() is loaded. > > We can

Re: [PATCH v3 3/3] printk: use the lockless ringbuffer

2020-07-07 Thread lijiang
在 2020年07月03日 19:54, John Ogness 写道: > On 2020-07-02, lijiang wrote: >> About the VMCOREINFO part, I made some tests based on the kernel patch >> v3, the makedumpfile and crash-utility can work as expected with your >> patch(userspace patch), but, unfortunately, the >> vmcore-dmesg(kexec-tools) ca

Re: [PATCH v5 18/25] mm/s390: Use general page fault accounting

2020-07-07 Thread Alexander Gordeev
On Tue, Jul 07, 2020 at 06:50:14PM -0400, Peter Xu wrote: > Use the general page fault accounting by passing regs into handle_mm_fault(). > It naturally solve the issue of multiple page fault accounting when page fault > retry happened. > > CC: Heiko Carstens > CC: Vasily Gorbik > CC: Christian

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Dan Williams
On Tue, Jul 7, 2020 at 10:33 PM Mike Rapoport wrote: > > On Tue, Jul 07, 2020 at 08:56:36PM -0700, Dan Williams wrote: > > On Tue, Jul 7, 2020 at 7:20 PM Justin He wrote: > > > > > > Hi Michal and David > > > > > > > -Original Message- > > > > From: Michal Hocko > > > > Sent: Tuesday, Ju

Re: [PATCH][next] IB/hfi1: Use fallthrough pseudo-keyword

2020-07-07 Thread Leon Romanovsky
On Tue, Jul 07, 2020 at 12:39:42PM -0500, Gustavo A. R. Silva wrote: > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. > > [1] > https://www.kernel.org/doc/ht

[PATCH 1/1] riscv: Enable compiler optimizations

2020-07-07 Thread Chenxi Mao
Enable ARCH_HAS_FAST_MULTIPLIER and ARCH_SUPPORTS_INT128 for better code generation. These 2 configurations works fine on GCC-9.3 and GCC-10.1 Signed-off-by: Chenxi Mao --- arch/riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 1281

Re: [PATCH v2 2/3] xen/privcmd: Mark pages as dirty

2020-07-07 Thread Jürgen Groß
On 07.07.20 21:30, John Hubbard wrote: On 2020-07-07 04:43, Jürgen Groß wrote: On 07.07.20 13:30, Souptick Joarder wrote: On Tue, Jul 7, 2020 at 3:08 PM Jürgen Groß wrote: ... diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 33677ea..f6c1543 100644 --- a/drivers/xen/privcmd.c

Re: [PATCH v3 09/13] ASoC: ti: omap-mcbsp-st: Remove set, but unused variable 'w'

2020-07-07 Thread Peter Ujfalusi
On 07/07/2020 22.06, Pierre-Louis Bossart wrote: > From: Lee Jones > > Looks like 'w' has remained unchecked since the driver's inception. > > Fixes the following W=1 kernel build warning(s): > > sound/soc/ti/omap-mcbsp-st.c: In function ‘omap_mcbsp_st_chgain’: > sound/soc/ti/omap-mcbsp-st

[rcu:lkmm-dev] BUILD SUCCESS 5ce63058b5de1c24d39bfab01ea47c6141dbb275

2020-07-07 Thread kernel test robot
ig powerpc allyesconfig powerpc rhel-kconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20200707 i386 randconfig-a002-20200707 i386 randconfig-a006-202

[rcu:lkmm] BUILD SUCCESS 5ef0a07a7928539d46fdb163acfad28c6d877a89

2020-07-07 Thread kernel test robot
allyesconfig powerpc rhel-kconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20200707 i386 randconfig-a002-20200707 i386 randconfig-a006

[rcu:kcsan] BUILD SUCCESS 61d56d7aa5eca3b909bce51ba8125b0fa44d7e17

2020-07-07 Thread kernel test robot
powerpc rhel-kconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20200707 i386 randconfig-a002-20200707 i386 randconfig-a006-20200707 i386

Re: [PATCH] rds: send: Replace sg++ with sg = sg_next(sg)

2020-07-07 Thread Leon Romanovsky
On Wed, Jul 08, 2020 at 03:42:52AM +, Xu Wang wrote: > Replace sg++ with sg = sg_next(sg). > > Signed-off-by: Xu Wang > --- > net/rds/send.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/rds/send.c b/net/rds/send.c > index 68e2bdb08fd0..57d03a6753de 100644 > ---

RE: [EXT] [PATCH 4/5] net: fec: get rid of redundant code in fec_ptp_set()

2020-07-07 Thread Andy Duan
From: Sergey Organov Sent: Tuesday, July 7, 2020 10:43 PM > Andy Duan writes: > > > From: Sergey Organov Sent: Monday, July 6, 2020 > 10:26 PM > >> Code of the form "if(x) x = 0" replaced with "x = 0". > >> > >> Code of the form "if(x == a) x = a" removed. > >> > >> Signed-off-by: Sergey Organo

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Mike Rapoport
On Tue, Jul 07, 2020 at 08:56:36PM -0700, Dan Williams wrote: > On Tue, Jul 7, 2020 at 7:20 PM Justin He wrote: > > > > Hi Michal and David > > > > > -Original Message- > > > From: Michal Hocko > > > Sent: Tuesday, July 7, 2020 7:55 PM > > > To: Justin He > > > Cc: Catalin Marinas ; Will

Re: [PATCH 5.4 00/65] 5.4.51-rc1 review

2020-07-07 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:49, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.51 release. > There are 65 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. > > Respo

Re: [PATCH v2] pinctrl: qcom: sc7180: Make gpio28 non wakeup capable for google,lazor

2020-07-07 Thread Maulik Shah
Hi, On 7/8/2020 4:33 AM, Doug Anderson wrote: Hi, On Mon, Jul 6, 2020 at 9:52 PM Rajendra Nayak wrote: [].. @@ -1151,6 +1168,10 @@ static const struct msm_pinctrl_soc_data sc7180_pinctrl = { static int sc7180_pinctrl_probe(struct platform_device *pdev) { + if (of_machine_is_c

Re: [PATCH v2 1/3] arm64/numa: export memory_add_physaddr_to_nid as EXPORT_SYMBOL_GPL

2020-07-07 Thread Mike Rapoport
On Tue, Jul 07, 2020 at 03:05:48PM -0700, Dan Williams wrote: > On Tue, Jul 7, 2020 at 11:01 AM Mike Rapoport wrote: > > > > On Tue, Jul 07, 2020 at 02:26:08PM +0200, David Hildenbrand wrote: > > > On 07.07.20 14:13, Mike Rapoport wrote: > > > > On Tue, Jul 07, 2020 at 01:54:54PM +0200, Michal Hoc

RE: [PATCH] mm/hugetlb: split hugetlb_cma in nodes with memory

2020-07-07 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Anshuman Khandual [mailto:anshuman.khand...@arm.com] > Sent: Wednesday, July 8, 2020 4:18 PM > To: Song Bao Hua (Barry Song) ; > a...@linux-foundation.org > Cc: x...@kernel.org; linux...@kvack.org; linux-kernel@vger.kernel.org; > Linuxarm ; linux-arm-ker...@li

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-07 Thread Luis Chamberlain
On Mon, Jun 29, 2020 at 02:55:05PM -0500, Eric W. Biederman wrote: > > I have tested thes changes by booting with the code compiled in and > by killing "bpfilter_umh" and running iptables -vnL to restart > the userspace driver. > > I have compiled tested each change with and without CONFIG_BPFILT

RE: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref

2020-07-07 Thread Andy Duan
From: Sven Van Asbroeck Sent: Tuesday, July 7, 2020 11:21 PM > Andy, Fabio, > > Sounds like we now have a solution which makes logical sense, although it > requires changes and additions to drivers/clk/imx/. Before I create a patch, > can you read the plan below and check that it makes sense, pl

[RESEND][PATCH v3 7/8] ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio

2020-07-07 Thread Rohit kumar
From: Ajit Pandey Add platform driver for configuring sc7180 lpass core I2S and DMA configuration to support playback & capture to external codecs connected over primary & secondary MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar --- Resending to update Signed-off mail i

Re: [PATCH 03/11] fs: add new read_uptr and write_uptr file operations

2020-07-07 Thread Luis Chamberlain
On Sat, Jun 27, 2020 at 09:33:03AM -0700, Linus Torvalds wrote: > The real problem with > "set_fs()" has been that we've occasionally had bugs where we ended up > running odd paths that we really didn't _intend_ to run with kernel > pointers. The classic example is the SCSI "write as ioctl" example

Re: [PATCH v3 0/6] powerpc: queued spinlocks and rwlocks

2020-07-07 Thread Nicholas Piggin
Excerpts from Waiman Long's message of July 8, 2020 1:33 pm: > On 7/7/20 1:57 AM, Nicholas Piggin wrote: >> Yes, powerpc could certainly get more performance out of the slow >> paths, and then there are a few parameters to tune. >> >> We don't have a good alternate patching for function calls yet,

[PATCH v3 8/8] dt-bindings: sound: lpass-cpu: Move to yaml format

2020-07-07 Thread Rohit kumar
From: Ajit Pandey Update lpass-cpu binding with yaml formats. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,lpass-cpu.txt | 80 --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 154 + 2 files changed, 154 in

Re: [PATCH -next] Documentation/vm: fix tables in arch_pgtable_helpers

2020-07-07 Thread Anshuman Khandual
On 07/08/2020 07:36 AM, Randy Dunlap wrote: > On 7/7/20 6:22 PM, Anshuman Khandual wrote: >> >> >> On 07/08/2020 06:37 AM, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> Make the tables be presented as tables in the generated output files >>> (the line drawing did not present well). >>> >>>

[PATCH v3 6/8] dt-bindings: sound: lpass-cpu: Add sc7180 lpass cpu node

2020-07-07 Thread Rohit kumar
Add dt-bindings to support "qcom,lpass-cpu-sc7180" node. Signed-off-by: Rohit kumar --- Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt b/Documentation/dev

[PATCH v3 2/8] ASoC: qcom: lpass-cpu: Move ahbix clk to platform specific function

2020-07-07 Thread Rohit kumar
Ahbix clock is optional clock and not needed for all platforms. Move it to lpass-apq8016/ipq806x as it is not needed for sc7180. Signed-off-by: Rohit kumar --- sound/soc/qcom/lpass-apq8016.c | 27 ++ sound/soc/qcom/lpass-cpu.c | 40 ++--

[PATCH v3 4/8] include: dt-bindings: sound: Add sc7180-lpass bindings header

2020-07-07 Thread Rohit kumar
From: Ajit Pandey Add header defining dai-id and mclk id for SC7180 lpass soc. Signed-off-by: Ajit Pandey --- include/dt-bindings/sound/sc7180-lpass.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 include/dt-bindings/sound/sc7180-lpass.h diff --git a/include/dt-binding

[PATCH v3 5/8] ASoC: qcom: lpass-platform: Replace card->dev with component->dev

2020-07-07 Thread Rohit kumar
From: Ajit Pandey We are allocating dma memory for component->dev but trying to mmap such memory for substream->pcm->card->dev. Replace device argument in mmap with component->dev to fix this. Signed-off-by: Ajit Pandey --- sound/soc/qcom/lpass-platform.c | 5 ++--- 1 file changed, 2 insertion

[PATCH v3 7/8] ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio

2020-07-07 Thread Rohit kumar
From: Ajit Pandey Add platform driver for configuring sc7180 lpass core I2S and DMA configuration to support playback & capture to external codecs connected over primary & secondary MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar --- sound/soc/qcom/Kconfig| 5

[PATCH v3 3/8] ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers

2020-07-07 Thread Rohit kumar
I2SCTL and DMACTL registers has different bits alignment for newer LPASS variants of SC7180 soc. Use REG_FIELD_ID() to define the reg_fields in platform specific file and removed shifts and mask macros for such registers from header file. Signed-off-by: Rohit kumar --- sound/soc/qcom/lpass-apq80

Re: [PATCH] nvme-pci: use standard block status symbolic names to check return value

2020-07-07 Thread Christoph Hellwig
On Wed, Jul 08, 2020 at 10:18:01AM +0800, Baolin Wang wrote: > It's better to use the same symbol as the return to check return value, > and will always work in the unlikely event that the defines are reordered. > > Suggested-by: Keith Busch > Signed-off-by: Baolin Wang I'm really not sure this

[PATCH v3 1/8] ASoC: qcom: Add common array to initialize soc based core clocks

2020-07-07 Thread Rohit kumar
From: Ajit Pandey LPASS variants have their own soc specific clocks that needs to be enabled for MI2S audio support. Added a common variable in drvdata to initialize such clocks using bulk clk api. Such clock names is defined in variants specific data and needs to fetched during init. Signed-off

[PATCH v3 0/8] ASoC: qcom: Add support for SC7180 lpass variant

2020-07-07 Thread Rohit kumar
This patch chain add audio support for SC7180 soc by doing the required modification in existing common lpass-cpu/lpass-platform driver. Below is a brief summary of patch series: PATCH v3 0001 ... 0005: Update lpass-cpu, lpass-platform drivers to make it more generic and support newer soc registe

Re: [PATCH 5.7 000/112] 5.7.8-rc1 review

2020-07-07 Thread Naresh Kamboju
On Tue, 7 Jul 2020 at 20:55, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.8 release. > There are 112 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. > > Respo

[PATCH v10 5/5] iommu/arm-smmu: Add global/context fault implementation hooks

2020-07-07 Thread Krishna Reddy
Add global/context fault hooks to allow vendor specific implementations override default fault interrupt handlers. Update NVIDIA implementation to override the default global/context fault interrupt handlers and handle interrupts across the two ARM MMU-500s that are programmed identically. Signed

[PATCH v10 1/5] iommu/arm-smmu: move TLB timeout and spin count macros

2020-07-07 Thread Krishna Reddy
Move TLB timeout and spin count macros to header file to allow using the same from vendor specific implementations. Signed-off-by: Krishna Reddy --- drivers/iommu/arm-smmu.c | 3 --- drivers/iommu/arm-smmu.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/arm

[PATCH v10 3/5] iommu/arm-smmu: add NVIDIA implementation for ARM MMU-500 usage

2020-07-07 Thread Krishna Reddy
NVIDIA's Tegra194 SoC has three ARM MMU-500 instances. It uses two of the ARM MMU-500s together to interleave IOVA accesses across them and must be programmed identically. This implementation supports programming the two ARM MMU-500s that must be programmed identically. The third ARM MMU-500 insta

  1   2   3   4   5   6   7   8   9   10   >