[PATCH] power: supply: ltc2941: Fix ptr to enum cast

2020-10-09 Thread Iskren Chernev
clang complains about casting pointers to smaller enum types. Signed-off-by: Iskren Chernev --- drivers/power/supply/ltc2941-battery-gauge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/power/supply/ltc2941-battery-gauge.c b/drivers/power/supply/ltc2941-battery-

Re: [PATCH] usbip, kcov: collect coverage from usbip client

2020-10-09 Thread Greg Kroah-Hartman
On Fri, Oct 09, 2020 at 03:22:55PM +, nazimehandeharputluogluhandehar...@gmail.com wrote: > From: Nazime Hande Harputluoglu > > Add kcov_remote_start()/kcov_remote_stop() annotations to the > vhci_rx_loop() function, which is responsible for parsing USB/IP packets > in USB/IP client. > > Si

Lieber Freund (Assalamu Alaikum),

2020-10-09 Thread Aisha Gaddafi
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

[PATCH] net: usb: rtl8150: don't incorrectly assign random MAC addresses

2020-10-09 Thread Anant Thazhemadam
get_registers() directly returns the return value of usb_control_msg_recv() - 0 if successful, and negative error number otherwise. However, in set_ethernet_addr(), this return value is incorrectly checked. Since this return value will never be equal to sizeof(node_id), a random MAC address wil

[PATCH] perf bench: Use condition variables in numa.

2020-10-09 Thread Ian Rogers
The existing approach to synchronization between threads in the numa benchmark is unbalanced mutexes. This synchronization causes thread sanitizer to warn of locks being taken twice on a thread without an unlock, as well as unlocks with no corresponding locks. This change replaces the synchronizati

[gustavoars-linux:testing/next-20201009-clang-ft] BUILD SUCCESS WITH WARNING e964f799eda444f3bb28ca19310dfec1fc903f88

2020-10-09 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/next-20201009-clang-ft branch HEAD: e964f799eda444f3bb28ca19310dfec1fc903f88 treewide: Fix fall-through warnings for Clang Warning in current branch: arch/x86/events/core.c:1178:2: warning: unannotated

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-09 Thread Yong Wu
On Tue, 2020-10-06 at 09:15 +0200, Krzysztof Kozlowski wrote: > On Tue, 6 Oct 2020 at 06:27, Yong Wu wrote: > > > > On Fri, 2020-10-02 at 13:08 +0200, Krzysztof Kozlowski wrote: > > > On Wed, Sep 30, 2020 at 03:06:25PM +0800, Yong Wu wrote: > > > > Convert MediaTek SMI to DT schema. > > > > > > >

[PATCH] usb: host: fsl-mph-dr-of: check return of dma_set_mask()

2020-10-09 Thread Ran Wang
fsl_usb2_device_register() should stop init if dma_set_mask() return error. Fixes: cae058610465 ("drivers/usb/host: fsl: Set DMA_MASK of usb platform device") Signed-off-by: Ran Wang --- drivers/usb/host/fsl-mph-dr-of.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: Performance regressions in "boot_time" tests in Linux 5.8 Kernel

2020-10-09 Thread b...@redhat.com
On 10/09/20 at 01:15pm, Rahul Gopakumar wrote: > As part of VMware's performance regression testing for Linux Kernel > upstream releases, we identified boot time increase when comparing > Linux 5.8 kernel against Linux 5.7 kernel. Increase in boot time is > noticeable on VM with a **large amount of

Re: [PATCH] scripts: remove namespace.pl

2020-10-09 Thread Masahiro Yamada
On Sat, Oct 10, 2020 at 9:20 AM Jacob Keller wrote: > > namespace.pl is intended to help locate symbols which are defined but > are not used externally. The goal is to avoid bloat of the namespace in > the resulting kernel image. > > The script relies on object data, and only finds unused symbols

Re: [PATCH] lib: kunit: add bitfield test conversion to KUnit

2020-10-09 Thread Brendan Higgins
On Thu, Sep 17, 2020 at 3:00 AM Johannes Berg wrote: > > On Wed, 2020-08-19 at 14:10 -0700, Brendan Higgins wrote: > > On Wed, Jul 29, 2020 at 10:58 AM Vitor Massaru Iha > > wrote: > > > This adds the conversion of the runtime tests of test_bitfield, > > > from `lib/test_bitfield.c` to KUnit tes

[PATCH 3/5] mtd: rawnand: qcom: Read QPIC version

2020-10-09 Thread Md Sadre Alam
This change will add support to read QPIC version. QPIC version V2.0 onwards some new register introduced in QPIC. So based on hw_version we will update those register. Signed-off-by: Md Sadre Alam --- drivers/mtd/nand/raw/qcom_nandc.c | 22 ++ 1 file changed, 22 insertions(+

Re: [PATCH v3 2/2] mmap_lock: add tracepoints around lock acquisition

2020-10-09 Thread Yafang Shao
On Sat, Oct 10, 2020 at 6:05 AM Axel Rasmussen wrote: > > The goal of these tracepoints is to be able to debug lock contention > issues. This lock is acquired on most (all?) mmap / munmap / page fault > operations, so a multi-threaded process which does a lot of these can > experience significant

[PATCH 5/5] mtd: rawnand: qcom: Add support for serial training.

2020-10-09 Thread Md Sadre Alam
This change will add support for serial training for QSPI nand in QPIC. Due to different PNR and PCB delays, serial read data can come with different delays to QPIC. At high frequency operations Rx clock should be adjusted according to delays so that Rx Data can be captured correctly.CLK_CNTR_INIT

[PATCH 4/5] mtd: rawnand: qcom: Enable support for erase,read & write for serial nand.

2020-10-09 Thread Md Sadre Alam
This change will enable support for erase , read & write support for QSPI serial nand. In QPIC V2.0 onwards, to read last code word new regiater is introduced. So to read for first three code word we have to use LOCATION_n register and for last code word we ahve to use LAST_CW_n. Signed-off-by: Md

[PATCH 2/5] mtd: rawnand: qcom: Add initial support for qspi nand

2020-10-09 Thread Md Sadre Alam
This change will add initial support for qspi (serial nand). QPIC Version v.2.0 onwards supports serial nand as well so this change will initialize all required register to enable qspi (serial nand). This change is supporting very basic functionality of qspi nand flash. 1. Reset device (Reset QS

[PATCH 0/5] mtd: rawnand: qcom: Add support for QSPI nand

2020-10-09 Thread Md Sadre Alam
QPIC 2.0 supports Serial NAND support in addition to all features and commands in QPIC 1.0 for parallel NAND. Parallel and Serial NAND cannot operate simultaneously. QSPI nand devices will connect to QPIC IO_MACRO block of QPIC controller. There is a separate IO_MACRO clock for IO_MACRO block. Defa

[PATCH 1/5] dt-bindings: qcom_nandc: IPQ5018 QPIC NAND documentation

2020-10-09 Thread Md Sadre Alam
Qualcom IPQ5018 SoC uses QPIC NAND controller version 2.1.1 which uses BAM DMA Engine and QSPI serial nand interface. Signed-off-by: Md Sadre Alam --- Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd

Hello....

2020-10-09 Thread Dawuda Usman
Dear Friend, I am Mr. Dawuda Usman working with the department of Audit and accounting manager here in the Bank, There is this fund that was kept in my custody years ago,please I need your assistance for the transferring of this fund to your bank account for both of us benefit for life time i

[tip:core/rcu] BUILD SUCCESS c6de896fa0a4546c799c86513d99bd011b4a6177

2020-10-09 Thread kernel test robot
onfig i386defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a00

[tip:master] BUILD SUCCESS f3c8abf68068b0b183d55fb013a82bc799896699

2020-10-09 Thread kernel test robot
onfig-a006-20201009 i386 randconfig-a005-20201009 i386 randconfig-a001-20201009 i386 randconfig-a004-20201009 i386 randconfig-a002-20201009 i386 randconfig-a003-20201009 x86_64 randconfig-a012-20201

Re: [PATCH] rcutorture: remove unneeded check

2020-10-09 Thread Tom Rix
On 10/9/20 7:57 PM, Paul E. McKenney wrote: > On Fri, Oct 09, 2020 at 05:24:37PM -0700, Tom Rix wrote: >> On 10/9/20 4:50 PM, Paul E. McKenney wrote: >>> On Fri, Oct 09, 2020 at 02:18:41PM -0700, Tom Rix wrote: On 10/9/20 1:18 PM, Paul E. McKenney wrote: > On Fri, Oct 09, 2020 at 12:47:3

[RT] 5.9-rt14 softirq_ctrl.lock vs listening_hash[i].lock lockdep splat

2020-10-09 Thread Mike Galbraith
[ 47.844511] == [ 47.844511] WARNING: possible circular locking dependency detected [ 47.844512] 5.9.0.gc85fb28-rt14-rt #1 Tainted: GE [ 47.844513] -- [ 47.844514] perl/27

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-09 Thread Serge E. Hallyn
> 3. Find a way to allow setgroups() in a user namespace while keeping >in mind the case of groups used for negative access control. >This was suggested by Josh Triplett and Geoffrey Thomas. Their idea was to >investigate adding a prctl() to allow setgroups() to be called in a user >

Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

2020-10-09 Thread Randy Dunlap
On 10/9/20 8:19 PM, Rong Chen wrote: > > > On 10/8/20 3:15 PM, Pavel Machek wrote: >> Hi! >> >>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> master >>> head:   c85fb28b6f999db9928b841f63f1beeb3074eeca >>> commit: 92a81562e695628086acb92f95090ab09d9b9ec0 leds: l

Re: [PATCH RFC PKS/PMEM 51/58] kernel: Utilize new kmap_thread()

2020-10-09 Thread Eric W. Biederman
ira.we...@intel.com writes: > From: Ira Weiny > > This kmap() call is localized to a single thread. To avoid the over > head of global PKRS updates use the new kmap_thread() call. Acked-by: "Eric W. Biederman" > > Cc: Eric Biederman > Signed-off-by: Ira Weiny > --- > kernel/kexec_core.c |

[PATCH] drm/msm/disp: add error value record in for circle`s error index

2020-10-09 Thread Bernard Zhao
In function dpu_core_irq_enable & dpu_core_irq_disable, when some index enable or disable failed, return value will be covered by next success index. Upper call function will not catch this error, this maybe does not meet the expectation. This change is to make the code a bit more readable. Signed

RE: [EXT] Re: [PATCH v6 3/3] net: dsa: ocelot: Add support for QinQ Operation

2020-10-09 Thread Hongbo Wang
Hi Vladimir, > > I asked this on the Microchip Support portal: > > -[cut here]- > > VLAN filtering only on specific TPID > > > I would like to configure a port with the following behavior: > - The VL

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-10-09 Thread Randy Dunlap
On 10/5/20 6:15 PM, Ricardo Neri wrote: > On Fri, Oct 02, 2020 at 08:27:41PM -0700, Randy Dunlap wrote: >> On 10/2/20 6:17 PM, Ricardo Neri wrote: >>> +/** >>> + * arch_get_cpu_type() - Get the CPU type number >>> + * @cpu: Index of the CPU of which the index is needed >>> + * >>> + * Get the CPU

Re: [PATCH net 2/2] socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled

2020-10-09 Thread Deepa Dinamani
On Fri, Oct 9, 2020 at 5:35 PM Willem de Bruijn wrote: > > On Fri, Oct 9, 2020 at 6:32 AM Christian Eggers wrote: > > > > SOCK_TSTAMP_NEW (timespec64 instead of timespec) is also used for > > hardware time stamps (configured via SO_TIMESTAMPING_NEW). > > > > User space (ptp4l) first configures ha

Re: [PATCH v3] i2c: virtio: add a virtio i2c frontend driver

2020-10-09 Thread Jason Wang
On 2020/9/22 上午10:58, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver communicates with the backend driver through a virtio I2C message structu

Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

2020-10-09 Thread Rong Chen
On 10/8/20 3:15 PM, Pavel Machek wrote: Hi! tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c85fb28b6f999db9928b841f63f1beeb3074eeca commit: 92a81562e695628086acb92f95090ab09d9b9ec0 leds: lp55xx: Add multicolor framework support to lp55xx date: 3

Re: [PATCH net 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-09 Thread Deepa Dinamani
On Fri, Oct 9, 2020 at 5:43 PM Willem de Bruijn wrote: > > On Fri, Oct 9, 2020 at 8:30 PM Deepa Dinamani wrote: > > > > On Fri, Oct 9, 2020 at 3:32 AM Christian Eggers wrote: > > > > > > The comparison of optname with SO_TIMESTAMPING_NEW is wrong way around, > > > so SOCK_TSTAMP_NEW will first b

[PATCH] mm/khugepaged: fix filemap page_to_pgoff(page) != offset

2020-10-09 Thread Hugh Dickins
There have been elusive reports of filemap_fault() hitting its VM_BUG_ON_PAGE(page_to_pgoff(page) != offset, page) on kernels built with CONFIG_READ_ONLY_THP_FOR_FS=y. Suren has hit it on a kernel with CONFIG_READ_ONLY_THP_FOR_FS=y and CONFIG_NUMA is not set: and he has analyzed it down to how khu

Re: [PATCH v3 3/3] vhost: Don't call log_access_ok() when using IOTLB

2020-10-09 Thread Jason Wang
On 2020/10/3 下午6:02, Greg Kurz wrote: When the IOTLB device is enabled, the log_guest_addr that is passed by userspace to the VHOST_SET_VRING_ADDR ioctl, and which is then written to vq->log_addr, is a GIOVA. All writes to this address are translated by log_user() to writes to an HVA, and then

Re: [PATCH] merge_config.sh: Add switch to specify ARCH variable

2020-10-09 Thread Masahiro Yamada
On Fri, Oct 9, 2020 at 8:25 AM Victor Erminpour wrote: > > Add a switch to merge_config.sh to specify the ARCH variable > which defines the target architecture. > > Set x86 as the default architecture. > > Signed-off-by: Victor Erminpour > --- You can do ARCH=arm ./scripts/kconfig/merge_config

Re: [PATCH] rcutorture: remove unneeded check

2020-10-09 Thread Paul E. McKenney
On Fri, Oct 09, 2020 at 05:24:37PM -0700, Tom Rix wrote: > > On 10/9/20 4:50 PM, Paul E. McKenney wrote: > > On Fri, Oct 09, 2020 at 02:18:41PM -0700, Tom Rix wrote: > >> On 10/9/20 1:18 PM, Paul E. McKenney wrote: > >>> On Fri, Oct 09, 2020 at 12:47:36PM -0700, t...@redhat.com wrote: > From:

Re: [PATCH RFC PKS/PMEM 57/58] nvdimm/pmem: Stray access protection for pmem->virt_addr

2020-10-09 Thread John Hubbard
On 10/9/20 12:50 PM, ira.we...@intel.com wrote: From: Ira Weiny The pmem driver uses a cached virtual address to access its memory directly. Because the nvdimm driver is well aware of the special protections it has mapped memory with, we call dev_access_[en|dis]able() around the direct pmem->v

Re: [PATCH RFC PKS/PMEM 22/58] fs/f2fs: Utilize new kmap_thread()

2020-10-09 Thread James Bottomley
On Fri, 2020-10-09 at 14:34 -0700, Eric Biggers wrote: > On Fri, Oct 09, 2020 at 12:49:57PM -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > The kmap() calls in this FS are localized to a single thread. To > > avoid the over head of global PKRS updates use the new > > kmap_thread()

Re: [PATCH v3 2/3] vhost: Use vhost_get_used_size() in vhost_vring_set_addr()

2020-10-09 Thread Jason Wang
On 2020/10/3 下午6:02, Greg Kurz wrote: The open-coded computation of the used size doesn't take the event into account when the VIRTIO_RING_F_EVENT_IDX feature is present. Fix that by using vhost_get_used_size(). Signed-off-by: Greg Kurz --- drivers/vhost/vhost.c |3 +-- 1 file changed,

Re: [PATCH v3 2/2] vhost-vdpa: fix page pinning leakage in error path

2020-10-09 Thread Jason Wang
On 2020/10/3 下午1:02, Si-Wei Liu wrote: Pinned pages are not properly accounted particularly when mapping error occurs on IOTLB update. Clean up dangling pinned pages for the error path. As the inflight pinned pages, specifically for memory region that strides across multiple chunks, would need

Re: [PATCH RFC PKS/PMEM 48/58] drivers/md: Utilize new kmap_thread()

2020-10-09 Thread Coly Li
On 2020/10/10 03:50, ira.we...@intel.com wrote: > From: Ira Weiny > > These kmap() calls are localized to a single thread. To avoid the over > head of global PKRS updates use the new kmap_thread() call. > Hi Ira, There were a number of options considered. 1) Attempt to change all the thread

Re: [PATCH v3 00/23] Use asm-generic for mmu_context no-op functions

2020-10-09 Thread Stephen Rothwell
Hi Arnd, On Fri, 9 Oct 2020 16:01:22 +0200 Arnd Bergmann wrote: > > On Wed, Sep 9, 2020 at 1:27 PM Arnd Bergmann wrote: > > > > On Wed, 2 Sep 2020 00:15:16 +1000, Nicholas Piggin wrote: > > > It would be nice to be able to modify mmu_context functions or add a > > > hook without updating all a

[PATCH] crypto: testmgr - Fix format argument warning

2020-10-09 Thread Ye Bin
Fix follow warning: [crypto/testmgr.c:2317]: (warning) %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- crypto/testmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/testmgr.c b/cr

Re: [PATCH] bcache: Use #ifdef instead of boolean variable

2020-10-09 Thread Coly Li
On 2020/10/10 07:00, Rasmus Villemoes wrote: > On 09/10/2020 20.34, Alex Dewar wrote: >> The variable async_registration is used to indicate whether or not >> CONFIG_BCACHE_ASYNC_REGISTRATION is enabled, triggering a (false) >> warning in Coverity about unreachable code. However, it seems clearer i

RE: [PATCH v3 1/5] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-reg' property

2020-10-09 Thread Ran Wang
Hi Rob, On Tuesday, September 29, 2020 4:23 PM, Ran Wang wrote: > > From: Biwen Li > > The 'fsl,ippdexpcr1-alt-reg' property is used to handle an errata A-008646 on > LS1021A. > > Signed-off-by: Biwen Li > Signed-off-by: Ran Wang > --- > Change in v3: > - Simplize related proterty definitio

[PATCH] drm/amd/display: remove no need return value

2020-10-09 Thread Bernard Zhao
Functions (disable_all_writeback_pipes_for_stream & dc_enable_stereo & dc_post_update_surfaces_to_stream) always return true, there is no need to keep the return value. This change is to make the code a bit more readable. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/core/dc.c

Re: [PATCH v4 1/5] arm64: Add framework to turn IPI as NMI

2020-10-09 Thread Masayoshi Mizuma
Hi Sumit, On Fri, Sep 11, 2020 at 06:58:40PM +0530, Sumit Garg wrote: > Introduce framework to turn an IPI as NMI using pseudo NMIs. In case a > particular platform doesn't support pseudo NMIs, then request IPI as a > regular IRQ. > > The main motivation for this feature is to have an IPI that ca

Re: [PATCH] mm: memcontrol: eliminate redundant check in __mem_cgroup_insert_exceeded()

2020-10-09 Thread linmiaohe
Michal Hocko wrote: > On Fri 09-10-20 09:51:04, Miaohe Lin wrote: >> The mz->usage_in_excess >= mz_node->usage_in_excess check is exactly >> the else case of mz->usage_in_excess < mz_node->usage_in_excess. So we >> could replace else if (mz->usage_in_excess >= >> mz_node->usage_in_excess) with

Re: [PATCH 05/14] fs: don't allow kernel reads and writes without iter ops

2020-10-09 Thread Alexander Viro
On Fri, Oct 09, 2020 at 06:29:13PM -0700, Linus Torvalds wrote: > On Fri, Oct 9, 2020 at 6:19 PM Eric Biggers wrote: > > > > Okay, that makes more sense. So the patchset from Matthew > > https://lkml.kernel.org/linux-fsdevel/20201003025534.21045-1-wi...@infradead.org/T/#u > > isn't what you had i

Re: [PATCH] page-flags: Remove unused __[Set|Clear]PagePrivate

2020-10-09 Thread linmiaohe
David Hildenbrand wrote: > On 09.10.20 15:59, Miaohe Lin wrote: >> They are unused anymore. > >-EINVAL, sentence does not make sense :) > >"They are not used anymore." >"They are unused ." My poor English. ;) Will change it in v2 soon. Many Thanks. > >Reviewed-by: David Hildenbrand >

Re: [PATCH 1/6] mm: mmap: fix fput in error path

2020-10-09 Thread linmiaohe
Jason Gunthorpe wrote: > On Fri, Oct 09, 2020 at 03:04:20PM -0700, Andrew Morton wrote: >> On Fri, 9 Oct 2020 17:03:37 +0200 "Christian König" >> wrote: >> >> > Patch "495c10cc1c0c CHROMIUM: dma-buf: restore args..." >> > adds a workaround for a bug in mmap_region. >> > >> > As the comment st

Re: [PATCH net-next v4 07/10] bridge: cfm: Netlink SET configuration Interface.

2020-10-09 Thread Jakub Kicinski
On Fri, 9 Oct 2020 14:35:27 + Henrik Bjoernlund wrote: > +static inline struct mac_addr nla_get_mac(const struct nlattr *nla) static inlines are generally not needed in C sources and just hide unused code. Please drop the inline annotation. > +{ > + struct mac_addr mac; > + > + nla_me

Re: [PATCH v3 1/2] vhost-vdpa: fix vhost_vdpa_map() on error condition

2020-10-09 Thread Jason Wang
On 2020/10/3 下午1:02, Si-Wei Liu wrote: vhost_vdpa_map() should remove the iotlb entry just added if the corresponding mapping fails to set up properly. Fixes: 4c8cf31885f6 ("vhost: introduce vDPA-based backend") Signed-off-by: Si-Wei Liu --- drivers/vhost/vdpa.c | 3 +++ 1 file changed, 3

Re: [PATCH RFC PKS/PMEM 22/58] fs/f2fs: Utilize new kmap_thread()

2020-10-09 Thread Eric Biggers
On Sat, Oct 10, 2020 at 01:39:54AM +0100, Matthew Wilcox wrote: > On Fri, Oct 09, 2020 at 02:34:34PM -0700, Eric Biggers wrote: > > On Fri, Oct 09, 2020 at 12:49:57PM -0700, ira.we...@intel.com wrote: > > > The kmap() calls in this FS are localized to a single thread. To avoid > > > the over head

Re: [PATCH 05/14] fs: don't allow kernel reads and writes without iter ops

2020-10-09 Thread Linus Torvalds
On Fri, Oct 9, 2020 at 6:19 PM Eric Biggers wrote: > > Okay, that makes more sense. So the patchset from Matthew > https://lkml.kernel.org/linux-fsdevel/20201003025534.21045-1-wi...@infradead.org/T/#u > isn't what you had in mind. No. That first patch makes sense - it's just the "ppos can be NU

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+f5378bcf0f0cab45c...@syzkaller.appspotmail.com Tested on: commit: 549738f1 Linux 5.9-rc8 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li

Re: [PATCH 2/3] venus: vdec: Make decoder return LAST flag for sufficient event

2020-10-09 Thread Stanimir Varbanov
Hi Vikash, On 10/7/20 10:53 PM, vgaro...@codeaurora.org wrote: > Hi Stan, > > On 2020-09-28 22:14, Stanimir Varbanov wrote: >> This makes the decoder to behaives equally for sufficient and > behaves > >> insufficient events. After this change the LAST buffer flag will be set >> when the new reso

Re: [PATCH 05/14] fs: don't allow kernel reads and writes without iter ops

2020-10-09 Thread Eric Biggers
On Fri, Oct 09, 2020 at 06:03:31PM -0700, Linus Torvalds wrote: > On Fri, Oct 9, 2020 at 3:06 PM Eric Biggers wrote: > > > > It's a bit unintuitive that ppos=NULL means "use pos 0", not "use > > file->f_pos". > > That's not at all what it means. > > A NULL ppos means "this has no position at al

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread Alan Stern
On Fri, Oct 09, 2020 at 02:55:08PM -0700, syzbot wrote: > Hello, > > syzbot tried to test the proposed patch but the build/boot failed: > > drivers/net/wireless/ath/ath9k/hif_usb.c:1319:7: error: implicit declaration > of function 'usb_find_bulk_in'; did you mean 'usb_fill_bulk_urb'? > [-Werror

Dear Friend

2020-10-09 Thread mrs chantal
Hello Friend.I am Mrs.CHANTAL I am sending this brief letter to solicit your partnership to transfer $7.2 Million US Dollars.I shall send you more information and procedures when I receive positive response From you. Please send me a message in My private email address is ( mrschant

Re: [GIT PULL] SPI fixes for v5.9-rc8

2020-10-09 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Oct 2020 00:44:23 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > tags/spi-fix-v5.9-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f2f486d57c4d562cdf4932320b66fbb878ab1c4 Thank you! -- Deet-doot-d

Re: [PATCH net 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-09 Thread Willem de Bruijn
On Fri, Oct 9, 2020 at 8:30 PM Deepa Dinamani wrote: > > On Fri, Oct 9, 2020 at 3:32 AM Christian Eggers wrote: > > > > The comparison of optname with SO_TIMESTAMPING_NEW is wrong way around, > > so SOCK_TSTAMP_NEW will first be set and than reset again. Additionally > > move it out of the test f

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread Alan Stern
On Fri, Oct 09, 2020 at 05:56:09PM -0700, syzbot wrote: > Hello, > > syzbot tried to test the proposed patch but the build/boot failed: Oops. One more try, with the typos fixed. #syz test: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.9-rc8 Index: usb-devel/drivers/net

Re: [PATCH] scripts: remove namespace.pl

2020-10-09 Thread Jakub Kicinski
On Fri, 9 Oct 2020 17:18:44 -0700 Jacob Keller wrote: > namespace.pl is intended to help locate symbols which are defined but > are not used externally. The goal is to avoid bloat of the namespace in > the resulting kernel image. > > The script relies on object data, and only finds unused symbols

[PATCH] tty: goldfish: use __raw_writel()/__raw_readl()

2020-10-09 Thread Laurent Vivier
gf_early_console_putchar() uses __raw_writel() but the standard driver uses writel()/readl(). This means we can't use both on the same machine as the device is either big-endian, little-endian or native-endian. As android implementation defines the endianness of the device is the one of the archit

Re: [PATCH 05/14] fs: don't allow kernel reads and writes without iter ops

2020-10-09 Thread Linus Torvalds
On Fri, Oct 9, 2020 at 3:06 PM Eric Biggers wrote: > > It's a bit unintuitive that ppos=NULL means "use pos 0", not "use > file->f_pos". That's not at all what it means. A NULL ppos means "this has no position at all", and is what we use for FMODE_STREAM file descriptors (ie sockets, pipes, etc

Re: [PATCH 1/3] soc: qcom: geni: More properly switch to DMA mode

2020-10-09 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-08 15:52:33) > On geni-i2c transfers using DMA, it was seen that if you program the > command (I2C_READ) before calling geni_se_rx_dma_prep() that it could > cause interrupts to fire. If we get unlucky, these interrupts can > just keep firing (and not be handled)

Re: [PATCH RFC PKS/PMEM 22/58] fs/f2fs: Utilize new kmap_thread()

2020-10-09 Thread Matthew Wilcox
On Fri, Oct 09, 2020 at 02:34:34PM -0700, Eric Biggers wrote: > On Fri, Oct 09, 2020 at 12:49:57PM -0700, ira.we...@intel.com wrote: > > The kmap() calls in this FS are localized to a single thread. To avoid > > the over head of global PKRS updates use the new kmap_thread() call. > > > > @@ -2410,

Re: [PATCH 2/3] Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"

2020-10-09 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-08 15:52:34) > This reverts commit 02b9aec59243c6240fc42884acc958602146ddf6. > > As talked about in the patch ("soc: qcom: geni: More properly switch > to DMA mode"), swapping the order of geni_se_setup_m_cmd() and > geni_se_xx_dma_prep() can sometimes cause corru

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
Hello, syzbot tried to test the proposed patch but the build/boot failed: drivers/net/wireless/ath/ath9k/hif_usb.c:1319:7: error: implicit declaration of function 'usb_find_bulk_in'; did you mean 'usb_fill_bulk_urb'? [-Werror=implicit-function-declaration] drivers/net/wireless/ath/ath9k/hif_usb

Re: [PATCH 3/3] soc: qcom: geni: Optimize select fifo/dma mode

2020-10-09 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-08 15:52:35) > diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c > index 751a49f6534f..746854745b15 100644 > --- a/drivers/soc/qcom/qcom-geni-se.c > +++ b/drivers/soc/qcom/qcom-geni-se.c > @@ -266,49 +266,53 @@ EXPORT_SYMBOL(geni_se_ini

Re: [PATCH net 2/2] socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled

2020-10-09 Thread Willem de Bruijn
On Fri, Oct 9, 2020 at 6:32 AM Christian Eggers wrote: > > SOCK_TSTAMP_NEW (timespec64 instead of timespec) is also used for > hardware time stamps (configured via SO_TIMESTAMPING_NEW). > > User space (ptp4l) first configures hardware time stamping via > SO_TIMESTAMPING_NEW which sets SOCK_TSTAMP_

09/10/2020

2020-10-09 Thread Mr. Edward
Hello, I am Barrister Chris Tetteh Attorney to the late Engr. Steve Moore who died with his wife and their three kids in a car accident. Before his death he had funds valued at twenty seven Million dollars deposited in a bank. I need your assistance to retrieve the money left behind by my clien

Re: [PATCH v2 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-09 Thread Maciej W. Rozycki
On Thu, 8 Oct 2020, Thomas Bogendoerfer wrote: > + /* > + * MAC2008 toolchain never landed in real world, so > we're only > + * testing whether it can be disabled and don't try to > enabled > + * it. > +

Re: [PATCH net 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-09 Thread Deepa Dinamani
On Fri, Oct 9, 2020 at 3:32 AM Christian Eggers wrote: > > The comparison of optname with SO_TIMESTAMPING_NEW is wrong way around, > so SOCK_TSTAMP_NEW will first be set and than reset again. Additionally > move it out of the test for SOF_TIMESTAMPING_RX_SOFTWARE as this seems > unrelated. The SO

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

2020-10-09 Thread Mike Kravetz
On 10/9/20 3:23 PM, Hugh Dickins wrote: > On Fri, 9 Oct 2020, Mike Kravetz wrote: >> On 10/8/20 10:50 PM, Hugh Dickins wrote: >>> >>> It's a problem I've faced before in tmpfs, keeping a hold on the >>> mapping while page lock is dropped. Quite awkward: igrab() looks as >>> if it's the right thing

Re: [PATCH 0/3] i2c: i2c-qcom-geni: More properly fix the DMA race

2020-10-09 Thread Stephen Boyd
+Roja Quoting Douglas Anderson (2020-10-08 15:52:32) > Previously I landed commit 02b9aec59243 ("i2c: i2c-qcom-geni: Fix DMA > transfer race") to fix a race we were seeing. While that most > definitely fixed the race we were seeing, it looks like it causes > problems in the TX path, which we didn

Re: [PATCH] mm: Fix a race during split THP

2020-10-09 Thread Huang, Ying
Matthew Wilcox writes: > On Fri, Oct 09, 2020 at 03:36:47PM +0800, Huang, Ying wrote: >> +if (PageSwapCache(head)) { >> +swp_entry_t entry = { .val = page_private(head) }; >> + >> +split_swap_cluster(entry); >> +} > ... >> -if (PageSwapCache(head)) { >>

Re: [PATCH] rcutorture: remove unneeded check

2020-10-09 Thread Tom Rix
On 10/9/20 4:50 PM, Paul E. McKenney wrote: > On Fri, Oct 09, 2020 at 02:18:41PM -0700, Tom Rix wrote: >> On 10/9/20 1:18 PM, Paul E. McKenney wrote: >>> On Fri, Oct 09, 2020 at 12:47:36PM -0700, t...@redhat.com wrote: From: Tom Rix clang static analysis reports this problem:

Re: [PATCH net 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-09 Thread Willem de Bruijn
On Fri, Oct 9, 2020 at 6:32 AM Christian Eggers wrote: > > The comparison of optname with SO_TIMESTAMPING_NEW is wrong way around, > so SOCK_TSTAMP_NEW will first be set and than reset again. Additionally > move it out of the test for SOF_TIMESTAMPING_RX_SOFTWARE as this seems > unrelated. > > Thi

Re: [PATCH] Fixed coding style issues raised by checkpatch.

2020-10-09 Thread Joe Perches
On Fri, 2020-10-09 at 10:18 +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 09, 2020 at 09:00:38AM +0100, Tabot Kevin wrote: > > This patch fixes the following: > > - Made sure alignment matched open parenthesis. > > > > Signed-off-by: Tabot Kevin > > --- > > drivers/staging/greybus/audio_module.

[PATCH] scripts: remove namespace.pl

2020-10-09 Thread Jacob Keller
namespace.pl is intended to help locate symbols which are defined but are not used externally. The goal is to avoid bloat of the namespace in the resulting kernel image. The script relies on object data, and only finds unused symbols for the configuration used to generate that object data. This re

Re: [PATCH] mm/memcg: fix device private memcg accounting

2020-10-09 Thread Ralph Campbell
On 10/9/20 3:50 PM, Andrew Morton wrote: On Fri, 9 Oct 2020 14:59:52 -0700 Ralph Campbell wrote: The code in mc_handle_swap_pte() checks for non_swap_entry() and returns NULL before checking is_device_private_entry() so device private pages are never handled. Fix this by checking for non_swa

[PATCH v2 1/1] PCI/ERR: don't clobber status after reset_link()

2020-10-09 Thread Hedi Berriche
Commit 6d2c89441571 ("PCI/ERR: Update error status after reset_link()") broke pcie_do_recovery(): updating status after reset_link() has the ill side effect of causing recovery to fail if the error status is PCI_ERS_RESULT_CAN_RECOVER or PCI_ERS_RESULT_NEED_RESET as the following code will *never*

[PATCH v2 0/1] PCI/ERR: fix regression introduced by 6d2c89441571 ("PCI/ERR: Update error status after reset_link()")

2020-10-09 Thread Hedi Berriche
- Changes since v1: * changed the commit message to clarify what broke post commit 6d2c89441571 * dropped the misnomer post_reset_status variable in favour of a more natural approach that relies on a boolean to keep track of the outcome of reset_link() After commit 6d2c89441571 ("PCI/ERR: U

[PATCH v5 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-09 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- Changes for v5: - Remove the return before goto to also fwno

Re: [PATCH] char: ppdev: check if ioctl argument is present and valid

2020-10-09 Thread Sudip Mukherjee
On Fri, Oct 9, 2020 at 5:57 AM Greg KH wrote: > > On Thu, Oct 08, 2020 at 11:57:13PM +0530, Harshal Chaudhari wrote: > > Checking the argument passed to the ioctl is valid > > or not. if not then return -EINVAL. > > Along the the comments that Arnd made, this is not the correct value to > be retur

Re: [Nouveau] nouveau broken on Riva TNT2 in 5.9.0-rc8: GPU not supported on big-endian

2020-10-09 Thread Karol Herbst
On Sat, Oct 10, 2020 at 12:23 AM Ilia Mirkin wrote: > > On Fri, Oct 9, 2020 at 5:54 PM Karol Herbst wrote: > > > > On Fri, Oct 9, 2020 at 11:35 PM Ondrej Zary wrote: > > > > > > Hello, > > > I'm testing 5.9.0-rc8 and found that Riva TNT2 stopped working: > > > [0.00] Linux version 5.9.0-

Re: [PATCH v5 00/29] Add support for Clang LTO

2020-10-09 Thread Sami Tolvanen
On Fri, Oct 9, 2020 at 4:38 PM Steven Rostedt wrote: > > On Fri, 9 Oct 2020 14:05:48 -0700 > Sami Tolvanen wrote: > > > Ah yes, X86_DECODER_SELFTEST seems to be broken in tip/master. If you > > prefer, I have these patches on top of mainline here: > > > > https://github.com/samitolvanen/linux/t

[PATCH] mm: validate inode in mapping_set_error

2020-10-09 Thread Minchan Kim
The swap address_space doesn't have host. Thus, it makes kernel crash once swap write meets error. Fix it. [1] 735e4ae5ba28, vfs: track per-sb writeback errors and report them to syncfs Signed-off-by: Minchan Kim --- include/linux/pagemap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] binder: fix UAF when releasing todo list

2020-10-09 Thread Todd Kjos
On Fri, Oct 9, 2020 at 4:24 PM Todd Kjos wrote: > > When releasing a thread todo list when tearing down > a binder_proc, the following race was possible which > could result in a use-after-free: > > 1. Thread 1: enter binder_release_work from binder_thread_release > 2. Thread 2: binder_update_re

Re: [PATCH v8 11/14] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-10-09 Thread Kelley, Sean V
On Fri, 2020-10-09 at 15:07 -0700, Sean V Kelley wrote: > On 9 Oct 2020, at 14:30, Bjorn Helgaas wrote: > > > On Fri, Oct 09, 2020 at 12:57:45PM -0500, Bjorn Helgaas wrote: > > > On Fri, Oct 02, 2020 at 11:47:32AM -0700, Sean V Kelley wrote: > > > > From: Qiuxu Zhuo > > > > > > > > When attempti

Re: [PATCH] rcutorture: remove unneeded check

2020-10-09 Thread Paul E. McKenney
On Fri, Oct 09, 2020 at 02:18:41PM -0700, Tom Rix wrote: > > On 10/9/20 1:18 PM, Paul E. McKenney wrote: > > On Fri, Oct 09, 2020 at 12:47:36PM -0700, t...@redhat.com wrote: > >> From: Tom Rix > >> > >> clang static analysis reports this problem: > >> > >> rcutorture.c:1999:2: warning: Called fun

Re: [PATCH] i2c: i2c-mux-gpio: Enable this driver in ACPI land

2020-10-09 Thread Randy Dunlap
On 10/9/20 3:43 PM, Evan Green wrote: > Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state > property translates directly to a fwnode_property_*() call. The child > reg property translates naturally into _ADR in ACPI. > > The i2c-parent is a little trickier, since of's phandle defi

[GIT PULL] SPI fixes for v5.9-rc8

2020-10-09 Thread Mark Brown
The following changes since commit 00fb259c618ea1198fc51b53a6167aa0d78672a9: spi: bcm-qspi: Fix probe regression on iProc platforms (2020-09-24 12:09:46 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.9-rc8 for

Re: [PATCH v2 2/2] usb: Add driver to allow any GPIO to be used for 7211 USB signals

2020-10-09 Thread Florian Fainelli
On 10/9/2020 12:08 PM, Al Cooper wrote: The Broadcom 7211 has new functionality that allows some USB low speed side band signals, that go from the XHCI host controller to pins on the chip, to be remapped to use any GPIO pin instead of the limited set selectable by hardware. This can be done wi

Re: [PATCH v5 00/29] Add support for Clang LTO

2020-10-09 Thread Steven Rostedt
On Fri, 9 Oct 2020 14:05:48 -0700 Sami Tolvanen wrote: > Ah yes, X86_DECODER_SELFTEST seems to be broken in tip/master. If you > prefer, I have these patches on top of mainline here: > > https://github.com/samitolvanen/linux/tree/clang-lto > > Testing your config with LTO on this tree, it doe

Re: [PATCH 1/6] net: tlan: Fix typo abitrary

2020-10-09 Thread Jakub Kicinski
On Thu, 8 Oct 2020 17:47:31 +0900 Naoki Hayama wrote: > Fix comment typo. > s/abitrary/arbitrary/ > > Signed-off-by: Naoki Hayama Applied to net.

Re: [PATCH 1/3] venus: vdec: Fix non reliable setting of LAST flag

2020-10-09 Thread Stanimir Varbanov
Hi Alex, On 10/9/20 3:45 PM, Alexandre Courbot wrote: > On Tue, Sep 29, 2020 at 1:44 AM Stanimir Varbanov > wrote: >> >> In real use of dynamic-resolution-change it is observed that the >> LAST buffer flag (which marks the last decoded buffer with the >> resolution before the resolution-change ev

  1   2   3   4   5   6   7   8   9   10   >