[PATCH v3 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-05-04 Thread Guenter Roeck
Add Raven Ridge root bridge and data fabric PCI IDs. This is required for amd_pci_dev_to_node_id() and amd_smn_read(). Tested-by: Gabriel Craciunescu Signed-off-by: Guenter Roeck --- v3: No change. v2: Use naming scheme suggested by Borislav Petkov. arch/x86/kernel/amd_nb.c | 6 ++ 1 file

Re: [PATCH 0/7] gnss: add new GNSS subsystem

2018-05-04 Thread Pavel Machek
Hi! > > Finally, note that documentation (including kerneldoc) remains to be > > written, but hopefully this will not hinder review given that the > > current interfaces are fairly self-describing. > > Great work. I like your design decisions. I have quite a few devices > with have non-serial bas

[PATCH v3 2/2] hwmon: (k10temp) Use API function to access System Management Network

2018-05-04 Thread Guenter Roeck
The SMN (System Management Network) on Family 17h AMD CPUs is also accessed from other drivers, specifically EDAC. Accessing it directly is racy. On top of that, accessing the SMN through root bridge 00:00 is wrong on multi-die CPUs and may result in reading the temperature from the wrong die. Use

Re: [PATCH v2 net-next 1/4] umh: introduce fork_usermode_blob() helper

2018-05-04 Thread Luis R. Rodriguez
What a mighty short list of reviewers. Adding some more. My review below. I'd appreciate a Cc on future versions of these patches. On Wed, May 02, 2018 at 09:36:01PM -0700, Alexei Starovoitov wrote: > Introduce helper: > int fork_usermode_blob(void *data, size_t len, struct umh_info *info); > stru

Re: rcu-bh design

2018-05-04 Thread Joel Fernandes
On Fri, May 4, 2018 at 11:49 AM, Paul E. McKenney wrote: > On Fri, May 04, 2018 at 06:34:32PM +, Joel Fernandes wrote: >> On Fri, May 4, 2018 at 10:42 AM Paul E. McKenney >> >> wrote: >> [...] >> > > > > But preemptible RCU *does not* use context-switch as a quiescent >> state. >> > > > It do

[PATCH] ANDROID: binder: remove 32-bit binder interface.

2018-05-04 Thread Martijn Coenen
New devices launching with Android P need to use the 64-bit binder interface, even on 32-bit SoCs [0]. This change removes the Kconfig option to select the 32-bit binder interface. We don't think this will affect existing userspace for the following reasons: 1) The latest Android common tree is 4.

Re: [PATCH v2 0/4] Introduce LSM-hook for socketpair(2)

2018-05-04 Thread James Morris
On Fri, 4 May 2018, David Herrmann wrote: > Hi > > This is v2 of the socketpair(2) LSM hook introduction. Thanks, all applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general -- James Morris

Re: [PATCH] selftests:intel_pstate: fixes typical crash of a testing script for Intel P-State driver

2018-05-04 Thread Shuah Khan
On 04/29/2018 01:12 PM, Jeffrin Jose T wrote: > Testing script for Intel P-State driver crashes during > the run. this patch fixes that crash and produce typical results. > > Signed-off-by: Jeffrin Jose T > > --- > tools/testing/selftests/intel_pstate/run.sh | 7 +-- > 1 file changed, 5

Re: [PATCH v5 6/7] dt-bindings: phy-qcom-usb2: Add support to override tuning values

2018-05-04 Thread Doug Anderson
Hi, On Wed, May 2, 2018 at 2:06 PM, Manu Gautam wrote: > To improve eye diagram for PHYs on different boards of same SOC, > some parameters may need to be changed. Provide device tree > properties to override these from board specific device tree > files. While at it, replace "qcom,qusb2-v2-phy"

Re: [PATCH BUGFIX] block, bfq: postpone rq preparation to insert or merge

2018-05-04 Thread Mike Galbraith
Tentatively, I suspect you've just fixed the nasty stalls I reported a while back. Not a hint of stall as yet (should have shown itself by now), spinning rust buckets are being all they can be, box feels good. Later mq-deadline (I hope to eventually forget the module dependency eternities we've s

Re: [PATCH v5 1/7] clk: msm8996-gcc: Mark halt check as no-op for USB/PCIE pipe_clk

2018-05-04 Thread Doug Anderson
Hi, On Wed, May 2, 2018 at 2:06 PM, Manu Gautam wrote: > The USB and PCIE pipe clocks are sourced from external clocks > inside the QMP USB/PCIE PHYs. Enabling or disabling of PIPE RCG > clocks is dependent on PHY initialization sequence hence > update halt_check to BRANCH_HALT_SKIP for these clo

Re: [PATCH v5 2/7] phy: qcom-qmp: Enable pipe_clk before PHY initialization

2018-05-04 Thread Doug Anderson
Hi, On Wed, May 2, 2018 at 2:06 PM, Manu Gautam wrote: > QMP PHY for USB/PCIE requires pipe_clk for locking of > retime buffers at the pipe interface. Driver checks for > PHY_STATUS without enabling pipe_clk due to which > phy_init() fails with initialization timeout. > Though pipe_clk is output

Re: [PATCH v5 7/7] phy: qcom-qusb2: Add QUSB2 PHYs support for sdm845

2018-05-04 Thread Doug Anderson
Hi, On Wed, May 2, 2018 at 2:06 PM, Manu Gautam wrote: > There are two QUSB2 PHYs present on sdm845. In order > to improve eye diagram for both the PHYs some parameters > need to be changed. Provide device tree properties to > override these from board specific device tree files. > > Signed-off-b

Re: [PATCH] selftests: fix spelling mistake: "desciptor" -> "descriptor"

2018-05-04 Thread Shuah Khan
On 04/29/2018 05:54 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in message text > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/filesystems/devpts_pts.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testin

Re: [PATCH v3 2/5] efi: Add embedded peripheral firmware support

2018-05-04 Thread Martijn Coenen
On Wed, Apr 25, 2018 at 10:55 AM, Luis R. Rodriguez wrote: > Android became the primary user of CONFIG_FW_LOADER_USER_HELPER_FALLBACK. > > It would be good for us to hear from Android folks if their current use of > request_firmware_into_buf() is designed in practice to *never* use the direct > fi

Re: [PATCH] cpupower: fix spelling mistake: "logilename" -> "logfilename"

2018-05-04 Thread Shuah Khan
On 05/03/2018 03:09 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dprintf message > > Signed-off-by: Colin Ian King > --- > tools/power/cpupower/bench/parse.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/power/cpupower/be

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-04 Thread Paul E. McKenney
On Fri, May 04, 2018 at 02:03:04PM -0500, Eric W. Biederman wrote: > "Paul E. McKenney" writes: > > > On Fri, May 04, 2018 at 12:17:20PM -0500, Eric W. Biederman wrote: > >> Sebastian Andrzej Siewior writes: > >> > >> > On 2018-05-04 11:59:08 [-0500], Eric W. Biederman wrote: > >> >> Sebastian

Re: [PATCH] selftests: media_tests: fix spelling mistake: "iternations" -> "iterations"

2018-05-04 Thread Shuah Khan
On 05/02/2018 09:00 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in message text > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/media_tests/media_device_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools

Re: [PATCH 1/2] selftests/filesystems: devpts_pts included wrong header

2018-05-04 Thread Shuah Khan
On 05/02/2018 08:05 AM, Christian Brauner wrote: > On Wed, Apr 18, 2018 at 09:52:55AM +0200, Anders Roxell wrote: >> We were picking up the wrong header should use asm/ioctls.h form the kernel >> and not the header from the system (sys/ioctl.h). In the current code we >> added the correct include a

Re: [PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-05-04 Thread Mauro Carvalho Chehab
Em Sun, 22 Apr 2018 13:06:12 +0200 Hans Verkuil escreveu: > On 04/02/2018 04:26 PM, Robert Jarzmik wrote: > > From: Robert Jarzmik > > > > As the pxa architecture switched towards the dmaengine slave map, the > > old compatibility mechanism to acquire the dma requestor line number and > > prior

Re: [PATCH v3 3/4] seccomp: Audit attempts to modify the actions_logged sysctl

2018-05-04 Thread Steve Grubb
On Thursday, May 3, 2018 9:08:14 PM EDT Tyler Hicks wrote: > The decision to log a seccomp action will always be subject to the > value of the kernel.seccomp.actions_logged sysctl, even for processes > that are being inspected via the audit subsystem, in an upcoming patch. > Therefore, we need to e

Re: [PATCH v5 0/6] firmware_loader: cleanups for v4.18

2018-05-04 Thread Krzysztof Halasa
"Luis R. Rodriguez" writes: > * CONFIG_WANXL --> CONFIG_WANXL_BUILD_FIRMWARE > * CONFIG_SCSI_AIC79XX --> CONFIG_AIC79XX_BUILD_FIRMWARE > > To this day both of these drivers are building driver *firmwares* when > the option CONFIG_PREVENT_FIRMWARE_BUILD is disabled, and they don't > even make

RE: [PATCH v5 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-04 Thread ilialin
> -Original Message- > From: Viresh Kumar > Sent: Friday, May 4, 2018 09:57 > To: ilia...@codeaurora.org > Cc: mturque...@baylibre.com; sb...@kernel.org; r...@kernel.org; > mark.rutl...@arm.com; r...@rjwysocki.net; lgirdw...@gmail.com; > broo...@kernel.org; andy.gr...@linaro.org; david.b

[PATCH v1] intel_th: pti: Use sysfs_match_string() helper

2018-05-04 Thread Andy Shevchenko
Use sysfs_match_string() helper instead of open coded variant. Signed-off-by: Andy Shevchenko --- drivers/hwtracing/intel_th/pti.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/hwtracing/intel_th/pti.c b/drivers/hwtracing/intel_th/pti.c index 566943

Re: Hello My Dear Friend!!!!

2018-05-04 Thread SISTER DOROTHY KENT
Hello Dear I am Sister Dorothy Kent I really need your assistance to help me discuss a project . Thanks, Sister Dorothy Kent

Re: [PATCH] net/mlx5: fix spelling mistake: "modfiy" -> "modify"

2018-05-04 Thread Saeed Mahameed
On Thu, 2018-05-03 at 14:44 -0400, David Miller wrote: > From: Colin King > Date: Thu, 3 May 2018 14:35:03 +0100 > > > From: Colin Ian King > > > > Trivial fix to spelling mistake in netdev_warn warning message > > > > Signed-off-by: Colin Ian King > > Saeed, please send this to me in your

[PATCH v9 01/12] ARM: Allow this header to be included by assembly files

2018-05-04 Thread Mylène Josserand
From: Doug Berger The constants defined in this file are equally useful in assembly and C source files. The arm64 architecture version of this file allows inclusion in both assembly and C source files, so this this commit adds that capability to the arm architecture version so that the constants

[PATCH v9 03/12] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-05-04 Thread Mylène Josserand
As we found in sun9i-a80, CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals. These registers are used for SMP bringup and CPU hotplugging. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/ar

[PATCH v9 02/12] ARM: sunxi: smp: Move assembly code into a file

2018-05-04 Thread Mylène Josserand
Move the assembly code for cluster cache enabling and resuming into an assembly file instead of having it directly in C code. Remove the CFLAGS because we are using the ARM directive "arch" instead. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard --- arch/arm/mach-sunxi/Makefile | 2

[PATCH v9 05/12] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-05-04 Thread Mylène Josserand
Add CCI-400 node and control-port on CPUs needed by SMP bringup. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch

[PATCH v9 04/12] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-05-04 Thread Mylène Josserand
The R_CPUCFG is a collection of registers needed for SMP bringup on clusters and cluster's reset. For the moment, documentation about this register is found in Allwinner's code only. Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 fil

[PATCH v9 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-04 Thread Mylène Josserand
Add the initialization of CNTVOFF for sun8i-a83t. For boot CPU, create a new machine that handles this function's call in an "init_early" callback. We need to initialize CNTVOFF before the arch timer's initialization otherwise, it will not be taken into account and fails to boot correctly. Because

[PATCH v9 06/12] ARM: smp: Add initialization of CNTVOFF

2018-05-04 Thread Mylène Josserand
The CNTVOFF register from arch timer is uninitialized. It should be done by the bootloader but it is currently not the case, even for boot CPU because this SoC is booting in secure mode. It leads to an random offset value meaning that each CPU will have a different time, which isn't working very we

Re: [RFC PATCH 2/2] net: mac808211: mac802154: use lockdep_assert_in_softirq() instead own warning

2018-05-04 Thread Sebastian Andrzej Siewior
On 2018-05-04 20:51:32 [+0200], Peter Zijlstra wrote: > On Fri, May 04, 2018 at 08:45:39PM +0200, Sebastian Andrzej Siewior wrote: > > On 2018-05-04 20:32:49 [+0200], Peter Zijlstra wrote: > > > On Fri, May 04, 2018 at 07:51:44PM +0200, Sebastian Andrzej Siewior wrote: > > > > From: Anna-Maria Glei

[PATCH v9 09/12] ARM: sun9i: smp: Add is_a83t field

2018-05-04 Thread Mylène Josserand
To prepare the support of sun8i-a83t, add a field in the smp_data structure to know if we are on sun9i-a80 or sun8i-a83t. Add also a global variable to retrieve which architecture we are having. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard --- arch/arm/mach-sunxi/mc_smp.c | 4

[PATCH v9 11/12] ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC

2018-05-04 Thread Mylène Josserand
Add the use of enable-method property for SMP support which allows to handle the SMP support for this specific SoC. This commit adds enable-method properties to all CPU nodes. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 8 1 file changed, 8 insertions(+) di

[PATCH v9 10/12] ARM: sun8i: smp: Add support for A83T

2018-05-04 Thread Mylène Josserand
Add the support for A83T. A83T SoC has an additional register than A80 to handle CPU configurations: R_CPUS_CFG. Information about the register comes from Allwinner's BSP driver. An important difference is the Power Off Gating register for clusters which is BIT(4) in case of SUN9I-A80 and BIT(0) i

[PATCH v9 08/12] ARM: sun9i: smp: Rename clusters's power-off

2018-05-04 Thread Mylène Josserand
To prepare the support for sun8i-a83t, rename the macro that handles the power-off of clusters because it is different from sun9i-a80 to sun8i-a83t. The power off register for clusters are different from a80 and a83t. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard Reviewed-by: Chen-Yu

[PATCH v9 12/12] ARM: shmobile: Convert file to use cntvoff

2018-05-04 Thread Mylène Josserand
Now that a common function is available for CNTVOFF's initialization, let's convert shmobile-apmu code to use this function. Signed-off-by: Mylène Josserand Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven Acked-by: Simon Horman --- arch/arm/mach-shmobile/common.h | 1 -

[PATCH v9 00/12] Sunxi: Add SMP support on A83T

2018-05-04 Thread Mylène Josserand
Hello everyone, This is a V9 of my series that adds SMP support for Allwinner sun8i-a83t. Based on sunxi's tree, sunxi/for-next branch. Depends on a patch from Doug Berger that allows to include the "cpu-type" header on assembly files that I included in my series (patch 01). The difference with t

Re: [PATCH v7 08/24] ASoC: qdsp6: q6core: Add q6core driver

2018-05-04 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig| 4 + soun

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-04 Thread Eric W. Biederman
"Paul E. McKenney" writes: > On Fri, May 04, 2018 at 12:17:20PM -0500, Eric W. Biederman wrote: >> Sebastian Andrzej Siewior writes: >> >> > On 2018-05-04 11:59:08 [-0500], Eric W. Biederman wrote: >> >> Sebastian Andrzej Siewior writes: >> >> > From: Anna-Maria Gleixner >> > … >> >> > This l

Product Inquiry

2018-05-04 Thread Gerhard Kahmann
?Dear Sir, We recently visited your website, we were recommended by one of your customer and we are interested in your models, We will like to place an order from the list of your products. However, we would like to see your company's latest catalogs with the; minimum order quantity, delivery t

Re: [PATCH v2] f2fs: avoid stucking GC due to atomic write

2018-05-04 Thread Jaegeuk Kim
On 05/02, Chao Yu wrote: > On 2018/4/28 10:34, Jaegeuk Kim wrote: > > On 04/27, Chao Yu wrote: > >> On 2018/4/26 23:54, Jaegeuk Kim wrote: > >>> On 04/24, Chao Yu wrote: > f2fs doesn't allow abuse on atomic write class interface, so except > limiting in-mem pages' total memory usage capac

Re: [PATCH v2] f2fs: fix to avoid race during access gc_thread pointer

2018-05-04 Thread Jaegeuk Kim
On 05/02, Chao Yu wrote: > On 2018/4/28 10:36, Jaegeuk Kim wrote: > > On 04/27, Chao Yu wrote: > >> On 2018/4/27 0:03, Jaegeuk Kim wrote: > >>> On 04/24, Chao Yu wrote: > Thread A Thread BThread C > - f2fs_remount > - stop_gc_thread >

Re: [PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-05-04 Thread Mauro Carvalho Chehab
Em Mon, 23 Apr 2018 13:59:32 -0700 Tim Harvey escreveu: > On Mon, Apr 23, 2018 at 9:52 AM, Mark Brown wrote: > > On Mon, Apr 23, 2018 at 09:44:17AM -0700, Tim Harvey wrote: > > > >> Could you add some detail to the commit explaining why we need to > >> replace codec to component? I don't reall

Re: [V5 PATCH] perf parse-events: Specially handle uncore event alias in small groups

2018-05-04 Thread Arnaldo Carvalho de Melo
Em Fri, May 04, 2018 at 01:57:33PM -0400, Liang, Kan escreveu: > > > On 5/1/2018 12:33 PM, Jiri Olsa wrote: > > On Tue, May 01, 2018 at 07:31:36AM -0700, kan.li...@linux.intel.com wrote: > > > From: Kan Liang > > > > > > Perf stat doesn't count the uncore event aliases from the same uncore > >

Re: [RFC PATCH 2/2] net: mac808211: mac802154: use lockdep_assert_in_softirq() instead own warning

2018-05-04 Thread Peter Zijlstra
On Fri, May 04, 2018 at 08:45:39PM +0200, Sebastian Andrzej Siewior wrote: > On 2018-05-04 20:32:49 [+0200], Peter Zijlstra wrote: > > On Fri, May 04, 2018 at 07:51:44PM +0200, Sebastian Andrzej Siewior wrote: > > > From: Anna-Maria Gleixner > > > > > > The warning in ieee802154_rx() and ieee8021

Re: [PATCH v6 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-05-04 Thread Oleksij Rempel
Hallo Andrew, I need your ACK or NACK for this patch. This function is used to configure external PMIC to interpret signal which will be triggered by pm_power_off as power off. Since same signal can be used for stand by, I linked PMIC configuration with pm_power_off_prepare to avoid possible confl

Re: [PATCH 1/3] sched: remove select_idle_core() for scalability

2018-05-04 Thread Subhra Mazumdar
On 05/02/2018 02:58 PM, Subhra Mazumdar wrote: On 05/01/2018 11:03 AM, Peter Zijlstra wrote: On Mon, Apr 30, 2018 at 04:38:42PM -0700, Subhra Mazumdar wrote: I also noticed a possible bug later in the merge code. Shouldn't it be: if (busy < best_busy) { best_busy = busy;

[PATCH v3 2/3] usb: dwc3: Add Qualcomm DWC3 glue driver

2018-05-04 Thread Manu Gautam
DWC3 controller on Qualcomm SOCs has a Qscratch wrapper. Some of its uses are described below resulting in need to have a separate glue driver instead of using dwc3-of-simple: - It exposes register interface to override vbus-override and lane0-pwr-present signals going to hardware. These mus

[PATCH v3 3/3] usb: dwc3: core: Suspend PHYs on runtime suspend in host mode

2018-05-04 Thread Manu Gautam
Some PHY drivers (e.g. for Qualcomm QUSB2 and QMP PHYs) support runtime PM to reduce PHY power consumption during bus_suspend. Add changes to let core auto-suspend PHYs on host bus-suspend using GUSB2PHYCFG register if needed for a platform. Also perform PHYs runtime suspend/resume and let platform

Re: rcu-bh design

2018-05-04 Thread Paul E. McKenney
On Fri, May 04, 2018 at 06:34:32PM +, Joel Fernandes wrote: > On Fri, May 4, 2018 at 10:42 AM Paul E. McKenney > > wrote: > [...] > > > > > But preemptible RCU *does not* use context-switch as a quiescent > state. > > > > It doesn't? > > > > > > I thought that's what preemptible rcu is about.

[PATCH v3 1/3] dt-bindings: usb: Update documentation for Qualcomm DWC3 driver

2018-05-04 Thread Manu Gautam
Existing documentation has lot of incorrect information as it was originally added for a driver that no longer exists. Signed-off-by: Manu Gautam --- .../devicetree/bindings/usb/qcom,dwc3.txt | 85 -- 1 file changed, 63 insertions(+), 22 deletions(-) diff --git a/Do

[PATCH v3 0/3] usb: dwc3: support for Qualcomm DWC3 glue

2018-05-04 Thread Manu Gautam
Add separate dwc3-qcom glue driver for Qualcomm SOCs having dwc3 core. It is needed to support peripheral mode. Patches also add support to invoke PHY runtime PM functions on host mode bus-suspend. Changes since v2: - Addressed Rob's comments for DT binding documentation. Changes since v1: - Mo

Re: [RFC PATCH 2/2] net: mac808211: mac802154: use lockdep_assert_in_softirq() instead own warning

2018-05-04 Thread Sebastian Andrzej Siewior
On 2018-05-04 20:32:49 [+0200], Peter Zijlstra wrote: > On Fri, May 04, 2018 at 07:51:44PM +0200, Sebastian Andrzej Siewior wrote: > > From: Anna-Maria Gleixner > > > > The warning in ieee802154_rx() and ieee80211_rx_napi() is there to ensure > > the softirq context for the subsequent netif_recei

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-05-04 Thread Ganapatrao Kulkarni
Hi Mark, On Thu, Apr 26, 2018 at 4:29 PM, Mark Rutland wrote: > Hi, > > On Wed, Apr 25, 2018 at 02:30:47PM +0530, Ganapatrao Kulkarni wrote: >> + >> +/* L3c and DMC has 16 and 8 channels per socket respectively. >> + * Each Channel supports UNCORE PMU device and consists of >> + * 4 independent p

Re: [PATCH] mtd: spi-nor: add support for Microchip 25LC256

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 18:54:04 +0300 Radu Pirea wrote: > Added geometry description for Microchip 25LC256 memory. Same as for the dataflash stuff you posted a few weeks ago: I don't think this device belongs in the SPI NOR framework. > > Signed-off-by: Radu Pirea > --- > drivers/mtd/devices/m25

Re: [PATCH] spi-nor: Add support for Atmel Dataflash memories

2018-05-04 Thread Boris Brezillon
Hi Radu, Sorry for the late reply. On Wed, 28 Feb 2018 13:55:01 +0200 Radu Pirea wrote: > This patch add support in spi-nor for allmost all dataflash memories > supported by old mtd_dataflash driver. Those devices clearly use a different instruction set, so I don't think they fit in this frame

Re: rcu-bh design

2018-05-04 Thread Joel Fernandes
On Fri, May 4, 2018 at 10:42 AM Paul E. McKenney wrote: [...] > > > > But preemptible RCU *does not* use context-switch as a quiescent state. > > > It doesn't? > > > > I thought that's what preemptible rcu is about. You can get preempted but > > you shouldn't block in a read-section. Is that not t

Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-04 Thread Daniel Vacek
On Fri, May 4, 2018 at 6:53 PM, Pavel Tatashin wrote: >> I'm wondering, ain't simple enabling of config >> DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the >> case then it seems like this series is not needed at all, right? >> I am not sure why is this config optional. It loo

Re: [RFC PATCH 2/2] net: mac808211: mac802154: use lockdep_assert_in_softirq() instead own warning

2018-05-04 Thread Peter Zijlstra
On Fri, May 04, 2018 at 07:51:44PM +0200, Sebastian Andrzej Siewior wrote: > From: Anna-Maria Gleixner > > The warning in ieee802154_rx() and ieee80211_rx_napi() is there to ensure > the softirq context for the subsequent netif_receive_skb() call. That's not in fact what it does though; so whil

RE: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-04 Thread Mario.Limonciello
Darren, Is this with that fix of mine merged? > -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Friday, May 4, 2018 1:24 PM > To: Limonciello, Mario > Cc: kbuild-...@01.org; linux-kernel@vger.kernel.org; Darren Hart (VMware) > Subject: drivers/platform/x86/d

Re: [PATCH] async_pq: Remove VLA usage

2018-05-04 Thread kbuild test robot
Hi Kyle, Thank you for the patch! Yet something to improve: [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.17-rc3 next-20180504] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-04 Thread kbuild test robot
Hi Mario, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 625e2001e99e82ea3eb5b0370a428a4328b9166b commit: 25d47027e1003546bfd8964b4423cb39bc2d53e9 platform/x86: dell-smbios: Link all dell-smbios-* modules together

Re: [PATCH 1/6] locking/atomic, asm-generic: instrument ordering variants

2018-05-04 Thread Peter Zijlstra
On Fri, May 04, 2018 at 07:09:09PM +0100, Mark Rutland wrote: > On Fri, May 04, 2018 at 08:01:05PM +0200, Peter Zijlstra wrote: > > On Fri, May 04, 2018 at 06:39:32PM +0100, Mark Rutland wrote: > > > include/asm-generic/atomic-instrumented.h | 1195 > > > - > > > 1 fi

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread Jason Gunthorpe
On Fri, May 04, 2018 at 04:51:15PM +0800, 858585 jemmy wrote: > On Fri, May 4, 2018 at 11:14 AM, 858585 jemmy wrote: > > On Thu, May 3, 2018 at 11:33 PM, Jason Gunthorpe wrote: > >> On Thu, May 03, 2018 at 10:04:34PM +0800, Lidong Chen wrote: > >>> The userspace may invoke ibv_reg_mr and ibv_dere

Re: [PATCH 1/6] locking/atomic, asm-generic: instrument ordering variants

2018-05-04 Thread Mark Rutland
On Fri, May 04, 2018 at 08:01:05PM +0200, Peter Zijlstra wrote: > On Fri, May 04, 2018 at 06:39:32PM +0100, Mark Rutland wrote: > > Currently only instruments the fully > > ordered variants of atomic functions, ignoring the {relaxed,acquire,release} > > ordering variants. > > > > This patch rewor

Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function

2018-05-04 Thread Jacob Pan
On Thu, 3 May 2018 21:46:16 -0700 Jacob Pan wrote: > On Wed, 2 May 2018 10:31:50 +0100 > Jean-Philippe Brucker wrote: > > > On 01/05/18 23:58, Jacob Pan wrote: > > Maybe this should be called "NG_PAGE_PASID", > > >>> Sure. I was thinking page range already implies non-global > > >>

Re: [PATCH 1/6] locking/atomic, asm-generic: instrument ordering variants

2018-05-04 Thread Peter Zijlstra
On Fri, May 04, 2018 at 06:39:32PM +0100, Mark Rutland wrote: > Currently only instruments the fully > ordered variants of atomic functions, ignoring the {relaxed,acquire,release} > ordering variants. > > This patch reworks the header to instrument all ordering variants of the > atomic > functio

Hello

2018-05-04 Thread Faruk Sakawo
I have a business to discuss with you, can we talk? Regards Faruk Sakawo

[PATCH] x86/vdso: remove unused file

2018-05-04 Thread Jann Horn
commit da861e18eccc ("x86, vdso: Get rid of the fake section mechanism") left this file behind; nothing is using it anymore. Signed-off-by: Jann Horn --- arch/x86/entry/vdso/vdso32/vdso-fakesections.c | 1 - 1 file changed, 1 deletion(-) delete mode 100644 arch/x86/entry/vdso/vdso32/vdso-fakese

Re: [PATCHv2] serial: 8250: omap: Fix idling of clocks for unused uarts

2018-05-04 Thread Tony Lindgren
* Sebastian Andrzej Siewior [180504 17:50]: > On 2018-05-04 10:39:31 [-0700], Tony Lindgren wrote: > > Uhh sorry I managed to commit also a patch I was testing while > > updating patch comments.. Will send out v3 shortly, this can be > > ignored. > > I assumed you were helping out to sneak a patc

drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier'

2018-05-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 625e2001e99e82ea3eb5b0370a428a4328b9166b commit: eb27fde2731b6cb5818493b8ac18e01f427e335f eeprom: at24: drop redundant variable in at24_read() date: 6 weeks ago config: x86_64-randconfig-g0-05042232 (attac

Re: [V5 PATCH] perf parse-events: Specially handle uncore event alias in small groups

2018-05-04 Thread Liang, Kan
On 5/1/2018 12:33 PM, Jiri Olsa wrote: On Tue, May 01, 2018 at 07:31:36AM -0700, kan.li...@linux.intel.com wrote: From: Kan Liang Perf stat doesn't count the uncore event aliases from the same uncore block in a group, for example: perf stat -e '{unc_m_cas_count.all,unc_m_clockticks}' -a

[RFC PATCH 2/2] net: mac808211: mac802154: use lockdep_assert_in_softirq() instead own warning

2018-05-04 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner The warning in ieee802154_rx() and ieee80211_rx_napi() is there to ensure the softirq context for the subsequent netif_receive_skb() call. The check could be moved into the netif_receive_skb() function to prevent all calling functions implement the checks on their own. U

[RFC PATCH 1/2] lockdep: Add a assert_in_softirq()

2018-05-04 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner Instead of directly warn on wrong context, check if softirq context is set. This check could be a nop on RT. Signed-off-by: Anna-Maria Gleixner Signed-off-by: Sebastian Andrzej Siewior --- include/linux/lockdep.h | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[PATCH] f2fs: avoid fsync() failure caused by EAGAIN in writepage()

2018-05-04 Thread Jaegeuk Kim
pageout() in MM traslates EAGAIN, so calls handle_write_error() -> mapping_set_error() -> set_bit(AS_EIO, ...). file_write_and_wait_range() will see EIO error, which is critical to return value of fsync() followed by atomic_write failure to user. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c

[RFC PATCH 0/2] Introduce assert_in_softirq()

2018-05-04 Thread Sebastian Andrzej Siewior
ieee80211_rx_napi() has a check to ensure that it is invoked in softirq context / with BH disabled. It is there because it invokes netif_receive_skb() which has this requirement. On -RT this check does not work as expected so there is always this warning. Tree wide there are two users of this check

Re: [PATCH 2/4] phy: rockchip-typec: support variable phy config value

2018-05-04 Thread kbuild test robot
Hi Lin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.17-rc3 next-20180504] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-04 Thread Paul E. McKenney
On Fri, May 04, 2018 at 12:17:20PM -0500, Eric W. Biederman wrote: > Sebastian Andrzej Siewior writes: > > > On 2018-05-04 11:59:08 [-0500], Eric W. Biederman wrote: > >> Sebastian Andrzej Siewior writes: > >> > From: Anna-Maria Gleixner > > … > >> > This long-term fix has been made in commit 4

Re: [v3] [media] Use common error handling code in 19 functions

2018-05-04 Thread Mauro Carvalho Chehab
Em Fri, 4 May 2018 18:08:59 +0200 SF Markus Elfring escreveu: > > Adjust jump targets so that a bit of exception handling can be better > > reused at the end of these functions. > > Why was this update suggestion rejected once more a moment ago? > > https://patchwork.linuxtv.org/patch/47827/

RE: [External] Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-04 Thread Huaisheng HS1 Ye
> On Fri, May 04, 2018 at 03:35:33PM +0200, Michal Hocko wrote: > > On Fri 04-05-18 14:52:08, Huaisheng Ye wrote: > > > Suggest using unsigned int instead of int for bit within gfp_zone. > > > @@ -401,7 +401,7 @@ static inline bool gfpflags_allow_blocking(const > gfp_t gfp_flags) > > > static inli

Re: [v2] mm: access to uninitialized struct page

2018-05-04 Thread Andy Shevchenko
On Fri, May 4, 2018 at 7:03 PM, Pavel Tatashin wrote: > Thank you, I will try to figure out what is happening. +1 is here. The last message I have seen on the console are: [4.690972] Non-volatile memory driver v1.3 [4.703360] Linux agpgart interface v0.103 [4.710282] loop: module lo

Re: [PATCHv2] serial: 8250: omap: Fix idling of clocks for unused uarts

2018-05-04 Thread Sebastian Andrzej Siewior
On 2018-05-04 10:39:31 [-0700], Tony Lindgren wrote: > Uhh sorry I managed to commit also a patch I was testing while > updating patch comments.. Will send out v3 shortly, this can be > ignored. I assumed you were helping out to sneak a patch in. > Regards, > > Tony Sebastian

[PATCH v5 1/6] firmware: wrap FW_OPT_* into an enum

2018-05-04 Thread Luis R. Rodriguez
From: Andres Rodriguez This should let us associate enum kdoc to these values. While at it, kdocify the fw_opt. Signed-off-by: Andres Rodriguez Acked-by: Luis R. Rodriguez [mcgrof: coding style fixes, merge kdoc with enum move] Signed-off-by: Luis R. Rodriguez --- drivers/base/firmware_loade

Re: [PATCH v7 02/24] soc: qcom: Add APR bus driver

2018-05-04 Thread Bjorn Andersson
On Tue 01 May 05:07 PDT 2018, Srinivas Kandagatla wrote: > This patch adds support to APR bus (Asynchronous Packet Router) driver. > APR driver is made as a bus driver so that the apr devices can added removed > more dynamically depending on the state of the services on the dsp. > APR is used for

[PATCH v5 3/6] firmware: rename fw_sysfs_fallback to firmware_fallback_sysfs()

2018-05-04 Thread Luis R. Rodriguez
From: Andres Rodriguez This is done since this call is now exposed through kernel-doc, and since this also paves the way for different future types of fallback mechanims. Signed-off-by: Andres Rodriguez Acked-by: Luis R. Rodriguez [mcgrof: small coding style changes] Signed-off-by: Luis R. Rod

[PATCH v5 2/6] firmware: use () to terminate kernel-doc function names

2018-05-04 Thread Luis R. Rodriguez
From: Andres Rodriguez The kernel-doc spec dictates a function name ends in (). Signed-off-by: Andres Rodriguez Acked-by: Randy Dunlap Acked-by: Luis R. Rodriguez Signed-off-by: Luis R. Rodriguez --- drivers/base/firmware_loader/fallback.c | 8 drivers/base/firmware_loader/main.c

[PATCH v5 4/6] firmware_loader: document firmware_sysfs_fallback()

2018-05-04 Thread Luis R. Rodriguez
This also sets the expecations for future fallback interfaces, even if they are not exported. Signed-off-by: Luis R. Rodriguez --- drivers/base/firmware_loader/fallback.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/base/firmware_loader/fallback.c b/drivers/

[PATCH v5 6/6] firmware_loader: move kconfig FW_LOADER entries to its own file

2018-05-04 Thread Luis R. Rodriguez
This will make it easier to track and easier to understand what components and features are part of the FW_LOADER. There are some components related to firmware which have *nothing* to do with the FW_LOADER, souch as PREVENT_FIRMWARE_BUILD. Signed-off-by: Luis R. Rodriguez --- drivers/base/Kconf

[PATCHv3] serial: 8250: omap: Fix idling of clocks for unused uarts

2018-05-04 Thread Tony Lindgren
I noticed that unused UARTs won't necessarily idle properly always unless at least one byte tx transfer is done first. After some debugging I narrowed down the problem to the scr register dma configuration bits that need to be set before softreset for the clocks to idle. Unless we do this, the mod

[PATCH v5 5/6] firmware_loader: enhance Kconfig documentation over FW_LOADER

2018-05-04 Thread Luis R. Rodriguez
If you try to read FW_LOADER today it speaks of old riddles and unless you have been following development closely you will loose track of what is what. Even the documentation for PREVENT_FIRMWARE_BUILD is a bit fuzzy and how it fits into this big picture. Give the FW_LOADER kconfig documentation

[PATCH v5 0/6] firmware_loader: cleanups for v4.18

2018-05-04 Thread Luis R. Rodriguez
d random folks of firmware reviewer folks. These patches are based on top of linux-next next-20180504, they are also available in a respective git branch, both for linux-next [1] and linux [2]. Question, and specially rants are greatly appreciated, and of course... may the 4th be with you. [0] ht

Re: rcu-bh design

2018-05-04 Thread Paul E. McKenney
On Fri, May 04, 2018 at 05:15:11PM +, Joel Fernandes wrote: > Hi Steven, > Just for a warning/disclaimer, I am new to RCU-land and trying to make > sense ;-) So forgive me if something sounds too outlandish. > > On Fri, May 4, 2018 at 9:30 AM Steven Rostedt wrote: > > > On Fri, 04 May 2018 1

Re: [Ksummit-discuss] bug-introducing patches

2018-05-04 Thread Greg KH
On Fri, May 04, 2018 at 09:09:32AM -0400, Theodore Y. Ts'o wrote: > On Fri, May 04, 2018 at 03:31:17PM +0300, Jani Nikula wrote: > > On Fri, 04 May 2018, David Howells wrote: > > > Sasha Levin via Ksummit-discuss wrote: > > > > > >> Cc: sta...@vger.kernel.org # commit-id-of-(2) > > > > This has b

[PATCH 3/6] arm64: use for cmpxchg

2018-05-04 Thread Mark Rutland
Currently a number of arm64-specific files include for the definition of the cmpxchg helpers. This works fine today, but won't when we switch over to instrumented atomics, and as noted in Documentation/core-api/atomic_ops.rst: If someone wants to use xchg(), cmpxchg() and their variants, linu

[PATCH 1/6] locking/atomic, asm-generic: instrument ordering variants

2018-05-04 Thread Mark Rutland
Currently only instruments the fully ordered variants of atomic functions, ignoring the {relaxed,acquire,release} ordering variants. This patch reworks the header to instrument all ordering variants of the atomic functions, so that architectures implementing these are instrumented appropriately.

[PATCH 5/6] arm64: use instrumented atomics

2018-05-04 Thread Mark Rutland
As our atomics are written in inline assembly, they don't get instrumented when we enable KASAN, and thus we can miss when they are used on erroneous memory locations. As with x86, let's use atomic-instrumented.h to give arm64 instrumented atomics. This requires that we add an arch_ prefix to our

[PATCH 6/6] arm64: instrument smp_{load_acquire,store_release}

2018-05-04 Thread Mark Rutland
Our __smp_store_release() and __smp_load_acquire() macros use inline assembly, which is opaque to kasan. This means that kasan can't catch erroneous use of these. This patch adds kasan instrumentation to both. It might be better to turn these into __arch_* variants, as we do for the atomics, but

<    1   2   3   4   5   6   7   8   9   >