Re: [RFC 0/3] iommu: Reserved regions for IOVAs beyond dma_mask and iommu aperture

2020-09-30 Thread Auger Eric
Hi Alex, On 9/29/20 8:18 PM, Alex Williamson wrote: > On Tue, 29 Sep 2020 09:18:22 +0200 > Auger Eric wrote: > >> Hi all, >> >> [also correcting some outdated email addresses + adding Lorenzo in cc] >> >> On 9/29/20 12:42 AM, Alex Williamson wrote: >>> On Mon, 28 Sep 2020 21:50:34 +0200 >>> Eric

Re: [PATCH v2 2/2] irqchip/ti-sci-inta: Add support for unmapped event handling

2020-09-30 Thread Peter Ujfalusi
On 30/09/2020 11.33, Marc Zyngier wrote: > On 2020-09-30 08:45, Peter Ujfalusi wrote: >> The DMA (BCDMA/PKTDMA and their rings/flows) events are under the INTA's >> supervision as unmapped events in AM64. > > What does "unmapped event" mean? An event that doesn't require a mapping? > Or an inte

Re: [PATCH 1/4] dt-bindings: microchip: atmel,at91rm9200-tcb: add atmel,tcb-pwm

2020-09-30 Thread Alexandre Belloni
On 08/09/2020 14:48:34-0600, Rob Herring wrote: > On Fri, Aug 21, 2020 at 12:55:43AM +0200, Alexandre Belloni wrote: > > Move the TCB pwm nodes under their parent and move its documentation to the > > main file. > > > > Signed-off-by: Alexandre Belloni > > --- > > Cc: Rob Herring > > > > .../d

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Uwe Kleine-König
On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to > > Cc:. > > > > On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars Poeschel

[PATCH v3 2/2] soc: qcom: rpmpd: Add MSM8939 power-domains

2020-09-30 Thread Jun Nie
Add the shared modemcx/cx/mx power-domains found on MSM8939. Signed-off-by: Jun Nie --- drivers/soc/qcom/rpmpd.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c index daeea119d48a..3887d57a5a15 100644 --- a/driv

[PATCH v3 1/2] dt-bindings: power: rpmpd: Add MSM8939 RPM power domains

2020-09-30 Thread Jun Nie
MSM8939 has three RPM power domains: VDDCX and VDDMX and VDDMDCX. Add the device tree bindings to manage them through rpmpd. Signed-off-by: Jun Nie --- .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 10 ++ 2 files c

[PATCH v3 0/2] Add MSM8939 RPM power domains

2020-09-30 Thread Jun Nie
Add MSM8939 RPM power domains and associated document. This is based on Stephan's patch set to reuse max state definition: https://lore.kernel.org/linux-arm-msm/20200916104135.25085-1-step...@gerhold.net/ Changes vs v2: - fix max power domain state value. - trim code layout. Jun Nie (2): dt-b

Re: [RFC V2] mm/vmstat: Add events for HugeTLB migration

2020-09-30 Thread Anshuman Khandual
On 09/30/2020 01:16 PM, Oscar Salvador wrote: > On Wed, Sep 30, 2020 at 11:30:49AM +0530, Anshuman Khandual wrote: >> -is_thp = PageTransHuge(page) && !PageHuge(page); >> -nr_subpages = thp_nr_pages(page); >> +is_thp = false; >> +

Re: [PATCH v2 2/2] regulator: rtmv20: Add DT-binding document for Richtek RTMV20

2020-09-30 Thread ChiYuan Huang
Mark Brown 於 2020年9月30日 週三 下午5:43寫道: > > On Wed, Sep 30, 2020 at 10:23:49AM +0800, ChiYuan Huang wrote: > > >Due to that already merged into your regulator for-next git, may I > > send the patch to fix Rob's comment? > > Of course, yes please. OK, Thx. > > > And I also found one line need to

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-30 Thread Leon Romanovsky
On Wed, Sep 30, 2020 at 11:05:49AM +0300, Kalle Valo wrote: > Leon Romanovsky writes: > > >> --- /dev/null > >> +++ b/drivers/net/wireless/purelifi/Kconfig > >> @@ -0,0 +1,38 @@ > >> +# SPDX-License-Identifier: GPL-2.0 > >> +config WLAN_VENDOR_PURELIFI > >> + bool "pureLiFi devices" > >> + defau

Re: [PATCH] vfio/pci: when irq_bypass_register_producer() return fails, we need to clean it up and return -EINVAL. instead of return true.

2020-09-30 Thread gchen chen
> On Tue, 29 Sep 2020 14:54:35 -0600 > Alex Williamson wrote: > > > On Sun, 27 Sep 2020 20:11:08 +0800 > > guomin_c...@sina.com wrote: > > > > > From: guomin chen > > > > > > Since eventfd "fds" is passed as a parameter by the upper-level > > > application,when "fds" has multiple identical 'fd',

[PATCH] regulator: rtmv20: Update DT binding document and property name parsing

2020-09-30 Thread cy_huang
From: ChiYuan Huang 1. Add vendor suffix to all proprietary properties. 2. Fix typo. 3. Change lsw to normal property, not pattern property. 4. Due to item 1, modify source code for property parsing. Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rtmv20-regulator.yaml| 53 +

Re: [PATCH v2 1/2] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-30 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On 3

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-30 Thread Johannes Berg
On Wed, 2020-09-30 at 12:55 +0300, Leon Romanovsky wrote: > On Wed, Sep 30, 2020 at 11:01:27AM +0300, Kalle Valo wrote: > > Leon Romanovsky writes: > > > > > > diff --git a/drivers/net/wireless/purelifi/Kconfig > > > b/drivers/net/wireless/purelifi/Kconfig > > > > new file mode 100644 > > > > ind

Re: [RFC PATCH 0/2] objtool and cross compilation

2020-09-30 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 11:58:24AM +0200, Vasily Gorbik wrote: > This is based on v5.9-rc7, before "other architectures support" patches > starting pouring in. Please base on: tip/objtool/core, as is they no longer apply.

Re: [PATCH v4 1/2] dt-bindings: leds: Add bindings for MT6360 LED

2020-09-30 Thread Gene Chen
Gene Chen 於 2020年9月30日 週三 下午11:17寫道: > > Rob Herring 於 2020年9月29日 週二 上午2:44寫道: > > > > On Wed, Sep 23, 2020 at 08:50:51PM +0800, Gene Chen wrote: > > > From: Gene Chen > > > > > > Add bindings document for LED support on MT6360 PMIC > > > > > > Signed-off-by: Gene Chen > > > --- > > > .../devi

Re: [PATCH][next] lib/mpi: fix off-by-one check on index "no"

2020-09-30 Thread Herbert Xu
On Tue, Sep 29, 2020 at 02:18:28PM +0100, Colin King wrote: > From: Colin Ian King > > There is an off-by-one range check on the upper limit of > index "no". Fix this by changing the > comparison to >= > > Addresses-Coverity: ("Out-of-bounds read") > Fixes: a8ea8bdd9df9 ("lib/mpi: Extend the MP

Re: [RFC 12/14] dt-bindings: vendor-prefixes: add Aristainetos

2020-09-30 Thread Heiko Schocher
Hello Krzysztof, Am 30.09.2020 um 09:11 schrieb Krzysztof Kozlowski: On Wed, 30 Sep 2020 at 06:16, Heiko Schocher wrote: Hello Krzysztof, Am 28.09.2020 um 06:04 schrieb Heiko Schocher: Hello Krzysztof, Am 26.09.2020 um 18:28 schrieb Krzysztof Kozlowski: Document binding for an unknown ent

Re: [PATCH 00/18] dmaengine/soc: k3-udma: Add support for BCDMA and PKTDMA

2020-09-30 Thread Peter Ujfalusi
Hi, On 30/09/2020 12.13, Peter Ujfalusi wrote: > Hi, for some reason I have missed Grygorii from the TO, sorry. Grygorii: the series in lore: https://lore.kernel.org/lkml/20200930091412.8020-1-peter.ujfal...@ti.com/ > The series have build dependency on ti_sci/soc series (v1): > https://lore.ke

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 02:40:32AM -0700, Nicolin Chen wrote: > On Wed, Sep 30, 2020 at 11:21:14AM +0200, Krzysztof Kozlowski wrote: > > On Wed, 30 Sep 2020 at 10:48, Nicolin Chen wrote: > > > > > > Previously the driver relies on bus_set_iommu() in .probe() to call > > > in .probe_device() functi

[PATCH] regulator: rtmv20: Add missing regcache cache only before marked as dirty

2020-09-30 Thread cy_huang
From: ChiYuan Huang Add missing regcache cache only before masked as dirty. Signed-off-by: ChiYuan Huang --- drivers/regulator/rtmv20-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/rtmv20-regulator.c b/drivers/regulator/rtmv20-regulator.c index 1075b10..0a07

Re: [PATCH v4 09/22] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-30 Thread Maxime Ripard
On Mon, Sep 28, 2020 at 04:27:42PM +0200, Clément Péron wrote: > On Mon, 28 Sep 2020 at 10:43, Maxime Ripard wrote: > > > > On Mon, Sep 21, 2020 at 08:37:09PM +0200, Jernej Škrabec wrote: > > > Dne ponedeljek, 21. september 2020 ob 19:23:49 CEST je Clément Péron > > > napisal(a): > > > > Hi Maxime

[PATCH] mm: Fix potential memory leak in sys_swapon

2020-09-30 Thread Miaohe Lin
If we failed to drain inode, we would forget to free the swap address space allocated by init_swap_address_space() above. Fixes: dc617f29dbe5 ("vfs: don't allow writes to swap files") Signed-off-by: Miaohe Lin --- mm/swapfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v6 5/6] mm: secretmem: use PMD-size pages to amortize direct map fragmentation

2020-09-30 Thread Mike Rapoport
On Tue, Sep 29, 2020 at 04:12:16PM +0200, Peter Zijlstra wrote: > On Tue, Sep 29, 2020 at 04:05:29PM +0300, Mike Rapoport wrote: > > On Fri, Sep 25, 2020 at 09:41:25AM +0200, Peter Zijlstra wrote: > > > On Thu, Sep 24, 2020 at 04:29:03PM +0300, Mike Rapoport wrote: > > > > From: Mike Rapoport > >

Re: [PATCH] drm/bridge: tc358764: restore connector support

2020-09-30 Thread Andrzej Hajda
W dniu 24.09.2020 o 10:31, Marek Szyprowski pisze: > This patch restores DRM connector registration in the TC358764 bridge > driver and restores usage of the old drm_panel_* API, thus allows dynamic > panel registration. This fixes panel operation on Exynos5250-based > Arndale board. > > This is

[PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2020-09-30 Thread Alexander Egorenkov
The offset of the field 'init_uts_ns.name' has changed since commit 9a56493f6942 ("uts: Use generic ns_common::count"). Link: https://lore.kernel.org/r/159644978167.604812.1773586504374412107.stgit@localhost.localdomain Make the offset of the field 'uts_namespace.name' available in VMCOREINFO be

Re: [PATCH next v2 1/2] printk: avoid and/or handle record truncation

2020-09-30 Thread John Ogness
On 2020-09-30, Sergey Senozhatsky wrote: > On (20/09/30 11:07), John Ogness wrote: >> bool prb_reserve_in_last(struct prb_reserved_entry *e, struct >> printk_ringbuffer *rb, >> - struct printk_record *r, u32 caller_id); >> + struct printk_record *r, u32 ca

Re: [RFC PATCHv2 1/2] coresight: tmc-etf: Fix NULL pointer dereference in tmc_enable_etf_sink_perf()

2020-09-30 Thread Sai Prakash Ranjan
On 2020-09-28 17:07, Sai Prakash Ranjan wrote: There was a report of NULL pointer dereference in ETF enable path for perf CS mode with PID. It is almost 100% reproducible when the process to monitor is something very active such as chrome and only with ETF as the sink. Currently in a bid to find

Re: [PATCH v3 1/3] memory: tegra: Add devm_tegra_get_memory_controller()

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 02:41:45AM -0700, Nicolin Chen wrote: > On Wed, Sep 30, 2020 at 11:07:32AM +0200, Krzysztof Kozlowski wrote: > > "On Wed, 30 Sep 2020 at 10:48, Nicolin Chen wrote: > > > > > > From: Dmitry Osipenko > > > > > > Multiple Tegra drivers need to retrieve Memory Controller and h

[PATCH] mm: Remove unnecessary goto out in _swap_info_get()

2020-09-30 Thread Miaohe Lin
It's unnecessary to goto the out label while out label is just below. Signed-off-by: Miaohe Lin --- mm/swapfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/swapfile.c b/mm/swapfile.c index 4522b458a814..edc96e83c372 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -1182,7 +1182,6 @@

Re: [PATCH] arm64: dts: allwinner: h6: add eMMC voltage property for Beelink GS1

2020-09-30 Thread Maxime Ripard
Hi, On Mon, Sep 28, 2020 at 05:00:37PM +0200, Clément Péron wrote: > VQMMC supply is connected to BLDO2 which provides 1.8V. > > Let's reflect this in the device-tree. This commit log doesn't really explain what is going on though? > Fixes: 089bee8dd119 ("arm64: dts: allwinner: h6: Introduce Be

Re: [PATCH v6 1/3] media: i2c: ov772x: Parse endpoint properties

2020-09-30 Thread Jacopo Mondi
Hi On Thu, Sep 17, 2020 at 06:42:22PM +0100, Lad Prabhakar wrote: > Parse endpoint properties using v4l2_fwnode_endpoint_alloc_parse() > to determine the bus type and store it in the driver structure. > > Set bus_type to V4L2_MBUS_PARALLEL as it's the only supported one > > Signed-off-by: Lad Prab

[PATCH] cma: decrease CMA_ALIGNMENT lower limit to 2

2020-09-30 Thread Paul Cercueil
On an embedded system with a tiny (1 MiB) CMA area for video memory, and a simple enough video pipeline, we can decrease the CMA_ALIGNMENT by a factor of 2 to avoid wasting memory, as all the allocations for video buffers will be of the exact same size (dictated by the size of the screen). Signed-

Re: [PATCH 0/2] mips: Introduce some IO-accessors optimizations

2020-09-30 Thread Thomas Bogendoerfer
On Wed, Sep 30, 2020 at 12:12:32AM +0300, Serge Semin wrote: > Thomas, > Any comment on the series? The changes aren't that comprehensive, so it would > be great to merge it in before the 5.10 merge window is opened. for the both patches there is no user for it, so I don't see a reason to apply it

Re: [PATCH v6 5/6] mm: secretmem: use PMD-size pages to amortize direct map fragmentation

2020-09-30 Thread Mike Rapoport
On Tue, Sep 29, 2020 at 05:15:52PM +0200, Peter Zijlstra wrote: > On Tue, Sep 29, 2020 at 05:58:13PM +0300, Mike Rapoport wrote: > > On Tue, Sep 29, 2020 at 04:12:16PM +0200, Peter Zijlstra wrote: > > > > It will drop them down to 4k pages. Given enough inodes, and allocating > > > only a single s

Re: [RFC 12/14] dt-bindings: vendor-prefixes: add Aristainetos

2020-09-30 Thread Krzysztof Kozlowski
On Wed, 30 Sep 2020 at 12:14, Heiko Schocher wrote: > > Hello Krzysztof, > > Am 30.09.2020 um 09:11 schrieb Krzysztof Kozlowski: > > On Wed, 30 Sep 2020 at 06:16, Heiko Schocher wrote: > >> > >> Hello Krzysztof, > >> > >> Am 28.09.2020 um 06:04 schrieb Heiko Schocher: > >>> Hello Krzysztof, > >>>

Re: [PATCH] drm/bridge: tc358764: restore connector support

2020-09-30 Thread Daniel Vetter
On Wed, Sep 30, 2020 at 12:13 PM Andrzej Hajda wrote: > > > W dniu 24.09.2020 o 10:31, Marek Szyprowski pisze: > > This patch restores DRM connector registration in the TC358764 bridge > > driver and restores usage of the old drm_panel_* API, thus allows dynamic > > panel registration. This fixes

Re: [RFC V2] mm/vmstat: Add events for HugeTLB migration

2020-09-30 Thread Oscar Salvador
On Wed, Sep 30, 2020 at 03:32:10PM +0530, Anshuman Khandual wrote: > Right, it would be simple. But as Mike had mentioned before PageHuge() > check is more expensive than PageTransHuge(). This proposal just tries > not to call PageHuge() unless the page first clears PageTransHuge(), > saving some p

Re: [PATCH 5/5] perf: arm_spe: Decode SVE events

2020-09-30 Thread Dave Martin
On Tue, Sep 29, 2020 at 10:19:02AM +0800, Leo Yan wrote: > On Mon, Sep 28, 2020 at 03:47:56PM +0100, Dave Martin wrote: > > On Mon, Sep 28, 2020 at 02:59:34PM +0100, André Przywara wrote: > > > On 28/09/2020 14:21, Dave Martin wrote: > > > > > > Hi Dave, > > > > > > > On Tue, Sep 22, 2020 at 11:1

Re: [PATCH v6 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-09-30 Thread Mike Rapoport
On Tue, Sep 29, 2020 at 08:06:03PM +, Edgecombe, Rick P wrote: > On Tue, 2020-09-29 at 16:06 +0300, Mike Rapoport wrote: > > On Tue, Sep 29, 2020 at 04:58:44AM +, Edgecombe, Rick P wrote: > > > On Thu, 2020-09-24 at 16:29 +0300, Mike Rapoport wrote: > > > > Introduce "memfd_secret" system c

Re: [PATCH v3] mtd: spi-nor: keep lock bits if they are non-volatile

2020-09-30 Thread Vignesh Raghavendra
On 3/27/20 9:29 PM, Michael Walle wrote: > Traditionally, linux unlocks the whole flash because there are legacy > devices which has the write protections bits set by default at startup. > If you actually want to use the flash protection bits, eg. because there > is a read-only part for a bootlo

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-09-30 Thread Michal Hocko
On Wed 30-09-20 00:07:42, Uladzislau Rezki wrote: [...] > > bool is_pcp_cache_empty(gfp_t gfp) > { > struct per_cpu_pages *pcp; > struct zoneref *ref; > unsigned long flags; > bool empty; > > ref = first_zones_zonelist(node_zonelist( > numa_node_id(), gfp), gfp_zon

Re: [PATCH v6 2/3] media: i2c: ov772x: Add support for BT.656 mode

2020-09-30 Thread Jacopo Mondi
Hello, On Thu, Sep 17, 2020 at 06:42:23PM +0100, Lad Prabhakar wrote: > Add support to read the bus-type for V4L2_MBUS_BT656 and enable BT.656 > mode in the sensor if needed. > > For backward compatibility with older DTS where the bus-type property was > not mandatory, assume V4L2_MBUS_PARALLEL as

Re: [PATCH v2 05/12] mm: Add and use find_lock_entries

2020-09-30 Thread Jan Kara
On Tue 29-09-20 13:48:06, Matthew Wilcox wrote: > On Tue, Sep 29, 2020 at 10:58:55AM +0200, Jan Kara wrote: > > On Mon 14-09-20 14:00:35, Matthew Wilcox (Oracle) wrote: > > > We have three functions (shmem_undo_range(), truncate_inode_pages_range() > > > and invalidate_mapping_pages()) which want e

Re: [PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-09-30 Thread Tetsuhiro Kohada
BTW Are you busy now? I'm sorry, I'm so busy for my full time work :( Anyway, I'm trying to review serious bug patches or bug reports first. Other patches, such as clean-up or code refactoring, may take some time to review. I am waiting for your reply about "integrates dir-entry getting an

[no subject]

2020-09-30 Thread robert
Good day my good friend. How are you doing today? It has been long i hear from you, what is going on your side? Today i am very much happy to inform you about my success in getting those inheritance funds transferred under the co-operation of a new partner from India Asia. He is a Canadian but bas

Re: [PATCH v6 5/6] mm: secretmem: use PMD-size pages to amortize direct map fragmentation

2020-09-30 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 01:20:31PM +0300, Mike Rapoport wrote: > I tried to dig the regression report in the mailing list, and the best I > could find is > > https://lore.kernel.org/lkml/20190823052335.572133-1-songliubrav...@fb.com/ > > which does not mention the actual performance regression b

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-30 Thread Leon Romanovsky
On Wed, Sep 30, 2020 at 12:11:24PM +0200, Johannes Berg wrote: > On Wed, 2020-09-30 at 12:55 +0300, Leon Romanovsky wrote: > > On Wed, Sep 30, 2020 at 11:01:27AM +0300, Kalle Valo wrote: > > > Leon Romanovsky writes: > > > > > > > > diff --git a/drivers/net/wireless/purelifi/Kconfig > > > > b/driv

Re: [PATCH v3] mm: memcontrol: reword obsolete comment of mem_cgroup_unmark_under_oom()

2020-09-30 Thread Michal Hocko
On Wed 30-09-20 05:53:36, Miaohe Lin wrote: > Since commit 79dfdaccd1d5 ("memcg: make oom_lock 0 and 1 based rather than > counter"), the mem_cgroup_unmark_under_oom() is added and the comment of > the mem_cgroup_oom_unlock() is moved here. But this comment make no sense > here because mem_cgroup_

Re: [PATCH 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats

2020-09-30 Thread Stefan Riedmüller
Hi Sakari, On 25.09.20 22:11, Sakari Ailus wrote: Hi Stefan, On Fri, Sep 25, 2020 at 09:50:25AM +0200, Stefan Riedmueller wrote: From: Christian Hemp Aside from 12 bit monochrome or color format the sensor implicitly supports 10 and 8 bit formats as well by simply dropping the corresponding

Re: [PATCH v6 2/3] MAINTAINERS: Add Purism Librem 5 section to the list

2020-09-30 Thread Krzysztof Kozlowski
On Sun, 30 Aug 2020 at 15:15, Shawn Guo wrote: > > On Fri, Aug 21, 2020 at 02:17:54PM +0200, Martin Kepplinger wrote: > > Add development information for the devicetree files for hardware > > by Purism SPC. > > > > Signed-off-by: Martin Kepplinger > > I decided to drop this patch from my queue, a

[PATCH net-next] net: macb: move pdata to private header

2020-09-30 Thread Alexandre Belloni
struct macb_platform_data is only used by macb_pci to register the platform device, move its definition to cadence/macb.h and remove platform_data/macb.h Signed-off-by: Alexandre Belloni --- drivers/net/ethernet/cadence/macb.h | 11 +++ drivers/net/ethernet/cadence/macb_main.c | 1

[PATCH v2 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats

2020-09-30 Thread Stefan Riedmueller
From: Christian Hemp Aside from 12 bit monochrome or color format the sensor implicitly supports 10 and 8 bit formats as well by simply dropping the corresponding LSBs. Signed-off-by: Christian Hemp [j...@pengutronix.de: simplified by dropping v4l2_colorspace handling] Signed-off-by: Jan Luebbe

Re: [PATCH 4/5] iio: adc: vf610_adc: Replace indio_dev->mlock with own device lock

2020-09-30 Thread Jonathan Cameron
On Wed, 30 Sep 2020 08:57:55 +0300 Alexandru Ardelean wrote: > On Tue, Sep 29, 2020 at 7:15 PM Jonathan Cameron wrote: > > > > On Mon, 28 Sep 2020 16:13:32 +0300 > > Mircea Caprioru wrote: > > > > > From: Sergiu Cuciurean > > > > > > As part of the general cleanup of indio_dev->mlock, this c

[PATCH v2 2/5] media: mt9p031: Read back the real clock rate

2020-09-30 Thread Stefan Riedmueller
From: Enrico Scholz The real and requested clock can differ and because it is used to calculate PLL values, the real clock rate should be read. Signed-off-by: Enrico Scholz Signed-off-by: Stefan Riedmueller --- No changes in v2 --- drivers/media/i2c/mt9p031.c | 9 ++--- 1 file changed, 6

[PATCH v2 3/5] media: mt9p031: Implement [gs]_register debug calls

2020-09-30 Thread Stefan Riedmueller
From: Enrico Scholz Implement g_register and s_register v4l2_subdev_core_ops to access camera register directly from userspace for debug purposes. Signed-off-by: Enrico Scholz Signed-off-by: Stefan Riedmueller --- No changes in v2 --- drivers/media/i2c/mt9p031.c | 28 +

[PATCH v2 4/5] media: mt9p031: Make pixel clock polarity configurable by DT

2020-09-30 Thread Stefan Riedmueller
From: Christian Hemp Evaluate the desired pixel clock polarity from the device tree. Signed-off-by: Christian Hemp Signed-off-by: Stefan Riedmueller --- Changes in v2: - Initialise endpoint bus_type field to V4L2_MBUS_PARALLEL since the sensor only supports a parallel interface --- driver

[PATCH v2 5/5] media: mt9p031: Fix corrupted frame after restarting stream

2020-09-30 Thread Stefan Riedmueller
From: Dirk Bender To prevent corrupted frames after starting and stopping the sensor it's datasheet specifies a specific pause sequence to follow: Stopping: Set Pause_Restart Bit -> Set Restart Bit -> Set Chip_Enable Off Restarting: Set Chip_Enable On -> Clear Pause_Restart Bit

Re: [PATCH] drm/bridge: tc358764: restore connector support

2020-09-30 Thread Daniel Vetter
On Wed, Sep 30, 2020 at 12:31 PM Daniel Vetter wrote: > > On Wed, Sep 30, 2020 at 12:13 PM Andrzej Hajda wrote: > > > > > > W dniu 24.09.2020 o 10:31, Marek Szyprowski pisze: > > > This patch restores DRM connector registration in the TC358764 bridge > > > driver and restores usage of the old drm

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > Hello, > > > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit

Re: Removal of HCI commands, userspace bluetooth regression?

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 11:46:16AM +0200, Pali Rohár wrote: > On Wednesday 30 September 2020 11:20:43 Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 10:25:34AM +0200, Pali Rohár wrote: > > > On Wednesday 30 September 2020 10:02:05 Greg Kroah-Hartman wrote: > > > > On Tue, Sep 29, 2020 at 11:

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-30 Thread Borislav Petkov
On Tue, Sep 22, 2020 at 07:42:58PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > The Service VM communicates with the hypervisor via conventional > hypercalls. VMCALL instruction is used to make the hypercalls. > > ACRN hypercall ABI: > * Hypercall number is in R8 register. > * Up

Re: [PATCH] get_maintainer: add email addresses from dts files

2020-09-30 Thread Krzysztof Kozlowski
On Sun, 30 Aug 2020 at 14:31, Shawn Guo wrote: > > MAINTAINER file will get bloated quickly if individual section entry > is created for each .dts/.dtsi file. Add the email address from dts > files to get_maintainer output for saving unnecessary patching on > MAINTAINER file. > > Suggested-by: Jo

Re: [PATCH 0/3] Prevent out-of-bounds access for built-in font data buffers

2020-09-30 Thread Peilin Ye
On Wed, Sep 30, 2020 at 11:53:17AM +0200, Daniel Vetter wrote: > On Wed, Sep 30, 2020 at 03:11:51AM -0400, Peilin Ye wrote: > > On Tue, Sep 29, 2020 at 04:38:49PM +0200, Daniel Vetter wrote: > > > On Tue, Sep 29, 2020 at 2:34 PM Peilin Ye wrote: > > > > Ah, and speaking of built-in fonts, see fbco

Re: [PATCH 1/2] docs: Clarify abstract scale usage for power values in Energy Model

2020-09-30 Thread Rajendra Nayak
On 9/30/2020 1:55 PM, Lukasz Luba wrote: Hi Douglas, On 9/30/20 12:53 AM, Doug Anderson wrote: Hi, On Tue, Sep 29, 2020 at 5:16 AM Lukasz Luba wrote: The Energy Model (EM) can store power values in milli-Watts or in abstract scale. This might cause issues in the subsystems which use the E

Re: Removal of HCI commands, userspace bluetooth regression?

2020-09-30 Thread Pali Rohár
On Wednesday 30 September 2020 12:54:34 Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 11:46:16AM +0200, Pali Rohár wrote: > > On Wednesday 30 September 2020 11:20:43 Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 10:25:34AM +0200, Pali Rohár wrote: > > > > On Wednesday 30 September 2

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-09-30 Thread Ard Biesheuvel
On Wed, 30 Sep 2020 at 10:03, Anshuman Khandual wrote: > > > On 09/29/2020 08:52 PM, Will Deacon wrote: > > On Tue, Sep 29, 2020 at 01:34:24PM +0530, Anshuman Khandual wrote: > >> > >> > >> On 09/29/2020 02:05 AM, Will Deacon wrote: > >>> On Thu, Sep 17, 2020 at 02:16:42PM +0530, Anshuman Khandual

Re: [PATCH v2 3/3] arm64: dts: Enabled MHI device over PCIe

2020-09-30 Thread gokulsri
On 2020-08-06 15:56, Manivannan Sadhasivam wrote: On Thu, Aug 06, 2020 at 03:02:12PM +0530, Gokul Sriram Palanisamy wrote: Enabled MHI device support over PCIe and added memory reservation required for MHI enabled QCN9000 PCIe card. There is no DT support exist for MHI as of now, so this is n

Re: [PATCH 00/30] spi: dw: Add full Baikal-T1 SPI Controllers support

2020-09-30 Thread Mark Brown
On Wed, Sep 30, 2020 at 01:43:03AM +0300, Serge Semin wrote: > On Tue, Sep 29, 2020 at 03:43:51PM +0100, Mark Brown wrote: > > This is a *huge* patch series which is a bit unweildy to review > > (especially given the other 10+ patch series you sent at the same time), > Yeah, sorry about the bulky

Re: [PATCH 5/5] perf: arm_spe: Decode SVE events

2020-09-30 Thread Leo Yan
Hi Dave, On Wed, Sep 30, 2020 at 11:34:11AM +0100, Dave Martin wrote: [...] > > > > >> diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c > > > > >> b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c > > > > >> index a033f34846a6..f0c369259554 100644 > > > > >> --- a/tools/

Re: [PATCH] regulator: rtmv20: Update DT binding document and property name parsing

2020-09-30 Thread Mark Brown
On Wed, Sep 30, 2020 at 06:08:00PM +0800, cy_huang wrote: > From: ChiYuan Huang > > 1. Add vendor suffix to all proprietary properties. You should need a driver update to match this one? signature.asc Description: PGP signature

[PATCH v4] tools lib traceevent: Hide non API functions

2020-09-30 Thread Tzvetomir Stoyanov (VMware)
There are internal library functions, which are not declared as a static. They are used inside the library from different files. Hide them from the library users, as they are not part of the API. These functions are made hidden and are renamed without the prefix "tep_": tep_free_plugin_paths tep_

For review: seccomp_user_notif(2) manual page

2020-09-30 Thread Michael Kerrisk (man-pages)
Hi Tycho, Sargun (and all), I knew it would be a big ask, but below is kind of the manual page I was hoping you might write [1] for the seccomp user-space notification mechanism. Since you didn't (and because 5.9 adds various new pieces such as SECCOMP_ADDFD_FLAG_SETFD and SECCOMP_IOCTL_NOTIF_ADD

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2020-09-30 Thread Amit Pundir
On Wed, 30 Sep 2020 at 00:38, Rob Herring wrote: > > On Fri, Sep 25, 2020 at 11:59:41PM +0530, Amit Pundir wrote: > > There are firmware versions which do not support host capability > > QMI request. We suspect either the host cap is not implemented or > > there may be firmware specific issues, bu

Re: [PATCH] regulator: rtmv20: Update DT binding document and property name parsing

2020-09-30 Thread ChiYuan Huang
Mark Brown 於 2020年9月30日 週三 下午7:06寫道: > > On Wed, Sep 30, 2020 at 06:08:00PM +0800, cy_huang wrote: > > From: ChiYuan Huang > > > > 1. Add vendor suffix to all proprietary properties. > > You should need a driver update to match this one? Yes, sure, I describe in the change item 4. Do you want me

[PATCH] scripts/decodecode: Add the capability to supply the program counter

2020-09-30 Thread Borislav Petkov
From: Borislav Petkov Date: Tue, 29 Sep 2020 18:45:56 +0200 ... so that comparing with objdump output from vmlinux can ease pinpointing where the trapping instruction actually is. An example is better than a thousand words: $ PC=0x8329a927 ./scripts/decodecode < ~/tmp/syz/gfs2.splat

Re: [PATCH 06/11] firmware: ti_sci: rm: Remove ring_get_config support

2020-09-30 Thread Grygorii Strashko
On 28/09/2020 11:34, Peter Ujfalusi wrote: The ring_get_cfg (0x message) is not used and it is not supported by sysfw for a long time. Signed-off-by: Peter Ujfalusi --- drivers/firmware/ti_sci.c | 80 -- drivers/firmware/ti_sci.h | 44

Re: [PATCH] regulator: rtmv20: Update DT binding document and property name parsing

2020-09-30 Thread Mark Brown
On Wed, Sep 30, 2020 at 07:11:51PM +0800, ChiYuan Huang wrote: > Do you want me to divided the patch into binding document update and > driver update? You should've done this but it's OK, I'll apply. signature.asc Description: PGP signature

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-30 Thread Peter Zijlstra
On Sun, Sep 27, 2020 at 08:38:03AM -0700, Dave Hansen wrote: > On 9/27/20 3:51 AM, Greg Kroah-Hartman wrote: > >> +static inline long acrn_hypercall0(unsigned long hcall_id) > >> +{ > >> + register long r8 asm("r8"); > >> + long result; > >> + > >> + /* Nothing can come between the r8 assignment

[PATCH v2 1/2] tools lib traceevent: Man page for tep_add_plugin_path() API

2020-09-30 Thread Tzvetomir Stoyanov (VMware)
Add documentation of tep_add_plugin_path() API in the libtraceevent plugin man page. Signed-off-by: Tzvetomir Stoyanov (VMware) --- v2 changes: - Fixed grammar mistakes, found by Steven Rostedt. .../Documentation/libtraceevent-plugins.txt | 25 +-- 1 file changed, 23 insertio

Re: Removal of HCI commands, userspace bluetooth regression?

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 01:00:13PM +0200, Pali Rohár wrote: > On Wednesday 30 September 2020 12:54:34 Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 11:46:16AM +0200, Pali Rohár wrote: > > > On Wednesday 30 September 2020 11:20:43 Greg Kroah-Hartman wrote: > > > > On Wed, Sep 30, 2020 at 10:

[PATCH v2 2/2] tools lib traceevent: Man page libtraceevent debug APIs

2020-09-30 Thread Tzvetomir Stoyanov (VMware)
Add a new libtraceevent man page with documentation of these debug APIs: tep_print_printk tep_print_funcs tep_set_test_filters tep_plugin_print_options Signed-off-by: Tzvetomir Stoyanov (VMware) --- v2 changes: - Removed an extra interval from the example's co

Re: [PATCH 0/3] Prevent out-of-bounds access for built-in font data buffers

2020-09-30 Thread Daniel Vetter
On Wed, Sep 30, 2020 at 12:56 PM Peilin Ye wrote: > > On Wed, Sep 30, 2020 at 11:53:17AM +0200, Daniel Vetter wrote: > > On Wed, Sep 30, 2020 at 03:11:51AM -0400, Peilin Ye wrote: > > > On Tue, Sep 29, 2020 at 04:38:49PM +0200, Daniel Vetter wrote: > > > > On Tue, Sep 29, 2020 at 2:34 PM Peilin Ye

Re: [RFC PATCH 05/24] vhost-vdpa: passing iotlb to IOMMU mapping helpers

2020-09-30 Thread Eli Cohen
On Thu, Sep 24, 2020 at 11:21:06AM +0800, Jason Wang wrote: > To prepare for the ASID support for vhost-vdpa, try to pass IOTLB > object to dma helpers. Maybe it's worth mentioning here that this patch does not change any functionality and is presented as a preparation for passing different iotlb'

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Lars Poeschel
On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > >

Re: [PATCH next v2 1/2] printk: avoid and/or handle record truncation

2020-09-30 Thread Petr Mladek
On Wed 2020-09-30 12:30:50, John Ogness wrote: > On 2020-09-30, Sergey Senozhatsky wrote: > > On (20/09/30 11:07), John Ogness wrote: > >> bool prb_reserve_in_last(struct prb_reserved_entry *e, struct > >> printk_ringbuffer *rb, > >> - struct printk_record *r, u32 caller_id); >

Re: [PATCH v2 3/5] media: mt9p031: Implement [gs]_register debug calls

2020-09-30 Thread Laurent Pinchart
Hi Stefan, Thank you for the patch. On Wed, Sep 30, 2020 at 12:51:31PM +0200, Stefan Riedmueller wrote: > From: Enrico Scholz > > Implement g_register and s_register v4l2_subdev_core_ops to access > camera register directly from userspace for debug purposes. As the name of the operations imply

[PATCH RESEND] drm/bridge: tc358764: restore connector support

2020-09-30 Thread Marek Szyprowski
This patch restores DRM connector registration in the TC358764 bridge driver and restores usage of the old drm_panel_* API, thus allows dynamic panel registration. This fixes panel operation on Exynos5250-based Arndale board. This is equivalent to the revert of the following commits: 1644127f83bc

Re: [PATCH v2 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats

2020-09-30 Thread Laurent Pinchart
Hi Stefan, Thank you for the patch. On Wed, Sep 30, 2020 at 12:51:29PM +0200, Stefan Riedmueller wrote: > From: Christian Hemp > > Aside from 12 bit monochrome or color format the sensor implicitly > supports 10 and 8 bit formats as well by simply dropping the > corresponding LSBs. That's not

Re: [patch V2 00/46] x86, PCI, XEN, genirq ...: Prepare for device MSI

2020-09-30 Thread Jason Gunthorpe
On Wed, Sep 30, 2020 at 08:41:48AM +0200, Thomas Gleixner wrote: > On Tue, Sep 29 2020 at 16:03, Megha Dey wrote: > > On 8/26/2020 4:16 AM, Thomas Gleixner wrote: > >> #9 is obviously just for the folks interested in IMS > >> > > > > I see that the tip tree (as of 9/29) has most of these patches bu

Re: [PATCH next v2 1/2] printk: avoid and/or handle record truncation

2020-09-30 Thread John Ogness
On 2020-09-30, Petr Mladek wrote: > Anyway, I see hardcoded limit more like a hack. It limits something > somewhere so that some other code somewhere else is safe to use. > > And printk.c is really bad from this point. It sometimes does not > check for overflow because it "knows" that the buffers

Re: [PATCH rdma-next v4 4/4] RDMA/umem: Move to allocate SG table from pages

2020-09-30 Thread Jason Gunthorpe
On Wed, Sep 30, 2020 at 12:53:21PM +0300, Leon Romanovsky wrote: > On Tue, Sep 29, 2020 at 04:59:29PM -0300, Jason Gunthorpe wrote: > > On Sun, Sep 27, 2020 at 09:46:47AM +0300, Leon Romanovsky wrote: > > > @@ -296,11 +223,17 @@ static struct ib_umem *__ib_umem_get(struct > > > ib_device *device,

Re: [PATCH v6 1/3] media: i2c: ov772x: Parse endpoint properties

2020-09-30 Thread Sakari Ailus
Hi Prabhakar, On Thu, Sep 17, 2020 at 06:42:22PM +0100, Lad Prabhakar wrote: > Parse endpoint properties using v4l2_fwnode_endpoint_alloc_parse() > to determine the bus type and store it in the driver structure. > > Set bus_type to V4L2_MBUS_PARALLEL as it's the only supported one > > Signed-off

Re: [PATCH v7 5/7] KVM: arm64: pmu: Make overflow handler NMI safe

2020-09-30 Thread Alexandru Elisei
Hello, On 9/29/20 9:11 AM, Marc Zyngier wrote: > On 2020-09-24 12:07, Alexandru Elisei wrote: >> From: Julien Thierry >> >> kvm_vcpu_kick() is not NMI safe. When the overflow handler is called from >> NMI context, defer waking the vcpu to an irq_work queue. >> >> A vcpu can be freed while it's no

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 01:27:20PM +0200, Lars Poeschel wrote: > On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > > > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > > > On Wed, Sep 30

Re: Removal of HCI commands, userspace bluetooth regression?

2020-09-30 Thread Pali Rohár
On Wednesday 30 September 2020 13:20:06 Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 01:00:13PM +0200, Pali Rohár wrote: > > On Wednesday 30 September 2020 12:54:34 Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 11:46:16AM +0200, Pali Rohár wrote: > > > > On Wednesday 30 September 2

Re: [PATCH 0/3] Prevent out-of-bounds access for built-in font data buffers

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 01:25:14PM +0200, Daniel Vetter wrote: > On Wed, Sep 30, 2020 at 12:56 PM Peilin Ye wrote: > > > > On Wed, Sep 30, 2020 at 11:53:17AM +0200, Daniel Vetter wrote: > > > On Wed, Sep 30, 2020 at 03:11:51AM -0400, Peilin Ye wrote: > > > > On Tue, Sep 29, 2020 at 04:38:49PM +020

[RFC PATCH 4/4] rpmsg: apu_rpmsg: Add an IOCTL to request IOMMU mapping

2020-09-30 Thread Alexandre Bailon
Currently, the kernel is automatically doing an IOMMU memory mapping. But we want to do it automatically for two reasons: - to reduce the overhead of each APU operation - to get the device address and use it as input for an operation This adds 2 IOCTL to manually IOMMU map and unmap memory. Signed

[RFC PATCH 2/4] rpmsg: apu_rpmsg: Add support for async apu request

2020-09-30 Thread Alexandre Bailon
From: Julien STEPHAN In order to improve performances and flexibility, add support of async request. Signed-off-by: Julien STEPHAN Signed-off-by: Alexandre Bailon --- drivers/rpmsg/apu_rpmsg.c | 208 ++--- include/uapi/linux/apu_rpmsg.h | 6 +- 2 files chang

[RFC PATCH 0/4] Add a RPMsg driver to support AI Processing Unit (APU)

2020-09-30 Thread Alexandre Bailon
This adds a RPMsg driver that implements communication between the CPU and an APU. This uses VirtIO buffer to exchange messages but for sharing data, this uses a dmabuf, mapped to be shared between CPU (userspace) and APU. The driver is relatively generic, and should work with any SoC implementing

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