Re: [PATCH v2 00/24] exec: Move unshare_files and guarantee files_struct.count is correct

2020-11-27 Thread Al Viro
On Fri, Nov 20, 2020 at 04:05:47PM -0800, Linus Torvalds wrote: > On Fri, Nov 20, 2020 at 3:11 PM Eric W. Biederman > wrote: > > > > This set of changes cleanups of the code in exec so hopefully this code > > will not regress again. Then it adds helpers and fixes the users of > > files_struct

Re: [PATCH 1/2] dt-bindings: reset: document Broadcom's BCM4908 PCIe reset binding

2020-11-27 Thread Florian Fainelli
On 11/27/2020 3:14 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > BCM4908 was built using older PCIe hardware block that requires using > external reset block controlling PERST# signals. > > Signed-off-by: Rafał Miłecki Acked-by: Florian Fainelli -- Florian

Re: [PATCH] media: vb2: always set buffer cache sync hints

2020-11-27 Thread Sergey Senozhatsky
On (20/11/28 01:50), Tomasz Figa wrote: > On Sat, Nov 28, 2020 at 1:35 AM Sergey Senozhatsky > wrote: > > > > On (20/11/27 15:56), Hans Verkuil wrote: > > > Yes. > > > > > > BTW, wouldn't it be sufficient to change this code to: > > > > > > if (!q->allow_cache_hints && q->memory !=

Re: [PATCH] mm: memcg/slab: fix obj_cgroup_charge() return value handling

2020-11-27 Thread Shakeel Butt
On Fri, Nov 27, 2020 at 8:18 AM Roman Gushchin wrote: > > On Thu, Nov 26, 2020 at 09:55:24PM -0800, Shakeel Butt wrote: > > On Thu, Nov 26, 2020 at 8:14 PM Roman Gushchin wrote: > > > > > > Commit 10befea91b61 ("mm: memcg/slab: use a single set of kmem_caches > > > for all allocations")

[PATCH v2 5/5] x86/platform/uv: Update sysfs document file

2020-11-27 Thread Mike Travis
Update sysfs Document file to include moved /proc leaves. Signed-off-by: Mike Travis --- Documentation/ABI/testing/sysfs-firmware-sgi_uv | 16 1 file changed, 16 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-firmware-sgi_uv

Re: [RFC 0/4] net: l2switch: Provide support for L2 switch on i.MX28 SoC

2020-11-27 Thread Florian Fainelli
On 11/27/2020 4:33 PM, Lukasz Majewski wrote: >> So why use DSA at all? What benefit does it bring you? Why not do the >> entire switch configuration from within FEC, or a separate driver very >> closely related to it? > > Mine rationale to use DSA and FEC: > - Make as little changes to FEC as

Re: [RFC 1/3] mm/hotplug: Pre-validate the address range with platform

2020-11-27 Thread Anshuman Khandual
On 11/27/20 2:31 PM, David Hildenbrand wrote: >>> >>> "arch_get_mappable_range(void)" (or similar) ? >> >> The current name seems bit better (I guess). Because we are asking for >> max addressable range with or without the linear mapping. >> >>> >>> AFAIKs, both implementations (arm64/s390x)

[PATCH V2 net-next 1/7] net: hns3: add support for RX completion checksum

2020-11-27 Thread Huazhong Tan
In some cases (for example ip fragment), hardware will calculate the checksum of whole packet in RX, and setup the HNS3_RXD_L2_CSUM_B flag in the descriptor, so add support to utilize this checksum. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 21

[PATCH V2 net-next 0/7] net: hns3: updates for -next

2020-11-27 Thread Huazhong Tan
This series includes some updates for the HNS3 ethernet driver. #1~#6: add some updates related to the checksum offload. #7: add support for multiple TCs' MAC pauce mode. change log: V2: fixes some sparse errors in #1 & #5. previous version: V1:

[PATCH V2 net-next 6/7] net: hns3: add a check for devcie's verion in hns3_tunnel_csum_bug()

2020-11-27 Thread Huazhong Tan
For the device whose version is above V3(include V3), the hardware can do checksum offload for the non-tunnel udp packet, who has a dest port as the IANA assigned. So add a check for devcie's verion in hns3_tunnel_csum_bug(). Signed-off-by: Huazhong Tan ---

[PATCH v13 0/4] userspace MHI client interface driver

2020-11-27 Thread Hemant Kumar
This patch series adds support for UCI driver. UCI driver enables userspace clients to communicate to external MHI devices like modem and WLAN. UCI driver probe creates standard character device file nodes for userspace clients to perform open, read, write, poll and release file operations. These

[PATCH v2 0/5] x86/platform/uv: Move UV procfs leaves to sysfs

2020-11-27 Thread Mike Travis
Duplicate the current UV procfs leaves to the uv_sysfs driver so they show up under /sys/firmware/sgi_uv. Show a 'deprecated' warning message if any of the old /proc/sgi_uv leaves are used. These patches depend on the prior v3 patchset sent by Justin Ernst x86/platform/uv: Remove

[PATCH v2 2/5] x86/platform/uv: Add sysfs leaves to replace those in procfs

2020-11-27 Thread Mike Travis
Add uv_sysfs leaves to display the info. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- drivers/platform/x86/uv_sysfs.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/platform/x86/uv_sysfs.c b/drivers/platform/x86/uv_sysfs.c index

[PATCH v2 4/5] x86/platform/uv: Add deprecated messages to /proc info leaves

2020-11-27 Thread Mike Travis
Add "deprecated" message to any access to old /proc/sgi_uv/* leaves. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- arch/x86/kernel/apic/x2apic_uv_x.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c

[PATCH v2 1/5] x86/platform/uv: Add kernel interfaces for obtaining system info.

2020-11-27 Thread Mike Travis
Add kernel interfaces used to obtain info for the uv_sysfs driver to display. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/bios.h | 2 ++ arch/x86/kernel/apic/x2apic_uv_x.c | 12 2 files changed, 14 insertions(+) diff --git

Re: memory leak in prepare_creds

2020-11-27 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:99c710c4 Merge tag 'platform-drivers-x86-v5.10-2' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12a77ddd50 kernel config:

[PATCH v2 3/5] x86/platform/uv: Add sysfs hubless leaves

2020-11-27 Thread Mike Travis
Add uv_sysfs hubless leaves for UV hubless systems. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- drivers/platform/x86/uv_sysfs.c | 52 +++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/uv_sysfs.c

[PATCH] arm64: dts: qcom: c630: Define eDP bridge and panel

2020-11-27 Thread Bjorn Andersson
The Lenovo Yoga C630 drives the Boe NV133FHM-N61 eDP display from DSI using a TI SN65DSI86 bridge chip on I2C 10. Define the bridge and eDP panel and enable the display blocks. Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 100 ++ 1 file

[PATCH] x86: fix some spelling mistakes in the comments

2020-11-27 Thread laiyuanyuan
Fix some spelling mistakes in the comments: reqeust ==> request Runing ==> Running interupts ==> interrupts requsted ==> requested Signed-off-by: laiyuanyuan --- arch/x86/kernel/e820.c | 2 +- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/smp.c | 2 +-

[PATCH v13 4/4] bus: mhi: Add userspace client interface driver

2020-11-27 Thread Hemant Kumar
This MHI client driver allows userspace clients to transfer raw data between MHI device and host using standard file operations. Driver instantiates UCI device object which is associated to device file node. UCI device object instantiates UCI channel object when device file node is opened. UCI

[PATCH v13 3/4] docs: Add documentation for userspace client interface

2020-11-27 Thread Hemant Kumar
MHI userspace client driver is creating device file node for user application to perform file operations. File operations are handled by MHI core driver. Currently QMI MHI channel is supported by this driver. Signed-off-by: Hemant Kumar --- Documentation/mhi/index.rst | 1 +

Re: [PATCH] locks: remove trailing semicolon in macro definition

2020-11-27 Thread Matthew Wilcox
On Fri, Nov 27, 2020 at 11:07:07AM -0800, t...@redhat.com wrote: > +++ b/fs/fcntl.c > @@ -526,7 +526,7 @@ SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, > cmd, > (dst)->l_whence = (src)->l_whence; \ > (dst)->l_start = (src)->l_start;\ > (dst)->l_len =

Re: [RFC PATCH v3 0/5] sched: support schedstats for RT sched class

2020-11-27 Thread Yafang Shao
On Sat, Nov 28, 2020 at 12:12 AM Yafang Shao wrote: > > We want to measure the latency of RT tasks in our production > environment with schedstats facility, but currently schedstats is only > supported for fair sched class. This patch enable it for RT sched class > as well. > > - Structure > >

Re: [PATCH 22/25] perf buildid-cache: Add support to add build ids from perf data

2020-11-27 Thread Jiri Olsa
On Thu, Nov 26, 2020 at 02:57:06PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 26, 2020 at 06:00:23PM +0100, Jiri Olsa escreveu: > > Adding support to specify perf data file as -a option file > > argument, > > > > If the file is detected to be perf data file, it is processed > > and all

Re: [PATCH] irqchip/gic-v4.1: Optimize the wait for the completion of the analysis of the VPT

2020-11-27 Thread Marc Zyngier
Shenming, Somehow this patch ended up in the wrong folder. Apologies for the delay reviewing it. On 2020-09-23 07:35, Shenming Lu wrote: Right after a vPE is made resident, the code starts polling the GICR_VPENDBASER.Dirty bit until it becomes 0, where the delay_us is set to 10. But in our

Re: [PATCH] powerpc: fix the allyesconfig build

2020-11-27 Thread Yunsheng Lin
On 2020/11/28 9:56, Jakub Kicinski wrote: > On Sat, 28 Nov 2020 12:28:19 +1100 Stephen Rothwell wrote: >> There are 2 drivers that have arrays of packed structures that contain >> pointers that end up at unaligned offsets. These produce warnings in >> the PowerPC allyesconfig build like this: >>

Re: [PATCH] irqchip/gic-v4.1: Optimize the wait for the completion of the analysis of the VPT

2020-11-27 Thread Shenming Lu
On 2020/11/28 3:35, Marc Zyngier wrote: > Shenming, > > Somehow this patch ended up in the wrong folder. > Apologies for the delay reviewing it.> > On 2020-09-23 07:35, Shenming Lu wrote: >> Right after a vPE is made resident, the code starts polling the >> GICR_VPENDBASER.Dirty bit until it

Re: [PATCH v4 1/5] usb: dwc3: core: Host wake up support from system suspend

2020-11-27 Thread mgautam
Hi, On 2020-10-28 02:07, Sandeep Maheswaram wrote: Avoiding phy powerdown in host mode so that it can be woken up by devices. Added hs_phy_mode flag to check connection status and set phy mode and configure interrupts. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 14

Re: [GIT PULL] SPI fixes for v5.10-rc5

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 5:49 AM Mark Brown wrote: > > A few fixes for v5.10, one for the core which fixes some potential races > for controllers with multiple chip selects when configuration of the > chip select for one client device races with the addition and initial > setup of an additional

[PATCH] locking/selftest: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- lib/locking-selftest.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index a899b3f0e2e5..69b4a1160094 100644 ---

Re: [PATCH v1] net: phy: micrel: fix interrupt handling

2020-11-27 Thread Jakub Kicinski
On Fri, 27 Nov 2020 15:11:08 + Ioana Ciornei wrote: > On Fri, Nov 27, 2020 at 03:45:45PM +0100, Andrew Lunn wrote: > > On Fri, Nov 27, 2020 at 01:36:21PM +0100, Oleksij Rempel wrote: > > > After migration to the shared interrupt support, the KSZ8031 PHY with > > > enabled interrupt support

[RESEND PATCH V3] PM / EM: Micro optimization in em_cpu_energy

2020-11-27 Thread Pavankumar Kondeti
When the sum of the utilization of CPUs in a power domain is zero, return the energy as 0 without doing any computations. Acked-by: Quentin Perret Reviewed-by: Dietmar Eggemann Signed-off-by: Pavankumar Kondeti --- include/linux/energy_model.h | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH v2 tip/core/rcu 1/6] srcu: Make Tiny SRCU use multi-bit grace-period counter

2020-11-27 Thread Paul E. McKenney
On Wed, Nov 25, 2020 at 10:03:26AM +0530, Neeraj Upadhyay wrote: > > > On 11/24/2020 10:48 AM, Neeraj Upadhyay wrote: > > > > > > On 11/24/2020 1:25 AM, Paul E. McKenney wrote: > > > On Mon, Nov 23, 2020 at 10:01:13AM +0530, Neeraj Upadhyay wrote: > > > > On 11/21/2020 6:29 AM,

Re: [PATCH V10 0/5] fuse: Add support for passthrough read/write

2020-11-27 Thread Peng Tao
On Tue, Oct 27, 2020 at 1:00 AM Alessio Balsini wrote: > > This is the 10th version of the series. Please find the changelog at the > bottom of this cover letter. > > Add support for file system passthrough read/write of files when enabled in > userspace through the option FUSE_PASSTHROUGH. > >

Re: [PATCH] kvm/x86/mmu: use the correct inherited permissions to get shadow page

2020-11-27 Thread Lai Jiangshan
On Sat, Nov 28, 2020 at 12:48 AM Paolo Bonzini wrote: > > On 26/11/20 01:05, Sean Christopherson wrote: > > On Fri, Nov 20, 2020, Lai Jiangshan wrote: > >> From: Lai Jiangshan > >> > >> Commit 41074d07c78b ("KVM: MMU: Fix inherited permissions for emulated > >> guest pte updates") said

Re: [PATCH net-next 1/7] net: hns3: add support for RX completion checksum

2020-11-27 Thread tanhuazhong
On 2020/11/28 4:52, Jakub Kicinski wrote: On Fri, 27 Nov 2020 16:47:16 +0800 Huazhong Tan wrote: In some cases (for example ip fragment), hardware will calculate the checksum of whole packet in RX, and setup the HNS3_RXD_L2_CSUM_B flag in the descriptor, so add support to utilize this

Re: [PATCH net-next 5/7] net: hns3: add more info to hns3_dbg_bd_info()

2020-11-27 Thread tanhuazhong
On 2020/11/28 4:53, Jakub Kicinski wrote: On Fri, 27 Nov 2020 16:47:20 +0800 Huazhong Tan wrote: Since TX hardware checksum and RX completion checksum have been supported now, so add related information in hns3_dbg_bd_info(). Signed-off-by: Huazhong Tan

Re: [PATCH V10 2/5] fuse: Passthrough initialization and release

2020-11-27 Thread Peng Tao
On Fri, Nov 27, 2020 at 9:41 PM Alessio Balsini wrote: > > Hi Peng, > > Thanks for the heads up! > > On Thu, Nov 26, 2020 at 09:33:34PM +0800, Peng Tao wrote: > > On Tue, Oct 27, 2020 at 12:19 AM Alessio Balsini > > wrote: > > > [...] > > > int fuse_passthrough_setup(struct fuse_conn *fc,

Re: [PATCH] powerpc: fix the allyesconfig build

2020-11-27 Thread Jakub Kicinski
On Sat, 28 Nov 2020 12:28:19 +1100 Stephen Rothwell wrote: > There are 2 drivers that have arrays of packed structures that contain > pointers that end up at unaligned offsets. These produce warnings in > the PowerPC allyesconfig build like this: > > WARNING: 148 bad relocations >

Re: [PATCH 1/1] perf diff: fix error return value in __cmd_diff()

2020-11-27 Thread Leizhen (ThunderTown)
On 2020/11/28 1:25, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 27, 2020 at 02:22:02PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Fri, Nov 27, 2020 at 10:35:37PM +0900, Namhyung Kim escreveu: >>> On Tue, Nov 24, 2020 at 7:37 PM Zhen Lei wrote: > An appropriate return value should

Re: [PATCH -next] fs/ntfs: fix set but not used variable 'log_page_mask'

2020-11-27 Thread Zheng Zengkai
Ping... Fixes gcc '-Wunused-but-set-variable' warning: fs/ntfs/logfile.c: In function ntfs_check_logfile: fs/ntfs/logfile.c:481:21: warning: variable log_page_mask set but not used [-Wunused-but-set-variable] Actually log_page_mask can be used to replace 'log_page_size - 1' as it is set.

Re: WARNING in try_to_wake_up

2020-11-27 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:99c710c4 Merge tag 'platform-drivers-x86-v5.10-2' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1780c56350 kernel config:

[PATCH] powerpc: fix the allyesconfig build

2020-11-27 Thread Stephen Rothwell
There are 2 drivers that have arrays of packed structures that contain pointers that end up at unaligned offsets. These produce warnings in the PowerPC allyesconfig build like this: WARNING: 148 bad relocations ce56510b R_PPC64_UADDR64 .rodata+0x01c72378 ce565126

Re: 5.10 regression caused by: "uas: fix sdev->host->dma_dev": many XHCI swiotlb buffer is full / DMAR: Device bounce map failed errors on thunderbolt connected XHCI controller

2020-11-27 Thread Tom Yan
Should we still be clamping max_sectors to dma_max_mapping_size(dev) (for now)? with dev being us->pusb_dev->bus->sysdev and devinfo->udev->bus->sysdev respectively (i.e. revert only scsi_add_host_with_dma() to scsi_add_host())? On Sat, 28 Nov 2020 at 02:12, Hans de Goede wrote: > > Hi, > > On

Re: [PATCH net-next v7 0/5] net/x25: netdev event handling

2020-11-27 Thread Jakub Kicinski
On Thu, 26 Nov 2020 07:35:52 +0100 Martin Schiller wrote: > Changes to v6: > o integrated some code styling suggestions by Jakub. > > Changes to v5: > o fix numbering in commit message of patch 2/5. > > Changes to v4: > o also establish layer2 (LAPB) on NETDEV_UP events, if the carrier is >

[PATCH] netfilter: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- include/net/netfilter/nf_tables_offload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/netfilter/nf_tables_offload.h b/include/net/netfilter/nf_tables_offload.h index

[PATCH] scsi: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- include/scsi/scsi_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/scsi/scsi_driver.h b/include/scsi/scsi_driver.h index 6dffa8555a39..f6221c006aa7 100644 ---

Re: [PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable

2020-11-27 Thread Stephen Boyd
Quoting Xu Wang (2020-11-27 01:05:51) > Because clk_prepare_enable() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. > > Signed-off-by: Xu Wang > --- Acked-by: Stephen Boyd

[PATCH] ALSA: remove trailing semicolon in macro definition

2020-11-27 Thread trix
From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- include/sound/hda_codec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h index 73827b7d17e0..2e8d51937acd 100644 ---

Re: ACK: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-27 Thread Colin Ian King
On 27/11/2020 19:29, Ard Biesheuvel wrote: > On Fri, 27 Nov 2020 at 20:28, Colin Ian King wrote: >> >> On 27/11/2020 19:20, Heinrich Schuchardt wrote: >>> Since the UEFI 2.8A specification the UEFI enabled firmware provides a >>> configuration table EFI_RT_PROPERTIES_TABLE which indicates which

Re: [GIT PULL] arm64 fixes for -rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 11:40:27 +: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e4e9458073ae7ab0e7c28e7380a26ad1fccf0296 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] IOMMU fixes for -rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 11:45:29 +: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/iommu-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6adf33a5e42feada39d52eebd389d2019202e993 Thank you! -- Deet-doot-dot, I am

[tip:x86/cleanups] BUILD SUCCESS 638920a66a17c8e1f4415cbab0d49dc4a344c2a7

2020-11-27 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20201127 i386 randconfig-a003-20201127 i386 randconfig-a002-20201127 i386 randconfig-a005-20201127 i386

Re: [GIT PULL] printk for 5.10 (includes lockless ringbuffer)

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 14:47:15 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git > tags/printk-for-5.10-rc6-fixup has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/43d6ecd97c0c69acffc918cc18cdabdfcaa55354 Thank you! --

Re: [PATCH 6/7] mm,hwpoison: Disable pcplists before grabbing a refcount

2020-11-27 Thread Andrew Morton
On Thu, 26 Nov 2020 14:45:30 +0100 Vlastimil Babka wrote: > Note as you say the series should go after [1] above, which means after > mm-page_alloc-disable-pcplists-during-memory-offline.patch in mmots, but > currently it's ordered before, where zone_pcp_disable() etc doesn't yet > exist. >

[PATCH] hwmon: (pwm-fan): Switch to using the new API kobj_to_dev()

2020-11-27 Thread Tian Tao
fixed the following coccicheck: drivers/hwmon//pwm-fan.c:152:60-61: WARNING opportunity for kobj_to_dev(). Signed-off-by: Tian Tao --- drivers/hwmon/pwm-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index

[PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location

2020-11-27 Thread Scott Branden
From: Bruce Ashfield In some cross build environments such as the Yocto Project build environment it provides an ncurses library that is compiled differently than the host's version. This causes display corruption problems when the host's curses includes are used instead of the includes from

[PATCH] pwm: bcm2835: Support apply function for atomic configuration

2020-11-27 Thread Lino Sanfilippo
Use the newer apply function of pwm_ops instead of config, enable, disable and set_polarity. This guarantees atomic changes of the pwm controller configuration. It also reduces the size of the driver. This has been tested on a Raspberry PI 4. Signed-off-by: Lino Sanfilippo ---

Re: [PATCH] bpf: remove trailing semicolon in macro definition

2020-11-27 Thread Daniel Borkmann
On 11/27/20 8:27 PM, t...@redhat.com wrote: From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- include/trace/events/xdp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trace/events/xdp.h b/include/trace/events/xdp.h

Re: [PATCH] mm: Don't fault around userfaultfd-registered regions on reads

2020-11-27 Thread Andrea Arcangeli
Hello, On Fri, Nov 27, 2020 at 12:22:24PM +, Matthew Wilcox wrote: > On Thu, Nov 26, 2020 at 05:23:59PM -0500, Peter Xu wrote: > > For wr-protected mode uffds, errornously fault in those pages around could > > lead > > to threads accessing the pages without uffd server's awareness. For > >

Re: [RFC 0/4] net: l2switch: Provide support for L2 switch on i.MX28 SoC

2020-11-27 Thread Lukasz Majewski
Hi Vladimir, > On Fri, Nov 27, 2020 at 12:35:49AM +0100, Lukasz Majewski wrote: > > > > - The question regarding power management - at least for my use > > > > case there is no need for runtime power management. The L2 > > > > switch shall work always at it connects other devices. > > > > > > > >

ACK: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-27 Thread Colin Ian King
On 27/11/2020 19:20, Heinrich Schuchardt wrote: > Since the UEFI 2.8A specification the UEFI enabled firmware provides a > configuration table EFI_RT_PROPERTIES_TABLE which indicates which runtime > services are enabled. The EFI stub reads this table and saves the value of > the field

Re: nohz: Update tick instead of restarting tick in tick_nohz_idle_exit()

2020-11-27 Thread Yunfeng Ye
On 2020/11/27 20:15, Frederic Weisbecker wrote: > On Mon, Nov 23, 2020 at 09:22:08PM +0800, Yunfeng Ye wrote: >> In realtime scenarios, the "nohz_full" parameter is configured. Tick >> interference is not expected when there is only one realtime thread. >> But when the idle thread is switched

Re: [PATCH] mm: fix some spelling mistakes in comments

2020-11-27 Thread Souptick Joarder
On Fri, Nov 27, 2020 at 6:50 AM Haitao Shi wrote: > > Fix some spelling mistakes in comments: > udpate ==> update > succesful ==> successful > exmaple ==> example > unneccessary ==> unnecessary > stoping ==> stopping > uknown ==> unknown > >

Re: [PATCH v8] Add MediaTek MT6779 devapc driver

2020-11-27 Thread Matthias Brugger
On 15/10/2020 05:20, Neal Liu wrote: These patch series introduce a MediaTek MT6779 devapc driver. MediaTek bus fabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters. The security violation is logged and sent to the

drivers/staging/media/rkvdec/rkvdec.c:967:34: warning: unused variable 'of_rkvdec_match'

2020-11-27 Thread kernel test robot
Hi Boris, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99c710c46dfc413b9c8a1a40b463ae1eaca539e5 commit: cd33c830448baf7b1e94da72eca069e3e1d050c9 media: rkvdec: Add the rkvdec driver date: 7 months ago config:

Re: [PATCH v2 net-next 3/3] nfc: s3fwrn5: extract the common phy blocks

2020-11-27 Thread Jakub Kicinski
On Fri, 27 Nov 2020 20:22:18 +0900 bongsu.je...@gmail.com wrote: > From: Bongsu Jeon > > Extract the common phy blocks to reuse it. > The UART module will use the common blocks. > > Signed-off-by: Bongsu Jeon > --- > Changes in v2: > - remove the common function's definition in common header

Re: [GIT PULL] SCSI fixes for 5.10-rc5

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 13:56:30 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/80e1e1761d1a9eefda4d1545f8b6c0a2e46d4e3f Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Networking

2020-11-27 Thread patchwork-bot+netdevbpf
Hello: This pull request was applied to netdev/net.git (refs/heads/master): On Fri, 27 Nov 2020 12:04:28 -0800 you wrote: > The following changes since commit 4d02da974ea85a62074efedf354e82778f910d82: > > Merge tag 'net-5.10-rc5' of > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Re: [PATCH 1/4] soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h

2020-11-27 Thread Matthias Brugger
On 06/10/2020 21:33, Enric Balletbo i Serra wrote: From: Yongqiang Niu MMSYS is the driver which controls the routing of these DDP components, so the definition of the mtk_ddp_comp_id enum should be placed in mtk-mmsys.h Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu

[PATCH] subpage_prot.2: SYNOPSIS: Fix return type: s/long/int/

2020-11-27 Thread Alejandro Colomar
The Linux kernel uses 'int' instead of 'long' for the return type. As glibc provides no wrapper, use the same type the kernel uses. .. $ grep -n wrapper man-pages/man2/subpage_prot.2 40:There is no glibc wrapper for this system call; see NOTES. 99:Glibc does not provide a wrapper for this

Re: [PATCH 2/4] soc: mediatek: mmsys: Use devm_platform_ioremap_resource()

2020-11-27 Thread Matthias Brugger
On 06/10/2020 21:33, Enric Balletbo i Serra wrote: For the common platform_get_resource()+devm_platform_ioremap() combination, there is a helper, so use it and make the code a bit more compact. Signed-off-by: Enric Balletbo i Serra Applied to v5.10-next/soc Thanks! ---

Re: [GIT PULL] asm-generic: add correct MAX_POSSIBLE_PHYSMEM_BITS setting

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 21:55:52 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > tags/asm-generic-fixes-5.10-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c84e1efae022071a4fcf9f1899bf71777c49943a Thank you! --

Re: [GIT PULL] Networking

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 12:04:28 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.10-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/79c0c1f0389db60f3c83ec91585a39d16e036f21 Thank you! -- Deet-doot-dot, I am

Re: [git pull] drm fixes for 5.10-rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 18:37:15 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-11-27-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6910b676898934c2abe9f3ff3d60f4d4bc8afda8 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] SPI fixes for v5.10-rc5

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 13:48:29 +: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > tags/spi-fix-v5.10-rc5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/87c301ca911a3bee68900ee475fe536eebd9bc41 Thank you! --

Re: [GIT PULL for v5.10-rc6] vidtv driver fixes

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 13:41:00 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > tags/media/v5.10-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f594139d68ccdd64fe9c546b17189b298fa7ecd3 Thank you! --

Re: [GIT PULL] mtd: Fixes for v5.10-rc6

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 19:38:03 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git > tags/mtd/fixes-for-5.10-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/76dc2bfc2e1b40573cd33eb1c2027ef6cb7fed6c Thank you! --

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.10-4 tag

2020-11-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Nov 2020 23:45:35 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.10-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/95e1c7b1dd4a91451040ff0f41c5b5173503a38e Thank you! --

Re: [PATCH] net: cisco: remove trailing semicolon in macro definition

2020-11-27 Thread Kieran Bingham
Hi Tom, On 27/11/2020 17:58, t...@redhat.com wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix Seems to be the only occurrence in this file. Reviewed-by: Kieran Bingham > --- > drivers/net/wireless/cisco/airo.c | 2 +- > 1 file changed, 1

Re: [PATCH] NFC:Fix Warning: Comparison to bool

2020-11-27 Thread Jakub Kicinski
On Thu, 26 Nov 2020 15:15:42 +0800 Runzhe Wang wrote: > This patch uses the shdlc->rnr variable as a judgment condition of > statement, rather than compares with bool. > > Signed-off-by: Runzhe Wang > Reported-by: Abaci "Fix Warning" sounds like you're addressing a real compiler warning,

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > - Some DT patches for the Rockchip RK3399 platform, >in particular fixing the MMC device ordering that >recently became nondeterministic with async probe. Uhhuh. I didn't realize this MMC breakage happened. That's just an MMC

[PATCH v3 1/2] media: i2c: Add driver for the Sony Exmor-RS IMX300 camera sensor

2020-11-27 Thread kholk11
From: AngeloGioacchino Del Regno This is a custom multi-aspect 25MegaPixels sensor from Sony, found in many Sony Xperia smartphones from various eras. The camera assembly for this sensor usually (at least in Xperia phones) has a lens that does not cover the entire sensor area, which means that

Re: [PATCH v2 3/5] memory: renesas-rpc-if: Fix a reference leak in rpcif_probe()

2020-11-27 Thread Pavel Machek
On Thu 2020-11-26 19:11:44, Lad Prabhakar wrote: > Release the node reference by calling of_node_put(flash) in the probe. > > Fixes: ca7d8b980b67f ("memory: add Renesas RPC-IF driver") > Reported-by: Pavel Machek > Signed-off-by: Lad Prabhakar > Cc: sta...@vger.kernel.org > Reviewed-by: Sergei

Re: [PATCH] MAINTAINERS add D: tag for subsystem commit prefix

2020-11-27 Thread Miguel Ojeda
On Fri, Nov 27, 2020 at 10:51 PM wrote: > > From > RFC MAINTAINERS tag for cleanup robot > https://lkml.org/lkml/2020/11/21/190 Please use lore.kernel.org for links. > The prefix used by subsystems in their commit log is arbitrary. > To elimitate the time and effort to manually find a

Re: [PATCH v2 4/5] memory: renesas-rpc-if: Make rpcif_enable/disable_rpm() as static inline

2020-11-27 Thread Pavel Machek
On Thu 2020-11-26 19:11:45, Lad Prabhakar wrote: > Define rpcif_enable_rpm() and rpcif_disable_rpm() as static > inline in the header instead of exporting them. > > Suggested-by: Pavel Machek > Signed-off-by: Lad Prabhakar Reviewed-by: Pavel Machek (CIP)< -- DENX Software Engineering GmbH,

Re: [PATCH v2] soc / drm: mediatek: cmdq: Remove timeout handler in helper function

2020-11-27 Thread Matthias Brugger
On 27/11/2020 15:42, Chun-Kuang Hu wrote: Hi, Matthias: Matthias Brugger 於 2020年11月27日 週五 下午8:40寫道: Hi Chun-Kuang, On 20/11/2020 00:46, Chun-Kuang Hu wrote: Hi, Matthias: I've provided the example for why of this patch. How do you think about this patch? Patch looks good to me. If

Re: [PATCH v2 1/5] memory: renesas-rpc-if: Return correct value to the caller of rpcif_manual_xfer()

2020-11-27 Thread Pavel Machek
On Thu 2020-11-26 19:11:42, Lad Prabhakar wrote: > In the error path of rpcif_manual_xfer() the value of ret is overwritten > by value returned by reset_control_reset() function and thus returning > incorrect value to the caller. > > This patch makes sure the correct value is returned to the

Re: [RFC PATCH v0 00/19] x86/insn: Add an insn_decode() API

2020-11-27 Thread Borislav Petkov
On Fri, Nov 27, 2020 at 09:45:39AM -0800, Andy Lutomirski wrote: > Is -22 (-EINVAL) the same error it returns if you pass in garbage? Define garbage. Yes, if you have a sequence of bytes which you can unambiguously determine to be - an invalid instruction in some of the tables - REX prefix

[PATCH v3 2/2] media: dt-bindings: media: i2c: Add IMX300 CMOS sensor binding

2020-11-27 Thread kholk11
From: AngeloGioacchino Del Regno Add YAML device tree binding for IMX300 CMOS image sensor, and the relevant MAINTAINERS entries. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/media/i2c/sony,imx300.yaml | 112 ++ MAINTAINERS

[PATCH v3 0/2] Add support for the Sony Exmor-RS IMX300 camera sensor

2020-11-27 Thread kholk11
From: AngeloGioacchino Del Regno This patch series adds support for the IMX300 camera sensor, (one of the) first Exmor-RS Stacked CMOS sensor(s), with support for both of the supported aspect ratios (4:3 and 16:9). This driver came out from reverse engineering of so called "userspace drivers"

[tip:master] BUILD SUCCESS 9b6205dd6a78acc4476ae51f992ce854e1bff941

2020-11-27 Thread kernel test robot
allnoconfig i386 randconfig-a004-20201127 i386 randconfig-a003-20201127 i386 randconfig-a002-20201127 i386 randconfig-a005-20201127 i386 randconfig-a001-20201127 i386 randconfig-a006-20201127 x86_64

Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

2020-11-27 Thread Pavel Machek
Hi! > This series enables components found on Purism's Librem 5 > that are available in mainline. > > - changes from v1 > - As per review comments from Krzysztof Kozlowski > > https://lore.kernel.org/linux-arm-kernel/cajkoxpdewistg+cmes_wes5oz2f1qeexsus6ihenuls9sax...@mail.gmail.com/ >

Re: [PATCH net-next 5/7] net: hns3: add more info to hns3_dbg_bd_info()

2020-11-27 Thread Jakub Kicinski
On Fri, 27 Nov 2020 16:47:20 +0800 Huazhong Tan wrote: > Since TX hardware checksum and RX completion checksum have been > supported now, so add related information in hns3_dbg_bd_info(). > > Signed-off-by: Huazhong Tan drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:266:22: warning:

[tip:sched/core] BUILD SUCCESS a787bdaff83a085288b6fc607afb4bb648da3cc9

2020-11-27 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a004-20201127 i386 randconfig-a003-20201127 i386 randconfig-a002-20201127 i386 randconfig-a005-20201127 i386 randconfig-a001-20201127 i386

Re: [PATCH] MAINTAINERS add D: tag for subsystem commit prefix

2020-11-27 Thread Joe Perches
On Fri, 2020-11-27 at 13:43 -0800, t...@redhat.com wrote: > From: Tom Rix > > From > RFC MAINTAINERS tag for cleanup robot > https://lkml.org/lkml/2020/11/21/190 I think this should be RFC. It looks as as if it's only for subsystems through A > The prefix used by subsystems in their commit log

[PATCH] mailmap: add two more addresses of Uwe Kleine-König

2020-11-27 Thread Uwe Kleine-König
This fixes attribution for the commits (among others) - d4097456cd1d ("video/framebuffer: move the probe func into .devinit.text in Blackfin LCD driver") - 0312e024d6cd ("mfd: mc13xxx: Add support for mc34708") Signed-off-by: Uwe Kleine-König --- Hello Andrew, there is no explicit

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:53 PM Linus Torvalds wrote: > > 33.68% cc1plus So a third of the time is the _single_ invocation of cc1plus, which happens from scrips/gcc-plugin.sh doing that $HOSTCC -c -x c++ -std=gnu++98 - -fsyntax-only thing. Which is purely to verify that plugins work.

[GIT PULL] ARM: at91: DT for 5.11

2020-11-27 Thread Alexandre Belloni
Arnd, Olof, Here are the DT changes for 5.11 which contains non urgent fixes. The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at:

[RFC PATCH] bpf: bpf_atomic_alu_string[] can be static

2020-11-27 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- disasm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/disasm.c b/kernel/bpf/disasm.c index f33acffdeed05..737e95b049574 100644 --- a/kernel/bpf/disasm.c +++ b/kernel/bpf/disasm.c @@ -80,7

  1   2   3   4   5   6   7   8   >