Re: [PATCH] riscv: kbuild: drop CONFIG_RISCV_ISA_C

2019-08-12 Thread Christoph Hellwig
On Tue, Aug 13, 2019 at 12:18:22AM +0200, Charles Papon wrote: > > Because it it the unix platform baseline as stated in the patch. > I know that, but i'm looking for arguments why RVC could't be kept as > an option, especialy it is only an optimisation option without > behavioral/code changes. >

Re: Bad file pattern in MAINTAINERS section 'KEYS-TRUSTED'

2019-08-12 Thread Denis Efremov
Hi All, Initially, I've prepared a patch and only after found this discussion. So, please, look at this patch no more than just a simple reminder that get_maintainers.pl still emits this warning. Thanks, Denis >8 Subject: [PATCH] MAINTAINERS: ke

Re: [PATCH] media: v4l: Add packed YUV444 24bpp pixel format

2019-08-12 Thread Hans Verkuil
Hi Mirela, On 7/3/19 5:15 PM, Mirela Rabulea wrote: > The added format is V4L2_PIX_FMT_YUV24, this is a packed > YUV 4:4:4 format, with 8 bits for each component, 24 bits > per sample. > > This format is used by the i.MX 8QuadMax and i.MX 8DualXPlus/8QuadXPlus > JPEG encoder/decoder. This patch

Re: [PATCH 2/2] ARM: dts: at91: sama5d27_som1_ek: add mmc capabilities for SDMMC0

2019-08-12 Thread Ludovic Desroches
On Mon, Aug 12, 2019 at 03:38:34PM +, eugen.hris...@microchip.com wrote: > On 09.08.2019 09:23, Ludovic Desroches wrote: > > On Thu, Aug 08, 2019 at 03:57:30PM +0300, Adrian Hunter wrote: > >> On 8/08/19 3:42 PM, Ludovic Desroches wrote: > >>> On Thu, Aug 08, 2019 at 10:35:43AM +0200, Eugen Hri

Re: [PATCH] MAINTAINERS: N900: Remove isp1704_charger.h record

2019-08-12 Thread Pali Rohár
On Tuesday 13 August 2019 09:13:58 Denis Efremov wrote: > Update MAINTAINERS to reflect that isp1704_charger.h file was removed. > > Cc: Linus Walleij > Cc: Pavel Machek > Cc: Pali Rohár > Cc: Sebastian Reichel > Cc: linux...@vger.kernel.org > Fixes: f5d782d46aa5 ("power: supply: isp1704: swit

Re: [PATCH] i2c/busses: Add i2c-icy for I2C on m68k/Amiga

2019-08-12 Thread Geert Uytterhoeven
Hi Max, On Tue, Aug 13, 2019 at 12:21 AM Max Staudt wrote: > On 08/12/2019 11:37 AM, Geert Uytterhoeven wrote: > >> + iowrite8(val, address); > > > > As this is on a Zorro bus, z_writeb()? > > I forgot to ask about this. > > What is the reasoning behind having a separate z_writeb() for Zorr

Re: [PATCH v5 03/11] media: uapi: h264: Add the concept of decoding mode

2019-08-12 Thread Hans Verkuil
On 8/12/19 9:35 PM, Ezequiel Garcia wrote: > From: Boris Brezillon > > Some stateless decoders don't support per-slice decoding granularity > (or at least not in a way that would make them efficient or easy to use). > > Expose a menu to control the supported decoding modes. Drivers are > allowed

[PATCHv5 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Xiaowei Bao
The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 is 32bit, BAR2 and BAR4 is 64bit, this is determined by hardware, so set the bar_fixed_64bit with 0x14. Signed-off-by: Xiaowei Bao --- v2: - Replace value 0x14 with a macro. v3: - No change. v4: - send the patch again with '--to

[PATCHv5 2/2] PCI: layerscape: Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately

2019-08-12 Thread Xiaowei Bao
Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately. Signed-off-by: Xiaowei Bao --- v2: - No change. v3: - modify the commit message. v4: - send the patch again with '--to'. v5: - No change. drivers/pci/controller/dwc/Kconfig | 20 ++-- drivers/pci/controller/dwc/Makefil

[RESEND PATCH] MAINTAINERS: dw axi dmac: Fix typo in a path

2019-08-12 Thread Denis Efremov
Fix typo (s/dwi-/dw-/) in the directory path. Cc: Eugeniy Paltsev Cc: Vinod Koul Cc: dmaeng...@vger.kernel.org Fixes: 1fe20f1b8454 ("dmaengine: Introduce DW AXI DMAC driver") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTA

Re: [PATCH v2] kbuild: Change fallthrough comments to attributes

2019-08-12 Thread Nathan Chancellor
re.kernel.org/lkml/61ddbb86d5e68a15e24ccb06d9b399bbf5ce2da7.ca...@perches.com/ I gave the script a go earlier today and it does a reasonable job at convering the comments to the fallthrough keyword. Here is a list of the warnings I still see in an x86 allyesconfig build with D64838 on next-201

[RESEND PATCH] MAINTAINERS: Update path to physmap-versatile.c

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change from physmap_of_versatile.c to physmap-versatile.c Cc: Boris Brezillon Cc: Ricardo Ribalda Delgado Cc: Linus Walleij Cc: linux-arm-ker...@lists.infradead.org Fixes: 6ca15cfa0788 ("mtd: maps: Rename physmap_of_{versatile, gemini} into phy

RE: [EXT] Re: [PATCHv4 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Xiaowei Bao
> -Original Message- > From: Kishon Vijay Abraham I > Sent: 2019年8月13日 12:36 > To: Xiaowei Bao ; lorenzo.pieral...@arm.com; > bhelg...@google.com; M.h. Lian ; Mingkai Hu > ; Roy Zang ; > l.st...@pengutronix.de; tpie...@impinj.com; Leonard Crestez > ; andrew.smir...@gmail.com; > yue.w...@

Re: [PATCH] bus: ti-sysc: Remove if-block in sysc_check_children()

2019-08-12 Thread Tony Lindgren
* Roger Quadros [190813 06:26]: > None of those functions return anything. > Maybe you can fix sysc_check_one_child() to return void? > I think you can retain your patch but get rid of error variable. Makes sense to me. Regards, Tony

Re: [PATCH] bus: ti-sysc: Remove if-block in sysc_check_children()

2019-08-12 Thread Roger Quadros
On 13/08/2019 07:35, Nishka Dasgupta wrote: > On 08/08/19 7:25 PM, Roger Quadros wrote: >> Nishka, >> >> On 08/08/2019 10:40, Nishka Dasgupta wrote: >>> In function sysc_check_children, there is an if-statement checking >>> whether the value returned by function sysc_check_one_child is non-zero.

[PATCH] MAINTAINERS: Remove FMC subsystem

2019-08-12 Thread Denis Efremov
Cleanup MAINTAINERS from FMC record since the subsystem was removed. Cc: Linus Walleij Cc: Federico Vaga Cc: Pat Riehecky Fixes: 6a80b30086b8 ("fmc: Delete the FMC subsystem") Signed-off-by: Denis Efremov --- MAINTAINERS | 9 - 1 file changed, 9 deletions(-) diff --git a/MAINTAINERS

[PATCH] MAINTAINERS: Remove zoran driver

2019-08-12 Thread Denis Efremov
Cleanup MAINTAINERS from zoran record since the driver was removed. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: linux-me...@vger.kernel.org Fixes: 8dce4b265a53 ("media: zoran: remove deprecated driver") Signed-off-by: Denis Efremov --- MAINTAINERS | 8 1 file changed, 8 deletions(-

Re: [PATCH] MAINTAINERS: altera-sysmgr: Fix typo in a filepath

2019-08-12 Thread Lee Jones
On Tue, 13 Aug 2019, Denis Efremov wrote: > Fix typo (s/sysgmr/sysmgr/) in the header filepath. > > Cc: Thor Thayer > Cc: Arnd Bergmann > Cc: Lee Jones > Fixes: f36e789a1f8d ("mfd: altera-sysmgr: Add SOCFPGA System Manager") > Signed-off-by: Denis Efremov > --- > MAINTAINERS | 2 +- > 1 file

[PATCH] MAINTAINERS: PHY LIBRARY: Remove sysfs-bus-mdio record

2019-08-12 Thread Denis Efremov
Update MAINTAINERS to reflect that sysfs-bus-mdio documentation was removed. Cc: Florian Fainelli Cc: David S. Miller Cc: Andrew Lunn Cc: Heiner Kallweit Cc: net...@vger.kernel.org Fixes: a6cd0d2d493a ("Documentation: net-sysfs: Remove duplicate PHY device documentation") Signed-off-by: Denis

[PATCH] MAINTAINERS: iomap: Remove fs/iomap.c record

2019-08-12 Thread Denis Efremov
Update MAINTAINERS to reflect that fs/iomap.c file was splitted into separate files in fs/iomap/ Cc: Darrick J. Wong Cc: Christoph Hellwig Cc: linux-fsde...@vger.kernel.org Fixes: cb7181ff4b1c ("iomap: move the main iteration code into a separate file") Signed-off-by: Denis Efremov --- MAINTAI

[PATCH] MAINTAINERS: N900: Remove isp1704_charger.h record

2019-08-12 Thread Denis Efremov
Update MAINTAINERS to reflect that isp1704_charger.h file was removed. Cc: Linus Walleij Cc: Pavel Machek Cc: Pali Rohár Cc: Sebastian Reichel Cc: linux...@vger.kernel.org Fixes: f5d782d46aa5 ("power: supply: isp1704: switch to gpiod API") Signed-off-by: Denis Efremov --- MAINTAINERS | 1 -

Re: [RFC PATCH 00/11] Simple QoS for exynos-bus driver using interconnect

2019-08-12 Thread Chanwoo Choi
Hi Artur. The patch1-4 in this series depend on other patches[1] on mainline. On next v2 version, please make some patches based on patches[1] in order to prevent the merge conflict. [1] [RESEND PATCH v5 0/4] add coupled regulators for Exynos5422/5800 - https://lkml.org/lkml/2019/8/8/217 Also,

[RFC 02/19] ktf: Introduce the main part of the kernel side of ktf

2019-08-12 Thread Knut Omang
The ktf module itself and basic data structures for management of test cases and tests and contexts for tests. Also contains the top level include file for kernel clients in ktf.h. More elaborate documentation follows towards the end of the patch set. This patch set contains both user level and k

Re: [PATCH v2 1/2] serial: 8250_pci: Add support for Sunix serial boards

2019-08-12 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 12:36:40PM +0800, Kai-Heng Feng wrote: > Hi Andy, > > at 21:18, Andy Shevchenko wrote: > > > On Fri, Aug 9, 2019 at 10:05 PM Kai-Heng Feng > > wrote: > > > Add support to Sunix serial boards with up to 16 ports. > > > > > > Sunix board need its own setup callback instea

Re: [PATCH 9/9] arm64: Retrieve stolen time as paravirtualized guest

2019-08-12 Thread Zenghui Yu
On 2019/8/12 18:39, Steven Price wrote: On 09/08/2019 14:51, Zenghui Yu wrote: [...] Hi Steven, Since userspace is not involved yet (right?), no one will create the PV_TIME device for guest (and no one will specify the IPA of the shared stolen time region), and I guess we will get a "not suppor

Re: [PATCH 3/3] xen/blkback: Use refcount_t for refcount

2019-08-12 Thread Chuhong Yuan
On Thu, Aug 8, 2019 at 9:35 PM Roger Pau Monné wrote: > > On Thu, Aug 08, 2019 at 09:11:00PM +0800, Chuhong Yuan wrote: > > Reference counters are preferred to use refcount_t instead of > > atomic_t. > > This is because the implementation of refcount_t can prevent > > overflows and detect possible

[PATCH] MAINTAINERS: Update path to physmap-versatile.c

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change from physmap_of_versatile.c to physmap-versatile.c Cc: Boris Brezillon Cc: Ricardo Ribalda Delgado Cc: Linus Walleij Cc: linux-arm-ker...@lists.infradead.org Fixes: 6ca15cfa0788 ("mtd: maps: Rename physmap_of_{versatile, gemini} into phy

[PATCH] MAINTAINERS: Update path to tcb_clksrc.c

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change from tcb_clksrc.c to timer-atmel-tcb.c Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: linux-arm-ker...@lists.infradead.org Fixes: a7aae768166e ("clocksource/drivers/tcb_clksrc: Rename the file for consistency") Signed-off-by: Denis Efremov

Re: [PATCH V37 27/29] tracefs: Restrict tracefs when the kernel is locked down

2019-08-12 Thread Marek Szyprowski
Hi On 2019-08-01 00:16, Matthew Garrett wrote: > Tracefs may release more information about the kernel than desirable, so > restrict it when the kernel is locked down in confidentiality mode by > preventing open(). > > Signed-off-by: Matthew Garrett > Reviewed-by: Steven Rostedt (VMware) This p

[PATCH] soundwire: Don't build sound.o without CONFIG_ACPI

2019-08-12 Thread Nathan Chancellor
clang warns when CONFIG_ACPI is unset: ../drivers/soundwire/slave.c:16:12: warning: unused function 'sdw_slave_add' [-Wunused-function] static int sdw_slave_add(struct sdw_bus *bus, ^ 1 warning generated. Before commit 8676b3ca4673 ("soundwire: fix regmap dependencies and align with ot

Re: [PATCH v2] gpiolib: Take MUX usage into account

2019-08-12 Thread Fried, Ramon
On 8/13/2019 08:38, Stefan Wahren wrote: Hi Ramon, On 13.08.19 03:42, Ramon Fried wrote: From: Stefan Wahren The user space like gpioinfo only see the GPIO usage but not the MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which pin is free/safe to use. So take the MUX

[PATCH] MAINTAINERS: ip masquerading: Update path to the driver

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change from ipt_MASQUERADE.c to xt_MASQUERADE.c Cc: Florian Westphal Cc: Pablo Neira Ayuso Cc: Juanjo Ciarlante Cc: netfilter-de...@vger.kernel.org Fixes: adf82accc5f5 ("netfilter: x_tables: merge ip and ipv6 masquerade modules") Signed-off-by:

Re: [PATCH v6 2/8] KVM: x86: Add a helper function for CPUID(0xD,n>=1) enumeration

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 03:18:11PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:40AM +0800, Yang Weijiang wrote: > > To make the code look clean, wrap CPUID(0xD,n>=1) enumeration > > code in a helper function now. > > > > Signed-off-by: Yang Weijiang > > --- > > arch/x86/kvm

[PATCH] MAINTAINERS: i2c mv64xxx: Update documentation path

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the file move from i2c-mv64xxx.txt to marvell,mv64xxx-i2c.yaml. Cc: Maxime Ripard Cc: Gregory CLEMENT Cc: linux-...@vger.kernel.org Fixes: f8bbde72ef44 ("dt-bindings: i2c: mv64xxx: Add YAML schemas") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 fi

[PATCH] MAINTAINERS: r8169: Update path to the driver

2019-08-12 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change from r8169.c to r8169_main.c Cc: Heiner Kallweit Cc: nic_s...@realtek.com Cc: David S. Miller Cc: net...@vger.kernel.org Fixes: 25e992a4603c ("r8169: rename r8169.c to r8169_main.c") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1

Re: [PATCH v4 13/14] net: phy: adin: add ethtool get_stats support

2019-08-12 Thread Ardelean, Alexandru
On Mon, 2019-08-12 at 16:26 +0200, Andrew Lunn wrote: > [External] > > > +/* Named just like in the datasheet */ > > +static struct adin_hw_stat adin_hw_stats[] = { > > + { "RxErrCnt", 0x0014, }, > > + { "MseA", 0x8402, 0, true }, > > + { "MseB", 0x

Re: [PATCH v2 0/3] soundwire: debugfs support for 5.4

2019-08-12 Thread Greg KH
On Mon, Aug 12, 2019 at 06:59:39PM -0500, Pierre-Louis Bossart wrote: > This patchset enables debugfs support and corrects all the feedback > provided on an earlier RFC ('soundwire: updates for 5.4') > > There is one remaining hard-coded value in intel.c that will need to > be fixed in a follow-up

[PATCH] MAINTAINERS: net_failover: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Replace "driver" with "drivers" in the filepath to net_failover.c Cc: Sridhar Samudrala Cc: David S. Miller Cc: net...@vger.kernel.org Fixes: cfc80d9a1163 ("net: Introduce net_failover driver") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v6 7/8] KVM: x86: Load Guest fpu state when accessing MSRs managed by XSAVES

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:29:21PM -0700, Sean Christopherson wrote: > On Mon, Aug 12, 2019 at 04:02:03PM -0700, Sean Christopherson wrote: > > On Thu, Jul 25, 2019 at 11:12:45AM +0800, Yang Weijiang wrote: > > > From: Sean Christopherson > > > > > > A handful of CET MSRs are not context switched

Re: [PATCH v4 2/2] RISC-V: Implement sparsemem

2019-08-12 Thread Greentime Hu
Hi Logan, Logan Gunthorpe 於 2019年8月12日 週一 下午11:52寫道: > > > > On 2019-08-11 10:01 p.m., Greentime Hu wrote: > > Hi Logan, > > > > Logan Gunthorpe 於 2019年8月10日 週六 上午3:03寫道: > >> > >> > >> > >> On 2019-08-09 11:01 a.m., Greentime Hu wrote: > >>> Hi Logan, > >>> > >>> Logan Gunthorpe 於 2019年8月9日 週五

[PATCH] MAINTAINERS: Hyper-V: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Fix typo in hyperv-iommu.c filepath. Cc: Lan Tianyu Cc: Sasha Levin Cc: linux-hyp...@vger.kernel.org Fixes: 29217a474683 ("iommu/hyper-v: Add Hyper-V stub IOMMU driver") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

Re: [PATCH v6 7/8] KVM: x86: Load Guest fpu state when accessing MSRs managed by XSAVES

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:02:03PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:45AM +0800, Yang Weijiang wrote: > > From: Sean Christopherson > > > > A handful of CET MSRs are not context switched through "traditional" > > methods, e.g. VMCS or manual switching, but rather a

[PATCH] MAINTAINERS: hantro: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Fix typo (s/platform//) in the directory path. Cc: Ezequiel Garcia Cc: Philipp Zabel Cc: linux-me...@vger.kernel.org Fixes: a29add8c9bb2 ("media: rockchip/vpu: rename from rockchip to hantro") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH] MAINTAINERS: ftm-quaddec: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Fix typo (s/quadddec/quaddec/) in the path to the documentation. Cc: Patrick Havelange Cc: Jonathan Cameron Cc: linux-...@vger.kernel.org Fixes: 517b2d045aeb ("MAINTAINERS: add counter/ftm-quaddec driver entry") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+

[PATCH] MAINTAINERS: dw axi dmac: Fix typo in a path

2019-08-12 Thread Denis Efremov
Fix typo (s/dwi-/dw-/) in the directory path. Cc: Eugeniy Paltsev Cc: Vinod Koul Cc: dmaeng...@vger.kernel.org Fixes: 1fe20f1b8454 ("dmaengine: Introduce DW AXI DMAC driver") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTA

Re: [PATCH 1/2] HID: do not call hid_set_drvdata(hdev, NULL) in drivers

2019-08-12 Thread Bruno Prémont
On Mon, 12 Aug 2019 18:27:39 +0200 Benjamin Tissoires wrote: > This is a common pattern in the HID drivers to reset the drvdata. Some > do it properly, some do it only in case of failure. > > But, this is actually already handled by driver core, so there is no need > to do it manually. > > Signed

[PATCH] MAINTAINERS: altera-sysmgr: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Fix typo (s/sysgmr/sysmgr/) in the header filepath. Cc: Thor Thayer Cc: Arnd Bergmann Cc: Lee Jones Fixes: f36e789a1f8d ("mfd: altera-sysmgr: Add SOCFPGA System Manager") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINE

linux-next: manual merge of the driver-core tree with the rcu tree

2019-08-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the driver-core tree got a conflict in: drivers/base/power/runtime.c between commit: 4a3a5474b4c1 ("driver/core: Convert to use built-in RCU list checking") from the rcu tree and commit: 515db266a9da ("driver core: Remove device link creation limitati

Re: [PATCH v4 13/14] net: phy: adin: add ethtool get_stats support

2019-08-12 Thread Ardelean, Alexandru
On Mon, 2019-08-12 at 16:33 +0200, Andrew Lunn wrote: > [External] > > > +static int adin_read_mmd_stat_regs(struct phy_device *phydev, > > + struct adin_hw_stat *stat, > > + u32 *val) > > +{ > > + int ret; > > + > > + ret = phy_read_mm

Re: [PATCH v6 4/8] KVM: VMX: Pass through CET related MSRs to Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:53:41PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:42AM +0800, Yang Weijiang wrote: > > CET MSRs pass through Guest directly to enhance performance. > > CET runtime control settings are stored in MSR_IA32_{U,S}_CET, > > Shadow Stack Pointer(SSP) are

Re: How to add multiple example with conflicting includes

2019-08-12 Thread Maxime Ripard
Hi Rob, On Fri, Jul 26, 2019 at 08:11:08PM +0200, Corentin Labbe wrote: > When I try to check the following examples of a devicetree schema: > examples: > - | > #include > #include > #include > > crypto: crypto@1c15000 { > compatible = "allwinner,sun8i-h3-crypto"; >

Re: [PATCH v4 10/14] net: phy: adin: implement PHY subsystem software reset

2019-08-12 Thread Ardelean, Alexandru
On Mon, 2019-08-12 at 16:19 +0200, Andrew Lunn wrote: > [External] > > > +static int adin_reset(struct phy_device *phydev) > > +{ > > + /* If there is a reset GPIO just exit */ > > + if (!IS_ERR_OR_NULL(phydev->mdio.reset_gpio)) > > + return 0; > > I'm not so happy with this. > > F

Re: [PATCH v6 8/8] KVM: x86: Add user-space access interface for CET MSRs

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:43:36PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:46AM +0800, Yang Weijiang wrote: > > There're two different places storing Guest CET states, the states > > managed with XSAVES/XRSTORS, as restored/saved > > in previous patch, can be read/write di

Re: [PATCH v2] gpiolib: Take MUX usage into account

2019-08-12 Thread Stefan Wahren
Hi Ramon, On 13.08.19 03:42, Ramon Fried wrote: > From: Stefan Wahren > > The user space like gpioinfo only see the GPIO usage but not the > MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which > pin is free/safe to use. So take the MUX usage of strict pinmux controllers >

Re: [PATCH v6 5/8] KVM: VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:56:32PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:43AM +0800, Yang Weijiang wrote: > > "Load Guest CET state" bit controls whether Guest CET states > > will be loaded at Guest entry. Before doing that, KVM needs > > to check if CPU CET feature is e

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-12 Thread Byungchul Park
On Mon, Aug 12, 2019 at 09:12:34AM -0400, Joel Fernandes wrote: > On Mon, Aug 12, 2019 at 07:10:52PM +0900, Byungchul Park wrote: > > On Sun, Aug 11, 2019 at 04:49:39PM -0700, Paul E. McKenney wrote: > > > Maybe. Note well that I said "potential issue". When I checked a few > > > years ago, none

Re: [PATCH 4/7] pwm: jz4740: Improve algorithm of clock calculation

2019-08-12 Thread Uwe Kleine-König
Hello Paul, [adding Stephen Boyd to Cc] On Tue, Aug 13, 2019 at 12:16:23AM +0200, Paul Cercueil wrote: > Le lun. 12 août 2019 à 23:48, Uwe Kleine-König a écrit : > > On Mon, Aug 12, 2019 at 10:43:10PM +0200, Paul Cercueil wrote: > > > Le lun. 12 août 2019 à 8:15, Uwe Kleine-König a écrit : > > >

Re: [PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Wei Yang
On Mon, Aug 12, 2019 at 08:39:58PM -0700, Matthew Wilcox wrote: >On Tue, Aug 13, 2019 at 11:26:56AM +0800, Wei Yang wrote: >> Now we use rb_parent to get next, while this is not necessary. >> >> When prev is NULL, this means vma should be the first element in the >> list. Then next should be curre

Re: [PATCH v6 3/8] KVM: x86: Implement CET CPUID enumeration for Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 05:06:04PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:41AM +0800, Yang Weijiang wrote: > > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > > index 652b3876ea5c..ce1d6fe21780 100644 > > --- a/arch/x86/kvm/vmx/vmx.c > > +++ b/arch/x86/kvm/

Re: linux-next: build failure after merge of the rcu tree

2019-08-12 Thread Stephen Rothwell
Hi Paul, On Mon, 12 Aug 2019 09:19:34 -0700 "Paul E. McKenney" wrote: > > Huh. "It has been building fine for me." I added > > #include > #include > > to include/linux/rcu_segcblist.h, which hopefully fixes it at your end. That did not work as I got a lot of errors from includ

[PATCH] tools build: Fix clang detection with clang >= 8.0

2019-08-12 Thread Matthew Dawson
The 8.0 release of clang/llvm moved the VirtualFileSystem.h header to from clang to llvm. This change causes a compile error, causing perf to not detect clang/llvm. Fix by including the right header for the different versions of llvm, using the older header for llvm < 8, and the new header for ll

Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages

2019-08-12 Thread Bharata B Rao
On Mon, Aug 12, 2019 at 05:00:12PM +0200, Christoph Hellwig wrote: > On Mon, Aug 12, 2019 at 08:20:58PM +0530, Bharata B Rao wrote: > > On Sun, Aug 11, 2019 at 10:12:47AM +0200, Christoph Hellwig wrote: > > > The kvmppc ultravisor code wants a device private memory pool that is > > > system wide an

Re: [PATCH v12 03/18] kunit: test: add string_stream a std::stream like string builder

2019-08-12 Thread Stephen Boyd
Quoting Brendan Higgins (2019-08-12 17:41:05) > On Mon, Aug 12, 2019 at 4:59 PM Stephen Boyd wrote: > > > > > kunit_resource_destroy (respective equivalents to devm_kfree, and > > > devres_destroy) and use kunit_kfree here? > > > > > > > Yes, or drop the API entirely? Does anything need this funct

[PATCH v2 2/4] drm/komeda: Introduce komeda_color_manager/state

2019-08-12 Thread james qian wang (Arm Technology China)
Many komeda component support color management like layer and IPS, so komeda_color_manager/state are introduced to manager gamma, csc and degamma together for easily share it to multiple componpent. And for komeda_color_manager which: - convert drm 3d gamma lut to komeda specific gamma coeffs - ga

Re: [PATCH] libnvdimm: change disk name of virtio pmem disk

2019-08-12 Thread Pankaj Gupta
Ping. > > This patch adds prefix 'v' in disk name for virtio pmem. > This differentiates virtio-pmem disks from the pmem disks. > > Signed-off-by: Pankaj Gupta > --- > drivers/nvdimm/namespace_devs.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/nvdim

[PATCH] x86/cpu: Add Atom Tremont (Elkhart Lake)

2019-08-12 Thread Kyung Min Park
Add the Atom Tremont model number to the Intel family list. Signed-off-by: Kyung Min Park --- arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h index 0278aa6..02d675d 100644 --- a/arc

Re: [PATCH v9 1/7] powerpc/mce: Schedule work from irq_work

2019-08-12 Thread Mahesh Jagannath Salgaonkar
On 8/12/19 2:52 PM, Santosh Sivaraj wrote: > schedule_work() cannot be called from MCE exception context as MCE can > interrupt even in interrupt disabled context. > > fixes: 733e4a4c ("powerpc/mce: hookup memory_failure for UE errors") > Suggested-by: Mahesh Salgaonkar > Signed-off-by: Santosh S

Re: [PATCH linux-next] drivers: dma: Fix sparse warning for mux_configure32

2019-08-12 Thread Vinod Koul
On 12-08-19, 15:42, Mao Wenan wrote: Patch title is incorrect, it should mention the changes in patch, for example make mux_configure32 static Do read up on Documentation/process/submitting-patches.rst again! > There is one sparse warning in drivers/dma/fsl-edma-common.c, It will help to explai

Re: [PATCH] dmaengine: fsldma: Mark expected switch fall-through

2019-08-12 Thread Vinod Koul
On 11-08-19, 19:22, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > Fix the following warning (Building: powerpc-ppa8548_defconfig powerpc): > > drivers/dma/fsldma.c: In function ‘fsl_dma_chan_probe’: > drivers/dma/fsldma.c:1165:26: warning: this stateme

Re: [PATCHv4 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Kishon Vijay Abraham I
On 13/08/19 8:23 AM, Xiaowei Bao wrote: > The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 > is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, Do you mean BAR2 instead of BAR3 here? Thanks Kishon > so set the bar_fixed_64bit with 0x14. > > Signed-off-by: Xiao

Re: [PATCH] [v2] dma: ti: unexport filter functions

2019-08-12 Thread Vinod Koul
On 12-08-19, 12:11, Arnd Bergmann wrote: > The two filter functions are now marked static, but still exported, > which triggers a coming build-time check: > > WARNING: "omap_dma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL_GPL > WARNING: "edma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL > >

Re: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties

2019-08-12 Thread Kishon Vijay Abraham I
Hi, On 13/08/19 8:37 AM, Z.q. Hou wrote: > Hi Andrew, > > Thanks a lot for your comments! > >> -Original Message- >> From: Andrew Murray >> Sent: 2019年8月12日 16:45 >> To: Z.q. Hou >> Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; >> linux-kernel@vger.kernel.org; gustavo.pime

Re: [PATCH v2 1/2] serial: 8250_pci: Add support for Sunix serial boards

2019-08-12 Thread Kai-Heng Feng
Hi Andy, at 21:18, Andy Shevchenko wrote: On Fri, Aug 9, 2019 at 10:05 PM Kai-Heng Feng wrote: Add support to Sunix serial boards with up to 16 ports. Sunix board need its own setup callback instead of using Timedia's, to properly support more than 4 ports. Can you, please, split out the

Re: [PATCH] bus: ti-sysc: Remove if-block in sysc_check_children()

2019-08-12 Thread Nishka Dasgupta
On 08/08/19 7:25 PM, Roger Quadros wrote: Nishka, On 08/08/2019 10:40, Nishka Dasgupta wrote: In function sysc_check_children, there is an if-statement checking whether the value returned by function sysc_check_one_child is non-zero. However, sysc_check_one_child always returns 0, and hence thi

Re: [PATCH 3/7] dma: iop-adma: use correct printk format strings

2019-08-12 Thread Vinod Koul
On 09-08-19, 18:33, Arnd Bergmann wrote: > When compile-testing on other architectures, we get lots of warnings > about incorrect format strings, like: > >drivers/dma/iop-adma.c: In function 'iop_adma_alloc_slots': >drivers/dma/iop-adma.c:307:6: warning: format '%x' expects argument of >

Re: [PATCH 2/7] dma: iop-adma: include prefetch.h

2019-08-12 Thread Vinod Koul
On 09-08-19, 18:33, Arnd Bergmann wrote: > Compile-testing this driver fails on m68k without the > extra header inclusion. Please change title to "dmaengine: iop-adma: include prefetch.h" After that: Acked-by: Vinod Koul > Reported-by: kbuild test robot > Signed-off-by: Arnd Bergmann > --- >

Re: [PATCH v2] regulator: core: Add of_node_put() before return

2019-08-12 Thread Nishka Dasgupta
On 08/08/19 5:57 PM, Mark Brown wrote: On Thu, Aug 08, 2019 at 12:35:53PM +0530, Nishka Dasgupta wrote: In function of_get_child_regulator(), the loop for_each_child_of_node() contains two mid-loop return statements. Ordinarily the loop gets the node child at the beginning of every iteration and

Re: [PATCH] nbd: add a missed nbd_config_put() in nbd_xmit_timeout()

2019-08-12 Thread sunke (E)
Thanks for your review. 在 2019/8/12 23:34, Mike Christie 写道: On 08/12/2019 07:31 AM, Sun Ke wrote: When try to get the lock failed, before return, execute the nbd_config_put() to decrease the nbd->config_refs. If the nbd->config_refs is added but not decreased. Then will not execute nbd_clear_

[PATCH] staging: rtl8723bs: Remove debugging information exposed via procfs

2019-08-12 Thread Kai-Heng Feng
The procfs provides many useful information for debugging, but it may be too much for normal usage, routines like proc_get_sec_info() reports various security related information. So let's remove it. Signed-off-by: Kai-Heng Feng --- drivers/staging/rtl8723bs/Makefile|1 - driver

Re: [PATCH v5 4/7] PCI/ATS: Add PRI support for PCIe VF devices

2019-08-12 Thread Bjorn Helgaas
On Thu, Aug 01, 2019 at 05:06:01PM -0700, sathyanarayanan.kuppusw...@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan > > When IOMMU tries to enable Page Request Interface (PRI) for VF device > in iommu_enable_dev_iotlb(), it always fails because PRI support for > PCIe VF device is curr

Re: [PATCH v3] perf diff: Report noisy for cycles diff

2019-08-12 Thread Jin, Yao
On 8/12/2019 4:35 PM, Jiri Olsa wrote: On Sat, Aug 10, 2019 at 07:30:29AM +0800, Jin Yao wrote: SNIP + if (vals[i] != 0) + return 0; + return 1; +} + +static int print_cycles_spark(char *bf, int size, unsigned long *svals, u64 n) +{ + int len

Re: [PATCH v5 2/7] PCI/ATS: Initialize PRI in pci_ats_init()

2019-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2019 at 02:35:32PM -0700, sathyanarayanan kuppuswamy wrote: > On 8/12/19 1:04 PM, Bjorn Helgaas wrote: > > On Thu, Aug 01, 2019 at 05:05:59PM -0700, > > sathyanarayanan.kuppusw...@linux.intel.com wrote: > > > From: Kuppuswamy Sathyanarayanan > > > > > > > > > Currently, PRI Capa

Re: [PATCH 3.16 043/157] ext4: brelse all indirect buffer inext4_ind_remove_space()

2019-08-12 Thread Jari Ruusu
Ben Hutchings wrote: > From: "zhangyi (F)" > > commit 674a2b27234d1b7afcb0a9162e81b2e53aeef217 upstream. [snip] > --- a/fs/ext4/indirect.c > +++ b/fs/ext4/indirect.c > @@ -1481,10 +1481,14 @@ end_range: >partial->p + 1, >

Re: [PATCH v5 1/7] PCI/ATS: Fix pci_prg_resp_pasid_required() dependency issues

2019-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2019 at 01:20:55PM -0700, sathyanarayanan kuppuswamy wrote: > On 8/12/19 1:04 PM, Bjorn Helgaas wrote: > > On Thu, Aug 01, 2019 at 05:05:58PM -0700, > > sathyanarayanan.kuppusw...@linux.intel.com wrote: > > > From: Kuppuswamy Sathyanarayanan > > > > > > > > > Since pci_prg_resp_

[PATCH] ASoC: ti: Fix typos in ti/Kconfig

2019-08-12 Thread Masanari Iida
This patch fixes some spelling typo in Kconfig. Signed-off-by: Masanari Iida --- sound/soc/ti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/ti/Kconfig b/sound/soc/ti/Kconfig index 2197f3e1eaed..87a9b9dd4e98 100644 --- a/sound/soc/ti/Kconfig +++ b/sound

Re: [PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Matthew Wilcox
On Tue, Aug 13, 2019 at 11:26:56AM +0800, Wei Yang wrote: > Now we use rb_parent to get next, while this is not necessary. > > When prev is NULL, this means vma should be the first element in the > list. Then next should be current first one (mm->mmap), no matter > whether we have parent or not. >

[patch] mm, page_alloc: move_freepages should not examine struct page of reserved memory

2019-08-12 Thread David Rientjes
After commit 907ec5fca3dc ("mm: zero remaining unavailable struct pages"), struct page of reserved memory is zeroed. This causes page->flags to be 0 and fixes issues related to reading /proc/kpageflags, for example, of reserved memory. The VM_BUG_ON() in move_freepages_block(), however, assumes t

[PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Wei Yang
Now we use rb_parent to get next, while this is not necessary. When prev is NULL, this means vma should be the first element in the list. Then next should be current first one (mm->mmap), no matter whether we have parent or not. After removing it, the code shows the beauty of symmetry. Signed-of

[rcu:dev.2019.08.09a 65/67] ERROR: "tick_nohz_full_running" [kernel/rcu/rcutorture.ko] undefined!

2019-08-12 Thread kbuild test robot
Hi Paul, First bad commit (maybe != root cause): tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.08.09a head: 8997cc705c8156fd638c6296c800ceb4f2cd4eb0 commit: 7bcd11ce830f32631a378ff0e75836f27b202f1b [65/67] squash! idle: Prevent late-arriving

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

2019-08-12 Thread Stephen Rothwell
Hi all, On Fri, 9 Aug 2019 13:08:11 +1000 Stephen Rothwell wrote: > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from include/linux/kobject.h:19, > from include/linux/device.h:16, >

RE: [PATCH 4/4] arm64: dts: fsl: Remove num-lanes property from PCIe nodes

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:36 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.c

RE: [PATCH 3/4] ARM: dts: ls1021a: Remove num-lanes property from PCIe nodes

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:35 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.c

RE: [PATCH 2/4] PCI: dwc: Return directly when num-lanes is not found

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! B.R, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:34 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com;

[v7,1/2] rtc/fsl: add FTM alarm driver as the wakeup source

2019-08-12 Thread Biwen Li
For the paltforms including LS1012A, LS1021A, LS1028A, LS1043A, LS1046A, LS1088A, LS208xA that has the FlexTimer module, implementing alarm functions within RTC subsystem to wakeup the system when system going to sleep (work with RCPM driver). Signed-off-by: Biwen Li --- Change in v7: - None

[v7,2/2] dt-bindings: rtc: add bindings for FlexTimer Module

2019-08-12 Thread Biwen Li
The patch adds bindings for FlexTimer Module Signed-off-by: Biwen Li --- Change in v7: - delete aliases Change in v6: - correct subject - delete note - remove reg property about IP Powerdown exception register Change in v5: - None Change in v4: - add note about dts and

RE: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your comments! > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:45 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com; bhelg...@goog

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-08-12 Thread Steven Rostedt
On Tue, 13 Aug 2019 09:04:28 +0800 Xing Zhengjun wrote: > Hi Steve, > > Could you help to review? Thanks. Thanks for the ping. Yes, I'll take a look at it. I'll be pulling in a lot of patches that have queued up. -- Steve > > On 7/13/2019 12:05 AM, Tom Zanussi wrote: > > Hi Zhengjun, >

[PATCHv4 2/2] PCI: layerscape: Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately

2019-08-12 Thread Xiaowei Bao
Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately. Signed-off-by: Xiaowei Bao --- v2: - No change. v3: - modify the commit message. v4: - send the patch again with '--to'. drivers/pci/controller/dwc/Kconfig | 20 ++-- drivers/pci/controller/dwc/Makefile |3 ++- 2

[PATCHv4 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Xiaowei Bao
The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, so set the bar_fixed_64bit with 0x14. Signed-off-by: Xiaowei Bao --- v2: - Replace value 0x14 with a macro. v3: - No change. v4: - send the patch again with '--to

RE: [EXT] Re: [v6,2/2] dt-bindings: rtc: add bindings for FlexTimer Module

2019-08-12 Thread Biwen Li
> > On Fri, Jul 19, 2019 at 11:54:00AM +0800, Biwen Li wrote: > > The patch adds bindings for FlexTimer Module > > > > Signed-off-by: Biwen Li > > --- > > Change in v6: > > - correct subject > > - delete note > > - remove reg property about IP Powerdown exception register > > > > Chan

  1   2   3   4   5   6   7   8   9   10   >