Re: [PATCH v3 0/6] Add support of New Amlogic temperature sensor for G12 SoCs

2019-08-21 Thread Kevin Hilman
Kevin Hilman writes: > Guillaume La Roque writes: > >> This patchs series add support of New Amlogic temperature sensor and minimal >> thermal zone for SEI510 and ODROID-N2 boards. >> >> First implementation was doing on IIO[1] but after comments i move on >> thermal framework. >> Formulas and

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Luck, Tony wrote: > On Tue, Aug 20, 2019 at 04:57:35PM +0200, Peter Zijlstra wrote: > > On Tue, Aug 20, 2019 at 12:48:05PM +, Luck, Tony wrote: > > > > > > >> +#define INTEL_FAM6_ATOM_AIRMONT_NP0x75 /* Lightning Mountain */ > > > > > > > > What's _NP ? > > > > > >

[PATCH] net/ncsi: Fix the payload copying for the request coming from Netlink

2019-08-21 Thread Justin.Lee1
The request coming from Netlink should use the OEM generic handler. The standard command handler expects payload in bytes/words/dwords but the actual payload is stored in data if the request is coming from Netlink. Signed-off-by: Justin Lee --- net/ncsi/ncsi-cmd.c | 11 +-- 1 file

Re: [PATCH] x86/boot: Fix boot failure regression

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Neil MacLeod wrote: > I can confirm 5.3-rc5 is booting again from internal M2 drive on > Skylake i5 NUC with this commit - many thanks! I've queued that in x86/urgent and it's en route for rc6 and stable. Thanks! tglx

Re: [PATCH] x86/hyper-v: enable TSC page clocksource on 32bit

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Thomas Gleixner wrote: > On Wed, 21 Aug 2019, Vitaly Kuznetsov wrote: > > > There is no particular reason to not enable TSC page clocksource > > on 32-bit. mul_u64_u64_shr() is available and despite the increased > > computational complexity (compared to 64bit) TSC page is

Re: [PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

2019-08-21 Thread Rob Herring
On Fri, Aug 09, 2019 at 01:53:55PM +0100, Joe Burmeister wrote: > Many, though not all, AT25s have an instruction for chip erase. > If there is one in the datasheet, it can be added to device tree. > Erase can then be done in userspace via the sysfs API with a new > "erase" device attribute. This

Re: [PATCH v3 0/6] Add support of New Amlogic temperature sensor for G12 SoCs

2019-08-21 Thread guillaume La Roque
Hi Christian, thanks for testing on this 3 boards. guillaume On 8/14/19 2:24 PM, Christian Hewitt wrote: > On 6 Aug 2019, at 5:05 pm, Guillaume La Roque wrote: >> This patchs series add support of New Amlogic temperature sensor and minimal >> thermal zone for SEI510 and ODROID-N2 boards. >>

Hello Dear Friend.

2019-08-21 Thread Mrs. Stellar Maoris
Hello Dear Friend. I’m Mrs. Stellar Maoris a manger in HSBC bank of Spain Madrid, I am sending this brief letter to seek for your partnership and long term relationship, I have an important and urgent issue I want to discuss with you privately about Transaction fund worth the sum of $9.5m

Re: [PATCH] x86/hyper-v: enable TSC page clocksource on 32bit

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Vitaly Kuznetsov wrote: > There is no particular reason to not enable TSC page clocksource > on 32-bit. mul_u64_u64_shr() is available and despite the increased > computational complexity (compared to 64bit) TSC page is still a huge > win compared to MSR-based clocksource. >

Re: [PATCH v2 08/14] arm64: dts: meson-gxl: fix internal phy compatible

2019-08-21 Thread Martin Blumenstingl
On Wed, Aug 21, 2019 at 4:23 PM Neil Armstrong wrote: > > This fixes the following DT schemas check errors: > meson-gxl-s805x-libretech-ac.dt.yaml: ethernet-phy@8: compatible: > ['ethernet-phy-id0181.4400', 'ethernet-phy-ieee802.3-c22'] is not valid under > any of the given schemas > >

RE: [PATCH] x86/hyper-v: enable TSC page clocksource on 32bit

2019-08-21 Thread Michael Kelley
From: Vitaly Kuznetsov Sent: Wednesday, August 21, 2019 2:57 AM > > There is no particular reason to not enable TSC page clocksource > on 32-bit. mul_u64_u64_shr() is available and despite the increased > computational complexity (compared to 64bit) TSC page is still a huge > win compared to

[PATCH] [media] pvrusb2: qctrl.flag will be uninitlaized if cx2341x_ctrl_query() returns error code

2019-08-21 Thread Yizhuo
Inside function ctrl_cx2341x_getv4lflags(), qctrl.flag will be uninitlaized if cx2341x_ctrl_query() returns -EINVAL. However, it will be used in the later if statement, which is potentially unsafe. Signed-off-by: Yizhuo --- drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 1 + 1 file changed, 1

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-21 Thread Thomas Gleixner
On Tue, 20 Aug 2019, Woody Suwalski wrote: > On Thu, Aug 15, 2019 at 2:37 AM Thomas Gleixner wrote: > > On Tue, 13 Aug 2019, Woody Suwalski wrote: > > > On Mon, Aug 12, 2019 at 1:24 PM Thomas Gleixner > > > wrote: > > > > The ACPI handler is not the culprit. This is either an emulation bug or >

Re: [PATCH v2 12/14] arm64: dts: meson-gxbb-nanopi-k2: add missing model

2019-08-21 Thread Martin Blumenstingl
On Wed, Aug 21, 2019 at 4:24 PM Neil Armstrong wrote: > > This fixes the following DT schemas check errors: > meson-gxbb-nanopi-k2.dt.yaml: /: 'model' is a required property > > Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl

Re: [PATCH 11/14] arm64: dts: meson-g12a-x96-max: fix compatible

2019-08-21 Thread Martin Blumenstingl
On Wed, Aug 21, 2019 at 4:08 PM Neil Armstrong wrote: > > On 20/08/2019 22:32, Martin Blumenstingl wrote: > > On Wed, Aug 14, 2019 at 4:33 PM Neil Armstrong > > wrote: > >> > >> This fixes the following DT schemas check errors: > >> meson-g12a-x96-max.dt.yaml: /: compatible:

Re: [PATCH 04/19] dt-bindings: phy-mmp3-usb: Add bindings

2019-08-21 Thread Rob Herring
On Fri, Aug 09, 2019 at 11:31:43AM +0200, Lubomir Rintel wrote: > This is the PHY chip for USB OTG on MMP3 platform. > > Signed-off-by: Lubomir Rintel > --- > .../devicetree/bindings/phy/phy-mmp3-usb.txt | 16 > 1 file changed, 16 insertions(+) > create mode 100644

Re: devm_memremap_pages() triggers a kasan_add_zero_shadow() warning

2019-08-21 Thread Qian Cai
On Sat, 2019-08-17 at 23:25 -0400, Qian Cai wrote: > > On Aug 17, 2019, at 12:59 PM, Dan Williams wrote: > > > > On Sat, Aug 17, 2019 at 4:13 AM Qian Cai wrote: > > > > > > > > > > > > > On Aug 16, 2019, at 11:57 PM, Dan Williams > > > > wrote: > > > > > > > > On Fri, Aug 16, 2019 at 8:34

Re: [PATCH 03/19] dt-bindings: mrvl,intc: Add a MMP3 interrupt controller

2019-08-21 Thread Rob Herring
On Fri, Aug 09, 2019 at 11:31:42AM +0200, Lubomir Rintel wrote: > Similar to MMP2 one, but has an extra range for the other core. The > muxes stay the same. > > Signed-off-by: Lubomir Rintel > --- > .../interrupt-controller/mrvl,intc.txt| 23 ++- > 1 file changed, 17

Re: [PATCH 02/19] dt-bindings: arm: mrvl: Document MMP3 compatible string

2019-08-21 Thread Rob Herring
On Fri, Aug 09, 2019 at 11:31:41AM +0200, Lubomir Rintel wrote: > Marvel MMP3 is a successor to MMP2, containing similar peripherals with two > PJ4B cores. > > Signed-off-by: Lubomir Rintel > --- > Documentation/devicetree/bindings/arm/mrvl/mrvl.txt | 4 > 1 file changed, 4 insertions(+) >

[RESEND PATCH 1/1] rtc: sun6i: Allow using as wakeup source from suspend

2019-08-21 Thread Alejandro González
This patch allows userspace to set up wakeup alarms on any RTC handled by the sun6i driver, and adds the necessary PM operations to allow resuming from suspend when the configured wakeup alarm fires a IRQ. Of course, that the device actually resumes depends on the suspend state and how a

Re: [PATCH net] net: cpsw: fix NULL pointer exception in the probe error path

2019-08-21 Thread David Miller
From: Antoine Tenart Date: Wed, 21 Aug 2019 16:41:23 +0200 > In certain cases when the probe function fails the error path calls > cpsw_remove_dt() before calling platform_set_drvdata(). This is an > issue as cpsw_remove_dt() uses platform_get_drvdata() to retrieve the > cpsw_common data and

Re: [PATCH v2 1/2] dt-binding: spi: add NPCM FIU controller

2019-08-21 Thread Rob Herring
On Thu, Aug 08, 2019 at 04:14:47PM +0300, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM Flash Interface Unit(FIU) SPI master controller > using SPI-MEM interface. > > Signed-off-by: Tomer Maimon > --- > .../bindings/spi/nuvoton,npcm-fiu.txt | 47

Re: Added Realtek rtl8192u driver to staging - static analysis report.

2019-08-21 Thread Greg Kroah-Hartman
On Wed, Aug 21, 2019 at 07:18:39PM +0100, Colin Ian King wrote: > Hi, > > Static analysis of linux-next picked up an issue with the following commit: > > commit 8fc8598e61f6f384f3eaf1d9b09500c12af47b37 > Author: Jerry Chuang > Date: Tue Nov 3 07:17:11 2009 -0200 > > Staging: Added

Re: [PATCH net-next] net: stmmac: dwmac-anarion: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:55:50 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH v1 1/3] gpio: mpc8xxx: add ls1088a platform gpio node DT binding description

2019-08-21 Thread Rob Herring
On Thu, 8 Aug 2019 18:16:26 +0800, Hui Song wrote: > From: Song Hui > > ls1088a and ls1028a platform share common gpio node. > > Signed-off-by: Song Hui > --- > Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >

Re: [PATCH net-next] net: stmmac: dwc-qos: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:57:01 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: stmmac: dwmac-meson: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:54:06 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: stmmac: dwmac-meson8b: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:51:30 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: mvneta: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:33:02 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: bcmgenet: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:41:31 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] pxa168_eth: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:38:54 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: systemport: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:46:13 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: fec: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:29:45 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-21 Thread Ira Weiny
On Wed, Aug 21, 2019 at 04:48:10PM -0300, Jason Gunthorpe wrote: > On Wed, Aug 21, 2019 at 11:57:03AM -0700, Ira Weiny wrote: > > > > Oh, I didn't think we were talking about that. Hanging the close of > > > the datafile fd contingent on some other FD's closure is a recipe for > > > deadlock.. >

Re: [PATCH net-next] net: socionext: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:53:57 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] ezchip: nps_enet: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:05:09 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: ks8851-ml: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:58:11 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] cirrus: cs89x0: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 21:02:41 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: sxgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:59:59 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] via-rhine: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:50:50 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: ethernet: ti: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:48:50 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] amd-xgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:32:03 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH v4] arm64: dts: imx8mq: Init rates and parents configs for clocks

2019-08-21 Thread Leonard Crestez
On 28.07.2019 18:20, Daniel Baluta wrote: > From: Abel Vesa > > Add the initial configuration for clocks that need default parent and rate > setting. This is based on the vendor tree clock provider parents and rates > configuration except this is doing the setup in dts rather then using clock >

Re: [RESEND PATCH v5 4/4] dt-bindings: devfreq: exynos-bus: remove unused property

2019-08-21 Thread Rob Herring
On Thu, Aug 08, 2019 at 11:02:34AM +0200, Kamil Konieczny wrote: > Remove unused DT property "exynos,voltage-tolerance". > > Signed-off-by: Kamil Konieczny > Acked-by: Chanwoo Choi > --- > Documentation/devicetree/bindings/devfreq/exynos-bus.txt | 2 -- > 1 file changed, 2 deletions(-)

Re: [GIT PULL] nfsd bugfixes for 5.3

2019-08-21 Thread pr-tracker-bot
The pull request you sent on Wed, 21 Aug 2019 11:06:46 -0400: > git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.3-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2babd34df2294a72df02dc4a3745df3408147eba Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] KVM fixes for Linux 5.3-rc6

2019-08-21 Thread pr-tracker-bot
The pull request you sent on Wed, 21 Aug 2019 19:36:50 +0200: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bb7ba8069de933d69cb45dd0a5806b61033796a3 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v5 1/3] dt-bindings: opp: Introduce opp-peak-kBps and opp-avg-kBps bindings

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 15:31:09 -0700, Saravana Kannan wrote: > Interconnects often quantify their performance points in terms of > bandwidth. So, add opp-peak-kBps (required) and opp-avg-kBps (optional) to > allow specifying Bandwidth OPP tables in DT. > > opp-peak-kBps is a required property that

Re: [PATCH v2 2/5] dt-bindings: counter: new bindings for TI eQEP

2019-08-21 Thread Rob Herring
On Wed, Aug 07, 2019 at 02:40:20PM -0500, David Lechner wrote: > This documents device tree binding for the Texas Instruments Enhanced > Quadrature Encoder Pulse (eQEP) Module found in various TI SoCs. > > Signed-off-by: David Lechner > --- > > v2 changes: > - convert to .yaml format > - rename

Re: [RFC PATCH] powerpc: Convert ____flush_dcache_icache_phys() to C

2019-08-21 Thread Christophe Leroy
Le 20/08/2019 à 06:36, Alastair D'Silva a écrit : On Fri, 2019-08-16 at 15:52 +, Christophe Leroy wrote: [...] Thanks Christophe, I'm trying a somewhat different approach that requires less knowledge of assembler. Handling of CPU_FTR_COHERENT_ICACHE is outside this function. The

[PATCH] net: usb: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-21 Thread Markus Elfring
From: Markus Elfring Date: Wed, 21 Aug 2019 22:16:02 +0200 The dev_kfree_skb() function performs also input parameter validation. Thus the test around the shown calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH v2 3/4] dt-bindings: iio: adc: Migrate AD7606 documentation to yaml

2019-08-21 Thread Rob Herring
On Wed, Aug 07, 2019 at 04:31:36PM +0300, Beniamin Bia wrote: > The documentation for ad7606 was migrated to yaml. > > Signed-off-by: Beniamin Bia > --- > Changes in v2: > -old txt file was deleted > > .../bindings/iio/adc/adi,ad7606.txt | 66 - >

Re: [PATCH v2 4/4] dt-bindings: iio: adc: Add AD7606B ADC documentation

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 16:31:37 +0300, Beniamin Bia wrote: > Documentation for AD7606B Analog to Digital Converter and software > mode was added. > > Signed-off-by: Beniamin Bia > --- > Changes in v2: > -nothing changed > > Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml | 4 +++- > 1

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-21 Thread Luck, Tony
On Tue, Aug 20, 2019 at 04:57:35PM +0200, Peter Zijlstra wrote: > On Tue, Aug 20, 2019 at 12:48:05PM +, Luck, Tony wrote: > > > > >> +#define INTEL_FAM6_ATOM_AIRMONT_NP0x75 /* Lightning Mountain */ > > > > > > What's _NP ? > > > > Network Processor. But that is too narrow a descriptor.

[RFC PATCH 5/5] ASoC: SOF: Intel: add support for SoundWire suspend/resume

2019-08-21 Thread Pierre-Louis Bossart
Somehow the core0 needs to be on to set-up the interrupts and power-up the SoundWire IP. Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/intel/hda-dsp.c | 11 +++ sound/soc/sof/intel/hda.c | 2 +- sound/soc/sof/intel/hda.h | 5 + 3 files changed, 17 insertions(+), 1

[RFC PATCH 1/5] ASoC: SOF: IPC: dai-intel: move ALH declarations in header file

2019-08-21 Thread Pierre-Louis Bossart
ALH was inserted in the wrong place during integration, add after DMIC to mirror the file used by SOF firmware. No functional change, just text move in the same file to better track changes, if any. Signed-off-by: Pierre-Louis Bossart --- include/sound/sof/dai-intel.h | 18 +-

[RFC PATCH 2/5] ASoC: SOF: Intel: hda: add helper to initialize SoundWire IP

2019-08-21 Thread Pierre-Louis Bossart
The helper calls the SoundWire initializations and sets the resource structure defined as an interface with the platform driver. The resource deals with PCI base address, interrupts and the callback for the stream configuration. The interrupts are gated/ungated at the top-level with the

[RFC PATCH 3/5] ASoC: SOF: Intel: hda: add SoundWire IP support

2019-08-21 Thread Pierre-Louis Bossart
The Core0 needs to be powered before the SoundWire IP is initialized. Call sdw_intel_init/exit and store the context. We only have one context, but depending on the hardware capabilities and BIOS settings may enable multiple SoundWire links. Signed-off-by: Pierre-Louis Bossart ---

[RFC PATCH 0/5] ASoC: SOF: Intel: SoundWire initial integration

2019-08-21 Thread Pierre-Louis Bossart
This RFC is the companion of the other RFC 'soundwire: intel: simplify DAI/PDI handling​'. Our purpose at this point is to gather feedback on the interfaces between the Intel SOF parts and the SoundWire code. The suggested solution is a simple init/release inserted at probe/remove and

[RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks

2019-08-21 Thread Pierre-Louis Bossart
These callbacks are invoked when a matching hw_params/hw_free() DAI operation takes place, and will result in IPC operations with the SOF firmware. Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/intel/hda.c | 66 +++ 1 file changed, 66 insertions(+)

Re: [PATCH 1/1] iio: core: Fix fractional format generation

2019-08-21 Thread Lars-Peter Clausen
On 8/21/19 5:50 PM, Alexander Stein wrote: > In case the result is -0.3252 tmp0 is 0 after the div_s64_rem, so tmp0 is > non-negative which results in an output of 0.3252. > Fix this by explicitly handling the negative sign ourselves. Hi, Thanks for you patch. Some comments inline. > >

Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-21 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 21, 2019 at 04:54:47PM +, Yonghong Song escreveu: > Arnaldo has a question on bcc mailing list about the hit/miss > counting of bpf program missed to process events. > https://lists.iovisor.org/g/iovisor-dev/message/1783 PERF_FORMAT_LOST seems to be a good answer to that? See my

[RFC PATCH 08/11] soundwire: intel: add prepare support in sdw dai driver

2019-08-21 Thread Pierre-Louis Bossart
From: Rander Wang It gets sdw runtime information from dai to prepare stream. Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/soundwire/intel.c

[RFC PATCH 03/11] soundwire: intel: remove playback/capture stream_name

2019-08-21 Thread Pierre-Louis Bossart
From: Bard Liao We will create dai widget in SOF. Signed-off-by: Bard Liao Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index

[RFC PATCH 06/11] soundwire: cadence_master: improve PDI allocation

2019-08-21 Thread Pierre-Louis Bossart
From: Bard Liao PDI number should match dai->id, there is no need to track if a PDI is allocated or not. Signed-off-by: Bard Liao Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 27 ++- drivers/soundwire/cadence_master.h | 4 +---

[RFC PATCH 04/11] soundwire: cadence/intel: simplify PDI/port mapping

2019-08-21 Thread Pierre-Louis Bossart
The existing Linux code uses a 1:1 mapping between ports and PDIs, but still has an independent allocation of ports and PDIs. Let's simplify the code and remove the port layer by only using PDIs. This patch does not change any functionality, just removes unnecessary code. This will also allow

[RFC PATCH 11/11] soundwire: intel: free all resources on hw_free()

2019-08-21 Thread Pierre-Louis Bossart
From: Rander Wang Make sure all calls to the SoundWire stream API are done and involve callback Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git

[RFC PATCH 05/11] soundwire: intel: don't filter out PDI0/1

2019-08-21 Thread Pierre-Louis Bossart
PDI0/1 are reserved for Bulk and filtered out in the existing code. That leads to endless confusions on whether the index is the raw or corrected one. In addition we will need support for Bulk at some point so it's just simpler to expose those PDIs and not use it for now than try to be smart

[RFC PATCH 00/11] soundwire: intel: simplify DAI/PDI handling

2019-08-21 Thread Pierre-Louis Bossart
In the initial SoundWire code released by Intel, the PDIs and ports on the Master interface were dynamically allocated. This wasn't a bad idea at the time and would have allowed for interesting routing. Fast-forward to 2019, with the hardware available on CometLake/IceLake, that dynamic

[RFC PATCH 01/11] soundwire: intel: fix intel_register_dai PDI offsets and numbers

2019-08-21 Thread Pierre-Louis Bossart
From: Bard Liao There are two issues, likely copy/paste: 1. Use cdns->pcm.num_in instead of stream_num_in for consistency with the rest of the code. This was not detected earlier since platforms did not have input-only PDIs. 2. use the correct offset for bi-dir PDM, based on IN and OUT PDIs.

[RFC PATCH 09/11] soundwire: intel: add trigger support in sdw dai driver

2019-08-21 Thread Pierre-Louis Bossart
From: Rander Wang Sdw stream is enabled and disabled in trigger function. Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/soundwire/intel.c

[RFC PATCH 10/11] soundwire: intel: do sdw stream setup in setup function

2019-08-21 Thread Pierre-Louis Bossart
From: Rander Wang The sdw stream is allocated and stored in dai to share the sdw runtime information. Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 57 ++- 1 file changed, 56 insertions(+), 1 deletion(-)

[RFC PATCH 07/11] soundwire: intel: improve .config_stream callback, add .free_stream

2019-08-21 Thread Pierre-Louis Bossart
From: Rander Wang We need the link_id as a parameter for the config callback, and we also need a matching free callback in case any resources need to be released. Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 19 +--

[RFC PATCH 02/11] soundwire: remove DAI_ID_RANGE definitions

2019-08-21 Thread Pierre-Louis Bossart
There is no reason to reserve a range of DAI IDs for SoundWire. This is not scalable and it's better to let the ASoC core allocate the dai->id when registering a component. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 2 -- include/linux/soundwire/sdw.h | 3 --- 2

Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-21 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 21, 2019 at 06:43:49PM +, Yonghong Song escreveu: > On 8/21/19 11:31 AM, Peter Zijlstra wrote: > > On Wed, Aug 21, 2019 at 04:54:47PM +, Yonghong Song wrote: > >> A lot of bpf-based tracing programs uses maps to communicate and > >> do not allocate ring buffer at all. > > > >

Re: Boot failure due to: x86/boot: Save fields explicitly, zero out everything else

2019-08-21 Thread John Hubbard
On 8/21/19 12:49 PM, Neil MacLeod wrote: The fix looks good - many thanks for the quick turnaround! Great news, and thanks for the bug report! thanks, -- John Hubbard NVIDIA On Wed, 21 Aug 2019 at 19:56, John Hubbard wrote: On 8/21/19 11:51 AM, Thomas Gleixner wrote: On Wed, 21 Aug

[PATCH] powerpc/8xx: drop unused self-modifying code alternative to FixupDAR.

2019-08-21 Thread Christophe Leroy
The code which fixups the DAR on TLB errors for dbcX instructions has a self-modifying code alternative that has never been used. Drop it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 24 1 file changed, 24 deletions(-) diff --git

Re: [PATCH] x86/apic: reset LDR in clear_local_APIC

2019-08-21 Thread Bandan Das
Thomas Gleixner writes: > Bandan, > > On Wed, 21 Aug 2019, Bandan Das wrote: >> Thomas Gleixner writes: >> So, in KVM: if we make sure that the logical destination map isn't filled up >> if the virtual >> apic is not enabled by software, it really doesn't matter whether the LDR >> for an

Re: [PATCH] selftests: kvm: fix state save/load on processors without XSAVE

2019-08-21 Thread Jim Mattson
On Tue, Aug 20, 2019 at 8:36 AM Paolo Bonzini wrote: > > state_test and smm_test are failing on older processors that do not > have xcr0. This is because on those processor KVM does provide > support for KVM_GET/SET_XSAVE (to avoid having to rely on the older > KVM_GET/SET_FPU) but not for

Re: Boot failure due to: x86/boot: Save fields explicitly, zero out everything else

2019-08-21 Thread Neil MacLeod
The fix looks good - many thanks for the quick turnaround! Neil On Wed, 21 Aug 2019 at 19:56, John Hubbard wrote: > > On 8/21/19 11:51 AM, Thomas Gleixner wrote: > > On Wed, 21 Aug 2019, John Hubbard wrote: > >> On 8/21/19 10:05 AM, Neil MacLeod wrote: > >> static void

Re: [PATCH 11/19] fuse, dax: Implement dax read/write operations

2019-08-21 Thread Liu Bo
On Wed, Aug 21, 2019 at 01:57:12PM -0400, Vivek Goyal wrote: > This patch implements basic DAX support. mmap() is not implemented > yet and will come in later patches. This patch looks into implemeting > read/write. > > We make use of interval tree to keep track of per inode dax mappings. > > Do

Re: [PATCH 3/3] KVM: x86: use Intel speculation bugs and features as derived in generic x86 code

2019-08-21 Thread Jim Mattson
On Wed, Aug 21, 2019 at 1:27 AM Paolo Bonzini wrote: > > Similar to AMD bits, set the Intel bits from the vendor-independent > feature and bug flags, because KVM_GET_SUPPORTED_CPUID does not care > about the vendor and they should be set on AMD processors as well. > > Suggested-by: Jim Mattson >

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-21 Thread Jason Gunthorpe
On Wed, Aug 21, 2019 at 11:57:03AM -0700, Ira Weiny wrote: > > Oh, I didn't think we were talking about that. Hanging the close of > > the datafile fd contingent on some other FD's closure is a recipe for > > deadlock.. > > The discussion between Jan and Dave was concerning what happens when a

Re: [PATCH 2/3] KVM: x86: always expose VIRT_SSBD to guests

2019-08-21 Thread Jim Mattson
On Wed, Aug 21, 2019 at 1:27 AM Paolo Bonzini wrote: > > Even though it is preferrable to use SPEC_CTRL (represented by > X86_FEATURE_AMD_SSBD) instead of VIRT_SPEC, VIRT_SPEC is always > supported anyway because otherwise it would be impossible to > migrate from old to new CPUs. Make this

Re: [PATCH] x86/boot: Fix boot failure regression

2019-08-21 Thread Neil MacLeod
I can confirm 5.3-rc5 is booting again from internal M2 drive on Skylake i5 NUC with this commit - many thanks! Regards Neil On Wed, 21 Aug 2019 at 20:25, John Hubbard wrote: > > commit a90118c445cc ("x86/boot: Save fields explicitly, zero out > everything else") had two errors: > > * It

Re: [PATCH 1/3] KVM: x86: fix reporting of AMD speculation bug CPUID leaf

2019-08-21 Thread Jim Mattson
On Wed, Aug 21, 2019 at 1:27 AM Paolo Bonzini wrote: > > The AMD_* bits have to be set from the vendor-independent > feature and bug flags, because KVM_GET_SUPPORTED_CPUID does not care > about the vendor and they should be set on Intel processors as well. > On top of this, SSBD, STIBP and

Re: [PATCH] mm/balloon_compaction: suppress allocation warnings

2019-08-21 Thread Nadav Amit
> On Aug 21, 2019, at 12:13 PM, David Hildenbrand wrote: > > On 21.08.19 18:34, Nadav Amit wrote: >>> On Aug 21, 2019, at 9:29 AM, David Hildenbrand wrote: >>> >>> On 21.08.19 18:23, Nadav Amit wrote: > On Aug 21, 2019, at 9:05 AM, David Hildenbrand wrote: > > On 20.08.19 11:16,

Re: [PATCH v2 4/7] dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 12:39:54 +0530, Sibi Sankar wrote: > Add SM8150 and SC7180 APSS shared to the list of possible bindings. > > Signed-off-by: Sibi Sankar > --- > .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Rob

Re: [PATCH v2 6/7] dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 12:39:56 +0530, Sibi Sankar wrote: > Add SM8150 and SC7180 AOSS QMP to the list of possible bindings. > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >

Re: [PATCH v2 2/7] dt-bindings: firmware: scm: re-order compatible list

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 12:39:52 +0530, Sibi Sankar wrote: > re-order compatible list to maintain sort order. > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH v2 3/7] dt-bindings: firmware: scm: Add SM8150 and SC7180 support

2019-08-21 Thread Rob Herring
On Wed, 7 Aug 2019 12:39:53 +0530, Sibi Sankar wrote: > Add compatible for SM8150 and SC7180 SoCs. > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Rob Herring

[patch V2 06/38] posix-cpu-timers: Sample directly in timer check

2019-08-21 Thread Thomas Gleixner
The thread group accounting is active, otherwise the expiry function would not be running. Sample the thread group time directly. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) ---

[patch V2 03/38] posix-cpu-timers: Use common permission check in posix_cpu_timer_create()

2019-08-21 Thread Thomas Gleixner
Yet another copy of the same thing gone... Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 35 +++ 1 file changed, 3 insertions(+), 32 deletions(-) --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c @@ -316,44 +316,15

[PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-21 Thread Markus Elfring
From: Markus Elfring Date: Wed, 21 Aug 2019 21:16:15 +0200 The dev_kfree_skb() function performs also input parameter validation. Thus the test around the shown calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[patch V2 07/38] posix-cpu-timers: Rename thread_group_cputimer() and make it static

2019-08-21 Thread Thomas Gleixner
thread_group_cputimer() is a complete misnomer. The function does two things: - For arming process wide timers it makes sure that the atomic time storage is up to date. If no cpu timer is armed yet, then the atomic time storage is not updated by the scheduler for performance reasons.

[patch V2 04/38] posix-cpu-timers: Provide quick sample function for itimer

2019-08-21 Thread Thomas Gleixner
get_itimer() needs a sample of the current thread group cputime. It invokes thread_group_cputimer() - which is a misnomer. That function also starts eventually the group cputime accouting which is bogus because the accounting is already active when a timer is armed. Signed-off-by: Thomas Gleixner

[patch V2 08/38] posix-cpu-timers: Consolidate thread group sample code

2019-08-21 Thread Thomas Gleixner
cpu_clock_sample_group() and cpu_timer_sample_group() are almost the same. Before the rename one called thread_group_cputimer() and the other thread_group_cputime(). Really intuitive function names. Consolidate the functions and also avoid the thread traversal when the thread group's accounting

[patch V2 01/38] posix-cpu-timers: Provide task validation functions

2019-08-21 Thread Thomas Gleixner
The code contains three slightly different copies of validating whether a given clock resolves to a valid task and whether the current caller has permissions to access it. Create central functions. Replace check_clock() as a first step and rename it to something sensible. Signed-off-by: Thomas

[patch V2 14/38] posix-cpu-timers: Get rid of pointer indirection

2019-08-21 Thread Thomas Gleixner
Now that the sample functions have no return value anymore, the result can simply be returned instead of using pointer indirection. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 50 ++--- 1 file changed, 22 insertions(+), 28

[patch V2 02/38] posix-cpu-timers: Use common permission check in posix_cpu_clock_get()

2019-08-21 Thread Thomas Gleixner
Replace the next slightly different copy of permission checks. That also removes the necessarity to check the return value of the sample functions because the clock id is already validated. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 61

[patch V2 13/38] posix-cpu-timers: Simplify sample functions

2019-08-21 Thread Thomas Gleixner
All callers hand in a valdiated clock id. Remove the return value which was unchecked in most places anyway. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) ---

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