KCSAN: data-race in exit_signals / prepare_signal

2019-10-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d724f94f x86, kcsan: Enable KCSAN for x86 git tree: https://github.com/google/ktsan.git kcsan console output: https://syzkaller.appspot.com/x/log.txt?x=13eab79f60 kernel config: https://syzkaller.appspot.com/x/.config?x=c0906

Re: [PATCH v4 3/3] pci: intel: Add sysfs attributes to configure pcie link

2019-10-21 Thread Dilip Kota
Hi Gustavo Pimentel, On 10/21/2019 4:40 PM, Gustavo Pimentel wrote: On Mon, Oct 21, 2019 at 7:39:20, Dilip Kota wrote: PCIe RC driver on Intel Gateway SoCs have a requirement of changing link width and speed on the fly. So add the sysfs attributes to show and store the link properties. Add th

Re: [PATCH] cpufreq: flush any pending policy update work scheduled before freeing

2019-10-21 Thread Sudeep Holla
On Mon, Oct 21, 2019 at 02:14:51AM +0200, Rafael J. Wysocki wrote: > On Fri, Oct 18, 2019 at 1:06 PM Sudeep Holla wrote: > > > > On Fri, Oct 18, 2019 at 12:37:51PM +0200, Rafael J. Wysocki wrote: > > > On Friday, October 18, 2019 12:19:24 PM CEST Sudeep Holla wrote: > > > > On Fri, Oct 18, 2019 at

Re: [RFC 1/2] vhost: IFC VF hardware operation layer

2019-10-21 Thread Jason Wang
On 2019/10/21 下午6:00, Zhu, Lingshan wrote: On 10/16/2019 4:40 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingshan wrote: This commit introduced ifcvf_base layer, which handles IFC VF NIC hardware operations and configurations. It's better to describe the difference between ifc vf an

[PATCH v6 03/15] drivers: thermal: tsens: Add __func__ identifier to debug statements

2019-10-21 Thread Amit Kucheria
Printing the function name when enabling debugging makes logs easier to read. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd Reviewed-by: Daniel Lezcano --- drivers/thermal/qcom/tsens-common.c | 8 drivers/thermal/qcom/tsens.c| 6 +++--- 2 files changed, 7 insertions(+

[PATCH v6 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-10-21 Thread Amit Kucheria
There are two fields - id and hw_id - to track what sensor an action was to performed on. This was because the sensors connected to a TSENS IP might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. This causes confusion in the code which uses hw_id sometimes and id other times (tsens_get_te

[PATCH v6 10/15] arm64: dts: msm8998: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi i

[PATCH v6 05/15] arm: dts: msm8974: thermal: Add thermal zones for each sensor

2019-10-21 Thread Amit Kucheria
msm8974 has 11 sensors connected to a single TSENS IP. Define a thermal zone for each of those sensors to expose the temperature of each zone. Signed-off-by: Amit Kucheria Tested-by: Brian Masney Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 90 +++

[PATCH v6 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors

2019-10-21 Thread Amit Kucheria
msm8916 uses sensors 0, 1, 2, 4 and 5. Sensor 3 is NOT used. Fixup the device tree so that the correct sensor ID is used and as a result we can actually check the temperature for the cpu2_3 sensor. Signed-off-by: Amit Kucheria Reviewed-by: Daniel Lezcano Reviewed-by: Stephen Boyd --- arch/arm6

[PATCH v6 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-10-21 Thread Amit Kucheria
Move platform_set_drvdata up to avoid an extra 'if (ret)' check after the call to tsens_register. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd Reviewed-by: Daniel Lezcano --- drivers/thermal/qcom/tsens.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/driv

[PATCH v6 07/15] dt-bindings: thermal: tsens: Convert over to a yaml schema

2019-10-21 Thread Amit Kucheria
Older IP only supports the 'uplow' interrupt, but newer IP supports 'uplow' and 'critical' interrupts. Document interrupt support in the tsens driver by converting over to a YAML schema. Suggested-by: Stephen Boyd Signed-off-by: Amit Kucheria Reviewed-by: Rob Herring --- .../bindings/thermal/q

[PATCH v6 08/15] arm64: dts: sdm845: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.

[PATCH v6 04/15] drivers: thermal: tsens: Add debugfs support

2019-10-21 Thread Amit Kucheria
Dump some basic version info and sensor details into debugfs. Example from qcs404 below: --(/sys/kernel/debug) $ ls tsens/ 4a9000.thermal-sensor version --(/sys/kernel/debug) $ cat tsens/version 1.4.0 --(/sys/kernel/debug) $ cat tsens/4a9000.thermal-sensor/sensors max: 11 num: 10 idslo

[PATCH v6 15/15] drivers: thermal: tsens: Add interrupt support

2019-10-21 Thread Amit Kucheria
Depending on the IP version, TSENS supports upper, lower and critical threshold interrupts. We only add support for upper and lower threshold interrupts for now. TSENSv2 has an irq [status|clear|mask] bit tuple for each sensor while earlier versions only have a single bit per sensor to denote stat

[PATCH v6 00/15] thermal: qcom: tsens: Add interrupt support

2019-10-21 Thread Amit Kucheria
Daniel, only patch 15 needs to be changed in the tree being submitted to linux-next. But here is the entire series for completeness. Hi Thermal and MSM maintainers, I believe this series is now ready to be merged. The DT bindings and driver changes should go through the thermal tree and the chang

[PATCH v6 09/15] arm64: dts: msm8996: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 87f4d9c1b0d4c

[PATCH v6 11/15] arm64: dts: qcs404: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index a97eeb4569c00..b6a4e60739362 100

[PATCH v6 14/15] drivers: thermal: tsens: Create function to return sign-extended temperature

2019-10-21 Thread Amit Kucheria
Hide the details of how to convert values read from TSENS HW to mCelsius behind a function. All versions of the IP can be supported as a result. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd --- drivers/thermal/qcom/tsens-common.c | 49 - 1 file changed, 35

[PATCH v6 12/15] arm: dts: msm8974: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria Tested-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 33c534370f

[PATCH v6 13/15] arm64: dts: msm8916: thermal: Add interrupt support

2019-10-21 Thread Amit Kucheria
Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905cc..807f86a4535e0

Re: [PATCH v3 4/4] perf/core,x86: synchronize PMU task contexts on optimized context switches

2019-10-21 Thread Peter Zijlstra
On Mon, Oct 21, 2019 at 09:59:42AM +0200, Ingo Molnar wrote: > > * Alexey Budankov wrote: > > > + /* > > +* PMU specific parts of task perf context may require > > +* additional synchronization, at least for proper Intel > > +

Re: [Patch 07/19] media: ti-vpe: cal: add CSI2 PHY LDO errata support

2019-10-21 Thread Hans Verkuil
On 10/18/19 5:34 PM, Benoit Parrot wrote: > Apply Errata i913 every time the functional clock is enabled. > This should take care of suspend/resume case as well. > > Signed-off-by: Benoit Parrot > Signed-off-by: Jyri Sarha > --- > drivers/media/platform/ti-vpe/cal.c | 56 ++

Re: [PATCH 03/10] ARM: dts: imx6ul-kontron-n6310-s: Move common nodes to a separate file

2019-10-21 Thread k...@kernel.org
On Wed, Oct 16, 2019 at 03:07:25PM +, Schrempf Frieder wrote: > From: Frieder Schrempf > > The baseboard for the Kontron N6310 SoM is also used for other SoMs > such as N6311 and N6411. In order to share the code, we move the > definitions of the baseboard to a separate dtsi file. > > Signed

Re: [PATCH 1/1] PCI: iproc: Invalidate PAXB address mapping before programming it

2019-10-21 Thread Lorenzo Pieralisi
On Thu, Oct 17, 2019 at 07:57:56PM +0530, Abhishek Shah wrote: > Hi Lorenzo, > > Please see my comments inline: > > On Tue, Oct 15, 2019 at 10:13 PM Lorenzo Pieralisi > wrote: > > > > On Fri, Sep 06, 2019 at 09:28:13AM +0530, Abhishek Shah wrote: > > > Invalidate PAXB inbound/outbound address ma

Compliment of the day,

2019-10-21 Thread Mr.Philip
Compliment of the day, I am Mr.Philip.Kabore I Have a Business Proposal of $5.3 million For You. I am aware of the unsafe nature of the internet, and was compelled to use this medium due to the nature of this project. I have access to very vital information that can be used to transfer this huge

Re: [PATCH 04/10] ARM: dts: Add support for two more Kontron evalkit boards 'N6311 S' and 'N6411 S'

2019-10-21 Thread k...@kernel.org
On Wed, Oct 16, 2019 at 03:07:28PM +, Schrempf Frieder wrote: > From: Frieder Schrempf > > The 'N6311 S' and the 'N6411 S' are similar to the Kontron 'N6310 S' > evaluation kit boards. Instead of the N6310 SoM, they feature a N6311 > or N6411 SoM. > > Signed-off-by: Frieder Schrempf > --- >

Re: [PATCH] ARM: davinci: dm365-evm: Add Fixed regulators needed for tlv320aic3101

2019-10-21 Thread Peter Ujfalusi
On 17/10/2019 16.49, Sekhar Nori wrote: > On 17/10/19 4:39 PM, Sekhar Nori wrote: >> On 30/08/19 3:52 PM, Peter Ujfalusi wrote: >>> The codec driver needs correct regulators in order to probe. >>> Both VCC_3V3 and VCC_1V8 is always on fixed regulators on the board. >>> >>> Signed-off-by: Peter U

Re: [PATCH v2 1/3] dt-bindings: clock: meson: add A1 clock controller bindings

2019-10-21 Thread Jerome Brunet
On Fri 18 Oct 2019 at 09:14, Jian Hu wrote: > Add the documentation to support Amlogic A1 clock driver, > and add A1 clock controller bindings. > > Signed-off-by: Jian Hu > --- > .../devicetree/bindings/clock/amlogic,a1-clkc.yaml | 143 > + Those are 2 different controller

Re: [PATCH 09/10] dt-bindings: arm: fsl: Add more Kontron i.MX6UL/ULL compatibles

2019-10-21 Thread k...@kernel.org
On Wed, Oct 16, 2019 at 03:07:36PM +, Schrempf Frieder wrote: > From: Frieder Schrempf > > Add the compatibles for Kontron i.MX6UL N6311 SoM and boards and > the compatibles for Kontron i.MX6ULL N6411 SoM and boards. > > Signed-off-by: Frieder Schrempf > --- > Documentation/devicetree/bind

Re: [PATCH v4 2/3] dwc: PCI: intel: PCIe RC controller driver

2019-10-21 Thread Dilip Kota
Hi Gustavo Pimentel, On 10/21/2019 4:29 PM, Gustavo Pimentel wrote: Hi On Mon, Oct 21, 2019 at 7:39:19, Dilip Kota wrote: Add support to PCIe RC controller on Intel Gateway SoCs. PCIe controller is based of Synopsys DesignWare pci core. Intel PCIe driver requires Upconfig support, fast trai

Re: [PATCH v2 02/11] mfd: wcd934x: add support to wcd9340/wcd9341 codec

2019-10-21 Thread Lee Jones
On Fri, 18 Oct 2019, Srinivas Kandagatla wrote: > Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC. > > This codec has integrated SoundWire controller, pin controller and > interrupt controller. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/mfd/Kconfig

Re: [Patch 19/19] dt-bindings: media: cal: convert binding to yaml

2019-10-21 Thread Hans Verkuil
On 10/18/19 5:34 PM, Benoit Parrot wrote: > Convert ti-cal.txt to ti,cal.yaml. > > Signed-off-by: Benoit Parrot Can you add this bindings file to MAINTAINERS as well in a separate patch? Thanks! Hans > --- > .../devicetree/bindings/media/ti,cal.yaml | 186 ++ > ..

Re: [Patch 00/19] media: ti-vpe: cal: maintenance

2019-10-21 Thread Hans Verkuil
Hi Benoit, This series looks good to me. I had just one small comment on patch 7 and a comment on patch 19. Just post a v2 for just patch 7/19 and post a patch 20/19 for the requested MAINTAINERS change. Once I have Rob's Acks I can merge this. Regards, Hans On 10/18/19 5:34 PM, Benoi

[PATCH v5] arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()

2019-10-21 Thread Yunfeng Ye
In cases like suspend-to-disk and suspend-to-ram, a large number of CPU cores need to be shut down. At present, the CPU hotplug operation is serialised, and the CPU cores can only be shut down one by one. In this process, if PSCI affinity_info() does not return LEVEL_OFF quickly, cpu_psci_cpu_kill(

Re: [PATCH 05/10] ARM: dts: imx6ul-kontron-n6x1x: Add 'chosen' node with 'stdout-path'

2019-10-21 Thread k...@kernel.org
On Wed, Oct 16, 2019 at 03:07:28PM +, Schrempf Frieder wrote: > From: Frieder Schrempf > > The Kontron N6x1x SoMs all use uart4 as a debug serial interface. > Therefore we set in the 'chosen' node. > > Signed-off-by: Frieder Schrempf > --- > arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-commo

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Pali Rohár
On Sunday 20 October 2019 20:08:20 Richard Weinberger wrote: > On Sat, Oct 19, 2019 at 10:33 AM Konstantin Komarov > wrote: > > > > Recently exFAT filesystem specification has been made public by Microsoft > > (https://docs.microsoft.com/en-us/windows/win32/fileio/exfat-specification). > > Having

Re: [PATCH v3 0/5] cpufreq: merge arm big.LITTLE and vexpress-spc drivers

2019-10-21 Thread Viresh Kumar
On 18-10-19, 11:37, Sudeep Holla wrote: > Hi, > > Since vexpress-spc is the sole user of arm_big_little cpufreq driver, > there's no point in keeping it separate anymore. I wanted to post these > patches for ages but kept postponing for no reason. > > Regards, > Sudeep > > v1->v2: > - gene

Re: [PATCH] cpufreq: flush any pending policy update work scheduled before freeing

2019-10-21 Thread Viresh Kumar
On 21-10-19, 11:27, Sudeep Holla wrote: > I just tested now with today's linux-pm/bleeding-edge branch. > And even if I move cancel_work_sync just after freq_qos_remove_notifier, > it works fine now. It was not the case on Friday. > > Is that what you wanted to check or something else ? > > Regar

[PATCH v2 4/9] mfd: cs5535-mfd: Register clients using their own dedicated MFD cell entries

2019-10-21 Thread Lee Jones
CS5535 is the only user of mfd_clone_cell(). It makes more sense to register child devices in the traditional way and remove the quite bespoke mfd_clone_cell() call from the MFD API. Signed-off-by: Lee Jones --- drivers/mfd/cs5535-mfd.c | 24 ++-- 1 file changed, 18 insertio

[PATCH v2 7/9] mfd: mfd-core: Protect against NULL call-back function pointer

2019-10-21 Thread Lee Jones
If a child device calls mfd_cell_{en,dis}able() without an appropriate call-back being set, we are likely to encounter a panic. Avoid this by adding suitable checking. Signed-off-by: Lee Jones --- drivers/mfd/mfd-core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd

[PATCH v2 1/9] mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message

2019-10-21 Thread Lee Jones
In most contexts '-1' doesn't really mean much to the casual observer. In almost all cases, it's better to use a human readable define. In this case PLATFORM_DEVID_* defines have already been provided for this purpose. While we're here, let's be specific about the 'MFD devices' which failed. It

[PATCH v2 8/9] mfd: mfd-core: Remove usage counting for .{en,dis}able() call-backs

2019-10-21 Thread Lee Jones
The MFD implementation for reference counting was complex and unnecessary. There was only one bona fide user which has now been converted to handle the process in a different way. Any future resource protection, shared enablement functions should be handed by the parent device, rather than through

[PATCH v2 2/9] mfd: cs5535-mfd: Remove mfd_cell->id hack

2019-10-21 Thread Lee Jones
The current implementation abuses the platform 'id' mfd_cell member to index into the correct resources entry. If we place all cells into their numbered slots, we can cycle through all the cell entries and only process the populated ones which avoids this behaviour. Signed-off-by: Lee Jones ---

[PATCH v2 6/9] x86: olpc: Remove invocation of MFD's .enable()/.disable() call-backs

2019-10-21 Thread Lee Jones
IO regions are now requested and released by this device's parent. Signed-off-by: Lee Jones --- arch/x86/platform/olpc/olpc-xo1-pm.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo1-pm.c b/arch/x86/platform/olpc/olpc-xo1-pm.c index e1a32062a375..0fc57b597

[PATCH v2 3/9] mfd: cs5535-mfd: Request shared IO regions centrally

2019-10-21 Thread Lee Jones
Prior to this patch, IO regions were requested via an MFD subsytem-level .enable() call-back and similarly released by a .disable() call-back. Double requests/releases were avoided by a centrally handled usage count mechanism. This complexity can all be avoided by handling IO regions only once dur

[PATCH v2 5/9] mfd: mfd-core: Remove mfd_clone_cell()

2019-10-21 Thread Lee Jones
Providing a subsystem-level API helper seems over-kill just to save a few lines of C-code. Previous commits saw us convert mfd_clone_cell()'s only user over to use a more traditional style of MFD child-device registration. Now we can remove the superfluous helper from the MFD API. Signed-off-by:

[PATCH v2 9/9] mfd: mfd-core: Move pdev->mfd_cell creation back into mfd_add_device()

2019-10-21 Thread Lee Jones
Most of the complexity of mfd_platform_add_cell() has been removed. The only functionality left duplicates cell memory into the child's platform device. Since it's only a few lines, moving it to the main thread and removing the superfluous function makes sense. Signed-off-by: Lee Jones --- drive

Re: [PATCH] clk: qcom: gcc: Add missing clocks in SM8150

2019-10-21 Thread Vinod Koul
On 17-10-19, 10:48, Stephen Boyd wrote: > > > > diff --git a/drivers/clk/qcom/gcc-sm8150.c > > > > b/drivers/clk/qcom/gcc-sm8150.c > > > > index 12ca2d14797f..13d4d14a5744 100644 > > > > --- a/drivers/clk/qcom/gcc-sm8150.c > > > > +++ b/drivers/clk/qcom/gcc-sm8150.c > > > > @@ -1616,6 +1616,38 @@

[PATCH v2 0/9] Simplify MFD Core

2019-10-21 Thread Lee Jones
MFD currently has one over-complicated user. CS5535 uses a mixture of cell cloning, reference counting and subsystem-level call-backs to achieve its goal of requesting an IO memory region only once across 3 consumers. The same can be achieved by handling the region centrally during the parent dev

Re: drivers/usb/usbip/vhci_tx.c:150:8-18: ERROR: reference preceded by free on line 150 (fwd)

2019-10-21 Thread Suwan Kim
On Mon, Oct 21, 2019 at 11:47:36AM +0200, Julia Lawall wrote: > > > On Mon, 21 Oct 2019, Suwan Kim wrote: > > > On Sat, Oct 19, 2019 at 07:49:29PM +0200, Julia Lawall wrote: > > > Is it guaranteed that if usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS (line > > > 123) is true on one iteration, then

Re: [PATCH 1/4] dt-bindings: Add bindings for USB3 phy on Allwinner H6

2019-10-21 Thread Maxime Ripard
On Sun, Oct 20, 2019 at 03:42:26PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > The new Allwinner H6 SoC contains a USB3 PHY that is wired to the > external USB3 pins of the SoC. > > Add a device tree binding for the PHY. > > Signed-off-by: Ondrej Jirman > --- > .../phy/allwinner,su

Re: [PATCH] fbdev/omap: fix max fclk divider for omap36xx

2019-10-21 Thread Adam Ford
On Mon, Oct 21, 2019 at 3:44 AM Tomi Valkeinen wrote: > > On 18/10/2019 16:05, Adam Ford wrote: > > The OMAP36xx and AM/DM37x TRMs say that the maximum divider for DSS fclk > > (in CM_CLKSEL_DSS) is 32. Experimentation shows that this is not > > correct, and using divider of 32 breaks DSS with a f

Re: [alsa-devel] [PATCH] ASoC: bdw-rt5677: enable runtime channel merge

2019-10-21 Thread Pierre-Louis Bossart
In the DAI link "Capture PCM", the FE DAI "Capture Pin" supports 4-channel capture but the BE DAI supports only 2-channel capture. To fix the channel mismatch, we need to enable the runtime channel merge for this DAI link. Hi Pierre, This patch is for the same issue discussed in the followi

Re: [alsa-devel] [PATCH v2 4/5] soundwire: intel/cadence: add flag for interrupt enable

2019-10-21 Thread Pierre-Louis Bossart
On 10/20/19 11:14 PM, Vinod Koul wrote: On 16-09-19, 14:09, Pierre-Louis Bossart wrote: Prepare for future PM support and fix error handling by disabling interrupts as needed. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 18 -- drivers/soundwi

Re: [alsa-devel] [PATCH v2 2/5] soundwire: cadence_master: add hw_reset capability in debugfs

2019-10-21 Thread Pierre-Louis Bossart
On 10/20/19 11:04 PM, Vinod Koul wrote: On 16-09-19, 14:09, Pierre-Louis Bossart wrote: Provide debugfs capability to kick link and devices into hard-reset (as defined by MIPI). This capability is really useful when some devices are no longer responsive and/or to check the software handling of r

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Maurizio Lombardi
Dne 21.10.2019 v 12:54 Pali Rohár napsal(a): > Plus there is new version of > this out-of-tree Samsung's exfat driver called sdfat which can be found > in some Android phones. [...] > > About that one implementation from Samsung, which was recently merged > into staging tree, more people wro

Re: [PATCH 2/4] phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC

2019-10-21 Thread Maxime Ripard
On Sun, Oct 20, 2019 at 03:42:27PM +0200, meg...@megous.com wrote: > From: Icenowy Zheng > > Allwinner H6 SoC contains a USB3 PHY (with USB2 DP/DM lines also > controlled). > > Add a driver for it. > > The register operations in this driver is mainly extracted from the BSP > USB3 driver. > > Signe

Re: [PATCH 4/4] arm64: dts: allwinner: orange-pi-3: Enable USB 3.0 host support

2019-10-21 Thread Maxime Ripard
On Sun, Oct 20, 2019 at 03:42:29PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > Enable Allwinner's USB 3.0 phy and the host controller. Orange Pi 3 > board has GL3510 USB 3.0 4-port hub connected to the SoC's USB 3.0 > port. All four ports are exposed via USB3-A connectors. VBUS is >

Re: [PATCH v2 2/9] mfd: cs5535-mfd: Remove mfd_cell->id hack

2019-10-21 Thread Daniel Thompson
On Mon, Oct 21, 2019 at 11:58:15AM +0100, Lee Jones wrote: > The current implementation abuses the platform 'id' mfd_cell member > to index into the correct resources entry. If we place all cells > into their numbered slots, we can cycle through all the cell entries > and only process the populate

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Pali Rohár
On Friday 18 October 2019 15:18:39 Konstantin Komarov wrote: > Recently exFAT filesystem specification has been made public by Microsoft > (https://docs.microsoft.com/en-us/windows/win32/fileio/exfat-specification). > Having decades of expertise in commercial file systems development, we at > Par

Re: [PATCH v7 2/2] drm/bridge: Add NWL MIPI DSI host controller support

2019-10-21 Thread kbuild test robot
to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Guido-G-nther/dt-bindings-display-bridge-Add-binding-for-NWL-mipi-dsi-host-controller/20191021-180825 base: https://git.kernel.org/pub/scm/linux/kern

Re: [PATCH v4 5/6] media: sun4i: Add H3 deinterlace driver

2019-10-21 Thread Hans Verkuil
On 10/17/19 8:37 PM, Jernej Skrabec wrote: > Allwinner H3 SoC contains deinterlace unit, which has several modes of > operation - bypass, weave, bob and mixed (advanced) mode. I don't know > how mixed mode works, but according to Allwinner it gives best results, > so they use it exclusively. Curren

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Pali Rohár
On Monday 21 October 2019 13:08:07 Maurizio Lombardi wrote: > Dne 21.10.2019 v 12:54 Pali Rohár napsal(a): > > Plus there is new version of > > this out-of-tree Samsung's exfat driver called sdfat which can be found > > in some Android phones. > > [...] > > > > > About that one implementation f

Re: [PATCH v6 3/5] x86/kvm: Add "nopvspin" parameter to disable PV spinlocks

2019-10-21 Thread Vitaly Kuznetsov
Zhenzhong Duan writes: > There are cases where a guest tries to switch spinlocks to bare metal > behavior (e.g. by setting "xen_nopvspin" on XEN platform and > "hv_nopvspin" on HYPER_V). > > That feature is missed on KVM, add a new parameter "nopvspin" to disable > PV spinlocks for KVM guest. > >

Re: [PATCH v2 1/9] mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message

2019-10-21 Thread Daniel Thompson
On Mon, Oct 21, 2019 at 11:58:14AM +0100, Lee Jones wrote: > In most contexts '-1' doesn't really mean much to the casual observer. > In almost all cases, it's better to use a human readable define. In > this case PLATFORM_DEVID_* defines have already been provided for this > purpose. > > While w

Re: [PATCH v4 0/6] media: Introduce Allwinner H3 deinterlace driver

2019-10-21 Thread Hans Verkuil
Hi Jernej, I found something odd in the compliance output: On 10/17/19 8:37 PM, Jernej Skrabec wrote: > Starting with H3, Allwinner began to include standalone deinterlace > core in multimedia oriented SoCs. This patch series introduces support > for it. Note that new SoCs, like H6, have radicall

Re: [PATCH] arm64: dts: sun50i: sopine-baseboard: Expose serial1, serial2 and serial3

2019-10-21 Thread Maxime Ripard
Hi, On Wed, Oct 16, 2019 at 10:54:27PM +0800, Chen-Yu Tsai wrote: > On Wed, Oct 16, 2019 at 10:49 PM Maxime Ripard wrote: > > On Sat, Oct 12, 2019 at 01:05:24PM -0700, Alistair Francis wrote: > > > Follow what the sun50i-a64-pine64.dts does and expose all 5 serial > > > connections. > > > > > > S

Re: KCSAN: data-race in exit_signals / prepare_signal

2019-10-21 Thread Christian Brauner
[+Cc Will] On Mon, Oct 21, 2019 at 03:34:07AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:d724f94f x86, kcsan: Enable KCSAN for x86 > git tree: https://github.com/google/ktsan.git kcsan > console output: https://syzkaller.appspot.com/x/log.txt

Re: [PATCH v4 1/3] dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller

2019-10-21 Thread Andrew Murray
On Mon, Oct 21, 2019 at 02:39:18PM +0800, Dilip Kota wrote: > Add YAML shcemas for PCIe RC controller on Intel Gateway SoCs s/shcemas/schemas/ > which is Synopsys DesignWare based PCIe core. The revision history below doesn't need to be in the commit mesage and so you should add a '---' before t

Re: [PATCH v5] arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()

2019-10-21 Thread Sudeep Holla
On Mon, Oct 21, 2019 at 06:52:16PM +0800, Yunfeng Ye wrote: > In cases like suspend-to-disk and suspend-to-ram, a large number of CPU > cores need to be shut down. At present, the CPU hotplug operation is > serialised, and the CPU cores can only be shut down one by one. In this > process, if PSCI a

Re: [PATCH v3 1/4] perf/core,x86: introduce sync_task_ctx() method at struct pmu

2019-10-21 Thread Alexey Budankov
On 21.10.2019 13:27, Peter Zijlstra wrote: > On Fri, Oct 18, 2019 at 12:42:44PM +0300, Alexey Budankov wrote: >> diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h >> index 61448c19a132..60bf17af69f0 100644 >> --- a/include/linux/perf_event.h >> +++ b/include/linux/perf_event.h

Re: [PATCH v2 02/11] mfd: wcd934x: add support to wcd9340/wcd9341 codec

2019-10-21 Thread Srinivas Kandagatla
Thanks Lee for taking time to review. I agree with most of the style related comments, will fix them in next version. For others I have replied it inline. On 21/10/2019 11:46, Lee Jones wrote: On Fri, 18 Oct 2019, Srinivas Kandagatla wrote: Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-

Goodnews Horde Mail Users

2019-10-21 Thread dbrenman
Dear Horde Users Your Horde mailbox has exceeded the 2GB capacity as defined by the email administrator. So your mailbox is currently running on 2.30GB, as such, you will not been able to send or receive new messages until you update your horde mailbox by clicking on the link: http://hordemail

Re: [PATCH v2 0/9] Simplify MFD Core

2019-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2019 at 12:58 PM Lee Jones wrote: > > MFD currently has one over-complicated user. CS5535 uses a mixture of > cell cloning, reference counting and subsystem-level call-backs to > achieve its goal of requesting an IO memory region only once across 3 > consumers. The same can be ac

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Richard Weinberger
On Mon, Oct 21, 2019 at 1:13 PM Pali Rohár wrote: > On Monday 21 October 2019 13:08:07 Maurizio Lombardi wrote: > > Dne 21.10.2019 v 12:54 Pali Rohár napsal(a): > Maurizio, thank you for reference! I have not caught this Samsung > activity yet! So we now we have +1 for count of exFAT drivers. Thi

[PATCH v6] arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()

2019-10-21 Thread Yunfeng Ye
In cases like suspend-to-disk and suspend-to-ram, a large number of CPU cores need to be shut down. At present, the CPU hotplug operation is serialised, and the CPU cores can only be shut down one by one. In this process, if PSCI affinity_info() does not return LEVEL_OFF quickly, cpu_psci_cpu_kill(

Re: [PATCH v2 2/3] clk: meson: add support for A1 PLL clock ops

2019-10-21 Thread Jerome Brunet
On Fri 18 Oct 2019 at 09:14, Jian Hu wrote: > The A1 PLL design is different with previous SoCs. The PLL > internal analog modules Power-on sequence is different > with previous, and thus requires a strict register sequence to > enable the PLL. Unlike the previous series, the maximum frequency

Re: [PATCH v2 1/9] mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Daniel Thompson wrote: > On Mon, Oct 21, 2019 at 11:58:14AM +0100, Lee Jones wrote: > > In most contexts '-1' doesn't really mean much to the casual observer. > > In almost all cases, it's better to use a human readable define. In > > this case PLATFORM_DEVID_* defines have a

[PATCH v6] taskstats: fix data-race

2019-10-21 Thread Christian Brauner
When assiging and testing taskstats in taskstats_exit() there's a race when writing and reading sig->stats when a thread-group with more than one thread exits: cpu0: thread catches fatal signal and whole thread-group gets taken down do_exit() do_group_exit() taskstats_exit() taskstats_tgid_all

Re: [PATCH v2 1/9] mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Lee Jones wrote: > On Mon, 21 Oct 2019, Daniel Thompson wrote: > > > On Mon, Oct 21, 2019 at 11:58:14AM +0100, Lee Jones wrote: > > > In most contexts '-1' doesn't really mean much to the casual observer. > > > In almost all cases, it's better to use a human readable define.

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Maurizio Lombardi
Dne 21.10.2019 v 13:11 Pali Rohár napsal(a): > Are you going to add support also for TexFAT? Or at least for more two > FAT tables (like is used in FAT32)? > Just a small note here, differences between FAT and exFAT: 1) Contiguous files get a special treatment by exFAT: they do not use the FA

Re: [PATCH v8 0/5] arm64: ftrace with regs

2019-10-21 Thread Mark Rutland
On Sat, Oct 19, 2019 at 01:01:35PM +0200, Torsten Duwe wrote: > Hi Mark! Hi Torsten! > On Fri, 18 Oct 2019 18:41:02 +0100 Mark Rutland > wrote: > > > In the process of reworking this I spotted some issues that will get > > in the way of livepatching. Notably: > > > > * When modules can be loa

Re: [PATCH v2 0/9] Simplify MFD Core

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Arnd Bergmann wrote: > On Mon, Oct 21, 2019 at 12:58 PM Lee Jones wrote: > > > > MFD currently has one over-complicated user. CS5535 uses a mixture of > > cell cloning, reference counting and subsystem-level call-backs to > > achieve its goal of requesting an IO memory regio

Re: [PATCH 3/3] mm, pcpu: Make zone pcp updates and reset internal to the mm

2019-10-21 Thread Vlastimil Babka
On 10/21/19 11:48 AM, Mel Gorman wrote: > Memory hotplug needs to be able to reset and reinit the pcpu allocator > batch and high limits but this action is internal to the VM. Move > the declaration to internal.h > > Signed-off-by: Mel Gorman > Acked-by: Michal Hocko Acked-by: Vlastimil Babka

Re: [PATCH 00/10] Add support for more Kontron i.MX6UL/ULL SoMs and boards

2019-10-21 Thread Marco Felsch
Hi Frieder, On 19-10-17 08:24, Schrempf Frieder wrote: > Hi Marco, > > On 17.10.19 10:14, Marco Felsch wrote: > > Hi Frieder, > > > > On 19-10-16 15:06, Schrempf Frieder wrote: > >> From: Frieder Schrempf > >> > >> In order to support more of the i.MX6UL/ULL-based SoMs and boards by > >> Kontro

Re: [PATCH v2 3/3] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-21 Thread Jerome Brunet
On Fri 18 Oct 2019 at 09:14, Jian Hu wrote: > The Amlogic A1 clock includes three drivers: > peripheral clocks, pll clocks, CPU clocks. > sys pll and CPU clocks will be sent in next patch. > > Unlike the previous series, there is no EE/AO domain > in A1 CLK controllers. > > Signed-off-by: Jian

Re: [PATCH 1/3] mm, meminit: Recalculate pcpu batch and high limits after init completes

2019-10-21 Thread Vlastimil Babka
On 10/21/19 11:48 AM, Mel Gorman wrote: > Deferred memory initialisation updates zone->managed_pages during > the initialisation phase but before that finishes, the per-cpu page > allocator (pcpu) calculates the number of pages allocated/freed in > batches as well as the maximum number of pages all

Re: [PATCH v2 0/9] Simplify MFD Core

2019-10-21 Thread Lubomir Rintel
On Mon, 2019-10-21 at 13:29 +0200, Arnd Bergmann wrote: > On Mon, Oct 21, 2019 at 12:58 PM Lee Jones wrote: > > MFD currently has one over-complicated user. CS5535 uses a mixture of > > cell cloning, reference counting and subsystem-level call-backs to > > achieve its goal of requesting an IO mem

Re: [PATCH 2/3] mm, pcp: Share common code between memory hotplug and percpu sysctl handler

2019-10-21 Thread Vlastimil Babka
On 10/21/19 11:48 AM, Mel Gorman wrote: > Both the percpu_pagelist_fraction sysctl handler and memory hotplug > have a common requirement of updating the pcpu page allocation batch > and high values. Split the relevant helper to share common code. > > No functional change. > > Signed-off-by: Mel

Re: [PATCH v2 2/2] mmc: block: add CMD13 polling for ioctl() cmd with R1B response

2019-10-21 Thread Ulf Hansson
On Thu, 5 Sep 2019 at 09:53, Chaotian Jing wrote: > > currently there is no CMD13 polling and other code to wait card > change to transfer state after R1B command completed. and this > polling operation cannot do in user space, because other request > may coming before the CMD13 from user space. >

Re: [GIT PULL] arm64: Fixes for -rc4

2019-10-21 Thread Linus Torvalds
On Mon, Oct 21, 2019 at 2:47 AM Ingo Molnar wrote: > > I think at least once I ran into that and sent you a 'slightly wrong' > diffstat - and maybe there's also been a few cases where you noticed > diffstats that didn't match your merge result, double checked it yourself > and didn't complain abou

[PATCH] net: sched: taprio: fix -Wmissing-prototypes warnings

2019-10-21 Thread Yi Wang
We get one warnings when build kernel W=1: net/sched/sch_taprio.c:1155:6: warning: no previous prototype for ‘taprio_offload_config_changed’ [-Wmissing-prototypes] Make the function static to fix this. Signed-off-by: Yi Wang --- net/sched/sch_taprio.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 02/11] mfd: wcd934x: add support to wcd9340/wcd9341 codec

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Srinivas Kandagatla wrote: > Thanks Lee for taking time to review. > > I agree with most of the style related comments, will fix them in next > version. For others I have replied it inline. [...] > > > +static int wcd934x_bring_up(struct wcd934x_data *wcd) > > > +{ > > > +

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Pali Rohár
On Monday 21 October 2019 13:37:13 Maurizio Lombardi wrote: > So, 2 FAT tables are probably not sufficient for recovery, 2 bitmaps are > needed too. Yes, I know. But code which I referred check both number of fat tables and number of allocation bitmaps (as they are represented by one member in bo

Re: [PATCH v2 2/9] mfd: cs5535-mfd: Remove mfd_cell->id hack

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Daniel Thompson wrote: > On Mon, Oct 21, 2019 at 11:58:15AM +0100, Lee Jones wrote: > > The current implementation abuses the platform 'id' mfd_cell member > > to index into the correct resources entry. If we place all cells > > into their numbered slots, we can cycle through

Re: [PATCH v4] perf record: Add support for limit perf output file size

2019-10-21 Thread Jiwei Sun
Hello Arnaldo & Jirka, Do you have any other suggestions regarding the patch? Any suggestions are welcome. Thank you very much. Regards, Jiwei On 2019e9409f25f% 15:06, Jiwei Sun wrote: > The patch adds a new option to limit the output file size, then based > on it, we can create a wrapper of

Re: [PATCH v2 0/9] Simplify MFD Core

2019-10-21 Thread Lee Jones
On Mon, 21 Oct 2019, Lubomir Rintel wrote: > On Mon, 2019-10-21 at 13:29 +0200, Arnd Bergmann wrote: > > On Mon, Oct 21, 2019 at 12:58 PM Lee Jones wrote: > > > MFD currently has one over-complicated user. CS5535 uses a mixture of > > > cell cloning, reference counting and subsystem-level call-b

Re: [PATCH v4] perf record: Add support for limit perf output file size

2019-10-21 Thread Jiri Olsa
On Mon, Oct 21, 2019 at 07:51:17PM +0800, Jiwei Sun wrote: > Hello Arnaldo & Jirka, > > Do you have any other suggestions regarding the patch? > Any suggestions are welcome. Thank you very much. oops, overlooked this one, sry.. I'll check on it today jirka > > Regards, > Jiwei > > On 2019e9

Re: KCSAN: data-race in exit_signals / prepare_signal

2019-10-21 Thread Oleg Nesterov
On 10/21, Christian Brauner wrote: > > This traces back to Oleg fixing a race between a group stop and a thread > exiting before it notices that it has a pending signal or is in the middle of > do_exit() already, causing group stop to get wacky. > The original commit to fix this race is > commit d1

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-21 Thread Maurizio Lombardi
Dne 21.10.2019 v 13:45 Pali Rohár napsal(a): > They are represented by one member > in boot sector structure). > >> Btw, only Windows CE supported this. > > Is this information based on some real tests? Or just from marketing or > Microsoft's information? (I would really like to know definite

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