Re: [PATCH 3/3] ARM: dts: r8a7742-iwg21d-q7: Sound DMA support via DVC on DTS

2020-05-29 Thread Geert Uytterhoeven
On Wed, May 27, 2020 at 10:24 PM Lad Prabhakar wrote: > Enable sound with DMA support on carrier board. > > DMA transfer uses DVC > > DMA DMApp > [MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI] > > DMA DMApp > [MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI] > >

Re: linux-next: manual merge of the vfs tree with the erofs tree

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 11:40:07AM +0800, Gao Xiang wrote: > I'm fine with that, although I think it's mainly with vfs changes > so could be better though with vfs tree. I will add this patch > tomorrow anyway... Thanks for reminder! FWIW, my reasoning here is * erofs tree exists and

Re: [PATCH 2/3] ARM: dts: r8a7742-iwg21d-q7: Enable SGTL5000 audio codec

2020-05-29 Thread Geert Uytterhoeven
On Fri, May 29, 2020 at 4:35 PM Geert Uytterhoeven wrote: > Hi Magnus, Whoops, too much gmail-auto-guessing-completion. Sorry for that. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH] Input: evdev - per-client waitgroups

2020-05-29 Thread kl
April 29, 2020 8:41 PM, "Kenny Levinsen" wrote: > All evdev clients share a common waitgroup. On new input events, this > waitgroup is woken once for every client that did not filter the events, > leading to duplicated and unwanted wakeups. > > Split the shared waitgroup into per-client

Re: [PATCH 2/3] ARM: dts: r8a7742-iwg21d-q7: Enable SGTL5000 audio codec

2020-05-29 Thread Geert Uytterhoeven
Hi Magnus, On Wed, May 27, 2020 at 10:24 PM Lad Prabhakar wrote: > This patch enables SGTL5000 audio codec on the carrier board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.9.

Re: [GIT PULL] sh: remove sh5 support

2020-05-29 Thread Christoph Hellwig
On Thu, May 28, 2020 at 06:14:51PM -0400, Rich Felker wrote: > To follow up, I see that there was a patch series of yours (3/24) I > missed ack'ing fairly recently. At first glance it looks good. Well, I need a formal ACK, or even better have the arch maintainer pick it up, as that is how

Re: mmotm 2020-05-13-20-30 uploaded (objtool warnings)

2020-05-29 Thread Peter Zijlstra
On Fri, May 29, 2020 at 03:57:51PM +0200, Christoph Hellwig wrote: > On Thu, May 28, 2020 at 07:20:05PM +0200, Peter Zijlstra wrote: > > > on x86_64: > > > > > > arch/x86/lib/csum-wrappers_64.o: warning: objtool: > > > csum_and_copy_from_user()+0x2a4: call to memset() with UACCESS enabled > > >

Re: WARNING: suspicious RCU usage in idtentry_exit

2020-05-29 Thread Dmitry Vyukov
On Fri, May 29, 2020 at 4:05 PM Paul E. McKenney wrote: > > On Fri, May 29, 2020 at 08:20:12AM +0200, Dmitry Vyukov wrote: > > On Thu, May 28, 2020 at 10:48 PM Paul E. McKenney > > wrote: > > > > > > On Thu, May 28, 2020 at 10:19:02PM +0200, Thomas Gleixner wrote: > > > > Paul, > > > > > > > >

Re: [GIT PULL] sh: remove sh5 support

2020-05-29 Thread Christoph Hellwig
On Thu, May 28, 2020 at 12:14:16PM -0400, Rich Felker wrote: > It is in active use. Please do not act on such a request. I would be > much quicker to ack things that actually need ack if I weren't CC'd on > hundreds of random non-arch-specific changes that don't need it, but I > understand that's

Re: [PATCH RFT] ravb: Mask PHY mode to avoid inserting delays twice

2020-05-29 Thread Andrew Lunn
On Fri, May 29, 2020 at 02:25:40PM +0200, Geert Uytterhoeven wrote: > Until recently, the Micrel KSZ9031 PHY driver ignored any PHY mode > ("RGMII-*ID") settings, but used the hardware defaults, augmented by > explicit configuration of individual skew values using the "*-skew-ps" > DT properties.

Re: linux-next: build warning after merge of the sound-asoc tree

2020-05-29 Thread Pierre-Louis Bossart
On 5/29/20 8:55 AM, Pierre-Louis Bossart wrote: On 5/29/20 8:30 AM, Mark Brown wrote: On Thu, May 28, 2020 at 01:57:17PM +1000, Stephen Rothwell wrote: Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Re: [PATCH 4/4] workqueue: remove useless unlock() and lock() in series

2020-05-29 Thread Tejun Heo
On Fri, May 29, 2020 at 06:59:02AM +, Lai Jiangshan wrote: > This is no point to unlock() and then lock() the same mutex > back to back. > > Signed-off-by: Lai Jiangshan Applied to wq/for-5.8. Thanks. -- tejun

Re: [PATCH] thermal: sprd: Fix return value of sprd_thm_probe()

2020-05-29 Thread Baolin Wang
Hi, On Mon, May 25, 2020 at 10:00 AM Tiezhu Yang wrote: > > When call function devm_platform_ioremap_resource(), we should use IS_ERR() > to check the return value and return PTR_ERR() if failed. > > Fixes: 554fdbaf19b1 ("thermal: sprd: Add Spreadtrum thermal driver support") > Signed-off-by:

Re: linux-next: manual merge of the usb tree with the devicetree tree

2020-05-29 Thread Felipe Balbi
Hi, Rob Herring writes: >> >> > > > Today's linux-next merge of the usb tree got a conflict in: >> >> > > > >> >> > > > Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> >> > > > >> >> > > > between commit: >> >> > > > >> >> > > > 3828026c9ec8 ("dt-bindings: usb: qcom,dwc3: Convert

Re: [PATCH 3/4] workqueue: free wq->unbound_attrs earlier

2020-05-29 Thread Tejun Heo
On Fri, May 29, 2020 at 06:59:01AM +, Lai Jiangshan wrote: > wq->unbound_attrs is never accessed in rcu read site, so that > it can be freed earlier and relieves memory pressure earlier, > although slightly. > > Signed-off-by: Lai Jiangshan I don't think this is gonna make a material

Re: [PATCH 1/4] workqueue: void unneeded requeuing the pwq in rescuer thread

2020-05-29 Thread Tejun Heo
On Fri, May 29, 2020 at 06:58:59AM +, Lai Jiangshan wrote: > 008847f66c3 ("workqueue: allow rescuer thread to do more work.") made > the rescuer worker requeue the pwq immediately if there may be more > work items which need rescuing instead of waiting for the next mayday > timer expiration.

Re: [PATCH v5 0/4] SFH: Add Support for AMD Sensor Fusion Hub

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 4:42 PM Sandeep Singh wrote: > > From: Sandeep Singh > > AMD SFH(Sensor Fusion Hub) is HID based driver.SFH FW > is part of MP2 processor (MP2 which is an ARM® Cortex-M4 > core based co-processor to x86) and it runs on MP2 where > in driver resides on X86.The driver

Re: [PATCH v5 3/4] SFH: Transport Driver to add support of AMD Sensor Fusion Hub (SFH

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 4:43 PM Sandeep Singh wrote: > > From: Sandeep Singh > > This part of module will provide the interaction between HID framework > and client driver.This modules will registered client driver with > HID framework. ... > Signed-off-by: Sandeep Singh > Signed-off-by:

Re: [PATCHES] uaccess i915

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 08:06:14AM +0300, Jani Nikula wrote: > On Fri, 29 May 2020, Al Viro wrote: > > Low-hanging fruit in i915 uaccess-related stuff. > > There's some subtler stuff remaining after that; these > > are the simple ones. > > Please Cc: intel-...@lists.freedesktop.org for i915

Re: [PATCH] OPP: Check for bandwidth values before creating icc paths

2020-05-29 Thread Sibi Sankar
On 2020-05-29 10:50, Viresh Kumar wrote: On 28-05-20, 00:54, Sibi Sankar wrote: Prevent the core from creating and voting on icc paths when the opp-table does not have the bandwidth values populated. Currently this check is performed on the first OPP node. Signed-off-by: Sibi Sankar ---

Re: [PATCHES] uaccess comedi compat

2020-05-29 Thread Al Viro
On Fri, May 29, 2020 at 11:48:51AM +0100, Ian Abbott wrote: > > Al Viro (10): > >comedi: move compat ioctl handling to native fops > >comedi: get rid of indirection via translated_ioctl() > >comedi: get rid of compat_alloc_user_space() mess in COMEDI_CHANINFO > > compat >

[GIT PULL] Please pull RDMA subsystem changes

2020-05-29 Thread Jason Gunthorpe
Hi Linus, Third rc pull request Nothing profound here, just a last set of long standing bug fixes for 5.7 The following changes since commit b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce: Linux 5.7-rc6 (2020-05-17 16:48:37 -0700) are available in the Git repository at:

Re: [PATCH v2] blkdev: Replace blksize_bits() with ilog2()

2020-05-29 Thread Christoph Hellwig
> ns->size = i_size_read(ns->bdev->bd_inode); > - ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); > + ns->blksize_shift = ilog2(bdev_logical_block_size(ns->bdev)); This should just be: ns->blksize_shift = ns->bdev->bd_inode->i_blkbits; > diff --git

Re: linux-next: manual merge of the rcu tree with the tip tree

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 04:41:32PM +1000, Stephen Rothwell wrote: > Hi all, > > On Fri, 29 May 2020 16:22:34 +1000 Stephen Rothwell > wrote: > > > > Hi all, > > > > Today's linux-next merge of the rcu tree got a conflict in: > > > > kernel/rcu/tree.c > > > > between commits: > > > >

Re: [PATCH 0/4] selftests, sysctl, lib: Fix prime_numbers and sysctl test to run

2020-05-29 Thread Shuah Khan
On 5/28/20 8:51 AM, Masami Hiramatsu wrote: Hi, Recently, I found some tests were always skipped. Here is a series of patches to fix those issues. The prime_numbers test is skipped in some cases because prime_numbers.ko is not always compiled. Since the CONFIG_PRIME_NUMBERS is not

Re: [PATCH 2/4] workqueue: don't check wq->rescuer in rescuer

2020-05-29 Thread Tejun Heo
On Fri, May 29, 2020 at 06:59:00AM +, Lai Jiangshan wrote: > Now rescuer checks pwq->nr_active before requeues the pwq, > it is a more robust check and the rescuer must be still valid. > > Signed-off-by: Lai Jiangshan > --- > kernel/workqueue.c | 23 +-- > 1 file

Re: [PATCH v2] blkdev: Replace blksize_bits() with ilog2()

2020-05-29 Thread Jens Axboe
On 5/29/20 8:11 AM, Kaitao Cheng wrote: > There is a function named ilog2() exist which can replace blksize. > The generated code will be shorter and more efficient on some > architecture, such as arm64. And ilog2() can be optimized according > to different architecture. When you posted this last

[PATCH v2] trace/ftrace: fix maybe-uninitialized compiler warning

2020-05-29 Thread Kaitao Cheng
During build compiler reports some 'false positive' warnings about variables {'seq_ops', 'filtered_pids', 'other_pids'} may be used uninitialized. This patch silences these warnings. Also delete some useless spaces Signed-off-by: Kaitao Cheng --- kernel/trace/ftrace.c | 12 ++-- 1 file

[PATCH v2] blkdev: Replace blksize_bits() with ilog2()

2020-05-29 Thread Kaitao Cheng
There is a function named ilog2() exist which can replace blksize. The generated code will be shorter and more efficient on some architecture, such as arm64. And ilog2() can be optimized according to different architecture. Signed-off-by: Kaitao Cheng --- changes in v2: Remove all

Re: [PATCH 2/3] sdhci: sparx5: Add Sparx5 SoC eMMC driver

2020-05-29 Thread Lars Povlsen
Lars Povlsen writes: > Adrian Hunter writes: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 20/05/20 2:14 pm, Lars Povlsen wrote: >>> >>> Lars Povlsen writes: >>> Adrian Hunter writes: > On 13/05/20 4:31 pm, Lars

Re: [PATCH] virtio_vsock: Fix race condition in virtio_transport_recv_pkt

2020-05-29 Thread Stefano Garzarella
Hi Jia, thanks for the patch! I have some comments. On Fri, May 29, 2020 at 09:31:23PM +0800, Jia He wrote: > When client tries to connect(SOCK_STREAM) the server in the guest with > NONBLOCK > mode, there will be a panic on a ThunderX2 (armv8a server): > [ 463.718844][ T5040] Unable to handle

Re: [PATCH v5 5/7] blktrace: fix debugfs use after free

2020-05-29 Thread Bart Van Assche
On 2020-05-29 00:56, Luis Chamberlain wrote: > On Wed, May 27, 2020 at 06:15:10PM -0700, Bart Van Assche wrote: >> How about adding a lockdep_assert_held(>blk_trace_mutex) statement in >> do_blk_trace_setup()? > > Sure, however that doesn't seem part of the fix. How about adding that > as a

Re: [RFC PATCH v5 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-29 Thread Jonathan Corbet
On Fri, 29 May 2020 13:00:12 +0200 Peter Zijlstra wrote: > > +**Thermal Pressure**: > > I find these attached headers really hard to read. And what's with the > ** stuff ? > > Other files in this same patch use a different style: > > Header > -- > test goes here, > > Which I find a lot

please revert "Revert "media: staging: atomisp: Remove driver""

2020-05-29 Thread Christoph Hellwig
Hi Mauro and Greg, the commit mentioned in the subject (commit id ad85094b293e in linux-next) contains the grave offense of adding a new set_fs address space override in "new" code. It also doesn't have an Ack from Greg despite showing up in drives/staging, which looks very suspicious. Please

Re: [PATCH v4 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-05-29 Thread Serge Semin
On Fri, May 29, 2020 at 03:12:03PM +0300, Andy Shevchenko wrote: > On Fri, May 29, 2020 at 01:23:55AM +0300, Serge Semin wrote: > > There are DMA devices (like ours version of Synopsys DW DMAC) which have > > DMA capabilities non-uniformly redistributed amongst the device channels. > > In order to

Re: [PATCH] ARM: dts: imx53: ppd: alarm LEDs use kernel LED interface

2020-05-29 Thread Sebastian Reichel
Hi, ping? -- Sebastian On Fri, Apr 24, 2020 at 02:44:23PM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, Apr 24, 2020 at 11:32:26AM +0200, Pavel Machek wrote: > > On Thu 2020-04-16 16:51:23, Sebastian Reichel wrote: > > > From: Ian Ray > > > > > > Use kernel LED interface for the alarm

Re: [PATCH v2] Bluetooth: hci_qca: Fix qca6390 enable failure after warm reboot

2020-05-29 Thread Marcel Holtmann
Hi Zijun, > Warm reboot can not reset controller qca6390 due to > lack of controllable power supply, so causes firmware > download failure during enable. > > Fixed by sending VSC EDL_SOC_RESET to reset qca6390 > within added device shutdown implementation. > > Signed-off-by: Zijun Hu >

Re: WARNING: suspicious RCU usage in idtentry_exit

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 08:20:12AM +0200, Dmitry Vyukov wrote: > On Thu, May 28, 2020 at 10:48 PM Paul E. McKenney wrote: > > > > On Thu, May 28, 2020 at 10:19:02PM +0200, Thomas Gleixner wrote: > > > Paul, > > > > > > "Paul E. McKenney" writes: > > > > On Thu, May 28, 2020 at 03:33:44PM +0200,

Re: linux-next: manual merge of the usb tree with the devicetree tree

2020-05-29 Thread Rob Herring
On Fri, May 29, 2020 at 2:44 AM Felipe Balbi wrote: > > > Hi, > > Greg KH writes: > > On Fri, May 29, 2020 at 10:26:41AM +0200, Greg KH wrote: > >> On Thu, May 28, 2020 at 08:14:36AM -0600, Rob Herring wrote: > >> > On Thu, May 28, 2020 at 4:49 AM Greg KH wrote: > >> > > > >> > > On Thu, May

VERY VERY URGENT,

2020-05-29 Thread Mr.Basham Zebdani
FROM MR.BASHAM ZEBDANI AUDIT& ACCOUNT MANAGER BANK OF AFRICA (B.O.A) OUAGADOUGOU BURKINA FASO WEST AFRICA. Dear Friend, With due respect, I have decided to contact you on abusinesstransaction that will be beneficial to both of us. At the bank last account and auditing evaluation, my staffs

Re: [PATCH v5 2/4] SFH: PCI driver to add support of AMD sensor fusion Hub using HID framework

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 4:42 PM Sandeep Singh wrote: > > From: Sandeep Singh > > AMD SFH uses HID over PCIe bus.SFH fw is part of MP2 > processor (MP2 which is an ARM® Cortex-M4 core based > co-processor to x86) and it runs on MP2 where in driver resides > on X86. This part of module will

Re: [PATCH 1/3] ARM: dts: r8a7742-iwg21d-q7: Enable HSUSB, USB2.0 and XHCI

2020-05-29 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, May 27, 2020 at 10:24 PM Lad Prabhakar wrote: > Enable support for HSUB, USB2.0 and xhci on iWave RZ/G1H carrier board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Thanks for your patch! > --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts >

Re: [PATCH v2 2/2] workqueue: Convert the pool::lock and wq_mayday_lock to raw_spinlock_t

2020-05-29 Thread Tejun Heo
On Wed, May 27, 2020 at 09:46:33PM +0200, Sebastian Andrzej Siewior wrote: > The workqueue code has it's internal spinlocks (pool::lock), which > are acquired on most workqueue operations. These spinlocks are > converted to 'sleeping' spinlocks on a RT-kernel. > > Workqueue functions can be

Re: [PATCH 10/14] dt-bindings: clock: sparx5: Add Sparx5 SoC DPLL clock

2020-05-29 Thread Lars Povlsen
Stephen Boyd writes: > Quoting Lars Povlsen (2020-05-13 05:55:28) >> diff --git >> a/Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml >> b/Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml >> new file mode 100644 >> index 0..594007d8fc59a >> ---

Re: next-20200528 - build error in kernel/rcu/refperf.c

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 01:24:39AM -0400, Valdis Klētnieks wrote: > On Thu, 28 May 2020 21:48:18 -0700, Randy Dunlap said: > > > > ERROR: modpost: "__aeabi_uldivmod" [kernel/rcu/refperf.ko] undefined! > > Gaah. And the reason I didn't spot Paul's post while grepping my linux-kernel > mailbox is

Re: [PATCH v1] Bluetooth: hci_qca: Fix qca6390 enable failure after warm reboot

2020-05-29 Thread Zijun Hu
On 5/29/2020 7:45 PM, Marcel Holtmann wrote: > Hi Zijun, > >> On May 29, 2020, at 04:29, Zijun Hu wrote: >> >> Warm reboot can not reset controller qca6390 due to >> lack of controllable power supply, so causes firmware >> download failure during enable. >> >> Fixed by sending VSC

general protection fault in free_pages_and_swap_cache

2020-05-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b0c3ba31 Merge tag 'fsnotify_for_v5.7-rc8' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13ebe5e210 kernel config: https://syzkaller.appspot.com/x/.config?x=cca7550d53ffa599

Re: mmotm 2020-05-13-20-30 uploaded (objtool warnings)

2020-05-29 Thread Christoph Hellwig
On Thu, May 28, 2020 at 07:20:05PM +0200, Peter Zijlstra wrote: > > on x86_64: > > > > arch/x86/lib/csum-wrappers_64.o: warning: objtool: > > csum_and_copy_from_user()+0x2a4: call to memset() with UACCESS enabled > > arch/x86/lib/csum-wrappers_64.o: warning: objtool: > >

[PATCH v2] Bluetooth: hci_qca: Fix qca6390 enable failure after warm reboot

2020-05-29 Thread Zijun Hu
Warm reboot can not reset controller qca6390 due to lack of controllable power supply, so causes firmware download failure during enable. Fixed by sending VSC EDL_SOC_RESET to reset qca6390 within added device shutdown implementation. Signed-off-by: Zijun Hu Tested-by: Zijun Hu --- Changes in

Re: linux-next: build warning after merge of the sound-asoc tree

2020-05-29 Thread Pierre-Louis Bossart
On 5/29/20 8:30 AM, Mark Brown wrote: On Thu, May 28, 2020 at 01:57:17PM +1000, Stephen Rothwell wrote: Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/sof/intel/byt.c:464:12: warning: 'byt_remove' defined but not

[GIT PULL] parisc architecture fix for kernel v5.7

2020-05-29 Thread Helge Deller
Hi Linus, please pull a kernel panic fix for the parisc architecture for kernel 5.7 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.7-2 Fix a kernel panic at boot time for some HP-PARISC machines. Thanks, Helge

Re: next-20200528 - build error in kernel/rcu/refperf.c

2020-05-29 Thread Paul E. McKenney
On Fri, May 29, 2020 at 12:16:31AM -0400, Valdis Klētnieks wrote: > commit 9088b449814f788d24f35a5840b6b2c2a23cd32a > Author: Paul E. McKenney > Date: Mon May 25 17:22:24 2020 -0700 > > refperf: Provide module parameter to specify number of experiments > > changes this line of code (line

Re: [PATCH 1/4] lib: Make prime number generator independently selectable

2020-05-29 Thread Masami Hiramatsu
On Thu, 28 May 2020 22:56:59 -0700 Kees Cook wrote: > On Thu, May 28, 2020 at 11:52:06PM +0900, Masami Hiramatsu wrote: > > Make prime number generator independently selectable from > > kconfig. This allows us to enable CONFIG_PRIME_NUMBERS=m > > and run the

Re: [PATCH] usb: gadget: f_acm: don't disable disabled EP

2020-05-29 Thread Michał Mirosław
On Fri, May 29, 2020 at 08:10:40AM +, Peter Chen wrote: > On 20-05-28 20:30:28, Michał Mirosław wrote: > > Make debugging real problems easier by not trying to disable an EP that > > was not yet enabled. > > > > Fixes: 4aab757ca44a ("usb: gadget: f_acm: eliminate abuse of ep->driver > >

Re: linux-rt stall on imx6dl on patch-5.4.22-rt13.patch

2020-05-29 Thread Michael Nazzareno Trimarchi
Hi On Fri, May 29, 2020 at 3:31 PM Sebastian Andrzej Siewior wrote: > > On 2020-05-29 10:08:01 [+0200], Michael Nazzareno Trimarchi wrote: > > Hi all > Hi, > > > I get this stack trace > > echo 3 > /proc/sys/vm/drop_caches chrt -f 99 sysbench --test=cpu > > --num-threads=2 > > > > First of all,

Re: [PATCH 4/5] iio: light: lm3533-als: remove explicit parent assignment

2020-05-29 Thread Johan Hovold
[ Trimming CC to something more reasonable... ] On Fri, May 29, 2020 at 11:08:38AM +, Ardelean, Alexandru wrote: > On Fri, 2020-05-29 at 12:16 +0200, Johan Hovold wrote: > > On Fri, May 22, 2020 at 11:22:07AM +0300, Alexandru Ardelean wrote: > > > This assignment is the more peculiar of the

[PATCH v5 4/4] SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH)

2020-05-29 Thread Sandeep Singh
From: Sandeep Singh This part of module will define the data into HID reports. Get data from PCIe driver and populate that data into reports. HID core communication between devices and HID core is mostly done via HID reports. Signed-off-by: Nehal Shah Signed-off-by: Sandeep Singh ---

[PATCH v5 3/4] SFH: Transport Driver to add support of AMD Sensor Fusion Hub (SFH

2020-05-29 Thread Sandeep Singh
From: Sandeep Singh This part of module will provide the interaction between HID framework and client driver.This modules will registered client driver with HID framework. Signed-off-by: Sandeep Singh Signed-off-by: Nehal Shah Reported-by: kbuild test robot Reported-by: Dan Carpenter ---

[PATCH v5 1/4] SFH: Add maintainers and documentation for AMD SFH based on HID framework

2020-05-29 Thread Sandeep Singh
From: Sandeep Singh Add Maintainers for AMD SFH(SENSOR FUSION HUB) Solution and work flow document. Signed-off-by: Sandeep Singh Signed-off-by: Nehal Shah --- Documentation/hid/amd-sfh-hid.rst | 160 ++ MAINTAINERS | 8 ++ 2 files

[PATCH v5 2/4] SFH: PCI driver to add support of AMD sensor fusion Hub using HID framework

2020-05-29 Thread Sandeep Singh
From: Sandeep Singh AMD SFH uses HID over PCIe bus.SFH fw is part of MP2 processor (MP2 which is an ARM® Cortex-M4 core based co-processor to x86) and it runs on MP2 where in driver resides on X86. This part of module will communicate with MP2 FW and provide that data into DRAM Signed-off-by:

[PATCH v5 0/4] SFH: Add Support for AMD Sensor Fusion Hub

2020-05-29 Thread Sandeep Singh
From: Sandeep Singh AMD SFH(Sensor Fusion Hub) is HID based driver.SFH FW is part of MP2 processor (MP2 which is an ARM® Cortex-M4 core based co-processor to x86) and it runs on MP2 where in driver resides on X86.The driver functionalities are divided into three parts:- 1: amd-mp2-pcie:-

Re: [PATCH V1] mmc: sdhci-msm: Clear tuning done flag while hs400 tuning

2020-05-29 Thread Veerabhadrarao Badiganti
On 5/29/2020 4:05 PM, Ulf Hansson wrote: On Thu, 28 May 2020 at 17:14, Veerabhadrarao Badiganti wrote: Clear tuning_done flag while executing tuning to ensure vendor specific HS400 settings are applied properly when the controller is re-initialized in HS400 mode. Without this,

Re: [PATCH 4/4] ARM: dts: r8a7742: Add CMT SoC specific support

2020-05-29 Thread Geert Uytterhoeven
On Wed, May 27, 2020 at 11:19 PM Lad Prabhakar wrote: > Add CMT[01] support to r8a7742 SoC DT. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.9. Gr{oetje,eeting}s,

Re: [PATCH 09/14] fs: don't change the address limit for ->write_iter in __kernel_write

2020-05-29 Thread Christoph Hellwig
On Fri, May 29, 2020 at 07:57:36AM +0200, Christoph Hellwig wrote: > On Thu, May 28, 2020 at 08:00:52PM +0100, Al Viro wrote: > > On Thu, May 28, 2020 at 07:40:38AM +0200, Christoph Hellwig wrote: > > > If we write to a file that implements ->write_iter there is no need > > > to change the address

Re: [RFC][PATCH 5/7] irq_work, smp: Allow irq_work on call_single_queue

2020-05-29 Thread Peter Zijlstra
On Fri, May 29, 2020 at 01:40:32AM +0200, Frederic Weisbecker wrote: > On Tue, May 26, 2020 at 06:11:02PM +0200, Peter Zijlstra wrote: > > +/* > > + * structure shares layout with single_call_data_t. > > + */ > > struct irq_work { > > - atomic_t flags; > > struct llist_node llnode; > > +

Re: [PATCH v3 1/9] dt-bindings: atmel-tcb: convert bindings to json-schema

2020-05-29 Thread Sebastian Andrzej Siewior
On 2020-05-29 15:21:18 [+0200], Alexandre Belloni wrote: > There is actually one comment I need to address that Rob made on another > series that was also including this patch. I'll send a new version > today. Ah, okay. Thanks for the info, that thread looked dead. Sebastian

Re: [git pull] drm fixes for 5.7-rc8/final

2020-05-29 Thread Rodrigo Vivi
On Fri, May 29, 2020 at 12:15:27PM +1000, Dave Airlie wrote: > On Fri, 29 May 2020 at 12:02, Dave Airlie wrote: > > > > On Fri, 29 May 2020 at 11:49, Linus Torvalds > > wrote: > > > > > > On Thu, May 28, 2020 at 5:21 PM Dave Airlie wrote: > > > > > > > > Seems to have wound down nicely, a

Re: [PATCH 3/3] iio: magnetometer: ak8975: Add gpio reset support

2020-05-29 Thread Pavel Machek
Hi! > AK09911 has a reset gpio to handle register's reset. If reset gpio is > set to low it will trigger the reset. AK09911 datasheed says that if not > used reset pin should be connected to VID and this patch emulates this > situation > > Signed-off-by: Jonathan Albrieux > --- >

Re: [PATCH] x86/apic/flat64: Add back the early_param("apic", parse_apic)

2020-05-29 Thread Randy Dunlap
On 5/28/20 11:37 PM, Dexuan Cui wrote: > parse_apic() allows the user to try a different apic driver than the > default one that's automatically chosen. It works for x86_32, but > doesn't work for x86_64 becauase it was removed in 2009 for x86_64 by: > commit 7b38725318f4 ("x86: remove

[PATCH] virtio_vsock: Fix race condition in virtio_transport_recv_pkt

2020-05-29 Thread Jia He
When client tries to connect(SOCK_STREAM) the server in the guest with NONBLOCK mode, there will be a panic on a ThunderX2 (armv8a server): [ 463.718844][ T5040] Unable to handle kernel NULL pointer dereference at virtual address [ 463.718848][ T5040] Mem abort info: [

[PATCH v1] coresight: Drop double check for ACPI companion device

2020-05-29 Thread Andy Shevchenko
acpi_dev_get_resources() does perform the NULL pointer check against ACPI companion device which is given as function parameter. Thus, there is no need to duplicate this check in the caller. Signed-off-by: Andy Shevchenko --- drivers/hwtracing/coresight/coresight-stm.c | 2 -- 1 file changed, 2

Re: [PATCH v2 2/3] seccomp: Introduce addfd ioctl to seccomp user notifier

2020-05-29 Thread Christian Brauner
On Fri, May 29, 2020 at 12:32:55PM +0200, Christian Brauner wrote: > On Thu, May 28, 2020 at 04:08:57AM -0700, Sargun Dhillon wrote: > > This adds a seccomp notifier ioctl which allows for the listener to "add" > > file descriptors to a process which originated a seccomp user > > notification.

Re: linux-rt stall on imx6dl on patch-5.4.22-rt13.patch

2020-05-29 Thread Sebastian Andrzej Siewior
On 2020-05-29 10:08:01 [+0200], Michael Nazzareno Trimarchi wrote: > Hi all Hi, > I get this stack trace > echo 3 > /proc/sys/vm/drop_caches chrt -f 99 sysbench --test=cpu > --num-threads=2 > > First of all, I need to know that if it is a valid use case because > was raised by the testing team

Re: linux-next: build warning after merge of the sound-asoc tree

2020-05-29 Thread Mark Brown
On Thu, May 28, 2020 at 01:57:17PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > sound/soc/sof/intel/byt.c:464:12: warning: 'byt_remove' defined but not used > [-Wunused-function] >

Re: [PATCH v2 0/3] Add seccomp notifier ioctl that enables adding fds

2020-05-29 Thread Tycho Andersen
On Thu, May 28, 2020 at 04:08:55AM -0700, Sargun Dhillon wrote: > This adds the capability for seccomp notifier listeners to add file > descriptors Modulo the changes suggested by others, you can consider this series: Reviewed-by: Tycho Andersen

Re: [PATCH v2 3/3] selftests/seccomp: Test SECCOMP_IOCTL_NOTIF_ADDFD

2020-05-29 Thread Tycho Andersen
On Fri, May 29, 2020 at 12:41:51AM -0700, Kees Cook wrote: > On Thu, May 28, 2020 at 04:08:58AM -0700, Sargun Dhillon wrote: > > + EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, ), 0); > > + > > + nextid = req.id + 1; > > + > > + /* Wait for getppid to be called for the second time */ >

Re: KASAN: use-after-free Read in ib_uverbs_remove_one

2020-05-29 Thread Jason Gunthorpe
On Fri, May 29, 2020 at 04:31:26PM +0800, Hillf Danton wrote: > Hold another grab to dev to prevent it from going home before work gets > done with it. > > +++ b/drivers/infiniband/core/uverbs_main.c > @@ -1152,6 +1152,8 @@ static int ib_uverbs_add_one(struct ib_d >

Re: [PATCH] iommu: Fix reference count leak in iommu_group_alloc.

2020-05-29 Thread Joerg Roedel
On Wed, May 27, 2020 at 04:00:19PM -0500, wu000...@umn.edu wrote: > From: Qiushi Wu > > kobject_init_and_add() takes reference even when it fails. > Thus, when kobject_init_and_add() returns an error, > kobject_put() must be called to properly clean up the kobject. > > Fixes: d72e31c93746

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 04:11:49PM +0300, Serge Semin wrote: > Baikal-T1 SoC provides a DW DMA controller to perform low-speed peripherals > Mem-to-Dev and Dev-to-Mem transaction. This is also applicable to the DW > APB SSI devices embedded into the SoC. Currently the DMA-based transfers > are

Re: [PATCH v2] twist: allow converting pr_devel()/pr_debug() into snprintf()

2020-05-29 Thread Tetsuo Handa
Hello, Dmitry. Linus is asking me to avoid build-time switching based on kernel config options, and is suggesting me to use boot-time switching based on boot-config file feature (which is available since 5.6). I have several concerns about use of boot-config file feature in syzkaller. (1) To

Re: [PATCH v2 4/4] docs: counter: Document character device interface

2020-05-29 Thread Pavel Machek
On Sat 2020-05-16 15:20:02, William Breathitt Gray wrote: > This patch adds high-level documentation about the Counter subsystem > character device interface. > > Signed-off-by: William Breathitt Gray > --- > Documentation/driver-api/generic-counter.rst | 112 +-- > 1 file

Re: [PATCH v3 1/9] dt-bindings: atmel-tcb: convert bindings to json-schema

2020-05-29 Thread Alexandre Belloni
Hi, On 29/05/2020 12:13:14+0200, Sebastian Andrzej Siewior wrote: > Rob, could you please bless the DT parts of this series? Daniel Lezcano > asked for the blessing in: > https://lkml.kernel.org/r/f0feb409-11fb-08de-cc06-216a16de9...@linaro.org > There is actually one comment I need to

Re: [PATCH 2/2] m68k,nommu: fix implicit cast from __user in __{get,put}_user_asm()

2020-05-29 Thread Greg Ungerer
Hi Luc, On 29/5/20 6:25 am, Luc Van Oostenryck wrote: The assembly for __get_user_asm() & __put_user_asm() uses memcpy() when the size is 8. However, the pointer is always a __user one while memcpy() expect a plan one and so this cast creates a lot of warnings when using Did you mean

Re: [PATCH] EDAC: remove redundant assignment to variable ret

2020-05-29 Thread Borislav Petkov
On Wed, Apr 29, 2020 at 04:48:47PM +0100, Colin King wrote: > From: Colin Ian King > > The variable ret is being assigned 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

Re: PANIC: double fault in fixup_bad_iret

2020-05-29 Thread Dmitry Vyukov
On Fri, May 29, 2020 at 3:14 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:7b4cb0a4 Add linux-next specific files for 20200525 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=15dc34ba10 > kernel config:

Re: [PATCH 2/4] ARM: dts: r8a7742: Add thermal device to DT

2020-05-29 Thread Geert Uytterhoeven
On Wed, May 27, 2020 at 11:19 PM Lad Prabhakar wrote: > This patch instantiates the thermal sensor module with thermal-zone > support. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.9.

Re: [PATCH] iommu/vt-d: Fix compile warning

2020-05-29 Thread Joerg Roedel
Applied, thanks. On Thu, May 28, 2020 at 11:03:51AM -0700, Jacob Pan wrote: > Make intel_svm_unbind_mm() a static function. > > Fixes: 064a57d7ddfc ("iommu/vt-d: Replace intel SVM APIs with generic > SVA APIs") Please make sure the fixes tags (or any other tags) are not line-wrapped in future

Re: Kernel crash due to memory corruption with v5.4.26-rt17 and PowerPC e500

2020-05-29 Thread Sebastian Andrzej Siewior
On 2020-05-04 11:40:08 [+0200], Mark Marshall wrote: > The easiest way we have found to reproduce the crash is to repeatedly > insert and then remove a module. The crash then appears to be related > to either paging in the module or in exiting the mdev process. (The > crash does also happen at

PANIC: double fault in fixup_bad_iret

2020-05-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7b4cb0a4 Add linux-next specific files for 20200525 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=15dc34ba10 kernel config: https://syzkaller.appspot.com/x/.config?x=47b0740d89299c10 dashboard

[PATCH v6 08/16] spi: dw: Fix Rx-only DMA transfers

2020-05-29 Thread Serge Semin
Tx-only DMA transfers are working perfectly fine since in this case the code just ignores the Rx FIFO overflow interrupts. But it turns out the SPI Rx-only transfers are broken since nothing pushing any data to the shift registers, so the Rx FIFO is left empty and the SPI core subsystems just

[PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Serge Semin
Baikal-T1 SoC provides a DW DMA controller to perform low-speed peripherals Mem-to-Dev and Dev-to-Mem transaction. This is also applicable to the DW APB SSI devices embedded into the SoC. Currently the DMA-based transfers are supported by the DW APB SPI driver only as a middle layer code for Intel

[PATCH v6 11/16] spi: dw: Remove DW DMA code dependency from DW_DMAC_PCI

2020-05-29 Thread Serge Semin
Since there is a generic method available to initialize the DW SPI DMA interface on any DT and ACPI-based platforms, which in general can be designed with not only DW DMAC but with any DMA engine on board, we can freely remove the CONFIG_DW_DMAC_PCI config from dependency list of

[PATCH v6 15/16] spi: dw: Use regset32 DebugFS method to create regdump file

2020-05-29 Thread Serge Semin
DebugFS kernel interface provides a dedicated method to create the registers dump file. Use it instead of creating a generic DebugFS file with manually written read callback function. Signed-off-by: Serge Semin Reviewed-by: Andy Shevchenko Cc: Georgy Vlasov Cc: Ramil Zaripov Cc: Alexey

[PATCH v6 16/16] dt-bindings: spi: Convert DW SPI binding to DT schema

2020-05-29 Thread Serge Semin
Modern device tree bindings are supposed to be created as YAML-files in accordance with dt-schema. This commit replaces two DW SPI legacy bare text bindings with YAML file. As before the bindings file states that the corresponding dts node is supposed to be compatible either with generic DW APB

[PATCH v6 06/16] spi: dw: Parameterize the DMA Rx/Tx burst length

2020-05-29 Thread Serge Semin
It isn't good to have numeric literals in the code especially if there are multiple of them and they are related. Let's replace the Tx and Rx burst level literals with the corresponding constants. Co-developed-by: Georgy Vlasov Signed-off-by: Georgy Vlasov Co-developed-by: Ramil Zaripov

[PATCH v6 13/16] spi: dw: Cleanup generic DW DMA code namings

2020-05-29 Thread Serge Semin
Since from now the former Intel MID platform layer is used as a generic DW SPI DMA module, let's alter the internal methods naming to be DMA-related instead of having the "mid_" prefix. Co-developed-by: Georgy Vlasov Signed-off-by: Georgy Vlasov Co-developed-by: Ramil Zaripov Signed-off-by:

[PATCH v6 14/16] spi: dw: Add DMA support to the DW SPI MMIO driver

2020-05-29 Thread Serge Semin
Since the common code in the spi-dw-dma.c driver is ready to be used by the MMIO driver and now provides a method to generically (on any DT or ACPI-based platforms) retrieve the Tx/Rx DMA channel handlers, we can use it and a set of the common DW SPI DMA callbacks to enable DMA at least for

[PATCH v6 12/16] spi: dw: Add DW SPI DMA/PCI/MMIO dependency on the DW SPI core

2020-05-29 Thread Serge Semin
Seeing all of the DW SPI driver components like DW SPI DMA/PCI/MMIO depend on the DW SPI core code it's better to use the if-endif conditional kernel config statement to signify that common dependency. Co-developed-by: Georgy Vlasov Signed-off-by: Georgy Vlasov Co-developed-by: Ramil Zaripov

[PATCH v6 02/16] spi: dw: Return any value retrieved from the dma_transfer callback

2020-05-29 Thread Serge Semin
DW APB SSI DMA-part of the driver may need to perform the requested SPI-transfer synchronously. In that case the dma_transfer() callback will return 0 as a marker of the SPI transfer being finished so the SPI core doesn't need to wait and may proceed with the SPI message trasnfers pumping

[PATCH v6 05/16] spi: dw: Add SPI Rx-done wait method to DMA-based transfer

2020-05-29 Thread Serge Semin
Having any data left in the Rx FIFO after the DMA engine claimed it has finished all DMA transactions is an abnormal situation, since the DW SPI controller driver expects to have all the data being fetched and placed into the SPI Rx buffer at that moment. In case if that has happened we hopefully

<    4   5   6   7   8   9   10   11   12   13   >