[PATCH] drm/amdgpu: Use less generic enum definitions

2017-05-03 Thread Guenter Roeck
alpha:allmodconfig fails to build as follows. drivers/gpu/drm/amd/amdgpu/amdgpu.h:1006:2: error: expected identifier before '(' token drivers/gpu/drm/amd/amdgpu/amdgpu.h:1011:28: error: 'NGG_BUF_MAX' undeclared here The problem is not really the enum definition of NGG_BUF_MAX but

Re: [PATCH] Input: elan_i2c - check if device is there before really probing

2017-05-03 Thread Guenter Roeck
On 05/03/2017 11:29 PM, Dmitry Torokhov wrote: Before trying to properly initialize the touchpad and generate bunch of errors, let's first see it there is anything at the given address. If we get error, fail silently with -ENXIO. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/elan_i2c_

Re: new warning at net/wireless/util.c:1236

2017-05-03 Thread Johannes Berg
Hi, > Things still work, but when it starts warning, it generates a *lot* > of noise (I got 36 of these within about ten minutes). Yeah, that's kinda dumb - I just sent a patch to make that just warn once and actually report the configuration. > I have no idea what triggered it, because when I r

Re: [PATCH] arm64: Add translation functions for /dev/mem read/write

2017-05-03 Thread Ard Biesheuvel
On 3 May 2017 at 22:47, Goel, Sameer wrote: > > > On 5/3/2017 2:18 PM, Leif Lindholm wrote: >> On Wed, May 03, 2017 at 11:07:45AM -0600, Goel, Sameer wrote: >>> On 5/3/2017 5:26 AM, Will Deacon wrote: [adding some /dev/mem fans to cc] On Tue, May 02, 2017 at 02:28:05PM -0600, Sameer

Re: [PATCH] xen/x86: Do not call xen_init_time_ops() until shared_info is initialized

2017-05-03 Thread Juergen Gross
On 03/05/17 22:20, Boris Ostrovsky wrote: > Routines that are set by xen_init_time_ops() use shared_info's > pvclock_vcpu_time_info area. This area is not properly available until > shared_info is mapped in xen_setup_shared_info(). > > This became especially problematic due to commit dd759d93f4dd

[PATCH] staging: typec: fusb302: Fix module autoload

2017-05-03 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the OF and I2C device ID table entries as module aliases, using the MODULE_DEVICE_TABLE() macro. Before

[PATCH] Input: elan_i2c - check if device is there before really probing

2017-05-03 Thread Dmitry Torokhov
Before trying to properly initialize the touchpad and generate bunch of errors, let's first see it there is anything at the given address. If we get error, fail silently with -ENXIO. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/elan_i2c_core.c | 9 + 1 file changed, 9 insertion

Re: [PATCH 3/9] VFS: Introduce a mount context

2017-05-03 Thread Julia Lawall
On Wed, 3 May 2017, Joe Perches wrote: > (adding Julia Lawall and cocci) > > On Wed, 2017-05-03 at 13:38 -0700, Matthew Wilcox wrote: > > On Wed, May 03, 2017 at 11:26:38AM -0700, Joe Perches wrote: > > > On Wed, 2017-05-03 at 14:13 -0400, Jeff Layton wrote: > > > > On Wed, 2017-05-03 at 17:04 +

Re: [PATCH v2] tags: honor COMPILED_SOURCE with apart output directory

2017-05-03 Thread Robert Jarzmik
Masahiro Yamada writes: > Hi Robert, > > 2017-04-26 5:07 GMT+09:00 Robert Jarzmik : >> Masahiro Yamada writes: >> >>> Hi Robert, diff --git a/scripts/tags.sh b/scripts/tags.sh index a2ff3388e5ea..35cb64d5211c 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -106,7 +

[PATCH] x86/build: don't add -maccumulate-outgoing-args w/o compiler support

2017-05-03 Thread Nick Desaulniers
Otherwise other compilers, like Clang, are prevented from compiling the kernel. This flag was introduced in 3f135e57a4f76d24ae8d8a490314331f0ced40c5. Signed-off-by: Nick Desaulniers --- arch/x86/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Makefile b/arch

Re: [PATCH v2 1/2] sched/fair: Fix how load gets propagated from cfs_rq to its sched_entity

2017-05-03 Thread Peter Zijlstra
On Thu, May 04, 2017 at 07:51:29AM +0200, Peter Zijlstra wrote: > Urgh, and my numbers were so pretty :/ Just to clarify on how to run schbench, I limited to a single socket (as that is what you have) and set -t to the number of cores in the socket (not the number of threads). Furthermore, my ma

[PATCH v13 01/11] devicetree: property-units: Add uWh and uAh units

2017-05-03 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring --- Documentati

Re: [PATCH v3 7/8] mm, compaction: restrict async compaction to pageblocks of same migratetype

2017-05-03 Thread Vlastimil Babka
On 04/07/2017 02:38 AM, Joonsoo Kim wrote: > On Wed, Mar 29, 2017 at 06:06:41PM +0200, Vlastimil Babka wrote: >> On 03/16/2017 03:14 AM, Joonsoo Kim wrote: >>> On Tue, Mar 07, 2017 at 02:15:44PM +0100, Vlastimil Babka wrote: The migrate scanner in async compaction is currently limited to

Re: new warning at net/wireless/util.c:1236

2017-05-03 Thread Coelho, Luciano
On Thu, 2017-05-04 at 07:35 +0300, Kalle Valo wrote: > Linus Torvalds writes: > > > So my Dell XPS 13 seems to have grown a new warning as of the > > networking merge yesterday. > > > > Things still work, but when it starts warning, it generates a *lot* of > > noise (I got 36 of these within abo

DM_INTEGRITY Kconfig help (was: Re: dm: add integrity target)

2017-05-03 Thread Geert Uytterhoeven
On Wed, May 3, 2017 at 7:43 PM, Linux Kernel Mailing List wrote: > Web: > https://git.kernel.org/torvalds/c/7eada909bfd7ac90a4522e56aa3179d1fd68cd14 > Commit: 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 > Parent: 400a0befc96240f7bb2a53b9622deffd55d385fe > Refname:refs/heads/master

Re: [PATCH v2 1/2] sched/fair: Fix how load gets propagated from cfs_rq to its sched_entity

2017-05-03 Thread Peter Zijlstra
On Wed, May 03, 2017 at 05:45:46PM -0400, Tejun Heo wrote: > FUDGE2: Changes things a lot (load values go wild) but only because > it's missing scale_load_down(). After adding > scale_load_down(), it doesn't do much. For this to work, it > needs to be always propagated, w

Re: [PATCH v3 2/4] soc: qcom: Introduce APCS IPC driver

2017-05-03 Thread Bjorn Andersson
On Wed 03 May 02:55 PDT 2017, Jassi Brar wrote: > Loic, thanks for adding me. > > On Wed, May 3, 2017 at 2:58 PM, Loic PALLARDY wrote: > > > > > >> -Original Message- > >> From: linux-remoteproc-ow...@vger.kernel.org [mailto:linux-remoteproc- > >> ow...@vger.kernel.org] On Behalf Of Bjor

Re: [PATCH 1/2] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-05-03 Thread Daniel Vetter
On Wed, May 3, 2017 at 6:17 PM, Eric Anholt wrote: > Laurent Pinchart writes: > >> Hi Daniel, >> >> On Wednesday 03 May 2017 16:28:56 Daniel Vetter wrote: >>> On Wed, May 03, 2017 at 12:36:06PM +0300, Laurent Pinchart wrote: >>> > On Wednesday 03 May 2017 11:32:17 Daniel Vetter wrote: >>> >> On W

Re: [GIT PULL] locking fixes

2017-05-03 Thread Peter Zijlstra
On Wed, May 03, 2017 at 04:21:01PM -0700, Linus Torvalds wrote: > This is from last merge window, and the reason I react now is that > nobody noticed or cared until we had a release.. > > On Mon, Feb 27, 2017 at 11:57 PM, Ingo Molnar wrote: > > > > Peter Zijlstra (1): > > locking/refcounts:

[PATCH v6 6/8] dt-bindings: mfd: Add TI tps6105x chip bindings

2017-05-03 Thread Javier Martinez Canillas
There are Device Tree source files defining a device node for the tps61050/61052 I2C chip but there isn't a binding document for it. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Tony Lindgren --- Changes in v6: None Changes in v5: - Add Rob Herring's Acked-by tag. -

[PATCH v6 7/8] mfd: tps6105x: Add OF device ID table

2017-05-03 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v6 8/8] ARM: ux500: Add vendor prefix to tps61052 node

2017-05-03 Thread Javier Martinez Canillas
The tps61052 device node doesn't have a vendor prefix in its compatible string, fix it by adding one. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Tony Lindgren --- Changes in v6: None Changes in v5: - Add Rob Herring's Acked-by tag. - Add Acked-by: Tony Lindgren 's

[PATCH v6 1/8] dt-bindings: mfd: Add retu/tahvo ASIC chips bindings

2017-05-03 Thread Javier Martinez Canillas
There are Device Tree source files defining a device node for the retu/tahvo I2C chip, but there isn't a DT binding document for it. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Aaro Koskinen Acked-by: Tony Lindgren Acked-by: Lee Jones --- Changes in v6: - Mention

[PATCH v6 5/8] i2c: i2c-cbus-gpio: Add vendor prefix to retu node in example

2017-05-03 Thread Javier Martinez Canillas
The example contains a device node for a retu device, but its compatible string doesn't have a vendor prefix. While being there, drop the -mfd suffix since isn't correct. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Aaro Koskinen Acked-by: Tony Lindgren Reviewed-by:

[PATCH v6 4/8] ARM: dts: n8x0: Add vendor prefix to retu node

2017-05-03 Thread Javier Martinez Canillas
The retu device node doesn't have a vendor prefix in its compatible string, fix it by adding one. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Aaro Koskinen Acked-by: Tony Lindgren Reviewed-by: Wolfram Sang --- Changes in v6: - Add Wolfram Sang's Reviewed-by tag.

[PATCH v6 3/8] mfd: retu: Add OF device ID table

2017-05-03 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v6 2/8] mfd: retu: Drop -mfd suffix from I2C device ID name

2017-05-03 Thread Javier Martinez Canillas
It's not correct to encode the subsystem in the I2C device name, so drop the -mfd suffix. To maintain bisect-ability, change driver and platform code / DTS users in the same patch. Suggested-by: Lee Jones Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Aaro Koskinen Ack

[PATCH v6 0/8] mfd: Add OF device table to I2C drivers that are missing it

2017-05-03 Thread Javier Martinez Canillas
Hello, This series add OF device ID tables to mfd I2C drivers whose devices are either used in Device Tree source files or are listed in binding docs as a compatible string. That's done because the plan is to change the I2C core to report proper OF modaliases instead of always reporting a MODALIA

[PATCH v2] drivers:soc:fsl:qbman:qman.c: Sleep instead of stuck hacking jiffies.

2017-05-03 Thread Karim Eshapa
Avoid stuck and hacking jiffies for a long time and using msleep() for certatin numeber of cylces without the factor of safety but using the the long delay considering the factor of safety with the while loop such that after msleep for a short period of time we check the msg if it's OK, breaking t

Re: [lkp-robot] [rcuperf] 87c458e630: WARNING:at_arch/x86/kernel/smp.c:#native_smp_send_reschedule

2017-05-03 Thread Ye Xiaolong
On 05/03, Paul E. McKenney wrote: >On Thu, May 04, 2017 at 10:59:26AM +0800, kernel test robot wrote: >> >> FYI, we noticed the following commit: >> >> commit: 87c458e6304c6a1b37bf856e88c70fc37f08851f ("rcuperf: Set more >> user-friendly defaults") >> https://git.kernel.org/cgit/linux/kernel/git

Re: [kernel-hardening] Re: [PATCH v4 1/2] tiocsti-restrict : Add owner user namespace to tty_struct

2017-05-03 Thread Serge E. Hallyn
On Wed, May 03, 2017 at 01:19:41PM -0700, Kees Cook wrote: > On Wed, May 3, 2017 at 1:02 PM, Matt Brown wrote: > > On 05/03/2017 03:45 PM, Greg KH wrote: > >> > >> On Wed, May 03, 2017 at 12:32:07PM -0700, Kees Cook wrote: > >>> > >>> On Mon, Apr 24, 2017 at 6:57 AM, Serge E. Hallyn > >>> wrote:

Re: rlimits: Print more information when CPU/RT limits are exceeded

2017-05-03 Thread Arun Raghavan
On Tue, 2 May 2017, at 08:42 AM, Dave Jones wrote: > On Mon, May 01, 2017 at 11:21:52PM +, Linux Kernel wrote: > > Web: > https://git.kernel.org/torvalds/c/e7ea7c9806a2681807257ea89085339d33f7fa0b > > Commit: e7ea7c9806a2681807257ea89085339d33f7fa0b > > Parent: 4495c08e847293

[RESEND PATCH] MAINTAINERS: Update MAX77802 PMIC entry

2017-05-03 Thread Javier Martinez Canillas
The Samsung email address will stop working soon, so use my personal email address instead. Also, there used to be a MFD and RTC drivers for max77802 but now these have been merged with the max77686 MFD and RTC drivers. The only driver that's still max77802 specific is the regulator one since ther

Re: new warning at net/wireless/util.c:1236

2017-05-03 Thread Kalle Valo
Linus Torvalds writes: > So my Dell XPS 13 seems to have grown a new warning as of the > networking merge yesterday. > > Things still work, but when it starts warning, it generates a *lot* of > noise (I got 36 of these within about ten minutes). > > I have no idea what triggered it, because when

linux-next: Tree for May 4

2017-05-03 Thread Stephen Rothwell
Hi all, Please do not add any v4.13 destined material in your linux-next included branches until after v4.12-rc1 has been released. Changes since 20170503: The f2fs tree gained a conflict against the fscrypt tree. The spi-nor tree gained a build failure so I used the version from next-20170503

Re: net/ipv6: GPF in rt6_device_match

2017-05-03 Thread David Ahern
On 5/3/17 9:55 PM, Cong Wang wrote: > Why not add a printk and play with my patch to see the difference? I have other things to do. If you believe your patch fixes the problem, send it and let Andrey verify.

Re: [PATCH v2 15/20] drm/sun4i: Ignore the generic connectors for components

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The generic connectors such as hdmi-connector doesn't have any driver in, > so if they are added to the component list, we will be waiting forever for > a non-existing driver to probe. > > Add a list of the connectors we want to ignore when bu

Re: [PATCH v2 14/20] drm/sun4i: tcon: multiply the vtotal when not in interlace

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > It appears that the total vertical resolution needs to be doubled when > we're not in interlaced. Make sure that is the case. I think the total vertical resolution needs to be doubled in all cases. It just happens that you should've been usin

Re: [PATCH v2 13/20] drm/sun4i: tcon: Change vertical total size computation inconsistency

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > Both TCON channels need to have the resolution doubled, since the size the > hardware is going to use is whatever we put in the register divided by two. > > However, we handle it differently for the two channels: in the channel 0, > our regist

Re: [PATCH v2 11/20] drm/sun4i: tcon: Switch mux on only for composite

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > Even though that mux is undocumented, it seems like it needs to be set to 1 > when using composite, and 0 when using HDMI. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai

Re: net/ipv6: GPF in rt6_device_match

2017-05-03 Thread Cong Wang
On Wed, May 3, 2017 at 7:43 PM, David Ahern wrote: > On 5/3/17 5:35 PM, Cong Wang wrote: >> Ah, we need: >> >> @@ -4024,7 +4027,7 @@ static struct pernet_operations ip6_route_net_late_ops >> = { >> >> static struct notifier_block ip6_route_dev_notifier = { >> .notifier_call = ip6_route_d

Re: [PATCH v2 10/20] drm/sun4i: tcon: Move the muxing out of the mode set function

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The muxing can actually happen on both channels on some SoCs, so it makes > more sense to just move it out of the sun4i_tcon1_mode_set function and > create a separate function that needs to be called by the encoders. > > Let's do that and con

Re: [linux-sunxi] Designware UART bug

2017-05-03 Thread Tim Kryger
On Wed, May 3, 2017 at 8:40 AM, Olliver Schinagl wrote: > Hey Tim, > > Ok, so as far as I understand (from the datasheet) the intended way to do > this would be to check for the BUSY IRQ & USR[0] IRQ and if it is busy, > (re-write) the LCR. We no longer do this because it did not work due to the

Re: Future of liblockdep

2017-05-03 Thread alexander . levin
On Wed, May 03, 2017 at 10:19:55PM +0100, Ben Hutchings wrote: > On Wed, 2017-05-03 at 21:00 +, alexander.le...@verizon.com wrote: > > On Wed, May 03, 2017 at 09:13:57PM +0100, Ben Hutchings wrote: > > > liblockdep hasn't been buildable since (I think) Linux 4.6.  I sent > > > Sasha fixes for t

Re: [PATCH 0/7] KVM: MMU: fast write protect

2017-05-03 Thread Xiao Guangrong
On 05/03/2017 10:57 PM, Paolo Bonzini wrote: On 03/05/2017 16:50, Xiao Guangrong wrote: Furthermore, userspace has no knowledge about if PML is enable (it can be required from sysfs, but it is a good way in QEMU), so it is difficult for the usespace to know when to use write-protect-all. May

Re: [PATCH v2 8/20] clk: sunxi-ng: sun5i: Export video PLLs

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The video PLLs are used directly by the HDMI controller. Export them so > that we can use them in our DT node. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai

Re: [PATCH v2 7/20] clk: sunxi-ng: mux: Re-adjust parent rate

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > Currently, the parent rate given back to the clock framework in our > request is the original parent rate we calculated before trying to round > the rate of our clock. > > This works fine unless our clock also changes its parent rate, in which

Re: [PATCH v2 6/20] clk: sunxi-ng: mux: Change pre-divider application function prototype

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The current function name is a bit confusing, and doesn't really allow to > create an explicit function to reverse the operation. > > We also for now change the parent rate through a pointer, while we don't > return anything. > > In order to b

Re: [PATCH v2 5/20] clk: sunxi-ng: mux: split out the pre-divider computation code

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The pre-divider retrieval code was merged into the function to apply the > current pre-divider onto the parent clock rate so that we can use that > adjusted value to do our factors computation. > > However, since we'll need to do the reverse o

Re: [PATCH v2 4/20] clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The current code only rely on the parent to change its rate in the case > where CLK_SET_RATE_PARENT is set. > > However, some clock rates might be obtained only through a modification of > the parent and the clock divider. Just rely on the rou

Re: [PATCH v2 3/20] clk: sunxi-ng: div: Switch to divider_round_rate

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > divider_round_rate already evaluates changing the parent rate if ^^^ Might want to update this, as you are now using the new function you added in patch 1. > CLK_SET_RATE_PARENT is set. Now that we can do that on muxes too, let's > j

Re: [PATCH v2 2/20] clk: sunxi-ng: Pass the parent and a pointer to the clocks round rate

2017-05-03 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The clocks might need to modify their parent clocks. In order to make that > possible, give them access to the parent clock being evaluated, and to a > pointer to the parent rate so that they can modify it if needed. > > Signed-off-by: Maxime

Re: [lkp-robot] [rcuperf] 87c458e630: WARNING:at_arch/x86/kernel/smp.c:#native_smp_send_reschedule

2017-05-03 Thread Paul E. McKenney
On Thu, May 04, 2017 at 10:59:26AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 87c458e6304c6a1b37bf856e88c70fc37f08851f ("rcuperf: Set more > user-friendly defaults") > https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git > dev.2017.04.21a

RE: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-05-03 Thread Chen, Xiaoguang
Hi Chis, do you have any comments for this problem? >> +static struct sg_table * >> +intel_vgpu_create_sg_pages(struct drm_device *dev, u32 start, u32 >> +num_pages) { >> +struct drm_i915_private *dev_priv = dev->dev_private; >> +struct sg_table *st; >> +struct scatterlist *sg; >> +

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-03 Thread Chen, Xiaoguang
Hi Alex, do you have any comments for this interface? >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Chen, Xiaoguang >Sent: Wednesday, May 03, 2017 9:39 AM >To: Gerd Hoffmann >Cc: Tian, Kevin ; intel-...@lists.freedesktop.org; l

Re: [PATCH v2 3/8] clk: sunxi-ng: Add class of phase clocks supporting MMC new timing modes

2017-05-03 Thread Chen-Yu Tsai
Hi, On Thu, May 4, 2017 at 4:34 AM, Maxime Ripard wrote: > Hi, > > On Wed, May 03, 2017 at 11:16:53AM +0800, Chen-Yu Tsai wrote: >> The MMC clocks on newer SoCs, such as the A83T and H3, support the >> "new timing mode". Under this mode, the output of the clock is divided >> by 2, and the clock d

[lkp-robot] [rcuperf] 87c458e630: WARNING:at_arch/x86/kernel/smp.c:#native_smp_send_reschedule

2017-05-03 Thread kernel test robot
FYI, we noticed the following commit: commit: 87c458e6304c6a1b37bf856e88c70fc37f08851f ("rcuperf: Set more user-friendly defaults") https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2017.04.21a in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -s

Re: net/ipv6: GPF in rt6_device_match

2017-05-03 Thread David Ahern
On 5/3/17 5:35 PM, Cong Wang wrote: > Ah, we need: > > @@ -4024,7 +4027,7 @@ static struct pernet_operations ip6_route_net_late_ops > = { > > static struct notifier_block ip6_route_dev_notifier = { > .notifier_call = ip6_route_dev_notify, > - .priority = 0, > + .priority = -

[lkp-robot] [fw_cfg] 9f0f3ea314: BUG:KASAN:null-ptr-deref_on_address

2017-05-03 Thread kernel test robot
FYI, we noticed the following commit: commit: 9f0f3ea31419e56d861441b2d863e992d13f19d7 ("fw_cfg: do DMA read operation") url: https://github.com/0day-ci/linux/commits/marcandre-lureau-redhat-com/fw_cfg-add-DMA-operations/20170429-202925 in testcase: boot on test machine: qemu-system-x86_64 -

deadlock due to circular dependency between threads

2017-05-03 Thread Sodagudi Prasad
Hi all, I am working on a platform, which is using the Linux version 4.4. I have observed a DEADLOCK between couple of threads and looking for suggestions/comments. Here is my understanding from the call stacks of these blocked tasks. 0) CPU3 is getting hot plugged from a kthread and which is

[PATCH] perf/x86/intel/cqm: Make sure the head event of cache_groups always has valid RMID

2017-05-03 Thread Zefan Li
It is assumed that the head of cache_groups always has valid RMID, which isn't true. When we deallocate RMID from conflicting events currently we don't move them to the tail, and one of those events can happen to be in the head. Another case is we allocate RMIDs for all the events except the head

Re: [PATCH v3] x86/mm: Fix incorrect for loop count calculation in sync_global_pgds

2017-05-03 Thread Dan Williams
On Wed, May 3, 2017 at 7:25 PM, Baoquan He wrote: > Jeff Moyer reported that on his system with two memory regions 0~64G and > 1T~1T+192G, and kernel option "memmap=192G!1024G" added, enabling kaslr > will make system hang intermittently during boot. While adding 'nokaslr' > won't. > > This is bec

Re: I'd like to donate a MacBook Pro

2017-05-03 Thread Alex Henrie
2017-05-03 8:58 GMT-06:00 Joerg Roedel : > On Wed, May 03, 2017 at 08:35:47AM -0600, Alex Henrie wrote: >> 2017-05-03 5:58 GMT-06:00 Greg KH : >> > On Tue, May 02, 2017 at 10:55:09PM -0600, Alex Henrie wrote: >> >> Today I ran a regression test to determine which commit made the >> >> keyboard stop

Re: [PATCH] nvme-core: add apst_override param to force APST if controller does not report APSTA=1

2017-05-03 Thread Keith Busch
On Wed, May 03, 2017 at 07:02:07PM -0700, Alexander Kappner wrote: > Some buggy NVMe controllers support APST (autonomous power > state transitions), but do not report APSTA=1. On these controllers, the NVMe > driver does not enable APST support. I have verified this problem occurring > on >

Re: [RESENT PATCH] x86/mem: fix the offset overflow when read/write mem

2017-05-03 Thread zhong jiang
On 2017/5/4 2:46, Rik van Riel wrote: > On Tue, 2017-05-02 at 13:54 -0700, David Rientjes wrote: > >>> diff --git a/drivers/char/mem.c b/drivers/char/mem.c >>> index 7e4a9d1..3a765e02 100644 >>> --- a/drivers/char/mem.c >>> +++ b/drivers/char/mem.c >>> @@ -55,7 +55,7 @@ static inline int >> valid_p

new warning at net/wireless/util.c:1236

2017-05-03 Thread Linus Torvalds
So my Dell XPS 13 seems to have grown a new warning as of the networking merge yesterday. Things still work, but when it starts warning, it generates a *lot* of noise (I got 36 of these within about ten minutes). I have no idea what triggered it, because when I rebooted (not because of this issue

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2017-05-03 Thread Luis R. Rodriguez
On Wed, May 03, 2017 at 09:02:20PM +0200, Arend Van Spriel wrote: > On 3-1-2017 18:59, Luis R. Rodriguez wrote: > > On Mon, Dec 26, 2016 at 05:35:59PM +0100, Pavel Machek wrote: > >> > >> Right question is "should we solve it without user-space help"? > >> > >> Answer is no, too. Way too complex. Y

[PATCH v3] x86/mm: Fix incorrect for loop count calculation in sync_global_pgds

2017-05-03 Thread Baoquan He
Jeff Moyer reported that on his system with two memory regions 0~64G and 1T~1T+192G, and kernel option "memmap=192G!1024G" added, enabling kaslr will make system hang intermittently during boot. While adding 'nokaslr' won't. This is because the for loop count calculation in sync_global_pgds is not

[PATCH] nvme-core: add apst_override param to force APST if controller does not report APSTA=1

2017-05-03 Thread Alexander Kappner
Some buggy NVMe controllers support APST (autonomous power state transitions), but do not report APSTA=1. On these controllers, the NVMe driver does not enable APST support. I have verified this problem occurring on - Samsung 960 Pro 2TB (Firmware 2B6QCXP7, current as of 5/4/17) -

Re: [GIT PULL] tracing: Updates for v4.12

2017-05-03 Thread Steven Rostedt
On Wed, 3 May 2017 18:59:05 -0700 Linus Torvalds wrote: > On Tue, May 2, 2017 at 4:41 PM, Steven Rostedt wrote: > > > > This will conflict with changes I have already sent to you. They may > > not be so trivial to fix. I merged my urgent branch when pushing to > > linux-next. You can look at

Re: [RFC PATCH] dax: add badblocks check to Device DAX

2017-05-03 Thread Dan Williams
On Wed, May 3, 2017 at 4:36 PM, Kani, Toshimitsu wrote: > On Wed, 2017-05-03 at 17:25 -0600, Toshi Kani wrote: >> On Wed, 2017-05-03 at 16:08 -0700, Dan Williams wrote: >> > On Wed, May 3, 2017 at 3:51 PM, Dan Williams > > co >> > m> wrote: >> > > On Wed, May 3, 2017 at 3:41 PM, Kani, Toshimitsu >

Re: [GIT PULL] tracing: Updates for v4.12

2017-05-03 Thread Linus Torvalds
On Tue, May 2, 2017 at 4:41 PM, Steven Rostedt wrote: > > This will conflict with changes I have already sent to you. They may > not be so trivial to fix. I merged my urgent branch when pushing to > linux-next. You can look at how I resolved the conflicts in my > "for-next" branch, specificall

Re: [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter

2017-05-03 Thread jeffrey.lin
Hi Guenter: >> Change boot mode trigger parameter of Raydium firmware update. >> >That is a bit vague. What is changed to what, and why ? >In other words, what prevents someone else from changing it back to >the old value, using the same description ? This bit control erase type as doing firmwar

Re: linux-next: build warning after merge of the drm tree

2017-05-03 Thread Stephen Rothwell
Hi Jeffy, On Thu, 4 May 2017 09:18:12 +0800 "Jeffy" wrote: > > it should be fixed by "Arnd Bergmann"(thanks a lot by the way) > in: > > 4a85aae multi_v7_defconfig: make Rockchip DRM drivers built-in Thanks for the heads up, I will await the arm-soc merges. -- Cheers, Stephen Rothwell

[PATCH v3 2/2] x86_64/kexec: Use PUD level 1GB page for identity mapping if available

2017-05-03 Thread Xunlei Pang
Kexec setups all identity mappings before booting into the new kernel, and this will cause extra memory consumption for paging structures which is quite considerable on modern machines with huge number of memory. E.g. On one 32TB machine, in kdump case, it could waste around 128MB (around 4MB/TB)

[PATCH v3 1/2] x86/mm/ident_map: Add PUD level 1GB page support

2017-05-03 Thread Xunlei Pang
The current kernel_ident_mapping_init() creates the identity mapping always using 2MB page(PMD level), this patch adds the 1GB page(PUD level) support. The primary advantage would be better TLB coverage/performance, because we'd utilize 1GB TLBs instead of 2MB ones. It is also useful for machines

[PATCH v2 3/3] f2fs: enhance scalability of trace macro

2017-05-03 Thread Chao Yu
Use __print_flags in show_bio_op_flags and show_cpreason instead of __print_symbolic, it enables tracer function traverses and shows all bits in the flag. Additionally, add missing REQ_FUA into F2FS_OP_FLAGS. Signed-off-by: Chao Yu --- v2: update patch as Jaegeuk's suggestion. - remove useless

gic_write_grpen1 in hotplug flow

2017-05-03 Thread Sodagudi Prasad
Hi All, This is regarding the usage of gic_write_grpen1 API usage in irq-gic-v3 driver. Here my understanding about ICC_IGRPEN1_EL1. ICC_IGRPEN1_EL1 is banked between secure and non-secure states. If two secure states are implemented, Secure side Group bit is set by the platform firmware (PS

Re: [RFC PATCH v2 3/3] hwmon: (adt7475) temperature smoothing

2017-05-03 Thread Chris Packham
On 04/05/17 04:30, Guenter Roeck wrote: > On Wed, May 03, 2017 at 12:40:09PM +1200, Chris Packham wrote: >> When enabled temperature smoothing allows ramping the fan speed over a >> configurable period of time instead of jumping to the new speed >> instantaneously. >> >> Signed-off-by: Chris Packha

Re: [dm-devel] [PATCH] dm-region-hash: fix strange usage of mempool_alloc.

2017-05-03 Thread NeilBrown
On Wed, May 03 2017, Mikulas Patocka wrote: > On Mon, 24 Apr 2017, NeilBrown wrote: >> >> I had a look at how the allocation 'dm_region' objects are used, >> and it would take a bit of work to make it really safe. >> My guess is __rh_find() should be allowed to fail, and the various >> callers ne

Re: [PATCH v2 1/2] mm: Uncharge poisoned pages

2017-05-03 Thread Balbir Singh
> @@ -5527,7 +5527,7 @@ static void uncharge_list(struct list_head *page_list) > next = page->lru.next; > > VM_BUG_ON_PAGE(PageLRU(page), page); > - VM_BUG_ON_PAGE(page_count(page), page); > + VM_BUG_ON_PAGE(!PageHWPoison(page) && page_count(pag

Re: [PATCH 3/3] f2fs: enhance scalability of trace macro

2017-05-03 Thread Chao Yu
Hi Jaegeuk, On 2017/5/4 2:47, Jaegeuk Kim wrote: > Hi Chao, > > On 05/03, Chao Yu wrote: >> From: Chao Yu >> >> Use __print_flags in show_bio_op_flags and show_cpreason instead of >> __print_symbolic, it enables tracer function traverses and shows all >> bits in the flag. >> >> Additionally, add

[PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target

2017-05-03 Thread Masahiro Yamada
Since commit 5399eb9b3908 ("dtbsinstall: don't move target directory out of the way"), the target __dtbs_install_prep is invoked just for creating the install directory, but all the necessary directories are automatically created by: cmd_dtb_install = mkdir -p $(2); cp $< $(2) Signed-off-by: Ma

[rcu:rcu/dev 57/76] htmldocs: kernel/rcu/update.c:597: warning: No description found for parameter 'rhp'

2017-05-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: 901e798bdc9249ffd86a4d4cb002a6772660e41d commit: e3f53ab9491c1c4b321bde579c906a630fab4da8 [57/76] rcu: Move docbook comments out of rcupdate.h reproduce: make htmldocs All warnings (new ones prefixed by

linux-next: build failure after merge of the spi-nor tree

2017-05-03 Thread Stephen Rothwell
); ^ drivers/mtd/spi-nor/stm32-quadspi.c:110:33: note: in definition of macro 'FSIZE_VAL' #define FSIZE_VAL(size) (__fls(size) - 1) ^ Exposed by commit 7a754f2016a0 ("mtd: spi-nor: stm32-quadspi: allow building with COMPILE_TEST") I have used the spi-nor tree from next-20170503 for today. -- Cheers, Stephen Rothwell

[GIT PULL] modules updates for 4.12

2017-05-03 Thread Jessica Yu
Linus, Please pull below to receive a few minor modules updates for the 4.12 merge window. Thanks, Jessica --- The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.

Re: [PATCH] coresight: use const for device_node structures

2017-05-03 Thread Leo Yan
On Wed, May 03, 2017 at 02:21:36PM -0600, Mathieu Poirier wrote: > Hi Leo, > > On Tue, May 02, 2017 at 04:15:03PM +0800, Leo Yan wrote: > > Almost low level functions from open firmware have used const to > > qualify device_node structures, so add const for device_node > > parameters in of_coresig

Re: [PATCHv2 1/2] Input: pwm-vibra: new driver

2017-05-03 Thread Tony Lindgren
* Sebastian Reichel [170503 04:14]: > Provide a simple driver for PWM controllable vibrators. It > will be used by Motorola Droid 4. > > Signed-off-by: Sebastian Reichel > --- > Changes since PATCHv1: > - move driver removal code to input->close function > - mark PM functions __maybe_unused an

[PATCH v2] coresight: use const for device_node structures

2017-05-03 Thread Leo Yan
Almost low level functions from open firmware have used const to qualify device_node structures, so add const for device_node parameters in of_coresight related functions. Reviewed-by: Stephen Boyd Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/of_coresight.c | 7 --- include/linux/

[PATCH] perf report: Make --branch-history work without callgraphs(-g) option in perf record

2017-05-03 Thread Jin Yao
perf record -b -g perf report --branch-history This merges the LBRs with the callgraphs. However it would be nice if it also works without callgraphs (-g) set in perf record, so that only the LBRs are displayed. But currently perf report errors in this case. For example, perf record -b perf re

Re: [PATCH 0/3] led: ledtrig-transient: add support for hrtimer

2017-05-03 Thread David Lin
+Cc: Greg KH On Sun, Apr 30, 2017 at 2:36 PM, David Lin wrote: > Hi, > > These patch series add the LED_BRIGHTNESS_FAST flag support for > ledtrig-transient to use hrtimer so that platforms with high-resolution timer > support can have better accuracy in the trigger duration timing. The need for

Re: [PATCH] ARM: Fix __show_regs output timestamps

2017-05-03 Thread Joe Perches
On Wed, 2017-05-03 at 22:30 +0100, Russell King - ARM Linux wrote: > On Wed, May 03, 2017 at 12:44:11PM -0700, Joe Perches wrote: > > On Wed, 2017-05-03 at 20:23 +0100, Russell King - ARM Linux wrote: > > > On Wed, Apr 26, 2017 at 10:39:49AM -0700, Joe Perches wrote: > > > > Multiple line formats a

[patch] fs, epoll: short circuit fetching events if thread has been killed

2017-05-03 Thread David Rientjes
We've encountered zombies that are waiting for a thread to exit that are looping in ep_poll() almost endlessly although there is a pending SIGKILL as a result of a group exit. This happens because we always find ep_events_available() and fetch more events and never are able to check for signal_pen

Re: [PATCHv2 0/4] Motorola Droid 4: Add WL1285C support

2017-05-03 Thread Tony Lindgren
* Sebastian Reichel [170503 09:11]: > Hi, > > On Wed, May 03, 2017 at 05:02:13PM +0200, Marcel Holtmann wrote: > > >> Motorola Droid 4 uses a WL1285C, as visible on iFixit [0]. This > > >> fixes the DT file to use correct compatible for the wifi node > > >> and adds the bluetooth node. > > >> >

[PATCH 3/3] f2fs:dax: Implement direct access

2017-05-03 Thread sunqiuyang
This patch implements Direct Access (DAX) in F2FS, including: - a mount option to enable DAX - read/write and mmap of regular files in the DAX way - zero-out of non-aligned partial blocks in the DAX way - garbage collection of DAX files - incompatibility of DAX with inline data, atomic or vola

[PATCH 2/3] f2fs:dax: Export interfaces: dax_map/unmap_atomic()

2017-05-03 Thread sunqiuyang
Export interfaces of dax_map/unmap_atomic() for usage in moving data pages of DAX files in garbage collection of F2FS. Signed-off-by: Qiuyang Sun --- fs/dax.c| 6 -- include/linux/dax.h | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/dax.c b/fs/dax.c i

[PATCH 1/3] f2fs:dax: fix races between page faults and fallocate

2017-05-03 Thread sunqiuyang
Currently in F2FS, page faults and fallocate operations, like punch_hole and collapse/insert/zero_range, are completely unsynchronized. This can result in page fault faulting in a page into a range that we are changing after truncating pagecache, and thus we can end up with a page mapped to dis

[PATCH] media: i2c: initialize scalar variables

2017-05-03 Thread Gustavo A. R. Silva
Initialize scalar variables _pid_ and _ver_ to avoid a possible misbehavior. Addresses-Coverity-ID: 1324239 Addresses-Coverity-ID: 1324240 Signed-off-by: Gustavo A. R. Silva --- drivers/media/i2c/ov2659.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov2

[PATCH] pinctrl: use non-devm kmalloc versions for free functions

2017-05-03 Thread Andre Przywara
When a pinctrl driver gets interrupted during its probe process (returning -EPROBE_DEFER), the devres system cleans up all allocated resources. During this process it calls pinmux_generic_free_functions() and pinctrl_generic_free_groups(), which in turn use managed kmalloc calls for temporarily all

[PATCH] Documentation: earlycon: fix Marvell Armada 3700 UART name

2017-05-03 Thread Andre Przywara
The Marvell Armada 3700 UART uses "ar3700_uart" for its earlycon name. Adjust documentation to match the code. Signed-off-by: Andre Przywara --- Documentation/admin-guide/kernel-parameters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-pa

  1   2   3   4   5   6   7   >