[PATCH] dt-bindings: arm-smmu: Add a new compatible string and a clock

2020-04-28 Thread Sharat Masetty
This patch adds a new compatible string for sc7180 and also an additional clock listing needed to power the TBUs and the TCU. Signed-off-by: Sharat Masetty --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetre

[PATCH 0/5] virtio on Type-1 hypervisor

2020-04-28 Thread Srivatsa Vaddagiri
We ran into several problems in using virtio for IO paravirtualization on a Type-1 hypervisor with these characteristics: * By default, all of a guests's memory is private to it (no other guest can access its memory). * One of the VM is considered as primary and has access to most IO devices. T

Re: [PATCH v6 2/2] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2020-04-28 Thread Borislav Petkov
On Mon, Feb 24, 2020 at 03:41:32PM +0200, Talel Shenhar wrote: > The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability > for error detection and correction (Single bit error correction, Double > detection). This driver introduces EDAC driver for that capability. > > Signed-off

[PATCH 2/5] swiotlb: Allow for non-linear mapping between paddr and vaddr

2020-04-28 Thread Srivatsa Vaddagiri
Some of the memory pool managed by swiotlb driver could fall outside the direct-mapped range, made accessible via memremap() routine. To facilitate easy conversion between virtual and physical address of such memory, store the virtual address of memory pool in addition to its physical address. Sig

[PATCH 1/5] swiotlb: Introduce concept of swiotlb_pool

2020-04-28 Thread Srivatsa Vaddagiri
Currently swiotlb driver manages a global pool of memory which acts as bounce buffers for memory that is not accessible to some devices. The core functions provides by this driver to allocate/free/bounce memory chunks will be more useful if this driver can manage more than one pool. An immediate ap

[PATCH 5/5] virtio: Add bounce DMA ops

2020-04-28 Thread Srivatsa Vaddagiri
For better security, its desirable that a guest VM's memory is not accessible to any entity that executes outside the context of guest VM. In case of virtio, backend drivers execute outside the context of guest VM and in general will need access to complete guest VM memory. One option to restrict

[PATCH 3/5] swiotlb: Add alloc and free APIs

2020-04-28 Thread Srivatsa Vaddagiri
Move the memory allocation and free portion of swiotlb driver into independent routines. They will be useful for drivers that need swiotlb driver to just allocate/free memory chunks and not additionally bounce memory. Signed-off-by: Srivatsa Vaddagiri --- include/linux/swiotlb.h | 17 ++ ke

[PATCH 4/5] swiotlb: Add API to register new pool

2020-04-28 Thread Srivatsa Vaddagiri
This patch adds an interface for the swiotlb driver to recognize a new memory pool. Upon successful initialization of the pool, swiotlb returns a handle, which needs to be passed as an argument for any future operations on the pool (map/unmap/alloc/free). Signed-off-by: Srivatsa Vaddagiri --- in

Re: [PATCH v4] pci: Make return value of pcie_capability_read*() consistent

2020-04-28 Thread Bjorn Helgaas
On Tue, Apr 28, 2020 at 10:19:08AM +0800, Yicong Yang wrote: > On 2020/4/28 2:13, Bjorn Helgaas wrote: > > > > I'm starting to think we're approaching this backwards. I searched > > for PCIBIOS_FUNC_NOT_SUPPORTED, PCIBIOS_BAD_VENDOR_ID, and the other > > error values. Almost every use is a *retur

Re: [PATCH] pinctrl: remove unused 'pwm37_pins'

2020-04-28 Thread Jason Yan
在 2020/4/28 19:30, Manivannan Sadhasivam 写道: On Tue, Apr 28, 2020 at 11:58:01AM +0200, Linus Walleij wrote: On Fri, Apr 17, 2020 at 10:54 AM Jason Yan wrote: Fix the following gcc warning: drivers/pinctrl/pinctrl-bm1880.c:263:27: warning: ‘pwm37_pins’ defined but not used [-Wunused-const-

Re: [PATCH v1 1/1] PCI/AER: Use _OSC negotiation to determine AER ownership

2020-04-28 Thread Bjorn Helgaas
On Mon, Apr 27, 2020 at 08:20:07PM -0700, Kuppuswamy, Sathyanarayanan wrote: > Hi Bjorn, > > On 4/27/20 5:02 PM, Bjorn Helgaas wrote: > > I split this up a bit and applied the first part to pci/error to get > > it into -next so we can start seeing what breaks. I won't be too > > surprised if we t

Re: [PATCH v1] usb: musb: dsps: set MUSB_DA8XX quirk for AM335x

2020-04-28 Thread Oleksij Rempel
Hi all, ping On Fri, Mar 27, 2020 at 06:38:49AM +0100, Oleksij Rempel wrote: > Beagle Bone Black has different memory corruptions if kernel is > configured with USB_TI_CPPI41_DMA=y. This issue is reproducible with > ath9k-htc driver (ar9271 based wifi usb controller): > > root@AccessBox:~ iw dev

[PATCH -next] apparmor: Use true and false for bool variable

2020-04-28 Thread Zou Wei
Fixes coccicheck warnings: security/apparmor/file.c:162:9-10: WARNING: return of 0/1 in function 'is_deleted' with return type bool security/apparmor/file.c:362:9-10: WARNING: return of 0/1 in function 'xindex_is_subset' with return type bool security/apparmor/policy_unpack.c:246:9-10: WARNING:

Re: [PATCH v2 1/3] MIPS: Massage address spaces headers

2020-04-28 Thread Jiaxun Yang
于 2020年4月28日 GMT+08:00 下午7:33:26, Thomas Bogendoerfer 写到: >On Tue, Apr 28, 2020 at 10:14:12AM +0800, Jiaxun Yang wrote: >> That would allow us modify kernel vm address spaces without >> step into the hell of includes. >> >> Also use some marcos for address spaces to make spaces.h more >> clea

[PATCH] powerpc/spufs: Add rcu_read_lock() around fcheck()

2020-04-28 Thread Michael Ellerman
Currently the spu coredump code triggers an RCU warning: = WARNING: suspicious RCU usage 5.7.0-rc3-01755-g7cd49f0b7ec7 #1 Not tainted - include/linux/fdtable.h:95 suspicious rcu_dereference_check() usage! other info that might he

Re [PATCH] [RFC]hugetlbfs: Get unmapped area below TASK_UNMAPPED_BASE for hugetlbfs

2020-04-28 Thread Hushijie
On 4/28/20 6:46 AM, Mike Kravetz wrote: >Just curious. Have you actually seeing a problem with this code, or is >the reason for the proposed change just the result of code inspection? I ask >because many architectures have their own version of hugetlb_get_unmapped_area. >So, if you are seeing th

Re: [PATCH v7 1/3] media: dt-bindings: ov8856: Document YAML bindings

2020-04-28 Thread Robert Foss
Ah, sorry. I was thinking of the 'port' property and replying to that. assigned clocks are definitely being removed. On Tue, 28 Apr 2020 at 10:25, Marco Felsch wrote: > > On 20-04-28 09:55, Maxime Ripard wrote: > > On Mon, Apr 27, 2020 at 05:13:42PM +0200, Robert Foss wrote: > > > On Wed, 15 Apr

Re: [PATCH] nvmem: ensure sysfs writes handle write-protect pin

2020-04-28 Thread Srinivas Kandagatla
On 27/04/2020 19:39, Michael Auchter wrote: Commit 2a127da461a9d8d97782d6e82b227041393eb4d2 added support for handling write-protect pins to the nvmem core, and commit 1c89074bf85068d1b86f2e0f0c2110fdd9b83c9f retrofitted the at24 driver to use this support. These changes broke write() on the

Re: [PATCH] firmware: stratix10-svc: Fix some error handling paths in 'stratix10_svc_drv_probe()'

2020-04-28 Thread Dan Carpenter
On Sun, Apr 26, 2020 at 09:03:07PM +0200, Christophe JAILLET wrote: > If an error occurs after calling 'kfifo_alloc()', the allocated memory > should be freed with 'kfifo_free()', as already done in the remove > function. > > Fixes: b5dc75c915cd ("firmware: stratix10-svc: extend svc to support new

[PATCH net-next] net: hns3: adds support for reading module eeprom info

2020-04-28 Thread Huazhong Tan
From: Yonglong Liu This patch adds support for reading the optical module eeprom info via "ethtool -m". Signed-off-by: Yonglong Liu Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h| 4 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 79

Re: [PATCH v2 5/5] scsi: ufs: UFS Host Performance Booster(HPB) driver

2020-04-28 Thread Bean Huo
On Tue, 2020-04-28 at 08:14 +, Avri Altman wrote: > > > > On 2020-04-26 23:13, Avri Altman wrote: > > > > On 2020-04-25 01:59, Avri Altman wrote: > > > > > > HPB support is comprised of 4 main duties: > > > 1) Read the device HPB configuration > > > 2) Attend the device's recommendations that

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Florian Weimer
* Mathieu Desnoyers: > +/* struct rseq is aligned on 4 * 8 bytes to ensure it is always > + contained within a single cache-line. > + > + A single struct rseq per thread is allowed. */ > +struct rseq > + { > +/* Restartable sequences cpu_id_start field. Update

[PATCH -next] media: cx231xx: Remove unneeded semicolon

2020-04-28 Thread Zou Wei
Fixes coccicheck warnings: drivers/media/usb/cx231xx/cx231xx-avcore.c:610:3-4: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/media/usb/cx231xx/cx231xx-avcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-

Re: [PATCH] ath10k: increase rx buffer size to 2048

2020-04-28 Thread Kalle Valo
Sven Eckelmann writes: > On Wednesday, 1 April 2020 09:00:49 CEST Sven Eckelmann wrote: >> On Wednesday, 5 February 2020 20:10:43 CEST Linus Lüssing wrote: >> > From: Linus Lüssing >> > >> > Before, only frames with a maximum size of 1528 bytes could be >> > transmitted between two 802.11s node

[RFC PATCH] powerpc/spufs: fix copy_to_user while atomic

2020-04-28 Thread Jeremy Kerr
Currently, we may perform a copy_to_user (through simple_read_from_buffer()) while holding a context's register_lock, while accessing the context save area. This change uses a temporary buffers for the context save area data, which we then pass to simple_read_from_buffer. Signed-off-by: Jeremy Ke

Re: [PATCH 1/3] staging: qlge: Remove unnecessary parentheses around struct field

2020-04-28 Thread Dan Carpenter
On Mon, Apr 27, 2020 at 12:14:11AM -0400, Rylan Dmello wrote: > Remove unnecessary parentheses around a struct field accessor that > causes a build failure when QL_DEV_DUMP is set. > > Signed-off-by: Rylan Dmello Add a Fixes tag. Fixes: 67e6cf7338e1 ("staging: qlge: add braces around macro argu

Re: [PATCH 2/3] staging: qlge: Remove print statement for vlgrp field

2020-04-28 Thread Dan Carpenter
On Mon, Apr 27, 2020 at 12:14:44AM -0400, Rylan Dmello wrote: > Remove statement that tries to print the non-existent 'vlgrp' field > in the 'ql_adapter' struct, which causes a compilation failure when > QL_DEV_DUMP is set. > > vlgrp seems to have been removed from ql_adapter as a part of > commit

Re: [PATCH v20 02/17] leds: Add multicolor ID to the color ID list

2020-04-28 Thread Dan Murphy
Pavel On 4/28/20 3:43 AM, Pavel Machek wrote: On Mon 2020-04-27 12:12:18, Dan Murphy wrote: Pavel On 4/25/20 2:52 PM, Pavel Machek wrote: On Thu 2020-04-23 10:55:09, Dan Murphy wrote: Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive co

Re: [PATCH 3/3] staging: qlge: Remove print statements for lbq_clean_idx and lbq_free_cnt

2020-04-28 Thread Dan Carpenter
On Mon, Apr 27, 2020 at 12:15:18AM -0400, Rylan Dmello wrote: > Remove debug print statements referring to non-existent fields > 'lbq_clean_idx' and 'lbq_free_cnt' in the 'rx_ring' struct, which causes > a compilation failure when QL_DEV_DUMP is set. > > These fields were initially removed as a pa

Re: [PATCH 1/3] mmc: core: need do mmc_power_cycle in mmc_sdio_resend_if_cond

2020-04-28 Thread Ulf Hansson
On Tue, 28 Apr 2020 at 11:28, yong@mediatek.com wrote: > > > On Fri, 2020-04-24 at 12:09 +0200, Ulf Hansson wrote: > > On Tue, 14 Apr 2020 at 05:40, Yong Mao wrote: > > > > > > From: yong mao > > > > > > When mmc_sdio_resned_if_cond is invoked, it indicates the SDIO > > > device is not in th

Re: linux-next: manual merge of the staging tree with the staging.current tree

2020-04-28 Thread Greg KH
On Fri, Apr 24, 2020 at 08:45:55AM +0200, Greg KH wrote: > On Fri, Apr 24, 2020 at 03:15:46PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the staging tree got a conflict in: > > > > drivers/staging/vt6656/main_usb.c > > > > between commit: > > > > 664ba518

Re: [PATCH 7/7] perf record: Introduce --switch-output-event

2020-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2020 at 11:48:39AM +0200, Jiri Olsa escreveu: > On Mon, Apr 27, 2020 at 06:19:35PM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > --- > > tools/perf/Documentation/perf-record.txt | 13 > > tools/perf/builtin-record.c | 40 +--- > >

Re: [PATCH v3 2/6] dt-bindings: display: Add hpd-gpios to panel-common bindings

2020-04-28 Thread Linus Walleij
On Thu, Apr 23, 2020 at 6:26 PM Douglas Anderson wrote: > In the cases where there is no connector in a system there's no great > place to put "hpd-gpios". As per discussion [1] the best place to put > it is in the panel. Add this to the device tree bindings. > > [1] https://lore.kernel.org/r/2

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-04-28 Thread Michal Hocko
On Tue 28-04-20 20:33:21, Tetsuo Handa wrote: > On 2020/04/27 15:21, Sergey Senozhatsky wrote: > >> KERN_NO_CONSOLES is for type of messages where "saved for later analysis" > >> is > >> important but "printed for immediate notification" is not important. > >> In other words, KERN_NO_CONSOLES is N

[PATCH v4 0/2] proc: Ensure we see the exit of each process tid exactly

2020-04-28 Thread Eric W. Biederman
In the work to remove proc_mnt I noticed that we were calling proc_flush_task now proc_flush_pid possibly multiple times for the same pid because of how de_thread works. This is a bare minimal patchset to sort out de_thread, by introducing exchange_tids and the helper of exchange_tids hlists_swa

Re: [Q] devicetree overlays

2020-04-28 Thread Sven Van Asbroeck
Hello Frank, thank you for sharing your expertise. Much appreciated ! On Mon, Apr 27, 2020 at 4:26 PM Frank Rowand wrote: > > On 4/16/20 9:46 AM, Sven Van Asbroeck wrote: > > My situation is this: I have hardware which consists of several modules. > > Knowledge about the type and location of thes

[PATCH v4 1/2] rculist: Add hlists_swap_heads_rcu

2020-04-28 Thread Eric W. Biederman
Using the struct pid to refer to two tasks in de_thread was a clever idea and ultimately too clever, as it has lead to proc_flush_task being called inconsistently. To support rectifying this add hlists_swap_heads_rcu. An hlist primitive that just swaps the hlist heads of two lists. This is exa

Re: [PATCH v3 3/6] drm/panel-simple: Support hpd-gpios for delaying prepare()

2020-04-28 Thread Linus Walleij
On Thu, Apr 23, 2020 at 6:26 PM Douglas Anderson wrote: > People use panel-simple when they have panels that are builtin to > their device. In these cases the HPD (Hot Plug Detect) signal isn't > really used for hotplugging devices but instead is used for power > sequencing. Panel timing diagra

[PATCH v4 2/2] proc: Ensure we see the exit of each process tid exactly once

2020-04-28 Thread Eric W. Biederman
When the thread group leader changes during exec and the old leaders thread is reaped proc_flush_pid will flush the dentries for the entire process because the leader still has it's original pid. Fix this by exchanging the pids in an rcu safe manner, and wrapping the code to do that up in a help

Re: [PATCH] coresight: dynamic-replicator: Fix handling of multiple connections

2020-04-28 Thread Sai Prakash Ranjan
On 2020-04-27 19:23, Suzuki K Poulose wrote: On 04/27/2020 10:45 AM, Mike Leach wrote: [...] This is not sufficient. You must prevent another session trying to enable the other port of the replicator as this could silently fail the "on-going" session. Not ideal. Fail the attempt to enable a po

Re: [PATCH] staging: qlge: change prefix to qlge_*

2020-04-28 Thread Greg Kroah-Hartman
On Sun, Apr 26, 2020 at 05:41:20PM +0900, Sidong Yang wrote: > In terms of namespace, The driver uses either qlge_, ql_ or nothing. > also there is macro using QL_. This can make crash with other qlogic > drivers. Rename everything to use the qlge_ or QLGE_ prefix. How can it crash anything? I ca

Re: [Lkcamp] [PATCH v3 3/3] media: vimc: deb: Add support for {RGB, BGR, GBR}888 bus formats on source pad

2020-04-28 Thread Helen Koike
Hello, On 4/28/20 4:46 AM, Dafna Hirschfeld wrote: > hi, > Thanks for the patches! > > On 28.04.20 01:03, Nícolas F. R. A. Prado wrote: >> Add support for RGB888_*, BGR888_* and GBR888_* media bus formats on >> the source pad of debayer subdevices. >> >> Co-developed-by: Vitor Massaru Iha >> Sig

Re: [PATCH v3 5/6] dt-bindings: drm/bridge: ti-sn65dsi86: Document no-hpd

2020-04-28 Thread Linus Walleij
On Thu, Apr 23, 2020 at 6:26 PM Douglas Anderson wrote: > The ti-sn65dsi86 MIPI DSI to eDP bridge chip has a dedicated hardware > HPD (Hot Plug Detect) pin on it, but it's mostly useless for eDP > because of excessive debouncing in hardware. Specifically there is no > way to disable the debounci

RE: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF

2020-04-28 Thread Hadar Gat
> From: linux-crypto-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Herbert Xu > Sent: Monday, 27 April 2020 18:07 > > On Mon, Apr 27, 2020 at 02:36:02PM +0300, Hadar Gat wrote: > > The cctrng is unusable on non-DT systems so we should depend on it. > > > > Signed-off-by: Hadar Gat >

Re: [PATCH 1/7] staging: rtl8723bs: os_dep: remove set but not used 'uintRet'

2020-04-28 Thread Greg KH
On Mon, Apr 27, 2020 at 11:23:36AM +0800, Jason Yan wrote: > Fix the following gcc warning: > > drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:2564:22: warning: > variable ‘uintRet’ set but not used [-Wunused-but-set-variable] > unsigned int uintRet = 0; > ^~~ >

Re: [PATCH] ath10k: increase rx buffer size to 2048

2020-04-28 Thread Dave Taht
On Tue, Apr 28, 2020 at 5:06 AM Kalle Valo wrote: > > Sven Eckelmann writes: > > > On Wednesday, 1 April 2020 09:00:49 CEST Sven Eckelmann wrote: > >> On Wednesday, 5 February 2020 20:10:43 CEST Linus Lüssing wrote: > >> > From: Linus Lüssing > >> > > >> > Before, only frames with a maximum size

Re: [PATCH v9 00/15] Introduce Data Access MONitor (DAMON)

2020-04-28 Thread Jonathan Cameron
On Mon, 27 Apr 2020 14:04:27 +0200 SeongJae Park wrote: > From: SeongJae Park > > Introduction > > > Memory management decisions can be improved if finer data access information > is > available. However, because such finer information usually comes with higher > overhead, most

Re: [PATCH 2/7] staging: rtl8723bs: os_dep: remove set but not used 'size'

2020-04-28 Thread Greg KH
On Mon, Apr 27, 2020 at 11:23:37AM +0800, Jason Yan wrote: > And also remove the NULL check before kfree() because kfree() can handle > NULL pointers correctly. > > Fix the following gcc warning: > > drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:157:6: warning: > variable ‘size’ set but not u

Re: [PATCH] perf/script: remove extraneous newline in perf_sample__fprintf_regs()

2020-04-28 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 27, 2020 at 02:43:28PM -0700, Stephane Eranian escreveu: > On Sat, Apr 18, 2020 at 4:19 PM Stephane Eranian wrote: > > > > When printing iregs, there was a double newline printed because > > perf_sample__fprintf_regs() was printing its own and then at the > > end of all fields, perf sc

Re: [PATCH v5 3/5] mmc: mediatek: refine msdc timeout api

2020-04-28 Thread yong....@mediatek.com
On Tue, 2020-04-28 at 07:56 +0800, Chun-Hung Wu wrote: > Extract msdc timeout api common part to have > better code architecture and avoid redundent please correct the word "redundant" in next version > code. > > Signed-off-by: Chun-Hung Wu Acked-by: Yong Mao > --- > drivers/mmc/host/mtk-sd.c |

Re: WARNING in ib_unregister_device_queued

2020-04-28 Thread Jason Gunthorpe
On Tue, Apr 28, 2020 at 12:19:55PM +0800, Hillf Danton wrote: > > Sun, 26 Apr 2020 06:43:13 -0700 > > syzbot found the following crash on: > > > > HEAD commit:b9663b7c net: stmmac: Enable SERDES power up/down sequence > > git tree: net > > console output: https://syzkaller.appspot.com/x

Re: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF

2020-04-28 Thread Herbert Xu
On Tue, Apr 28, 2020 at 12:26:31PM +, Hadar Gat wrote: > > I've set COMPILE_TEST but couldn't see any problem. > Would you share what doesn't work? I don't have OF in my config. This driver builds just fine without OF. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~her

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Mathieu Desnoyers
- On Apr 28, 2020, at 8:02 AM, Florian Weimer f...@deneb.enyo.de wrote: > * Mathieu Desnoyers: > >> +/* struct rseq is aligned on 4 * 8 bytes to ensure it is always >> + contained within a single cache-line. >> + >> + A single struct rseq per thread is allowed. */ >>

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Florian Weimer
* Mathieu Desnoyers: > One issue I'm currently facing when running "make check": because > nptl/tst-rseq-nptl.c uses pthread_cancel(), I run into an Abort > with: > > libgcc_s.so.1 must be installed for pthread_cancel to work > Didn't expect signal from child: got `Aborted' This is really unusual

Re: [PATCH v2 1/2] i2c: tegra: Better handle case where CPU0 is busy for a long time

2020-04-28 Thread Dmitry Osipenko
28.04.2020 11:01, Jon Hunter пишет: > > On 27/04/2020 16:18, Dmitry Osipenko wrote: >> 27.04.2020 18:12, Thierry Reding пишет: >>> On Mon, Apr 27, 2020 at 05:21:30PM +0300, Dmitry Osipenko wrote: 27.04.2020 14:00, Thierry Reding пишет: > On Mon, Apr 27, 2020 at 12:52:10PM +0300, Dmitry Os

Re: [PATCH 2/7] staging: rtl8723bs: os_dep: remove set but not used 'size'

2020-04-28 Thread Jason Yan
在 2020/4/28 20:28, Greg KH 写道: On Mon, Apr 27, 2020 at 11:23:37AM +0800, Jason Yan wrote: And also remove the NULL check before kfree() because kfree() can handle NULL pointers correctly. Fix the following gcc warning: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:157:6: warning: variab

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Mathieu Desnoyers
- On Apr 28, 2020, at 8:35 AM, Florian Weimer f...@deneb.enyo.de wrote: > * Mathieu Desnoyers: > >> One issue I'm currently facing when running "make check": because >> nptl/tst-rseq-nptl.c uses pthread_cancel(), I run into an Abort >> with: >> >> libgcc_s.so.1 must be installed for pthread_c

Re: [PATCH v2 1/2] Changes in w1_therm.c and adding w1_therm.h

2020-04-28 Thread Greg KH
On Sun, Apr 26, 2020 at 07:20:30PM +0200, Akira shimahara wrote: > Le dimanche 26 avril 2020 à 19:09 +0200, Greg KH a écrit : > > On Sun, Apr 26, 2020 at 02:36:52PM +0200, Akira shimahara wrote: > > > Le dimanche 26 avril 2020 à 09:51 +0200, Greg KH a écrit : > > > > On Sat, Apr 25, 2020 at 05:31:4

Investitionsangebot

2020-04-28 Thread Fidelity Investment
-- Fidelity Investment hat ein großartiges Angebot für Sie. Investieren Sie einen Kapitalbetrag von 500 Euro in Fidelity Investment Online Global Market Trading und verdienen Sie innerhalb von fünf Arbeitstagen 5000 Euro. Dieser Trade wird von Fidelity Investment Digital durchgeführt. Um me

Re: [PATCH v3 1/6] drm/bridge: ti-sn65dsi86: Export bridge GPIOs to Linux

2020-04-28 Thread Linus Walleij
On Thu, Apr 23, 2020 at 6:26 PM Douglas Anderson wrote: > The ti-sn65dsi86 MIPI DSI to eDP bridge chip has 4 pins on it that can > be used as GPIOs in a system. Each pin can be configured as input, > output, or a special function for the bridge chip. These are: > - GPIO1: SUSPEND Input > - GPIO

Re: [PATCH v3 02/16] mfd: mfd-core: Don't overwrite the dma_mask of the child device

2020-04-28 Thread Andy Shevchenko
On Thu, Apr 23, 2020 at 07:45:29PM +0200, Michael Walle wrote: > Commit cdfee5623290 ("driver core: initialize a default DMA mask for > platform device") initialize the DMA of a platform device. But if the > parent doesn't have a dma_mask set, for example if it's an I2C device, > the dma_mask of th

Re: x86 entry perf unwinding failure (missing IRET_REGS annotation on stack switch?)

2020-04-28 Thread Peter Zijlstra
On Tue, Apr 28, 2020 at 02:04:50AM -0500, Josh Poimboeuf wrote: > On Mon, Mar 02, 2020 at 09:52:40AM -0600, Josh Poimboeuf wrote: > > On Mon, Mar 02, 2020 at 09:18:29AM -0600, Josh Poimboeuf wrote: > > > > So I think on machines without X86_FEATURE_SMAP, trying to unwind from > > > > the two NOPs a

[PATCH] fs/ceph:fix double unlock in handle_cap_export()

2020-04-28 Thread Wu Bo
If the ceph_mdsc_open_export_target_session() return fails, should add a lock to avoid twice unlocking. Because the lock will be released at the retry or out_unlock tag. Signed-off-by: Wu Bo --- fs/ceph/caps.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) d

Re: [PATCH v3 04/16] dt-bindings: mfd: Add bindings for sl28cpld

2020-04-28 Thread Andy Shevchenko
On Thu, Apr 23, 2020 at 07:45:31PM +0200, Michael Walle wrote: > This adds device tree bindings for the board management controller found > on the Kontron SMARC-sAL28 board. I think it should be independent patches (same way as you do for drivers). > .../bindings/gpio/kontron,sl28cpld-gpio.yaml

Re: [PATCH] tty: hvc: Fix data abort due to race in hvc_open

2020-04-28 Thread Markus Elfring
> Hence, serialize hvc_open and check if tty->private_data is NULL before > proceeding ahead. How do you think about to add the tag “Fixes” because of adjustments for the data synchronisation? … > +++ b/drivers/tty/hvc/hvc_console.c … @@ -384,6 +394,8 @@ static int hvc_open(struct tty_struct *tt

Re: [PATCH v6 1/3] phy: add driver for Qualcomm IPQ40xx USB PHY

2020-04-28 Thread Robert Marko
On Mon, Apr 27, 2020 at 6:45 PM Vinod Koul wrote: > > Hello Robert, > > On 01-04-20, 18:35, Robert Marko wrote: > > > +static int ipq4019_ss_phy_power_on(struct phy *_phy) > > +{ > > + struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); > > + > > + ipq4019_ss_phy_power_off(_phy); > > + >

Re: [PATCH 1/1] pinctrl: stmfx: stmfx_pinconf_set doesn't require to get direction anymore

2020-04-28 Thread Linus Walleij
On Wed, Apr 22, 2020 at 9:26 AM Amelie Delaunay wrote: > Pin direction is not used to set pin configuration. > > Fixes: a502b343ebd0 ("pinctrl: stmfx: update pinconf settings") > Signed-off-by: Amelie Delaunay Patch applied. Yours, Linus Walleij

[PATCH 2/3] media: meson: vdec: fix another case of VP9 buffer shortage

2020-04-28 Thread Neil Armstrong
From: Maxime Jourdan - Redo the logic where VP9 gets fresh CAPTURE buffers. The previous code could lead to a hardlock. - Reserve 4 margin buffers instead of 3, as apparently there are corner cases where 3 is not enough. Fixes: e9a3eb4819ca ("media: meson: vdec: add VP9 input support") Fixes

Re: [PATCH] media: i2c: imx219: remove redundant writes

2020-04-28 Thread Dave Stevenson
Hi Sameer Thanks for the patch. On Mon, 13 Apr 2020 at 16:51, Sameer Puri wrote: > > These writes to 0x162, 0x163 already appear earlier in the struct for > the 1920x1080 mode and do not need to be repeated. > > Signed-off-by: Sameer Puri Reviewed-by: Dave Stevenson If I was going to be fuss

[PATCH 0/3] meson: vdec: vp9 & MAINTAINERS fixes

2020-04-28 Thread Neil Armstrong
This serie fixes VP9 decoding : - enables the motion compensation reference cache controller - fixes buffer shortage on VP9 decoding And update the MAINTAINERS entry to add myself ad co-maintainer and add the missing yaml DT bindings. Maxime Jourdan (2): media: meson: vdec: enable mcrcc for VP9

[PATCH 3/3] MAINTAINERS: update the Amlogic VDEC driver maintainer entry

2020-04-28 Thread Neil Armstrong
Add myself as co-maintainer of the Amlogic VDEC driver, and add the missing vdec DT yaml bindings. Signed-off-by: Neil Armstrong --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d633a131dcd7..0c183f02d7fa 100644 --- a/MAINTAINERS +++ b/MAINTAI

Re: [PATCH v3 05/16] mfd: Add support for Kontron sl28cpld management controller

2020-04-28 Thread Andy Shevchenko
On Thu, Apr 23, 2020 at 07:45:32PM +0200, Michael Walle wrote: > This patch adds core support for the board management controller found > on the SMARC-sAL28 board. It consists of the following functions: > - watchdog > - GPIO controller > - PWM controller > - fan sensor > - interrupt controlle

[PATCH 1/3] media: meson: vdec: enable mcrcc for VP9

2020-04-28 Thread Neil Armstrong
From: Maxime Jourdan The motion compensation reference cache controller allows caching parts of reference frames for faster decoding. Fixes: 00c43088aa68 ("media: meson: vdec: add VP9 decoder support") Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/staging/media/meson

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Florian Weimer
* Mathieu Desnoyers: > - On Apr 28, 2020, at 8:35 AM, Florian Weimer f...@deneb.enyo.de wrote: > >> * Mathieu Desnoyers: >> >>> One issue I'm currently facing when running "make check": because >>> nptl/tst-rseq-nptl.c uses pthread_cancel(), I run into an Abort >>> with: >>> >>> libgcc_s.so.1

Re: linux-next: manual merge of the staging tree with the staging.current tree

2020-04-28 Thread Stephen Rothwell
Hi Greg, On Tue, 28 Apr 2020 14:15:45 +0200 Greg KH wrote: > > This should now all be resolved in my staging.next branch. Yep, thanks. -- Cheers, Stephen Rothwell pgp7yFb9_JAiu.pgp Description: OpenPGP digital signature

Re: [PATCH glibc 5/9] glibc: Perform rseq(2) registration at C startup and thread creation (v17)

2020-04-28 Thread Mathieu Desnoyers
- On Apr 28, 2020, at 8:33 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Apr 28, 2020, at 8:02 AM, Florian Weimer f...@deneb.enyo.de wrote: > [...] >> >>> x32 should not be an issue as explained above, so I'm very open to >>> add this "uptr" for user-space only. >>

Re: [PATCH] dmaengine: qcom_hidma: Simplify error handling path in hidma_probe

2020-04-28 Thread Dan Carpenter
On Mon, Apr 27, 2020 at 01:10:43PM +0200, Christophe JAILLET wrote: > There is no need to call 'hidma_debug_uninit()' in the error handling > path. 'hidma_debug_init()' has not been called yet. > > Signed-off-by: Christophe JAILLET > --- > drivers/dma/qcom/hidma.c | 1 - > 1 file changed, 1 dele

Re: [PATCH v3,1/3] driver: rpmon: new driver Remote Processor Monitor

2020-04-28 Thread Greg KH
On Mon, Apr 13, 2020 at 08:59:47PM -0700, Wang Wenhu wrote: > RPMON is a driver framework. It supports remote processor monitor > from user level. The basic components are a character device > with sysfs interfaces for user space communication and different > kinds of message drivers introduced mod

Re: [RFC 3/8] hwmon: add support for the MCU controlled FAN on Khadas boards

2020-04-28 Thread Neil Armstrong
On 21/04/2020 11:24, Guenter Roeck wrote: > On 4/21/20 1:00 AM, Neil Armstrong wrote: >> The new Khadas VIM2 and VIM3 boards controls the cooling fan via the >> on-board microcontroller. >> >> This implements the FAN control as HWMON devices as cell of the Khadas >> MCU MFD driver. >> >> Signed-off

Re: [PATCH RT 10/30] hrtimer: Prevent using hrtimer_grab_expiry_lock() on migration_base

2020-04-28 Thread Tom Zanussi
On Tue, 2020-04-28 at 09:03 +0200, Rasmus Villemoes wrote: > On 23/01/2020 21.39, Steven Rostedt wrote: > > 4.19.94-rt39-rc2 stable review patch. > > If anyone has any objections, please let me know. > > > > -- > > > > From: Julien Grall > > > > [ Upstream commit cef1b87f98823af

Re: [PATCH] fs: fixup redundant indentation.

2020-04-28 Thread Greg KH
On Fri, Apr 24, 2020 at 08:53:34AM -0700, Youngjun Park wrote: > From: Youngjun Park > > Signed-off-by: Youngjun Park > > fixup redundant indentation on the label. > --- > fs/kernfs/file.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) signed-off-by needs to go last. And this fix is

Re: [PATCH v5 4/5] mmc: mediatek: command queue support

2020-04-28 Thread yong....@mediatek.com
On Tue, 2020-04-28 at 07:56 +0800, Chun-Hung Wu wrote: > Support command queue for mt6779 platform. > a. Add msdc_set_busy_timeout() to calculate emmc write timeout > b. Connect mtk msdc driver to cqhci driver through >host->cq_host->ops = &msdc_cmdq_ops; > c. msdc_cmdq_irq() will link up with

Re: [PATCH V11 10/11] fs: Introduce DCACHE_DONTCACHE

2020-04-28 Thread Jan Kara
On Mon 27-04-20 17:21:41, ira.we...@intel.com wrote: > From: Ira Weiny > > DCACHE_DONTCACHE indicates a dentry should not be cached on final > dput(). > > Also add a helper function to mark DCACHE_DONTCACHE on all dentries > pointing to a specific inode when that inode is being set I_DONTCACHE.

Re: [PATCH v3 02/16] mfd: mfd-core: Don't overwrite the dma_mask of the child device

2020-04-28 Thread Robin Murphy
On 2020-04-28 1:45 pm, Andy Shevchenko wrote: On Thu, Apr 23, 2020 at 07:45:29PM +0200, Michael Walle wrote: Commit cdfee5623290 ("driver core: initialize a default DMA mask for platform device") initialize the DMA of a platform device. But if the parent doesn't have a dma_mask set, for example

Re: [PATCH] lan743x: Added fixed_phy support

2020-04-28 Thread Roelof Berg
> What is the MCU? ARM? Yes, i.mx6 with ARM. > >> […] > > If you are using ARM, device tree is the way to go. > Andrew > Sounds reasonable, I’ll move the fixed_phy configuration for lan743x from .config to the device tree, thanks a lot Andrew. Roelof

Re: [PATCH v2 5/6] irqchip: Add Loongson PCH MSI controller

2020-04-28 Thread Marc Zyngier
On Tue, 28 Apr 2020 14:32:44 +0800 Jiaxun Yang wrote: > This controller appears on Loongson LS7A family of PCH to transform > interrupts from PCI MSI into HyperTransport vectorized interrrupts > and send them to procrssor's HT vector controller. > > Signed-off-by: Jiaxun Yang > -- > v2: >

Re: [PATCH RT 10/30] hrtimer: Prevent using hrtimer_grab_expiry_lock() on migration_base

2020-04-28 Thread Rasmus Villemoes
On 28/04/2020 14.59, Tom Zanussi wrote: > On Tue, 2020-04-28 at 09:03 +0200, Rasmus Villemoes wrote: >> Hold on a second. This patch (hrtimer: Prevent using >> hrtimer_grab_expiry_lock() on migration_base) indeed seems to >> implement >> the optimization implied by the above, namely avoid the lock

Re: [PATCH net v1] net: macb: fix an issue about leak related system resources

2020-04-28 Thread Dejin Zheng
On Tue, Apr 28, 2020 at 10:42:56AM +0200, Nicolas Ferre wrote: > On 28/04/2020 at 05:24, Dejin Zheng wrote: > > On Mon, Apr 27, 2020 at 01:33:41PM +0300, Andy Shevchenko wrote: > > > On Sat, Apr 25, 2020 at 3:57 PM Dejin Zheng wrote: > > > > > > > > A call of the function macb_init() can fail in

Re: [PATCH] watchdog: riowd: remove unneeded semicolon

2020-04-28 Thread Guenter Roeck
On 4/27/20 11:33 PM, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/watchdog/riowd.c:144:2-3: Unneeded semicolon > > Signed-off-by: Jason Yan Reviewed-by: Guenter Roeck > --- > drivers/watchdog/riowd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [PATCH] printk: Add loglevel for "do not print to consoles".

2020-04-28 Thread Tetsuo Handa
On 2020/04/28 21:18, Michal Hocko wrote: > On Tue 28-04-20 20:33:21, Tetsuo Handa wrote: >> On 2020/04/27 15:21, Sergey Senozhatsky wrote: KERN_NO_CONSOLES is for type of messages where "saved for later analysis" is important but "printed for immediate notification" is not important

Re: [PATCH 1/5] dt-bindings: bus: Add firewall bindings

2020-04-28 Thread Benjamin GAIGNARD
On 4/28/20 1:24 PM, Linus Walleij wrote: > Hi Benjamin, > > On Mon, Apr 20, 2020 at 3:48 PM Benjamin Gaignard > wrote: >> Add schemas for firewall consumer and provider. >> >> Signed-off-by: Benjamin Gaignard >> +$id: http://devicetree.org/schemas/bus/stm32/firewall-consumer.yaml# >> +$schema:

[PATCH V2] fs/ceph:fix double unlock in handle_cap_export()

2020-04-28 Thread Wu Bo
if the ceph_mdsc_open_export_target_session() return fails, should add a lock to avoid twice unlocking. Because the lock will be released at the retry or out_unlock tag. -- v1 -> v2: add spin_lock(&ci->i_ceph_lock) before goto out_unlock tag. Signed-off-by: Wu Bo --- fs/ceph/caps.c | 27 ++

[PATCH 1/1] i40iw: remove bogus call to netdev_master_upper_dev_get

2020-04-28 Thread Denis V. Lunev
Local variable netdev is not used in these calls. It should be noted, that this change is required to work in bonded mode. In the other case we would get the following assert: "RTNL: assertion failed at net/core/dev.c (5665)" with the calltrace as follows: dump_stack+0x19/0x1b net

[PATCH v8 1/8] powerpc/vdso64: Switch from __get_datapage() to get_datapage inline macro

2020-04-28 Thread Christophe Leroy
On the same way as already done on PPC32, drop __get_datapage() function and use get_datapage inline macro instead. See commit ec0895f08f99 ("powerpc/vdso32: inline __get_datapage()") Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso64/cacheflush.S | 9 arch/powerpc/kerne

[PATCH v8 0/8] powerpc: switch VDSO to C implementation

2020-04-28 Thread Christophe Leroy
This is the seventh version of a series to switch powerpc VDSO to generic C implementation. Main changes since v7 are: - Added gettime64 on PPC32 This series applies on today's powerpc/merge branch. See the last patches for details on changes and performance. Christophe Leroy (8): powerpc/vds

[PATCH v8 5/8] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-04-28 Thread Christophe Leroy
Prepare for switching VDSO to generic C implementation in following patch. Here, we: - Modify __get_datapage() to take an offset - Prepare the helpers to call the C VDSO functions - Prepare the required callbacks for the C VDSO functions - Prepare the clocksource.h files to define VDSO_ARCH_CLOCKMO

[PATCH v8 8/8] powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32

2020-04-28 Thread Christophe Leroy
Provides __kernel_clock_gettime64() on vdso32. This is the 64 bits version of __kernel_clock_gettime() which is y2038 compliant. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso32/gettimeofday.S | 9 + arch/powerpc/kernel/vdso32/vdso32.lds.S| 1 + arch/powerpc/kernel/vds

[PATCH v8 7/8] lib/vdso: force inlining of __cvdso_clock_gettime_common()

2020-04-28 Thread Christophe Leroy
When adding gettime64() to a 32 bit architecture (namely powerpc/32) it has been noticed that GCC doesn't inline anymore __cvdso_clock_gettime_common() because it is called twice (Once by __cvdso_clock_gettime() and once by __cvdso_clock_gettime32). This has the effect of seriously degrading the p

[PATCH v8 2/8] powerpc/vdso: Remove __kernel_datapage_offset and simplify __get_datapage()

2020-04-28 Thread Christophe Leroy
The VDSO datapage and the text pages are always located immediately next to each other, so it can be hardcoded without an indirection through __kernel_datapage_offset In order to ease things, move the data page in front like other arches, that way there is no need to know the size of the library t

[PATCH v8 6/8] powerpc/vdso: Switch VDSO to generic C implementation.

2020-04-28 Thread Christophe Leroy
For VDSO32 on PPC64, we create a fake 32 bits config, on the same principle as MIPS architecture, in order to get the correct parts of the different asm header files. With the C VDSO, the performance is slightly lower, but it is worth it as it will ease maintenance and evolution, and also brings c

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