Re: [PATCH 1/5] net: fec: properly support external PTP PHY for hardware time stamping

2020-07-06 Thread Sergey Organov
Vladimir Oltean writes: > Hi Sergey, > > On Mon, Jul 06, 2020 at 05:26:12PM +0300, Sergey Organov wrote: >> When external PTP-aware PHY is in use, it's that PHY that is to time >> stamp network packets, and it's that PHY where configuration requests >> of time stamping features are to be routed.

Re: [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Arvind Sankar
On Sun, Jul 05, 2020 at 06:55:05AM +0200, Willy Tarreau wrote: > On Sat, Jul 04, 2020 at 01:02:51PM -0700, Dan Williams wrote: > > +Non-inclusive terminology has that same distracting effect which is why > > +it is a style issue for Linux, it injures developer efficiency. > > I'm personally thinki

Re: [PATCH] kasan: Remove kasan_unpoison_stack_above_sp_to()

2020-07-06 Thread Mark Rutland
On Mon, Jul 06, 2020 at 03:35:05PM +0100, Vincenzo Frascino wrote: > The function kasan_unpoison_stack_above_sp_to() is defined in kasan code > but never used. The function was introduced as part of the commit: > >commit 9f7d416c36124667 ("kprobes: Unpoison stack in jprobe_return() for > KASA

INFO: task hung in usleep_range

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:642b151f Merge branch 'fixes' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=125ac27e10 kernel config: https://syzkaller.appspot.com/x/.config?x=5298b51a2988dbd9 das

INFO: task hung in usb_deregister_dev

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:768a0741 usb: dwc2: gadget: Remove assigned but never used.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=17c88f8710 kernel conf

Re: [PATCH v6 09/10] iommu/mediatek: Modify MMU_CTRL register setting

2020-07-06 Thread Matthias Brugger
On 03/07/2020 06:41, Chao Hao wrote: > The MMU_CTRL register of MT8173 is different from other SoCs. > The in_order_wr_en is bit[9] which is zero by default. > Other SoCs have the vitcim_tlb_en feature mapped to bit[12]. > This bit is set to one by default. We need to preserve the bit > when set

INFO: task hung in ath6kl_usb_power_off

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c8d141ce USB: Fix up terminology in include files git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=15d1a9a710 kernel config: https:

INFO: task hung in nbd_ioctl (2)

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1124dead10 kernel config: https://syzkaller.appspot.com/x/.config?x=d195fe572fb15312 das

INFO: task hung in sisusb_open

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:768a0741 usb: dwc2: gadget: Remove assigned but never used.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=146beb3d10 kernel conf

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Arnd Bergmann
On Mon, Jul 6, 2020 at 5:01 PM Dave Jiang wrote: > On 7/6/2020 5:53 AM, Arnd Bergmann wrote: > > On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju > > wrote: > > Arnd, > I'm looking at the pl001_dma_probe(), I think we could make it more robust if > it > uses IS_ERR_OR_NULL(chan) instead of IS_ERR(

Re: [qemu] boot failed: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

2020-07-06 Thread Dave Jiang
On 7/6/2020 8:24 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 5:01 PM Dave Jiang wrote: On 7/6/2020 5:53 AM, Arnd Bergmann wrote: On Mon, Jul 6, 2020 at 1:03 PM Naresh Kamboju wrote: Arnd, I'm looking at the pl001_dma_probe(), I think we could make it more robust if it uses IS_ERR_OR_

Re: [PATCH 3/5] net: fec: initialize clock with 0 rather than current kernel time

2020-07-06 Thread Vladimir Oltean
Hi Sergey, On Mon, Jul 06, 2020 at 05:26:14PM +0300, Sergey Organov wrote: > Initializing with 0 makes it much easier to identify time stamps from > otherwise uninitialized clock. > > Initialization of PTP clock with current kernel time makes little sense as > PTP time scale differs from UTC time

Re: mvpp2: XDP TX support

2020-07-06 Thread Matteo Croce
On Mon, 6 Jul 2020 14:59:22 +0100 Colin Ian King wrote: > Hi, > > Static analysis with Coverity has found a potential issue in the > following commit: > > commit c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a > Author: Matteo Croce > Date: Thu Jul 2 16:12:43 2020 +0200 > > mvpp2: XDP TX suppo

drivers/net/wan/fsl_ucc_hdlc.c:305:17: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-07-06 Thread kernel test robot
date: 7 months ago config: arm64-randconfig-s032-20200706 (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install

Re: mvpp2: XDP TX support

2020-07-06 Thread Colin Ian King
On 06/07/2020 16:28, Matteo Croce wrote: > On Mon, 6 Jul 2020 14:59:22 +0100 > Colin Ian King wrote: > >> Hi, >> >> Static analysis with Coverity has found a potential issue in the >> following commit: >> >> commit c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a >> Author: Matteo Croce >> Date: Thu J

Re: [PATCH v2 2/2] dt-bindings: Add documentation for SPI daisy chain driver.

2020-07-06 Thread Geert Uytterhoeven
Hi Adrian, On Mon, Jul 6, 2020 at 5:19 PM Adrian Fiergolski wrote: > On 06.07.2020 17:10, Geert Uytterhoeven wrote: > > On Mon, Jul 6, 2020 at 11:23 AM Adrian Fiergolski > > wrote: > >> Add documentation for SPI daisy chain driver. > >> > >> Signed-off-by: Adrian Fiergolski > > Thanks for your

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

2020-07-06 Thread Alim Akhtar
Hi Bean > -Original Message- > From: Bean Huo > Sent: 06 July 2020 18:10 > To: alim.akh...@samsung.com; avri.alt...@wdc.com; > asuto...@codeaurora.org; j...@linux.ibm.com; martin.peter...@oracle.com; > stanley@mediatek.com; bean...@micron.com; bvanass...@acm.org; > tomas.wink...@intel

Re: [PATCH v5 4/7] pidfd: Replace open-coded partial fd_install_received()

2020-07-06 Thread Kees Cook
On Mon, Jul 06, 2020 at 03:07:13PM +0200, Christian Brauner wrote: > On Wed, Jun 17, 2020 at 03:03:24PM -0700, Kees Cook wrote: > > The sock counting (sock_update_netprioidx() and sock_update_classid()) was > > missing from pidfd's implementation of received fd installation. Replace > > the open-co

Re: [PATCH] venus: move platform specific data to platform file

2020-07-06 Thread Stanimir Varbanov
On 5/29/20 10:07 AM, Dikshita Agarwal wrote: > Move all data specific to platform into a separate file. > > Signed-off-by: Dikshita Agarwal > --- > drivers/media/platform/qcom/venus/Makefile | 3 +- > drivers/media/platform/qcom/venus/core.c | 20 ++--- > drivers/me

Re: [PATCH] venus: Add platform specific capabilities

2020-07-06 Thread Stanimir Varbanov
On 5/29/20 10:18 AM, Dikshita Agarwal wrote: > Add platform specific capabilities and use them > in place of firmware capabilities. > > Signed-off-by: Dikshita Agarwal > --- > drivers/media/platform/qcom/venus/core.c | 3 + > drivers/media/platform/qcom/venus/hfi_helper.h |

[PATCH net-next 0/9] net: qed/qede: W=1 C=1 warnings cleanup

2020-07-06 Thread Alexander Lobakin
This set cleans qed/qede build log under W=1 C=1 with GCC 8 and sparse 0.6.2. The only thing left is "context imbalance -- unexpected unlock" in one of the source files, which will be issued later during the refactoring cycles. The biggest part is handling the endianness warnings. The current code

Re: [PATCH] pidfd: fix memory leak in pidfd_getfd()

2020-07-06 Thread Kees Cook
Note: please review recent commit history for bug fixes like this -- I introduced this bug. :) On Mon, Jul 06, 2020 at 06:22:55PM +0530, Vamshi K Sthambamkadi wrote: > kmemleak backtrace: > > comm "pidfd_getfd_tes", pid 1406, jiffies 4294936898 (age 8.644s) > hex dump (first 32 bytes): > 00

[PATCH net-next 2/9] net: qed: cleanup global structs declarations

2020-07-06 Thread Alexander Lobakin
Fix several sparse warnings by moving structs declarations into the corresponding header files: drivers/net/ethernet/qlogic/qed/qed_dcbx.c:2402:32: warning: symbol 'qed_dcbnl_ops_pass' was not declared. Should it be static? drivers/net/ethernet/qlogic/qed/qed_ll2.c:2754:26: warning: symbol 'qed_l

[PATCH net-next 1/9] net: qed: move static iro_arr[] out of header file

2020-07-06 Thread Alexander Lobakin
Static variables (and functions, unless they're inline) should not be declared in header files. Move the static array iro_arr[] from "qed_hsi.h" to the sole place where it's used, "qed_init_ops.c". This eliminates lots of warnings (42 of them actually) against W=1+: In file included from drivers/n

[PATCH net-next 5/9] net: qed: improve indentation of some parts of code

2020-07-06 Thread Alexander Lobakin
To not mix functional and stylistic changes, correct indentation of code that will be modified in the subsequent commits. Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh --- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 4 +- drivers/net/ethernet/qlogic/qed/qed_debug.c | 5

[PATCH net-next 3/9] net: qed: correct qed_hw_err_notify() prototype

2020-07-06 Thread Alexander Lobakin
Change the prototype of qed_hw_err_notify() with the following: * constify "fmt" argument according to printk() declarations; * anontate it with __cold attribute to move the function out of the line; * annotate it with __printf() attribute; This eliminates W=1+ warning: drivers/net/ethernet/qlo

[PATCH net-next 4/9] net: qed: address kernel-doc warnings

2020-07-06 Thread Alexander Lobakin
Get rid of the kernel-doc warnings when building with W=1+ by rewriting the problematic doc comments according to the recommended format and style. Note that this only fixes problems found in C source files, headers aren't in scope for now. Signed-off-by: Alexander Lobakin Signed-off-by: Igor Ru

[PATCH net-next 7/9] net: qed: sanitize BE/LE data processing

2020-07-06 Thread Alexander Lobakin
Current code assumes that both host and device operates in Little Endian in lots of places. While this is true for x86 platform, this doesn't mean we should not care about this. This commit addresses all parts of the code that were pointed out by sparse checker. All operations with restricted (__b

[PATCH net-next 6/9] net: qed: use ptr shortcuts to dedup field accessing in some parts

2020-07-06 Thread Alexander Lobakin
Use intermediate pointers instead of multiple dereferencing to simplify and beautify parts of code that will be addressed in the next commit. Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh --- drivers/net/ethernet/qlogic/qed/qed_cxt.c | 5 +- drivers/net/ethernet/qlogic/qed/

[PATCH net-next 8/9] net: qede: fix kernel-doc for qede_ptp_adjfreq()

2020-07-06 Thread Alexander Lobakin
One of the function arguments was renamed some time ago, but this wasn't reflected in its kernel-doc comment. Also add the description for return values. Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh --- drivers/net/ethernet/qlogic/qede/qede_ptp.c | 10 +- 1 file changed

[PATCH net-next 9/9] net: qede: fix BE vs CPU comparison

2020-07-06 Thread Alexander Lobakin
Flow Dissector's keys are mostly Network / Big Endian. U{16,32}_MAX are the same in either of byteorders, but let's make sparse happy with wrapping them into noops. Signed-off-by: Alexander Lobakin Signed-off-by: Igor Russkikh --- drivers/net/ethernet/qlogic/qede/qede_filter.c | 8 1 f

Re: [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Steven Rostedt
On Mon, 6 Jul 2020 11:22:10 -0400 Arvind Sankar wrote: > Though I'm not sure if blueprint translates literally into other > languages, it did actually have a logical reason, viz engineering > drawings used to be blue/white. But logical reasons don't have to exist. > In the case of colors, for exa

Re: [PATCH v4] ASoC: Intel: kbl_rt5663_rt5514_max98927: Fix kabylake_ssp_fixup function

2020-07-06 Thread Pierre-Louis Bossart
On 7/3/20 7:16 AM, Lukasz Majczak wrote: Fix kabylake_ssp_fixup function to distinguish codecs DAIs by names, as current approach, leads to crash while trying to get snd_soc_dpcm with container_of() macro in kabylake_ssp_fixup(). The crash call path looks as below: soc_pcm_hw_params() snd_soc_dai

[PATCH v3 0/9] vfio/fsl-mc: VFIO support for FSL-MC devices

2020-07-06 Thread Diana Craciun
DPAA2 (Data Path Acceleration Architecture) consists in mechanisms for processing Ethernet packets, queue management, accelerators, etc. The Management Complex (mc) is a hardware entity that manages the DPAA2 hardware resources. It provides an object-based abstraction for software drivers to use t

[PATCH v3 1/9] vfio/fsl-mc: Add VFIO framework skeleton for fsl-mc devices

2020-07-06 Thread Diana Craciun
From: Bharat Bhushan DPAA2 (Data Path Acceleration Architecture) consists in mechanisms for processing Ethernet packets, queue management, accelerators, etc. The Management Complex (mc) is a hardware entity that manages the DPAA2 hardware resources. It provides an object-based abstraction for so

[PATCH v3 5/9] vfio/fsl-mc: Allow userspace to MMAP fsl-mc device MMIO regions

2020-07-06 Thread Diana Craciun
Allow userspace to mmap device regions for direct access of fsl-mc devices. Signed-off-by: Bharat Bhushan Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/vfio_fsl_mc.c | 59 +-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/fsl-mc/v

[PATCH v3 3/9] vfio/fsl-mc: Implement VFIO_DEVICE_GET_INFO ioctl

2020-07-06 Thread Diana Craciun
Allow userspace to get fsl-mc device info (number of regions and irqs). Signed-off-by: Bharat Bhushan Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/vfio_fsl_mc.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b

[PATCH v3 2/9] vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind

2020-07-06 Thread Diana Craciun
The DPRC (Data Path Resource Container) device is a bus device and has child devices attached to it. When the vfio-fsl-mc driver is probed the DPRC is scanned and the child devices discovered and initialized. Signed-off-by: Bharat Bhushan Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/vfi

[PATCH v3 9/9] vfio/fsl-mc: Add read/write support for fsl-mc devices

2020-07-06 Thread Diana Craciun
The software uses a memory-mapped I/O command interface (MC portals) to communicate with the MC hardware. This command interface is used to discover, enumerate, configure and remove DPAA2 objects. The DPAA2 objects use MSIs, so the command interface needs to be emulated such that the correct MSI is

[PATCH v3 4/9] vfio/fsl-mc: Implement VFIO_DEVICE_GET_REGION_INFO ioctl call

2020-07-06 Thread Diana Craciun
Expose to userspace information about the memory regions. Signed-off-by: Bharat Bhushan Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/vfio_fsl_mc.c | 77 ++- drivers/vfio/fsl-mc/vfio_fsl_mc_private.h | 19 ++ 2 files changed, 95 insertions(+), 1 deletion(-

[PATCH v3 8/9] vfio/fsl-mc: trigger an interrupt via eventfd

2020-07-06 Thread Diana Craciun
This patch allows to set an eventfd for fsl-mc device interrupts and also to trigger the interrupt eventfd from userspace for testing. All fsl-mc device interrupts are MSIs. The MSIs are allocated from the MSI domain only once per DPRC and used by all the DPAA2 objects. The interrupts are managed

INFO: rcu detected stall in __se_sys_mount

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ea5e6b10 kernel config: https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec das

[PATCH v3 7/9] vfio/fsl-mc: Add irq infrastructure for fsl-mc devices

2020-07-06 Thread Diana Craciun
This patch adds the skeleton for interrupt support for fsl-mc devices. The interrupts are not yet functional, the functionality will be added by subsequent patches. Signed-off-by: Bharat Bhushan Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/Makefile | 2 +- drivers/vfio/fsl

memory leak in inotify_update_watch

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17644c0510 kernel config: https://syzkaller.appspot.com/x/.config?x=5ee23b9caef4e07a das

INFO: rcu detected stall in __sys_sendmsg

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12c4e36d10 kernel config: https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec das

possible deadlock in dev_uc_sync

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e44f65fd xen-netfront: remove redundant assignment to vari.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1741774b10 kernel config: https://syzkaller.appspot.com/x/.config?x=829871134ca5e230 das

[PATCH v3 6/9] vfio/fsl-mc: Added lock support in preparation for interrupt handling

2020-07-06 Thread Diana Craciun
From: Diana Craciun Only the DPRC object allocates interrupts from the MSI interrupt domain. The interrupts are managed by the DPRC in a pool of interrupts. The access to this pool of interrupts has to be protected with a lock. This patch extends the current lock implementation to have a lock per

WARNING: suspicious RCU usage in bond_ipsec_add_sa

2020-07-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e44f65fd xen-netfront: remove redundant assignment to vari.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16148f8710 kernel config: https://syzkaller.appspot.com/x/.config?x=829871134ca5e230 das

[GIT PULL] s390 updates for 5.8-rc5

2020-07-06 Thread Heiko Carstens
Hi Linus, please pull s390 updates for 5.8-rc5. Thanks, Heiko The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28 15:00:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s3

Re: [PATCH 1/5] net: fec: properly support external PTP PHY for hardware time stamping

2020-07-06 Thread Vladimir Oltean
On Mon, Jul 06, 2020 at 06:21:59PM +0300, Sergey Organov wrote: > Vladimir Oltean writes: > > > Hi Sergey, > > > > On Mon, Jul 06, 2020 at 05:26:12PM +0300, Sergey Organov wrote: > >> When external PTP-aware PHY is in use, it's that PHY that is to time > >> stamp network packets, and it's that PH

Re: [PATCH 13/17] Documentation/driver-api: nvdimm: drop doubled word

2020-07-06 Thread Ira Weiny
On Fri, Jul 03, 2020 at 08:44:58PM -0700, Randy Dunlap wrote: > Drop the doubled word "to". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Dan Williams > Cc: Vishal Verma > Cc: Dave Jiang > Cc: Ira Weiny Acked-by: Ira Weiny > Cc: linux-nvd...@l

Re: [PATCH] udc: lpc32xx: mark local function static

2020-07-06 Thread Arnd Bergmann
On Tue, Jun 30, 2020 at 8:32 PM Vladimir Zapolskiy wrote: > > Hi Arnd, thank you for the patch. > > On 6/30/20 2:58 PM, Arnd Bergmann wrote: > > The kernel test robot reports two functions that should be marked > > static: > > > >>> drivers/usb/gadget/udc/lpc32xx_udc.c:1928:6: warning: no previous

[PATCH v2 0/4] nsproxy: support CLONE_NEWTIME with setns()

2020-07-06 Thread Christian Brauner
Hey, After having synced with Andrei with the ARM time namespace support patchset we've decided to make vdso_join_timens() a function that cannot fail but not yet change its return type so the changes for ARM can proceed independently. We will simply have a follow-up patch right after these change

[PATCH v2 4/4] tests: add CLONE_NEWTIME setns tests

2020-07-06 Thread Christian Brauner
Now that pidfds support CLONE_NEWTIME as well enable testing them in the setns() testuite. Cc: Serge Hallyn Cc: Michael Kerrisk Cc: Dmitry Safonov Cc: Andrei Vagin Signed-off-by: Christian Brauner --- tools/testing/selftests/pidfd/pidfd.h | 4 + .../selftests/pidfd/pidfd_setns_test.

Re: [PATCH v6 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-07-06 Thread Valentin Schneider
On 06/07/20 15:28, Qais Yousef wrote: > CC: linux-fsde...@vger.kernel.org > --- > > Peter > > I didn't do the > > read_lock(&taslist_lock); > smp_mb__after_spinlock(); > read_unlock(&tasklist_lock); > > dance you suggested on IRC as it didn't seem necessary. But maybe I missed >

[PATCH v2 2/4] timens: add timens_commit() helper

2020-07-06 Thread Christian Brauner
Wrap the calls to timens_set_vvar_page() and vdso_join_timens() in timens_on_fork() and timens_install() in a new timens_commit() helper. We'll use this helper in a follow-up patch in nsproxy too. Signed-off-by: Christian Brauner Reviewed-by: Andrei Vagin Cc: Will Deacon Cc: Vincenzo Frascino

[PATCH v2 3/4] nsproxy: support CLONE_NEWTIME with setns()

2020-07-06 Thread Christian Brauner
So far setns() was missing time namespace support. This was partially due to it simply not being implemented but also because vdso_join_timens() could still fail which made switching to multiple namespaces atomically problematic. This is now fixed so support CLONE_NEWTIME with setns() Signed-off-b

[PATCH v2 1/4] timens: make vdso_join_timens() always succeed

2020-07-06 Thread Christian Brauner
As discussed on-list (cf. [1]), in order to make setns() support time namespaces when attaching to multiple namespaces at once properly we need to tweak vdso_join_timens() to always succeed. So switch vdso_join_timens() to using a read lock and replacing mmap_write_lock_killable() to mmap_read_lock

Re: [PATCH v3 13/13] bus/fsl-mc: Add a new version for dprc_get_obj_region command

2020-07-06 Thread Diana Craciun OSS
On 7/6/2020 4:14 PM, Laurentiu Tudor wrote: On 7/6/2020 3:42 PM, Diana Craciun wrote: From: Diana Craciun The region size reported by the firmware for mc and software portals was less than allocated by the hardware. This may be problematic when mmapping the region in user space because the re

[PATCH] fbdev: sm712fb: set error code in probe

2020-07-06 Thread Evgeny Novikov
If smtcfb_pci_probe() does not detect a valid chip it cleans up everything and returns 0. This can result in various bad things later. The patch sets the error code on the corresponding path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov --- driver

RE: [PATCH v1 2/2] arm64: dts: exynos: keep LDO12 always-on

2020-07-06 Thread Alim Akhtar
Hi Krzysztof, > -Original Message- > From: Krzysztof Kozlowski > Sent: 05 July 2020 23:53 > To: Alim Akhtar > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > samsung-...@vger.kernel.org; linux-kernel@vger.kernel.org; > robh...@kernel.org > Subject: Re: [PAT

Re: [Ksummit-discuss] [Tech-board-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Kees Cook
On Mon, Jul 06, 2020 at 01:15:38PM +0200, Michael Kerrisk (man-pages) wrote: > On 7/5/20 3:10 AM, Kees Cook wrote: > > On Sat, Jul 04, 2020 at 08:10:33PM -0400, Matthew Wilcox wrote: > >> Left-right tree makes no sense. It doesn't distinguish the rbtree from its > >> predecessor the avl tree. I do

RE: [PATCH v3] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-06 Thread Alim Akhtar
Hi Krzysztof > -Original Message- > From: Krzysztof Kozlowski > Sent: 05 July 2020 23:48 > To: Rob Herring ; Kukjin Kim ; > Krzysztof Kozlowski ; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-samsung-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: B

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Chris Mason
On 6 Jul 2020, at 10:06, Laurent Pinchart wrote: Hi Chris, On Mon, Jul 06, 2020 at 12:45:34PM +, Chris Mason via Ksummit-discuss wrote: On 5 Jul 2020, at 0:55, Willy Tarreau wrote: Maybe instead of providing an explicit list of a few words it should simply say that terms that take t

Re: [PATCH 2/3] arm64: dts: sdm845: Add qspi opps and power-domains

2020-07-06 Thread Matthias Kaehlcke
On Fri, Jul 03, 2020 at 03:11:32PM +0530, Rajendra Nayak wrote: > Add the power domain supporting performance state and the corresponding > OPP tables for the qspi device on sdm845 > > Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke

Re: [PATCH v5 0/2] Small devm helper for devm implementations

2020-07-06 Thread Marc Gonzalez
Hello Greg, Would you agree to take this series? Regards. On 18/06/2020 13:38, Marc Gonzalez wrote: > Hello everyone, > > In my opinion, the small and simple devm_add() helper > (and its cousin, devm_vadd) can help make devm code > slightly easier to write and maintain. > > Would anyone care

Re: [PATCH 3/3] arm64: dts: sc7180: Add qspi opps and power-domains

2020-07-06 Thread Matthias Kaehlcke
On Fri, Jul 03, 2020 at 03:11:33PM +0530, Rajendra Nayak wrote: > Add the power domain supporting performance state and the corresponding > OPP tables for the qspi device on sc7180 > > Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke

Re: [PATCH v2 1/7] PCI: Keep the ACS capability offset in device

2020-07-06 Thread Bjorn Helgaas
On Mon, Jun 29, 2020 at 09:49:37PM -0700, Rajat Jain wrote: > Currently this is being looked up at a number of places. Read and store it > once at bootup so that it can be used by all later. Write the commit log so it is complete even without the subject. Right now, you have to read the subject to

Re: [PATCH v1] PCI: controller: Remove duplicate error message

2020-07-06 Thread Lorenzo Pieralisi
On Tue, Jun 02, 2020 at 09:01:13AM -0600, Rob Herring wrote: [...] > > > In fact, I think its error handling is clear enough, It just goes > > > wrong > > > in three places, as follows: > > > > > > void __iomem *devm_pci_remap_cfg_resource(struct device *dev, > > >

Re: [PATCH 18/18] arm64: lto: Strengthen READ_ONCE() to acquire when CLANG_LTO=y

2020-07-06 Thread Dave Martin
On Thu, Jul 02, 2020 at 08:23:02AM +0100, Will Deacon wrote: > On Wed, Jul 01, 2020 at 06:07:25PM +0100, Dave P Martin wrote: > > On Tue, Jun 30, 2020 at 06:37:34PM +0100, Will Deacon wrote: > > > When building with LTO, there is an increased risk of the compiler > > > converting an address depende

Re: [PATCH] x86/cpufeatures: Add new Zhaoxin CPU features

2020-07-06 Thread Luck, Tony
On Mon, Jun 29, 2020 at 07:21:29PM +0800, Tony W Wang-oc wrote: > Add new Zhaoxin CPU features for enumeration in /proc/cpuinfo: > SM2, SM2_EN, SM3, SM4, SM3_EN, SM4_EN, PARALLAX, PARALLAX_EN, > TM3, TM3_EN, RNG2, RNG2_EN, PHE2, PHE2_EN, RSA, RSA_EN. > > CPUID.(EAX=0xc001,ECX=0):EDX[bit 0] SM

[PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-06 Thread Peng Liu
'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when pushing a task")' introduced the update_rq_clock() to fix the "used-before-update" bug. 'commit f4904815f97a ("sched/deadline: Fix double accounting of rq/running bw in push & pull")' took away the bug source(add_running_bw(

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Mike Rapoport
Hi Chris, On Mon, Jul 06, 2020 at 12:45:34PM +, Chris Mason via Ksummit-discuss wrote: > On 5 Jul 2020, at 0:55, Willy Tarreau wrote: > > > On Sat, Jul 04, 2020 at 01:02:51PM -0700, Dan Williams wrote: > >> +Non-inclusive terminology has that same distracting effect which is > >> why > >> +i

Re: [PATCH 7/7] Documentation: networking: rxrpc: drop doubled word

2020-07-06 Thread David Howells
Randy Dunlap wrote: > Drop the doubled word "have". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: net...@vger.kernel.org > Cc: linux-...@lists.infradead.org Acked-by: David Howells

Re: [PATCH v5 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline

2020-07-06 Thread Andi Kleen
> > What's the point of this indirection other than another way of avoiding > > empty node 0? > > Honestly, I do not have any idea. I've traced it down to > Author: Andi Kleen > Date: Tue Jan 11 15:35:48 2005 -0800 I don't remember all the details, and I can't even find the commit (is it in li

Re: [PATCH 23/32] usb: gadget: udc: max3420_udc: Remove set, but never checked variable 'addr'

2020-07-06 Thread Jassi Brar
On Mon, 6 Jul 2020 at 08:34, Lee Jones wrote: > diff --git a/drivers/usb/gadget/udc/max3420_udc.c > b/drivers/usb/gadget/udc/max3420_udc.c > index 23f33946d80c4..52884bae4af11 100644 > --- a/drivers/usb/gadget/udc/max3420_udc.c > +++ b/drivers/usb/gadget/udc/max3420_udc.c > @@ -623,7 +623,6 @@ s

Re: [PATCH 18/18] arm64: lto: Strengthen READ_ONCE() to acquire when CLANG_LTO=y

2020-07-06 Thread Dave Martin
On Tue, Jun 30, 2020 at 06:37:34PM +0100, Will Deacon wrote: > When building with LTO, there is an increased risk of the compiler > converting an address dependency headed by a READ_ONCE() invocation > into a control dependency and consequently allowing for harmful > reordering by the CPU. > > Ens

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

2020-07-06 Thread Andres Beltran
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 bounds of the source buffer when calling memcpy. Ensure that outgoi

<<<>>

2020-07-06 Thread Mr Peter Owen
Good Day, I hope this meets you well.I have a proposed BUSINESS DEAL that will be Beneficial to both parties.Please consider it legitimate,legal as your REPUTATION will not be compromised.Please Reply to me ONLY if you are interested and consider your self WORTHY to handle for details. Sincerel

Re: [PATCH v2 2/4] drm/msm: dsi: Use OPP API to set clk/perf state

2020-07-06 Thread Matthias Kaehlcke
On Thu, Jul 02, 2020 at 04:39:09PM +0530, Rajendra Nayak wrote: > On SDM845 and SC7180 DSI needs to express a performance state > requirement on a power domain depending on the clock rates. > Use OPP table from DT to register with OPP framework and use > dev_pm_opp_set_rate() to set the clk/perf st

Re: [PATCH v5 4/7] pidfd: Replace open-coded partial fd_install_received()

2020-07-06 Thread Christian Brauner
On Mon, Jul 06, 2020 at 08:34:06AM -0700, Kees Cook wrote: > On Mon, Jul 06, 2020 at 03:07:13PM +0200, Christian Brauner wrote: > > On Wed, Jun 17, 2020 at 03:03:24PM -0700, Kees Cook wrote: > > > The sock counting (sock_update_netprioidx() and sock_update_classid()) was > > > missing from pidfd's

[PATCH 3/4] intel_th: pci: Add Emmitsburg PCH support

2020-07-06 Thread Alexander Shishkin
This adds support for the Trace Hub in Emmitsburg PCH. Signed-off-by: Alexander Shishkin Reviewed-by: Andy Shevchenko Cc: sta...@vger.kernel.org # v4.14+ --- drivers/hwtracing/intel_th/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwtr

[PATCH 1/4] intel_th: pci: Add Jasper Lake CPU support

2020-07-06 Thread Alexander Shishkin
This adds support for the Trace Hub in Jasper Lake CPU. Signed-off-by: Alexander Shishkin Reviewed-by: Andy Shevchenko Cc: sta...@vger.kernel.org # v4.14+ --- drivers/hwtracing/intel_th/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwt

[PATCH 4/4] intel_th: Fix a NULL dereference when hub driver is not loaded

2020-07-06 Thread Alexander Shishkin
Connecting master to an output port when GTH driver module is not loaded triggers a NULL dereference: > RIP: 0010:intel_th_set_output+0x35/0x70 [intel_th] > Call Trace: > ? sth_stm_link+0x12/0x20 [intel_th_sth] > stm_source_link_store+0x164/0x270 [stm_core] > dev_attr_store+0x17/0x30 > sysfs_k

[PATCH 0/4] intel_th: Fixes for v5.8

2020-07-06 Thread Alexander Shishkin
Hi Greg, Here are the fixes I have for v5.8 cycle so far. There is, in fact, just one bugfix and 3 new PCI IDs. Nothing dramatic. Andy's r-bs are included. Please consider applying. Thanks! Alexander Shishkin (4): intel_th: pci: Add Jasper Lake CPU support intel_th: pci: Add Tiger Lake PCH-H

[PATCH 2/4] intel_th: pci: Add Tiger Lake PCH-H support

2020-07-06 Thread Alexander Shishkin
This adds support for the Trace Hub in Tiger Lake PCH-H. Signed-off-by: Alexander Shishkin Reviewed-by: Andy Shevchenko Cc: sta...@vger.kernel.org # v4.14+ --- drivers/hwtracing/intel_th/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hw

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6779 driver

2020-07-06 Thread Randy Dunlap
On 7/6/20 2:28 AM, Neal Liu wrote: > diff --git a/drivers/soc/mediatek/devapc/Kconfig > b/drivers/soc/mediatek/devapc/Kconfig > new file mode 100644 > index 000..b0f7d0e > --- /dev/null > +++ b/drivers/soc/mediatek/devapc/Kconfig > @@ -0,0 +1,17 @@ > +config MTK_DEVAPC > + tristate "Mediat

Re: [PATCH v2] gpu/drm: Remove debug info about CPU address

2020-07-06 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Jul 2, 2020 at 11:54 AM Tiezhu Yang wrote: > > On 07/02/2020 04:39 PM, Christian König wrote: > > Am 02.07.20 um 10:35 schrieb Tiezhu Yang: > >> On 07/02/2020 04:27 PM, Christian König wrote: > >>> Am 02.07.20 um 04:27 schrieb Tiezhu Yang: > When I update the

Re: [PATCH] drm/lima: Expose job_hang_limit module parameter

2020-07-06 Thread Andrey Lebedev
Hello guys, What is the status of this patch? Was this committed to any branch? Is it pending for merge to the mainline? Do I have to do anything in order to make it mergeable? On 6/19/20 10:58 AM, Andrey Lebedev wrote: From: Andrey Lebedev Some pp or gp jobs can be successfully repeated e

Re: [PATCH v2 1/2] spi: Add the SPI daisy chain support.

2020-07-06 Thread Mark Brown
On Mon, Jul 06, 2020 at 11:22:43AM +0200, Adrian Fiergolski wrote: Please don't send new patches in reply to old threads, it buries them and can be confusing. > The implementation is transparent for the SPI devices and doesn't require > their modifications. It is based on a virtual SPI device (sp

Re: [PATCH v2 2/2] dt-bindings: Add documentation for SPI daisy chain driver.

2020-07-06 Thread Mark Brown
On Mon, Jul 06, 2020 at 05:32:51PM +0200, Geert Uytterhoeven wrote: > However, that information would need to be added to each driver only once. > With your proposal, it has to be added to all affected nodes of all DTSes > of all users. Right, these are fixed properties of the silicon which we kn

[PATCH] staging: rtl8192u: Using comparison to true is error prone

2020-07-06 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192u/r8192U_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl81

Re: [PATCH 00/22] add support for Clang LTO

2020-07-06 Thread Paul E. McKenney
On Fri, Jul 03, 2020 at 07:42:28AM -0700, Paul E. McKenney wrote: > On Fri, Jul 03, 2020 at 03:13:30PM +0200, Peter Zijlstra wrote: > > On Thu, Jul 02, 2020 at 10:59:48AM -0700, Paul E. McKenney wrote: > > > On Thu, Jul 02, 2020 at 10:20:40AM +0200, Peter Zijlstra wrote: > > > > On Wed, Jul 01, 202

RE: [PATCH v4 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-07-06 Thread Michael Kelley
From: Andres Beltran Sent: Tuesday, June 30, 2020 5:12 PM > > Currently, VMbus drivers use pointers into guest memory as request IDs > for interactions with Hyper-V. To be more robust in the face of errors > or malicious behavior from a compromised Hyper-V, avoid exposing > guest memory addresses

Hello

2020-07-06 Thread Mr.David Keller
Hello, Please what is going on, I sent you an urgent letter days ago without any response from you yet, I need to know and get back to me, Best Regard, Mr.David Keller.

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

2020-07-06 Thread Michael Kelley
From: Andres Beltran Sent: Monday, July 6, 2020 9:09 AM > > 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

Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-06 Thread Andy Lutomirski
On Sat, Jul 4, 2020 at 1:19 PM Dan Williams wrote: > > Recent events have prompted a Linux position statement on inclusive > terminology. Given that Linux maintains a coding-style and its own > idiomatic set of terminology here is a proposal to answer the call to > replace non-inclusive terminolog

[PATCH] mmc: dw_mmc-exynos: remove redundant initialization of variable 'found'

2020-07-06 Thread Colin King
From: Colin Ian King The variable 'found' is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/mmc/host/dw_mmc-exy

drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size

2020-07-06 Thread kernel test robot
ago config: m68k-randconfig-r015-20200706 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout

[PATCH v3 1/1] watchdog: Add common nowayout parameter to booke_wdt driver

2020-07-06 Thread Timothy Myers
Add the common "nowayout" parameter to booke_wdt to make this behavior selectable at runtime and to make the implementation more consistent with many other watchdog drivers. Signed-off-by: Timothy Myers Reviewed-by: Guenter Roeck Changes in: v2: Added Guenter Roeck's rev

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