Re: [PATCH] ARM: dts: stm32: use stm32h7 usart compatible string for stm32h743

2020-08-28 Thread Alexandre Torgue
Hi Tobias On 8/14/20 8:11 PM, Tobias Schramm wrote: Previously the FIFO on the stm32h743 usart was not utilized, because the stm32f7 compatible configures it without FIFO support. Signed-off-by: Tobias Schramm --- arch/arm/boot/dts/stm32h743.dtsi | 4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-28 Thread Ulf Hansson
+ Daniel > > Commit 17a8f868ae3e ("opp: Return genpd virtual devices from > > dev_pm_opp_attach_genpd()"): > > "The cpufreq drivers don't need to do runtime PM operations on > > the virtual devices returned by dev_pm_domain_attach_by_name() and so > > the virtual devices weren't shared with

Re: [RFC/RFT PATCH 3/6] arm64, numa: Move pcibus_to_node definition to generic numa code

2020-08-28 Thread Jonathan Cameron
On Fri, 14 Aug 2020 14:47:22 -0700 Atish Patra wrote: > pcibus_to_node is used only when numa is enabled and does not depend > on ISA. Thus, it can be moved the generic numa implementation. > > Signed-off-by: Atish Patra >From a more general unification point of view, there seem to be two

Re: [PATCH 0/3] drm/vc4: Support HDMI QHD or higher output

2020-08-28 Thread Maxime Ripard
Hi! On Fri, Aug 21, 2020 at 04:10:42PM +0900, Hoegeun Kwon wrote: > Hi everyone, > > There is a problem that the output does not work at a resolution > exceeding FHD. To solve this, we need to adjust the bvb clock at a > resolution exceeding FHD. > > Rebased on top of next-20200708 and [1]. >

Re: [PATCH 01/22] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles

2020-08-28 Thread Linus Walleij
On Sun, Aug 23, 2020 at 6:16 PM Krzysztof Kozlowski wrote: > DTSes with new i.MX 8 SoCs introduce their own compatibles so add them > to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@3020: > compatible:0: 'fsl,imx8mm-gpio' is not one of

Re: [PATCH] aio: make aio wait path to account iowait time

2020-08-28 Thread Jan Kara
On Fri 28-08-20 11:07:29, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 02:07:12PM +0800, Xianting Tian wrote: > > As the normal aio wait path(read_events() -> > > wait_event_interruptible_hrtimeout()) doesn't account iowait time, so use > > this patch to make it to account iowait time,

Re: [PATCH v2 09/18] iio: afe: iio-rescale: Simplify with dev_err_probe()

2020-08-28 Thread Peter Rosin
On 2020-08-28 09:03, Krzysztof Kozlowski wrote: > On Fri, 28 Aug 2020 at 08:58, Peter Rosin wrote: I'm not a huge fan of adding *one* odd line breaking the 80 column recommendation to any file. I like to be able to fit multiple windows side by side in a meaningful way. Also, I

Re: [PATCH] MAINTAINERS: Move Hartmut Knaack to Credits

2020-08-28 Thread Krzysztof Kozlowski
On Fri, Aug 28, 2020 at 12:30:18PM +0300, Andy Shevchenko wrote: > > > > > > Cc: Hartmut Knaack > > > > > > ...and this?! > > > > Since email is not bouncing, he might still receive it. > > Hmm... I'm a bit puzzled now. It seems gmx.net has some policies in > places that make my replies to your

Re: [PATCH v2 09/18] iio: afe: iio-rescale: Simplify with dev_err_probe()

2020-08-28 Thread Peter Rosin
On 2020-08-28 10:25, Andy Shevchenko wrote: > On Fri, Aug 28, 2020 at 12:46 AM Peter Rosin wrote: >> On 2020-08-27 21:26, Krzysztof Kozlowski wrote: > > ... > >> I'm not a huge fan of adding *one* odd line breaking the 80 column >> recommendation to any file. I like to be able to fit multiple

Re: [PATCH v3 1/3] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-28 Thread Heikki Krogerus
On Thu, Aug 27, 2020 at 10:51:43PM +0800, ChiYuan Huang wrote: > Heikki Krogerus 於 2020年8月27日 週四 下午10:00寫道: > > > > On Thu, Aug 27, 2020 at 07:18:55PM +0800, cy_huang wrote: > > > From: ChiYuan Huang > > > > > > Mediatek MT6360 is a multi-functional IC that includes USB Type-C. > > > It works

Re: [RFC/RFT PATCH 2/6] arm64, numa: Change the numa init function name to be generic

2020-08-28 Thread Jonathan Cameron
On Fri, 14 Aug 2020 14:47:21 -0700 Atish Patra wrote: > As we are using generic numa implementation code, modify the init function > name to indicate that generic implementation. > > Signed-off-by: Atish Patra > --- > arch/arm64/mm/init.c | 4 ++-- > drivers/base/arch_numa.c | 8

Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges

2020-08-28 Thread Ulf Hansson
On Fri, 28 Aug 2020 at 11:22, Naresh Kamboju wrote: > > On Thu, 27 Aug 2020 at 17:06, Naresh Kamboju > wrote: > > > > On Thu, 27 Aug 2020 at 15:42, Viresh Kumar wrote: > > > > > > On 27-08-20, 11:48, Arnd Bergmann wrote: > > > > > > [3.680477] dev_pm_opp_put_clkname+0x30/0x58 > > > > > >

Re: [PATCH v7 3/3] ARM: dts: stm32: add initial support for stm32mp157-odyssey board

2020-08-28 Thread Alexandre Torgue
Hi Marcin, On 8/9/20 6:44 PM, Marcin Sloniewski wrote: Add support for Seeed Studio's stm32mp157c odyssey board. Board consists of SoM with stm32mp157c with 4GB eMMC and 512 MB DDR3 RAM and carrier board with USB and ETH interfaces, SD card connector, wifi and BT chip AP6236. In this patch

Re: [PATCH] MAINTAINERS: Move Hartmut Knaack to Credits

2020-08-28 Thread Andy Shevchenko
On Fri, Aug 28, 2020 at 12:00 PM Krzysztof Kozlowski wrote: > On Fri, Aug 28, 2020 at 11:20:58AM +0300, Andy Shevchenko wrote: > > On Thu, Aug 27, 2020 at 11:25 PM Krzysztof Kozlowski > > wrote: > > > > > > Hartmut Knaack was an active reviewer and contributor to the IIO > > > subsystem and

Re: [PATCH v1 4/5] seqlock: seqcount_LOCKTYPE_t: Introduce PREEMPT_RT support

2020-08-28 Thread Ahmed S. Darwish
On Fri, Aug 28, 2020 at 10:59:38AM +0200, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 03:07:09AM +0200, Ahmed S. Darwish wrote: > > +#define __SEQ_RT IS_ENABLED(CONFIG_PREEMPT_RT) > > + > > +SEQCOUNT_LOCKTYPE(raw_spinlock, raw_spinlock_t, false,s->lock, > > raw_spin,

Re: [PATCH] video: backlight: sky81452-backlight: Fix reference count imbalance on error

2020-08-28 Thread Lee Jones
On Thu, 20 Aug 2020, Daniel Thompson wrote: > On Thu, Aug 20, 2020 at 08:49:16AM +0100, Lee Jones wrote: > > On Thu, 20 Aug 2020, dinghao@zju.edu.cn wrote: > > > > > > On Thu, 20 Aug 2020, dinghao@zju.edu.cn wrote: > > > > > > > > > > On Wed, 19 Aug 2020, Markus Elfring wrote: > > > > >

Re: [PATCH 1/3] pinctrl: mcp23s08: Fixup mcp23x17 regmap_config

2020-08-28 Thread Andy Shevchenko
On Fri, Aug 28, 2020 at 11:06:21AM +0200, Linus Walleij wrote: > On Fri, Aug 14, 2020 at 12:04 PM Thomas Preston > wrote: > > > - Fix a typo where mcp23x17 configs are referred to as mcp23x16. > > - Fix precious range to include INTCAP{A,B}, which clear on read. > > - Fix precious range to

Re: [PATCH 09/10] sh: don't allow non-coherent DMA for NOMMU

2020-08-28 Thread Ulf Hansson
On Fri, 28 Aug 2020 at 06:24, Christoph Hellwig wrote: > > On Thu, Aug 27, 2020 at 10:11:53PM -0400, Rich Felker wrote: > > > This change broke SD card support on J2 because MMC_SPI spuriously > > > depends on HAS_DMA. It looks like it can be fixed just by removing > > > that dependency from

[PATCH V3] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-28 Thread Ming Mao
In the original process of dma_map/unmap pages for VFIO-devices, to make sure the pages are contiguous, we have to check them one by one. As a result, dma_map/unmap could spend a long time. Using the hugetlb pages, we can avoid this problem. All pages in hugetlb pages are contiguous.And the

[PATCH v4 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-28 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. usb typec: mt6360: Rename DT binding doument from mt6360 to mt636x Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73

[PATCH v4 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-28 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- v1 to v2 1. Add fix to Prevent the race condition from interrupt and tcpci port

[gustavoars-linux:for-linus/kspp] BUILD SUCCESS c165a08d2b2857c91c627039c4881f9d7ad1a3bd

2020-08-28 Thread kernel test robot
-a016-20200827 i386 randconfig-a015-20200827 i386 randconfig-a014-20200827 i386 randconfig-a013-20200828 i386 randconfig-a012-20200828 i386 randconfig-a011-20200828 i386 randconfig-a016-20200828 i386

Re: [PATCH v4 4/4] objtool: check: Use orc definition only when needed

2020-08-28 Thread Miroslav Benes
On Tue, 25 Aug 2020, Julien Thierry wrote: > Implementation of ORC requires some definitions that are currently > provided by the target architecture headers. Do not depend on these > definitions when the orc subcommand is not implemented. > > This avoid requiring arches with no orc

Re: [RFC/RFT PATCH 1/6] numa: Move numa implementation to common code

2020-08-28 Thread Jonathan Cameron
On Fri, 14 Aug 2020 14:47:20 -0700 Atish Patra wrote: > ARM64 numa implementation is generic enough that RISC-V can reuse that > implementation with very minor cosmetic changes. This will help both > ARM64 and RISC-V in terms of maintanace and feature improvement > > Move the numa

答复: 答复: [PATCH V2] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-28 Thread Maoming (maoming, Cloud Infrastructure Service Product Dept.)
On Wed, Aug 26, 2020 at 01:56:43PM +, Maoming (maoming, Cloud Infrastructure Service Product Dept.) wrote: > > + /* > > +* Unlike THP, the splitting should not happen for hugetlb pages. > > +* Since PG_reserved is not relevant for compound pages, and the pfn of > > +* PAGE_SIZE

答复: [PATCH V2] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-28 Thread Maoming (maoming, Cloud Infrastructure Service Product Dept.)
Hi, Thanks for taking a look. Some replies below: On Fri, 14 Aug 2020 10:37:29 +0800 Ming Mao wrote: > In the original process of pinning/unpinning pages for VFIO-devices, > to make sure the pages are contiguous, we have to check them one by one. > As a result, dma_map/unmap could spend a

Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges

2020-08-28 Thread Naresh Kamboju
On Thu, 27 Aug 2020 at 17:06, Naresh Kamboju wrote: > > On Thu, 27 Aug 2020 at 15:42, Viresh Kumar wrote: > > > > On 27-08-20, 11:48, Arnd Bergmann wrote: > > > > > [3.680477] dev_pm_opp_put_clkname+0x30/0x58 > > > > > [3.683431] sdhci_msm_probe+0x284/0x9a0 > > > > > >

Re: [PATCH 3/3] drm/vc4: hdmi: Add pixel bvb clock control

2020-08-28 Thread Dave Stevenson
Hi Stefan & Hoegeun On Wed, 26 Aug 2020 at 11:04, Stefan Wahren wrote: > > Hi Hoeguen, > > Am 21.08.20 um 09:10 schrieb Hoegeun Kwon: > > There is a problem that the output does not work at a resolution > > exceeding FHD. To solve this, we need to adjust the bvb clock at a > > resolution

Re: [PATCH] ext4: Fix memleak in add_new_gdb

2020-08-28 Thread Jan Kara
On Thu 27-08-20 14:28:43, Dinghao Liu wrote: > When ext4_journal_get_write_access() fails, we should release > n_group_desc, iloc.bh, dind and gdb_bh to prevent memleak. > It's the same when ext4_handle_dirty_super() fails, but we > don't need to release dind here because it has been released >

Re: [PATCH 1/1] mfd: khadas-mcu: Fix randconfig 'unused-const-variable' warning

2020-08-28 Thread Neil Armstrong
Hi Lee, On 28/08/2020 10:50, Lee Jones wrote: > When testing with !OF, the build system reports: > >>> drivers/mfd/khadas-mcu.c:125:34: warning: unused variable >>> 'khadas_mcu_of_match' [-Wunused-const-variable] >static const struct of_device_id khadas_mcu_of_match[] = { >

[rcu:rcu/next] BUILD SUCCESS 417ea89c28ab7b3694c14ba851b483bbe443c8a7

2020-08-28 Thread kernel test robot
randconfig-a001-20200827 x86_64 randconfig-a005-20200827 x86_64 randconfig-a006-20200827 x86_64 randconfig-a004-20200827 i386 randconfig-a002-20200828 i386 randconfig-a005-20200828 i386 randconfig-a003-20200828 i386

Re: [RFC][PATCH 7/7] kprobes: Replace rp->free_instance with freelist

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 06:13:41PM +0900, Masami Hiramatsu wrote: > On Fri, 28 Aug 2020 10:48:51 +0200 > pet...@infradead.org wrote: > > > On Thu, Aug 27, 2020 at 06:12:44PM +0200, Peter Zijlstra wrote: > > > struct kretprobe_instance { > > > union { > > > + /* > > > + * Dodgy

Re: [PATCH] MAINTAINERS: orphan sections with qlogic.com group alias

2020-08-28 Thread Roman Bolshakov
//lore.kernel.org/linux-spdx/alpine.DEB.2.21.2008270740140.31123@felia > > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Lukas Bulwahn > --- > applies cleanly on current master and next-20200828 > > James, Martin, please pick this minor non-urgent patch. > > Anil,

[PATCH v11 0/4] Add a glossary for the media subsystem

2020-08-28 Thread Mauro Carvalho Chehab
There are too many technical terms at the media subsystem, and sometimes the same thing is refered differently at the documentation and on the ML and IRC discussions. Let's add a glossary to the uAPI documentation, in order to start using a common vocabulary at the subsystem's discussion and to

[PATCH v11 4/4] media: open.rst: document mc-centric and video-node-centric

2020-08-28 Thread Mauro Carvalho Chehab
When we added support for omap3, back in 2010, we added a new type of V4L2 devices that aren't fully controlled via the V4L2 device node. Yet, we have never clearly documented in the V4L2 specification the differences between the two types. Let's document them based on the the current

[PATCH v11 1/4] media: open.rst: better document device node naming

2020-08-28 Thread Mauro Carvalho Chehab
Right now, only kAPI documentation describes the device naming. However, such description is needed at the uAPI too. Add it, and describe how to get an unique identifier for a given device. Acked-by: Hans Verkuil Reviewed-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab ---

[PATCH v11 2/4] media: open.rst: remove the minor number range

2020-08-28 Thread Mauro Carvalho Chehab
minor numbers use to range between 0 to 255, but that was changed a long time ago. While it still applies when CONFIG_VIDEO_FIXED_MINOR_RANGES, when the minor number is dynamically allocated, this may not be true. In any case, this is not relevant, as udev will take care of it. So, remove this

[PATCH v11 3/4] media: docs: add glossary.rst with common terms used at V4L2 spec

2020-08-28 Thread Mauro Carvalho Chehab
Add a glossary of terms used within the media userspace API documentation, as several concepts are complex enough to cause misunderstandings. Signed-off-by: Mauro Carvalho Chehab --- .../userspace-api/media/glossary.rst | 216 ++

Re: [PATCH] mmc: sdhci-msm: When dev_pm_opp_of_add_table() returns 0 it's not an error

2020-08-28 Thread Naresh Kamboju
On Fri, 28 Aug 2020 at 01:57, Naresh Kamboju wrote: > > On Thu, 27 Aug 2020 at 21:03, Douglas Anderson wrote: > > > > The commit d05a7238fe1c ("mmc: sdhci-msm: Unconditionally call > > dev_pm_opp_of_remove_table()") works fine in the case where there is > > no OPP table. However, if there is an

Re: [PATCH v6 2/2] mfd: ene-kb3930: Add driver for ENE KB3930 Embedded Controller

2020-08-28 Thread Lee Jones
On Fri, 10 Jul 2020, Lubomir Rintel wrote: > This driver provides access to the EC RAM of said embedded controller > attached to the I2C bus as well as optionally supporting its slightly weird > power-off/restart protocol. > > A particular implementation of the EC firmware can be identified by a

Re: [RFC/RFT PATCH 1/6] numa: Move numa implementation to common code

2020-08-28 Thread Jonathan Cameron
On Fri, 21 Aug 2020 14:58:22 -0700 Atish Patra wrote: > On Wed, Aug 19, 2020 at 8:20 PM Anshuman Khandual > wrote: > > > > > > > > On 08/20/2020 12:48 AM, Atish Patra wrote: > > > On Tue, Aug 18, 2020 at 8:19 PM Anshuman Khandual > > > wrote: > > >> > > >> > > >> > > >> On 08/15/2020 03:17

Re: [PATCH v6 1/2] dt-bindings: mfd: Add ENE KB3930 Embedded Controller binding

2020-08-28 Thread Lee Jones
On Fri, 10 Jul 2020, Lubomir Rintel wrote: > Add binding document for the ENE KB3930 Embedded Controller. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > > --- > Changes since v5: > - s/a I2C bus/an I2C bus/ > > Changes since v4: > - Collected Rob's Reviewed-by > > Changes

Re: [RFC][PATCH 7/7] kprobes: Replace rp->free_instance with freelist

2020-08-28 Thread Masami Hiramatsu
On Fri, 28 Aug 2020 10:48:51 +0200 pet...@infradead.org wrote: > On Thu, Aug 27, 2020 at 06:12:44PM +0200, Peter Zijlstra wrote: > > struct kretprobe_instance { > > union { > > + /* > > +* Dodgy as heck, this relies on not clobbering freelist::refs. > > +*

Re: [PATCH V2] dt-bindings: gpio: Convert vf610 to json-schema

2020-08-28 Thread Linus Walleij
Hi Rob, On Tue, Aug 18, 2020 at 4:12 AM Rob Herring wrote: > On Wed, 12 Aug 2020 15:52:21 +0800, Anson Huang wrote: > > Convert the vf610 gpio binding to DT schema format using json-schema. > > > > Signed-off-by: Anson Huang > > --- > > changes since V1: > > - fix reg property to pass

Re: [PATCH] ARM: dts: stm32: lxa-mc1: Fix kernel warning about PHY delays

2020-08-28 Thread Alexandre Torgue
Hi Holger On 8/7/20 5:03 PM, Holger Assmann wrote: The KSZ9031 PHY skew timings for rxc/txc, originally set to achieve the desired phase shift between clock- and data-signal, now trigger a kernel warning when used in rgmii-id mode: *-skew-ps values should be used only with phy-mode = "rgmii"

Re: [PATCH v4 2/4] objtool: Move orc outside of check

2020-08-28 Thread Miroslav Benes
On Tue, 25 Aug 2020, Julien Thierry wrote: > Now that the objtool_file can be obtained outside of the check function, > orc generation builtin no longer requires check to explicitly call its > orc related functions. > > Signed-off-by: Julien Thierry Reviewed-by: Miroslav Benes M

Re: Some questions about the patching process

2020-08-28 Thread Qiushi Wu
On Fri, Aug 28, 2020 at 3:25 AM Greg Kroah-Hartman wrote: > > On Fri, Aug 28, 2020 at 02:59:25AM -0500, Qiushi Wu wrote: > > Hi Greg, > > Thanks for your response! > > > > > You responded in html format which got rejected by the public list, > > > please resend in text-only and I will be glad to

Re: [PATCH v3 12/19] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8 compatible matching

2020-08-28 Thread Krzysztof Kozlowski
On Fri, Aug 28, 2020 at 10:45:40AM +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 21:37, Krzysztof Kozlowski wrote: > > > > The i.MX 8 DTSes use two compatibles so update the binding to fix > > dtbs_check warnings like: > > > > arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: mmc@30b4:

Re: [PATCH 3/3] drm/vc4: hdmi: Add pixel bvb clock control

2020-08-28 Thread Maxime Ripard
Hi Stefan, On Thu, Aug 27, 2020 at 11:49:34AM +0200, Stefan Wahren wrote: > Am 27.08.20 um 06:35 schrieb Hoegeun Kwon: > > Hi Stefan, > > > > Thank you for your review. > > > > > > On 8/26/20 7:04 PM, Stefan Wahren wrote: > >> Hi Hoeguen, > >> > >> Am 21.08.20 um 09:10 schrieb Hoegeun Kwon: > >>>

Re: [PATCH v10 3/4] media: docs: add glossary.rst with common terms used at V4L2 spec

2020-08-28 Thread Mauro Carvalho Chehab
Em Thu, 27 Aug 2020 14:08:11 +0300 Sakari Ailus escreveu: > > +MC-centric > > + :term:`V4L2 hardware` that requires a :term:`MC API`. > > + > > + Such hardware have ``V4L2_CAP_IO_MC`` device_caps field set > > + (see :ref:`VIDIOC_QUERYCAP`). > > + > > + See

Re: [PATCH 2/2] ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions

2020-08-28 Thread Krzysztof Kozlowski
On Fri, Aug 28, 2020 at 10:50:33AM +0200, Sylwester Nawrocki wrote: > On 28.08.2020 08:48, Krzysztof Kozlowski wrote: > >> diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c > >> index b3ba053..fc9ea19 100644 > >> --- a/sound/soc/codecs/wm8994.c > >> +++ b/sound/soc/codecs/wm8994.c

Re: [PATCH v3] PCI: Introduce flag for detached virtual functions

2020-08-28 Thread Niklas Schnelle
On 8/27/20 10:33 PM, Bjorn Helgaas wrote: > On Thu, Aug 27, 2020 at 01:17:48PM -0600, Alex Williamson wrote: >> On Thu, 27 Aug 2020 13:31:38 -0500 >> Bjorn Helgaas wrote: >> >>> Re the subject line, this patch does a lot more than just "introduce a >>> flag"; AFAICT it actually enables important

Re: [PATCH v2 1/3] platform/x86: Add Intel Input Output Manager (IOM) driver

2020-08-28 Thread Heikki Krogerus
Hi Greg, On Fri, Aug 28, 2020 at 09:43:59AM +0200, Greg Kroah-Hartman wrote: > I still find this crazy that a whole separate driver is created just to > read a single 32bit value. > > Why not put this logic in the driver that wants to read that value? > That would be much simpler, smaller, and

Re: [PATCH] aio: make aio wait path to account iowait time

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 02:07:12PM +0800, Xianting Tian wrote: > As the normal aio wait path(read_events() -> > wait_event_interruptible_hrtimeout()) doesn't account iowait time, so use > this patch to make it to account iowait time, which can truely reflect > the system io situation when using a

Re: [PATCH 1/3] pinctrl: mcp23s08: Fixup mcp23x17 regmap_config

2020-08-28 Thread Linus Walleij
On Fri, Aug 14, 2020 at 12:04 PM Thomas Preston wrote: > - Fix a typo where mcp23x17 configs are referred to as mcp23x16. > - Fix precious range to include INTCAP{A,B}, which clear on read. > - Fix precious range to include GPIOB, which clears on read. > - Fix volatile range to include GPIOB, to

Re: [RFC PATCH kernel] serial_core: Check for port state when tty is in error state

2020-08-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 10:43:59PM +1000, Alexey Kardashevskiy wrote: > At the moment opening a serial device node (such as /dev/ttyS3) > succeeds even if there is no actual serial device behind it. > Reading/writing/ioctls (most) expectantly fail as the uart port is not > initialized (the type is

[PATCH] x86, fakenuma: Fix invalid starting node ID

2020-08-28 Thread Huang Ying
Commit cc9aec03e58f ("x86/numa_emulation: Introduce uniform split capability") uses "-1" as the starting node ID, which causes the strange kernel log as following, when "numa=fake=32G" is added to the kernel command line. Faking node -1 at [mem 0x-0x000893ff] (35136MB)

Re: [RFC][PATCH 3/7] kprobes: Remove kretprobe hash

2020-08-28 Thread Masami Hiramatsu
On Fri, 28 Aug 2020 03:00:59 +0900 Masami Hiramatsu wrote: > On Thu, 27 Aug 2020 18:12:40 +0200 > Peter Zijlstra wrote: > > > +static void invalidate_rp_inst(struct task_struct *t, struct kretprobe *rp) > > +{ > > + struct invl_rp_ipi iri = { > > + .task = t, > > + .rp =

Re: [PATCH] fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set

2020-08-28 Thread Li, Hao
On 2020/8/28 8:35, Dave Chinner wrote: > On Thu, Aug 27, 2020 at 05:58:07PM +0800, Li, Hao wrote: >> On 2020/8/27 14:37, Dave Chinner wrote: >>> On Fri, Aug 21, 2020 at 09:59:53AM +0800, Hao Li wrote: Currently, DCACHE_REFERENCED prevents the dentry with DCACHE_DONTCACHE set from being

Re: [PATCH] MAINTAINERS: Move Hartmut Knaack to Credits

2020-08-28 Thread Krzysztof Kozlowski
On Fri, Aug 28, 2020 at 11:20:58AM +0300, Andy Shevchenko wrote: > On Thu, Aug 27, 2020 at 11:25 PM Krzysztof Kozlowski wrote: > > > > Hartmut Knaack was an active reviewer and contributor to the IIO > > subsystem and drivers. However last message on LKML from him was sent > > in October 2015. >

[PATCH v2] sched/debug: Add new tracepoint to track cpu_capacity

2020-08-28 Thread vincent . donnefort
From: Vincent Donnefort rq->cpu_capacity is a key element in several scheduler parts, such as EAS task placement and load balancing. Tracking this value enables testing and/or debugging by a toolkit. Signed-off-by: Vincent Donnefort diff --git a/include/linux/sched.h b/include/linux/sched.h

RE: [RFC PATCH v2] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-08-28 Thread Al Grant
Hi Mathieu and CS maintainers, > Hi Liu, > > On Wed, Aug 19, 2020 at 04:06:37PM +0800, Qi Liu wrote: > > When too much trace information is generated on-chip, the ETM will > > overflow, and cause data loss. This is a common phenomenon on ETM > > devices. > > > > But sometimes we do not want to

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-28 Thread Kalle Valo
Ondrej Zary writes: > On Thursday 27 August 2020 09:49:12 Kalle Valo wrote: >> Ondrej Zary writes: >> >> > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: >> >> On Mon, 17 Aug 2020 16:27:01 +0300 >> >> Kalle Valo wrote: >> >> >> >> > I was surprised to see that someone was using

Re: [PATCH v1 4/5] seqlock: seqcount_LOCKTYPE_t: Introduce PREEMPT_RT support

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:07:09AM +0200, Ahmed S. Darwish wrote: > +#define __SEQ_RT IS_ENABLED(CONFIG_PREEMPT_RT) > + > +SEQCOUNT_LOCKTYPE(raw_spinlock, raw_spinlock_t, false,s->lock, > raw_spin, raw_spin_lock(s->lock)) > +SEQCOUNT_LOCKTYPE(spinlock, spinlock_t,

Re: [PATCH v1 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-08-28 Thread Ahmed S. Darwish
On Fri, Aug 28, 2020 at 10:27:54AM +0200, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 03:07:07AM +0200, Ahmed S. Darwish wrote: > > Differentiate the first group by using "__seqcount_t_" as prefix. This > > also conforms with the rest of seqlock.h naming conventions. > > > #define

Re: [PATCH v1 4/5] seqlock: seqcount_LOCKTYPE_t: Introduce PREEMPT_RT support

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:07:09AM +0200, Ahmed S. Darwish wrote: > +/* > + * Automatically disable preemption for seqcount_LOCKTYPE_t writers, if the > + * associated lock does not implicitly disable preemption. > + * > + * Don't do it for PREEMPT_RT. Check __SEQ_LOCK(). > + */ > +#define

[GIT PULL] MFD fixes for v5.9

2020-08-28 Thread Lee Jones
Good morning Linus, The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-5.9 for you to fetch changes up to

Re: [PATCH] aio: make aio wait path to account iowait time

2020-08-28 Thread Jan Kara
On Fri 28-08-20 14:07:12, Xianting Tian wrote: > As the normal aio wait path(read_events() -> > wait_event_interruptible_hrtimeout()) doesn't account iowait time, so use > this patch to make it to account iowait time, which can truely reflect > the system io situation when using a tool like 'top'.

[PATCH 5/5] KVM: nVMX: Simplify the initialization of nested_vmx_msrs

2020-08-28 Thread Chenyi Qiang
The nested VMX controls MSRs can be initialized by the global capability values stored in vmcs_config. Signed-off-by: Chenyi Qiang Reviewed-by: Xiaoyao Li --- arch/x86/kvm/vmx/vmx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx/vmx.c

[PATCH 2/5] KVM: nVMX: Verify the VMX controls MSRs with the global capability when setting VMX MSRs

2020-08-28 Thread Chenyi Qiang
When setting the nested VMX MSRs, verify it with the values in vmcs_config.nested_vmx_msrs, which reflects the global capability of VMX controls MSRs. Signed-off-by: Chenyi Qiang --- arch/x86/kvm/vmx/nested.c | 71 --- 1 file changed, 51 insertions(+), 20

[PATCH 4/5] KVM: nVMX: Fix the update value of nested load IA32_PERF_GLOBAL_CTRL control

2020-08-28 Thread Chenyi Qiang
A minor fix for the update of VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL field in exit_ctls_high. Fixes: 03a8871add95 ("KVM: nVMX: Expose load IA32_PERF_GLOBAL_CTRL VM-{Entry,Exit} control") Signed-off-by: Chenyi Qiang Reviewed-by: Xiaoyao Li --- arch/x86/kvm/vmx/nested.c | 2 +- 1 file changed, 1

[PATCH 3/5] KVM: nVMX: Update VMX controls MSR according to guest CPUID after setting VMX MSRs

2020-08-28 Thread Chenyi Qiang
Update the fields (i.e. VM_{ENTRY_LOAD, EXIT_CLEAR}_BNDCFGS and VM_{ENTRY, EXIT}_LOAD_IA32_PERF_GLOBAL_CTRL) in nested MSR_IA32_VMX_TRUE_{ENTRY, EXIT}_CTLS according to guest CPUID when user space initializes the features MSRs. Regardless of the order of SET_CPUID and SET_MSRS from the user space,

[PATCH 1/5] KVM: nVMX: Fix VMX controls MSRs setup when nested VMX enabled

2020-08-28 Thread Chenyi Qiang
KVM supports the nested VM_{EXIT, ENTRY}_LOAD_IA32_PERF_GLOBAL_CTRL and VM_{ENTRY_LOAD, EXIT_CLEAR}_BNDCFGS, but they doesn't expose during the setup of nested VMX controls MSR. Signed-off-by: Chenyi Qiang --- arch/x86/kvm/vmx/nested.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[PATCH 0/5] Fix nested VMX controls MSRs

2020-08-28 Thread Chenyi Qiang
The first three patches fix a issue for the nested VMX controls MSRs. The issue happens when I use QEMU to run nested VM. The VM_{ENTRY, EXIT}_LOAD_IA32_PERF_GLOBAL_CTRL and VM_{ENTRY_LOAD, EXIT_CLEAR}_BNDCFGS in L1 MSR_IA32_VMX_TRUE_{ENTRY, EXIT}_CTLS MSR are always cleared regardless of whether

[PATCH] sparse: use static inline for __chk_{user,io}_ptr()

2020-08-28 Thread Luc Van Oostenryck
__chk_user_ptr() & __chk_io_ptr() are dummy extern functions which only exist to enforce the typechecking of __user or __iomem pointers in macros when using sparse. This typechecking is done by inserting a call to these functions. But the presence of these calls can inhibit some simplifications

Re: [PATCH] mmc: sdhci-msm: Enable restore_dll_config flag for sc7180 target

2020-08-28 Thread Ulf Hansson
On Thu, 27 Aug 2020 at 17:22, Veerabhadrarao Badiganti wrote: > > On sc7180 target, issues are observed with HS400 mode due to a > hardware limitation. If sdcc clock is dynamically gated and ungated, > the very next command is failing with command CRC/timeout errors. > > To mitigate this issue,

Re: [PATCH 2/2] ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions

2020-08-28 Thread Sylwester Nawrocki
On 28.08.2020 08:48, Krzysztof Kozlowski wrote: >> diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c >> index b3ba053..fc9ea19 100644 >> --- a/sound/soc/codecs/wm8994.c >> +++ b/sound/soc/codecs/wm8994.c >> @@ -3514,6 +3514,8 @@ int wm8994_mic_detect(struct snd_soc_component >>

[PATCH 1/1] mfd: khadas-mcu: Fix randconfig 'unused-const-variable' warning

2020-08-28 Thread Lee Jones
When testing with !OF, the build system reports: >> drivers/mfd/khadas-mcu.c:125:34: warning: unused variable >> 'khadas_mcu_of_match' [-Wunused-const-variable] static const struct of_device_id khadas_mcu_of_match[] = { ^ Cc: Neil Armstrong Reported-by:

Re: [PATCH] MIPS: perf: Fix wrong check condition of Loongson event IDs

2020-08-28 Thread Huacai Chen
Hi, Pei, On Thu, Aug 27, 2020 at 4:05 PM Tiezhu Yang wrote: > > According to the user's manual chapter 8.2.1 of Loongson 3A2000 CPU [1] > and 3A3000 CPU [2], we should take some event IDs such as 274, 358, 359 > and 360 as valid in the check condition, otherwise they are recognized > as "not

Re: [RFC][PATCH 7/7] kprobes: Replace rp->free_instance with freelist

2020-08-28 Thread peterz
On Thu, Aug 27, 2020 at 06:12:44PM +0200, Peter Zijlstra wrote: > struct kretprobe_instance { > union { > + /* > + * Dodgy as heck, this relies on not clobbering freelist::refs. > + * llist: only clobbers freelist::next. > + * rcu: clobbers

Re: [PATCH v3 12/19] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8 compatible matching

2020-08-28 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 21:37, Krzysztof Kozlowski wrote: > > The i.MX 8 DTSes use two compatibles so update the binding to fix > dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: mmc@30b4: > compatible: ['fsl,imx8mn-usdhc', 'fsl,imx7d-usdhc'] is too long >

Re: [PATCH v7 0/7] Fix timeout clock used by hardware data timeout

2020-08-28 Thread Ulf Hansson
On Thu, 27 Aug 2020 at 19:21, Sowjanya Komatineni wrote: > > Tegra210/Tegra186/Tegra194 has incorrectly enabled > SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK from the beginning of their support. > > Tegra210 and later SDMMC hardware default uses sdmmc_legacy_tm (TMCLK) > all the time for hardware data

Re: [PATCH RFC] mmc: sdhci-msm: enable compile-testing on !ARM

2020-08-28 Thread Ulf Hansson
On Mon, 24 Aug 2020 at 19:20, Alex Dewar wrote: > > There seems to be no particular reason to only test for ARM, so allow > for build-testing on other platforms to increase coverage. Agree. > > Build-tested on x86 with allyesconfig. > > Signed-off-by: Alex Dewar I have applied this for next,

Re: [PATCH V2 4/8] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-08-28 Thread Ulf Hansson
On Fri, 28 Aug 2020 at 08:08, Viresh Kumar wrote: > > dev_pm_opp_of_remove_table() doesn't report any errors when it fails to > find the OPP table with error -ENODEV (i.e. OPP table not present for > the device). And we can call dev_pm_opp_of_remove_table() > unconditionally here. > >

Re: [RFC][PATCH 3/7] kprobes: Remove kretprobe hash

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:00:59AM +0900, Masami Hiramatsu wrote: > On Thu, 27 Aug 2020 18:12:40 +0200 > Peter Zijlstra wrote: > > > +static void invalidate_rp_inst(struct task_struct *t, struct kretprobe *rp) > > +{ > > + struct invl_rp_ipi iri = { > > + .task = t, > > +

Re: [PATCH] mmc: sd: Use kobj_to_dev() instead of container_of()

2020-08-28 Thread Ulf Hansson
On Mon, 24 Aug 2020 at 03:04, Tian Tao wrote: > > Use kobj_to_dev() instead of container_of() > > Signed-off-by: Tian Tao Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/core/sd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/core/sd.c

Re: [PATCH v2] mmc: sdhci_am654: Add workaround for card detect debounce timer

2020-08-28 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 19:00, Faiz Abbas wrote: > > There is a one time delay because of a card detect debounce timer in the > controller IP. This timer runs as soon as power is applied to the module > regardless of whether a card is present or not and any writes to > SDHCI_POWER_ON will return 0

Re: [PATCH] mmc: sdhci-msm: When dev_pm_opp_of_add_table() returns 0 it's not an error

2020-08-28 Thread Ulf Hansson
On Fri, 28 Aug 2020 at 07:09, Viresh Kumar wrote: > > On 27-08-20, 08:33, Douglas Anderson wrote: > > The commit d05a7238fe1c ("mmc: sdhci-msm: Unconditionally call > > dev_pm_opp_of_remove_table()") works fine in the case where there is > > no OPP table. However, if there is an OPP table then >

Re: [PATCH mmc-next] dt-bindings: mmc: Fix mmc node name in DT example

2020-08-28 Thread Ulf Hansson
On Wed, 26 Aug 2020 at 15:01, Lars Povlsen wrote: > > This changes the "mmc0@60080" node name to "mmc@60080" to be > compliant with devicetree naming rules. > > Signed-off-by: Lars Povlsen Applied, but squashing this into the original commit, thanks! Kind regards Uffe > --- >

Re: [v5,2/3] arm64: dts: mt7622: add reset node for mmc device

2020-08-28 Thread Ulf Hansson
On Thu, 27 Aug 2020 at 10:23, Matthias Brugger wrote: > > > > On 24/08/2020 11:50, Ulf Hansson wrote: > > On Fri, 14 Aug 2020 at 03:44, Wenbin Mei wrote: > >> > >> This commit adds reset node for mmc device. > >> > >> Cc: # v5.4+ > >> Fixes: 966580ad236e ("mmc: mediatek: add support for MT7622

[PATCH] dmaengine: Remove unused define for dma_request_slave_channel_reason()

2020-08-28 Thread Peter Ujfalusi
No users left in the kernel, it can be removed. Signed-off-by: Peter Ujfalusi --- include/linux/dmaengine.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 6fbd5c99e30c..011371b7f081 100644 --- a/include/linux/dmaengine.h +++

Re: [PATCH v6 1/6] i2c: Allow an ACPI driver to manage the device's power state during probe

2020-08-28 Thread Wolfram Sang
Hi Sakari, On Wed, Aug 26, 2020 at 02:54:27PM +0300, Sakari Ailus wrote: > Enable drivers to tell ACPI that there's no need to power on a device for > probe. Drivers should still perform this by themselves if there's a need > to. In some cases powering on the device during probe is undesirable,

Re: [PATCH v1 3/5] seqlock: seqcount_t: Implement all read APIs as statement expressions

2020-08-28 Thread Ahmed S. Darwish
On Fri, Aug 28, 2020 at 10:30:22AM +0200, pet...@infradead.org wrote: > On Fri, Aug 28, 2020 at 03:07:08AM +0200, Ahmed S. Darwish wrote: > > #define __read_seqcount_begin(s) \ > > +({ \ > > +

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-08-28 Thread Laurentiu Palcu
Hi Lucas, I was wondering about the plans to merge this series. Since not many people can test it properly due to lack of DCSS support in the upstream NWL driver (which I heard it's coming soon) and a completely nonexistent HDP driver, are we going to take a leap of faith and merge it as is? Or

Re: [PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-28 Thread Mauro Carvalho Chehab
Em Thu, 27 Aug 2020 13:36:28 -0700 Steve deRosier escreveu: > Hi Mauro, > > On Thu, Aug 27, 2020 at 10:42 AM Mauro Carvalho Chehab > wrote: > > > > Em Thu, 27 Aug 2020 08:48:30 -0700 > > Steve deRosier escreveu: > > > > > On Tue, Aug 25, 2020 at 10:49 PM Mauro Carvalho Chehab > > > wrote:

Re: [PATCH v1 3/5] seqlock: seqcount_t: Implement all read APIs as statement expressions

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:07:08AM +0200, Ahmed S. Darwish wrote: > #define __read_seqcount_begin(s) \ > +({ \ > + unsigned seq; \ > +

Re: [PATCH v5 13/36] PM / devfreq: tegra30: Use MC timings for building OPP table

2020-08-28 Thread Dmitry Osipenko
28.08.2020 04:47, Chanwoo Choi пишет: > Hi, ... >> Hence the NULL-checking is unnecessary. >> >> When I first encountered the of_device_get_match_data(), I was also >> thinking that adding the NULL-checks is a good idea, but later on >> somebody pointed out to me (maybe Thierry) that it's

Re: [PATCH v1 2/5] seqlock: Use unique prefix for seqcount_t property accessors

2020-08-28 Thread peterz
On Fri, Aug 28, 2020 at 03:07:07AM +0200, Ahmed S. Darwish wrote: > Differentiate the first group by using "__seqcount_t_" as prefix. This > also conforms with the rest of seqlock.h naming conventions. > #define __seqprop_case(s, locktype, prop)\ >

Re: [PATCH] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-28 Thread Jan Kiszka
On 28.08.20 09:47, Vignesh Raghavendra wrote: > Buffers need to mapped to DMA channel's device pointer instead of SPI > controller's device pointer as its system DMA that actually does data > transfer. > Data inconsistencies have been reported when reading from flash > without this fix. > >

Re: Some questions about the patching process

2020-08-28 Thread Greg Kroah-Hartman
On Fri, Aug 28, 2020 at 02:59:25AM -0500, Qiushi Wu wrote: > Hi Greg, > Thanks for your response! > > > You responded in html format which got rejected by the public list, > > please resend in text-only and I will be glad to reply. > > > Sorry about this! > > > > > 1. Linux allows anyone to

<    4   5   6   7   8   9   10   11   >