Re: [PATCH 3/3] mm, vmscan: Prevent kswapd sleeping prematurely due to mismatched classzone_idx

2017-02-16 Thread Hillf Danton
On February 16, 2017 4:11 PM Mel Gorman wrote: > On Thu, Feb 16, 2017 at 02:23:08PM +0800, Hillf Danton wrote: > > On February 15, 2017 5:23 PM Mel Gorman wrote: > > > */ > > > static int kswapd(void *p) > > > { > > > - unsigned int alloc_order, reclaim_order, classzone_idx; > > > + unsigned

Re: [PATCH 3/3] mm, vmscan: Prevent kswapd sleeping prematurely due to mismatched classzone_idx

2017-02-16 Thread Mel Gorman
On Thu, Feb 16, 2017 at 02:23:08PM +0800, Hillf Danton wrote: > On February 15, 2017 5:23 PM Mel Gorman wrote: > > */ > > static int kswapd(void *p) > > { > > - unsigned int alloc_order, reclaim_order, classzone_idx; > > + unsigned int alloc_order, reclaim_order; > > + unsigned int

[PATCH] net: oki-semi: pch_gbe: use new api ethtool_{get|set}_link_ksettings

2017-02-16 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- .../ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c

Re: [PATCH 1/5] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-16 Thread Chunyan Zhang
On 二, 2月 14, 2017 at 03:57:43下午 +, Mark Rutland wrote: > Hi, > > On Tue, Feb 14, 2017 at 05:19:08PM +0800, Chunyan Zhang wrote: > > > + timer { > > + compatible = "arm,armv8-timer"; > > + interrupts = > +| IRQ_TYPE_LEVEL_LOW)>, > >

[PATCH 0/2] powerpc: kretprobe updates

2017-02-16 Thread Naveen N. Rao
I am posting the powerpc bits in the same thread so as to keep these changes together. I am not sure how this should be taken upstream as there are atleast three different trees involved: one for the core kprobes infrastructure, one for powerpc and one for perf. Thanks, Naveen Naveen N. Rao (2):

[PATCH 2/2] perf: powerpc: choose LEP with kretprobes

2017-02-16 Thread Naveen N. Rao
perf now uses an offset from _text/_stext for kretprobes, rather than the actual function name. As such, let's choose the LEP for powerpc ABIv2 so as to ensure the probe gets hit. Signed-off-by: Naveen N. Rao --- tools/perf/arch/powerpc/util/sym-handling.c | 5

[PATCH 1/2] powerpc: kretprobes: override default function entry offset

2017-02-16 Thread Naveen N. Rao
With ABIv2, we offset 8 bytes into a function to get at the local entry point. Signed-off-by: Naveen N. Rao --- arch/powerpc/kernel/kprobes.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/kprobes.c

Re: [PATCH v4 2/4] seccomp: Add sysctl to configure actions that should be logged

2017-02-16 Thread Tyler Hicks
On 02/16/2017 12:40 PM, Tyler Hicks wrote: > On 02/15/2017 07:10 PM, Kees Cook wrote: >> On Mon, Feb 13, 2017 at 7:55 PM, Tyler Hicks wrote: >>> diff --git a/kernel/seccomp.c b/kernel/seccomp.c >>> index e36dfe9..270a227 100644 >>> --- a/kernel/seccomp.c >>> +++

[PATCH] trace-cmd: fixup more bogus symbol resolutions

2017-02-16 Thread Julia Cartwright
Commit ce1cbc51c ("trace-cmd: Leave out absolute addresses to fix bogus symbol resolutions") fixed up bogus symbol resolution for 'A' type symbols used on x86_64 for percpu offsets. However, this check did not cover per-cpu variables used in modules, which are generated as 'local' absolute

Re: [PATCH v4 3/3] input: pwm-beeper: add devicetree bindings to set volume levels

2017-02-16 Thread kbuild test robot
Hi Frieder, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.10-rc8] [cannot apply to input/next next-20170216] [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/linux/commits/Frieder

Re: [PATCH v4 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size

2017-02-16 Thread kbuild test robot
Hi Thomas, [auto build test ERROR on next-20170216] [also build test ERROR on v4.10-rc8] [cannot apply to tip/x86/core kvm/linux-next tip/auto-latest v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH v3 1/3] [media] si2157: Add support for Si2141-A10

2017-02-16 Thread Stefan Brüns
The Si2141 needs two distinct commands for powerup/reset, otherwise it will not respond to chip revision requests. It also needs a firmware to run properly. Signed-off-by: Stefan Brüns --- drivers/media/tuners/si2157.c | 23 +--

[PATCH v3 2/3] [media] si2168: add support for Si2168-D60

2017-02-16 Thread Stefan Brüns
Add handling for new revision, requiring new firmware. Signed-off-by: Stefan Brüns --- drivers/media/dvb-frontends/si2168.c | 4 drivers/media/dvb-frontends/si2168_priv.h | 2 ++ 2 files changed, 6 insertions(+) diff --git

[PATCH v3 3/3] [media] dvbsky: MyGica T230C support

2017-02-16 Thread Stefan Brüns
Mygica T230 DVB-T/T2/C USB stick support. It uses the same FX2/Si2168 bridge/demodulator combo as the other devices supported by the driver, but uses the Si2141 tuner. Several DVB-T (MPEG2) and DVB-T2 (H.265) channels were tested, as well as the included remote control. Signed-off-by: Stefan

[PATCH v3 0/3] Add support for MyGica T230C DVB-T2 stick

2017-02-16 Thread Stefan Brüns
The required command sequence for the new tuner (Si2141) was traced from the current Windows driver and verified with a small python script/libusb. The changes to the Si2168 and dvbsky driver are mostly additions of the required IDs and some glue code. Stefan Brüns (3): [media] si2157: Add

[PATCH v2] gpio: dwapb: Add support for next generation of X-Gene SoC

2017-02-16 Thread Hoan Tran
Next generation of X-Gene SoC's GPIO hardware register map is very similar to DW GPIO. It only differs by a few register addresses. This patch modifies DW GPIO driver to accommodate the difference in a few register addresses. Signed-off-by: Hoan Tran --- v2: * Remove ifdef

Re: [PATCH v2 1/3] ASoC: zx-tdm: add bindings doc for zte's tdm controller

2017-02-16 Thread Shawn Guo
On Thu, Feb 16, 2017 at 07:05:04PM +0800, Baoyou Xie wrote: > This patch adds dt-binding documentation for zte's tdm controller. > > Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo

Re: [PATCH v4 18/36] media: Add i.MX media core driver

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 05:02 AM, Philipp Zabel wrote: On Wed, 2017-02-15 at 18:19 -0800, Steve Longerbeam wrote: + +- Clean up and move the ov5642 subdev driver to drivers/media/i2c, and + create the binding docs for it. This is done already, right? I cleaned up ov5640 and moved it to

linux-next: manual merge of the tip tree with the drm tree

2017-02-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: include/linux/kref.h between commit: 56e3d1cd05cc ("kref: prefer atomic_inc_not_zero to atomic_add_unless") from the drm tree and commit: 10383aea2f44 ("kref: Implement 'struct kref' using refcount_t") from the tip

[PATCH] printk: use rcuidle console tracepoint

2017-02-16 Thread Sergey Senozhatsky
Use rcuidle console tracepoint because, apparently, it may be issued from an idle CPU: [2.581939] hw-breakpoint: Failed to enable monitor mode on CPU 0. [2.591613] hw-breakpoint: CPU 0 failed to disable vector catch [2.597686] [2.597717] === [

Re: [PATCH] printk: use rcuidle console tracepoint

2017-02-16 Thread Steven Rostedt
On Fri, 17 Feb 2017 10:59:32 +0900 Sergey Senozhatsky wrote: file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index 7180088cbb23..34da86e73d00 100644 > --- a/kernel/printk/printk.c > +++

Re: [PATCH v5] drivers/misc: Add Aspeed LPC control driver

2017-02-16 Thread Joel Stanley
On Tue, Feb 14, 2017 at 5:00 PM, Cyril Bur wrote: > diff --git a/drivers/misc/aspeed-lpc-ctrl.c b/drivers/misc/aspeed-lpc-ctrl.c > new file mode 100644 > index ..9b51548e9d81 > --- /dev/null > +++ b/drivers/misc/aspeed-lpc-ctrl.c > +static long

[git pull] drm fixes for v4.10-final

2017-02-16 Thread Dave Airlie
Hi Linus, Just two last minute fixes, one for DP MST oopses and one for a radeon regression. Dave. The following changes since commit 7089db84e356562f8ba737c29e472cc42d530dbc: Linux 4.10-rc8 (2017-02-12 13:03:20 -0800) are available in the git repository at:

[PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function

2017-02-16 Thread Chen-Yu Tsai
The master bind function calls numerous drm functions which initialize underlying structures. It also tries to bind the various components of the display pipeline, some of which may add additional drm objects. This patch adds proper cleanup functions in the error path of the master bind function.

[PATCH 5/7] drm/sun4i: Drop useless assignment in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
The assignment found in the main loop in sun4i_layers_init: struct sun4i_layer *layer = layers[i]; is useless as it gets overwritten by the next line: layer = sun4i_layer_init_one(drm, plane); Drop the assignment. Signed-off-by: Chen-Yu Tsai ---

Re: [PATCH] KVM: x86: remove code for lazy FPU handling

2017-02-16 Thread Bandan Das
Paolo Bonzini writes: > The FPU is always active now when running KVM. The lazy code was a performance optimization, correct ? Is this just dormant code and being removed ? Maybe mentioning the reasoning in a little more detail is a good idea. The removal itself looks

Re: [PATCH v4 07/36] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-02-16 Thread Steve Longerbeam
On 02/16/2017 04:51 PM, Fabio Estevam wrote: Hi Steve, On Thu, Feb 16, 2017 at 12:19 AM, Steve Longerbeam wrote: Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The

Re: [PATCH] staging: bcm2835-audio: bcm2835.h: fix various coding style issues

2017-02-16 Thread Greg Kroah-Hartman
On Thu, Feb 16, 2017 at 06:12:58PM -0500, Nathan Howard wrote: > Fix various coding style issues as per checkpatch.pl. You need to be very specific as to exactly what you are fixing here. And please only do one type of thing per patch. Please fix up and resend. thanks, greg k-h

Re: [PATCH v2 0/7] async requests support for 9pfs

2017-02-16 Thread Stefano Stabellini
Re-ping On Tue, 3 Jan 2017, Stefano Stabellini wrote: > Ping > > On Thu, 15 Dec 2016, Stefano Stabellini wrote: > > Hi all, > > > > This patch series introduces async requests for read and write > > operations. If the read, or the write, is an async operation to begin > > with (aio), we can

Re: [PATCHv3 2/2] arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX

2017-02-16 Thread Kees Cook
On Thu, Feb 16, 2017 at 2:25 PM, Pavel Machek wrote: > Hi! > >> >> -config DEBUG_RODATA >> +config STRICT_KERNEL_RWX >> bool "Make kernel text and rodata read-only" if >> ARCH_OPTIONAL_KERNEL_RWX >> depends on ARCH_HAS_STRICT_KERNEL_RWX >> default

[PATCH v2] arm64: print a fault message when attempting to write RO memory

2017-02-16 Thread Stephen Boyd
If a page is marked read only we should print out that fact, instead of printing out that there was a page fault. Right now we get a cryptic error message that something went wrong with an unhandled fault, but we don't evaluate the esr to figure out that it was a read/write permission fault.

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Ming Lei
Hi Shaohua, On Fri, Feb 17, 2017 at 6:16 AM, Shaohua Li wrote: > On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: >> In MD's resync I/O path, there are lots of direct access to bio's >> bvec table. This patchset kills most of them, and the conversion >> is quite

linux-next: manual merge of the tip tree with the openrisc tree

2017-02-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/openrisc/include/asm/Kbuild between commit: 157e82f58007 ("openrisc: add cmpxchg and xchg implementations") from the openrisc tree and commit: b672592f0221 ("sched/cputime: Remove generic asm headers") from the

Re: swap_cluster_info lockdep splat

2017-02-16 Thread Hugh Dickins
On Thu, 16 Feb 2017, Tim Chen wrote: > > > I do not understand your zest for putting wrappers around every little > > thing, making it all harder to follow than it need be.  Here's the patch > > I've been running with (but you have a leak somewhere, and I don't have > > time to search out and fix

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-16 Thread Eric W. Biederman
James Bottomley writes: > On Thu, 2017-02-16 at 11:42 -0500, Vivek Goyal wrote: >> On Thu, Feb 16, 2017 at 07:51:58AM -0800, James Bottomley wrote: >> >> [..] >> > > Two levels of checks will simplify this a bit. Top level inode >> > > will belong to the

[RFC 0/5] iwlwifi: enhance final opmode work

2017-02-16 Thread Luis R. Rodriguez
Although these are iwlwifi patches, there are some core module, async, firmware questions I'd appreciate a bit more review from folks on -- tx! Firmware folks / async folks / module folks: I started to look to generalize the way the iwlwifi driver uses the firmware API to request for firmware

[RFC 5/5] iwlwifi: convert final opmode work into a workqueue

2017-02-16 Thread Luis R. Rodriguez
This lets us offload and share all the final opmode related work necessary for either an opmode driver or new device. This has the most impact for opmode drivers as this now offloads opmode start for each device onto the workqueue. Signed-off-by: Luis R. Rodriguez ---

[RFC 3/5] iwlwifi: share opmode start work code

2017-02-16 Thread Luis R. Rodriguez
The firmware async callback and the opmode registration share some functionality -- to start the drv's opmode. Move this work into a helper which is shared. This should help us share fixes should these diverging code paths change. Signed-off-by: Luis R. Rodriguez ---

[RFC 2/5] iwlwifi: fix request_module() use

2017-02-16 Thread Luis R. Rodriguez
The return value of request_module() being 0 does not mean that the driver which was requested has loaded. To properly check that the driver was loaded each driver can use internal mechanisms to vet the driver is now present. The helper try_then_request_module() was added to help with this,

[RFC 1/5] iwlwifi: fix drv cleanup on opmode registration failure

2017-02-16 Thread Luis R. Rodriguez
The firmware async callback handles the device's opmode start call, but optionally also allows opmode registration to take care of its opmode start. If the firmware callback handles it its error path in case of opmode start failure has a few pieces of code missing from the opmode registration. The

[RFC 4/5] iwlwifi: move opmode loading to shared routine

2017-02-16 Thread Luis R. Rodriguez
This helps us compartmentalize all last required opmode work and declutter the async firmware callback. Signed-off-by: Luis R. Rodriguez --- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 33 +++- 1 file changed, 18 insertions(+), 15 deletions(-) diff

Re: [Suggestion/Problems] perf annoate: Some problems related to the source code view and Improvement of it with line numbers

2017-02-16 Thread Taeung Song
Hi, Arnaldo :) Regarding perf annotate: 1) Problem : wrong line numbers on perf-annotate (both stdio and TUI) 2) Problem : wrong sum of overhead(percent) matching source lines 3) Suggestion : new option showing only source code per function with overhead info (to be more

Re: [PATCH v4 07/36] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-02-16 Thread Fabio Estevam
Hi Steve, On Thu, Feb 16, 2017 at 12:19 AM, Steve Longerbeam wrote: > Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. > > The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. > > The OV5640 connects to the input port on the

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-16 Thread Bryan O'Donoghue
On 16/02/17 03:00, Kweh, Hock Leong wrote: -Original Message- From: Jan Kiszka [mailto:jan.kis...@siemens.com] Sent: Thursday, February 16, 2017 3:00 AM To: Andy Shevchenko Cc: Matt Fleming ; Ard Biesheuvel

[PATCH] tools lib traceevent: It's preempt not prempt

2017-02-16 Thread Steven Rostedt (VMware)
Fix the typo of the function name pevent_data_prempt_count() Signed-off-by: Steven Rostedt (VMware) --- diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 14a4f62..3217131 100644 --- a/tools/lib/traceevent/event-parse.c +++

Re: [PATCH 2/2] efi/capsule: Add support for Quark security header

2017-02-16 Thread Bryan O'Donoghue
On 15/02/17 18:14, Jan Kiszka wrote: The firmware for Quark X102x prepends a security header to the capsule which is needed to support the mandatory secure boot on this processor. The header can be detected by checking for the "_CSH" signature and - to avoid any GUID conflict - validating its

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-16 Thread Al Viro
On Thu, Feb 16, 2017 at 07:56:30AM -0800, James Bottomley wrote: > > Hi James, > > > > Should it be "return d_splice_alias()" so that if we find an alias it > > is returned back to caller and passed in dentry can be freed. Though > > I don't know in what cases alias can be found. And if alias

[PATCH 4/7] drm/sun4i: Fix kcalloc element size in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
In sun4i_layers_init we are allocating an array of pointers to struct sun4i_layer: layers = devm_kcalloc(drm->dev, ARRAY_SIZE(sun4i_backend_planes), sizeof(**layers), GFP_KERNEL); The element size should be the size of an individual element of the array.

[PATCH 1/7] drm/sun4i: Move drm_mode_config_cleanup call to main driver

2017-02-16 Thread Chen-Yu Tsai
drm_mode_config_cleanup is the complement of drm_mode_config_init, which is called in the bind function of sun4i_drv. drm_mode_config_cleanup should be put in the unbind function to match. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 +

[PATCH 0/7] drm/sun4i: Various fixes and cleanups part 1

2017-02-16 Thread Chen-Yu Tsai
Hi Maxime, This is the first bunch of fixes for the sun4i drm driver. This is part of the cleanup I am doing towards making the driver support multiple display pipelines. Patch 1 moves the drm_mode_config_cleanup call from sun4i_framebuffer_free to be called directly in sun4i_drv_unbind. This is

[PATCH 3/7] drm/sun4i: Check return value of drm_vblank_init

2017-02-16 Thread Chen-Yu Tsai
drm_vblank_init can fail due to insufficient memory. Ignoring the error and proceeding may cause the kernel to dereference an invalid pointer when vblank is enabled. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 6 +- 1 file changed, 5 insertions(+), 1

[PATCH 7/7] drm/sun4i: Make sun4i_crtc_init return ERR_PTR style error codes

2017-02-16 Thread Chen-Yu Tsai
sun4i_crtc_init can fail for a number of reasons. Instead of returning a NULL pointer when it fails, pass back the encountered error using ERR_PTR. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 4 ++-- drivers/gpu/drm/sun4i/sun4i_drv.c | 4 ++-- 2 files

[PATCH 6/7] drm/sun4i: Save newly created layer in layers array in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
sun4i_layers_init allocates an array to store pointers to newly created layers returned by sun4i_layer_init_one(), but fails to actually store them. But it actually returns the empty array to unsuspecting users. Save the pointers in the array, so that they may be used later. Signed-off-by:

Re: [PATCH] nohz: Fix possible missing clock reprog after tick soft restart

2017-02-16 Thread kbuild test robot
Hi Frederic, [auto build test ERROR on tip/timers/core] [cannot apply to v4.10-rc8 next-20170216] [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/linux/commits/Frederic-Weisbecker/nohz-Fix-possible-missing

[PATCH v6] drivers/misc: Add Aspeed LPC control driver

2017-02-16 Thread Cyril Bur
In order to manage server systems, there is typically another processor known as a BMC (Baseboard Management Controller) which is responsible for powering the server and other various elements, sometimes fans, often the system flash. The Aspeed BMC family which is what is used on OpenPOWER

[PATCH net-next 2/6] net: dsa: mv88e6xxx: move ATU code in its own file

2017-02-16 Thread Vivien Didelot
Move the Global (1) ATU related code in its own file, and export the necessary primitives. Use that opportunity to provide a cleaner API for the ATU, by renaming a few underscore prefixed functions, and members of the mv88e6xxx_atu_entry structures. Signed-off-by: Vivien Didelot

[PATCH net-next 4/6] net: dsa: mv88e6xxx: move VTU code to its own file

2017-02-16 Thread Vivien Didelot
Move the Global (1) VTU related code to its own file. Use this opportunity to provide a cleaner API for the VTU, by renaming a few underscore prefixed functions, split the data member of the mv88e6xxx_vtu_entry structure into membership (for 802.1q) and port state (for 802.1s) members, and add a

[PATCH net-next 1/6] net: dsa: mv88e6xxx: add port mask helper

2017-02-16 Thread Vivien Didelot
Add a mv88e6xxx_port_mask() helper to get the bitmask of ports in a switch chip, that will be used in several features. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 5 + drivers/net/dsa/mv88e6xxx/port.c | 2 +- 2 files

[PATCH net-next 5/6] net: dsa: mv88e6xxx: add VTU ops

2017-02-16 Thread Vivien Didelot
Because there are several variant of the VTU operations and because checking for the presence of an STU is not enough, add new ops to the info structure to describe the VTU operations that a chip supports. Signed-off-by: Vivien Didelot ---

[PATCH net-next 0/6] net: dsa: mv88e6xxx: 88E6390 ATU/VTU

2017-02-16 Thread Vivien Didelot
This series adds support to 88E6390 for the ATU (MAC address databases) and VTU (VLAN databases), as well as providing a cleaner API for both. The 6390 family of Marvell switch chip handles the ATU Move operation differently and has a different usage of the VTU Data registers. Vivien Didelot

[PATCH net-next 3/6] net: dsa: mv88e6xxx: add support for 6390 ATU Move

2017-02-16 Thread Vivien Didelot
The 6390 family of Marvell chips uses 5 bits to describe the ToPort and FromPort values of PortVec in the ATU Move operation, while older switches use 0xf. Add an atu_move_port_mask member in the info structure to describe that. Signed-off-by: Vivien Didelot

[PATCH] MIPS: Add 48-bit VA space (and 4-level page tables) for 4K pages.

2017-02-16 Thread David Daney
From: Alex Belits Some users must have 4K pages while needing a 48-bit VA space size. The cleanest way do do this is to go to a 4-level page table for this case. Each page table level using order-0 pages adds 9 bits to the VA size (at 4K pages, so for four levels we get

Re: [kbuild-all] drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c:58:6: error: redefinition of 'brcmf_debugfs_init'

2017-02-16 Thread Fengguang Wu
Hi Kalle, On Thu, Feb 16, 2017 at 03:18:48PM +0200, Kalle Valo wrote: Arend Van Spriel writes: On 16-2-2017 11:01, Kalle Valo wrote: Arend Van Spriel writes: On 16-2-2017 10:39, Rafał Miłecki wrote: On 02/16/2017 10:31 AM,

linux-next: manual merge of the tip tree with the kspp tree

2017-02-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/Kconfig.debug between commit: ad21fc4faa2a ("arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common") from the kspp tree and commit: 3ad38ceb2769 ("x86/mm: Remove CONFIG_DEBUG_NX_TEST") from

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-16 Thread Xunlei Pang
On 02/16/2017 at 08:22 PM, Borislav Petkov wrote: > On Thu, Feb 16, 2017 at 07:52:09PM +0800, Xunlei Pang wrote: >> then mce will be broadcast to the other cpus which are still running >> in the first kernel(i.e. looping in crash_nmi_callback). > Simple: the crash code should really mark

Re: [PATCH] building libtraceevent with clang

2017-02-16 Thread Steven Rostedt
On Mon, 13 Feb 2017 14:20:20 -0300 Arnaldo Carvalho de Melo wrote: > Cc: Adrian Hunter > Cc: David Ahern > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Wang Nan

Re: swap_cluster_info lockdep splat

2017-02-16 Thread Huang, Ying
Hi, Hugh, Hugh Dickins writes: > On Thu, 16 Feb 2017, Tim Chen wrote: >> >> > I do not understand your zest for putting wrappers around every little >> > thing, making it all harder to follow than it need be.  Here's the patch >> > I've been running with (but you have a leak

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-16 Thread Darren Hart
On Fri, Feb 10, 2017 at 02:42:00AM +0200, Andy Shevchenko wrote: > On Fri, Feb 10, 2017 at 2:16 AM, Jonathan Woithe wrote: > > On Wed, Feb 08, 2017 at 02:46:23PM +0100, Micha?? K??pie?? wrote: > > > In summary, I see no issues with this patch series which provides a much > >

Re: Bug#855183: linux-image-4.9.0-0.bpo.1-amd64: modprobe intel_rapl_perf stay in uninterruptible sleep

2017-02-16 Thread Ben Hutchings
On Wed, 2017-02-15 at 09:08 +0100, Miloslav Hula wrote: [...] > When I boot the system up, there is a constant load 1.0. I found one > process systemd-udevd in uninterruptible sleep. > Digging in proc/PID/fd I found, this proces usees fd 7 for > intel_rapl_perf.ko > > * What exactly did you do

Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-16 Thread Greg Kroah-Hartman
On Thu, Feb 16, 2017 at 09:06:24PM +0100, Pavel Machek wrote: > On Thu 2017-02-16 20:34:45, Thomas Gleixner wrote: > > On Thu, 16 Feb 2017, Frederic Weisbecker wrote: > > > On Thu, Feb 16, 2017 at 10:20:14AM -0800, Linus Torvalds wrote: > > > > On Thu, Feb 16, 2017 at 10:13 AM, Frederic Weisbecker

Re: [PATCH v2 3/3] ASoC: zx-tdm: add zte's tdm controller driver

2017-02-16 Thread Shawn Guo
On Thu, Feb 16, 2017 at 07:05:06PM +0800, Baoyou Xie wrote: > This patch adds tdm controller driver for zte's SoC family. > > Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo

Re: [PATCH 1/2] acpi: Fix the mapping handle in case of declaring processors using the Device operator

2017-02-16 Thread Dou Liyang
At 02/16/2017 09:06 PM, Hanjun Guo wrote: On 2017/2/16 18:38, Dou Liyang wrote: In ACPI spec, we can declare processors using both Processor and Device operator. But now, we just handle the mapping of processors which are declared by Processor operator. It misses the processors declared by

linux-next: manual merge of the tip tree with the powerpc tree

2017-02-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/powerpc/kernel/asm-offsets.c between commit: 454656155110 ("powerpc/asm: Use OFFSET macro in asm-offsets.c") from the powerpc tree and commit: 8c8b73c4811f ("sched/cputime, powerpc: Prepare accounting structure

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-16 Thread Al Viro
On Sat, Feb 04, 2017 at 11:19:32AM -0800, James Bottomley wrote: > +static const struct dentry_operations shiftfs_dentry_ops = { > + .d_release = shiftfs_d_release, > + .d_real = shiftfs_d_real, > +}; In other words, those dentries are *never* revalidated. Nevermind that

Re: swap_cluster_info lockdep splat

2017-02-16 Thread Huang, Ying
"Huang, Ying" writes: > Hi, Hugh, > > Hugh Dickins writes: > >> On Thu, 16 Feb 2017, Tim Chen wrote: >>> >>> > I do not understand your zest for putting wrappers around every little >>> > thing, making it all harder to follow than it need be.  Here's the

[PATCH 1/2] Support Pegasus 3 product

2017-02-16 Thread Charles Chiou
From: Charles Pegasus series is a RAID support product by using Thunderbolt technology. The newest product, Pegasus 3(P3) is support Thunderbolt 3 technology with another chip. 1.Change driver version. 2.Add P3 VID, DID and define it's device address. 3.P3 use msi

[PATCH 2/2] Add S6 support

2017-02-16 Thread Charles Chiou
From: Charles 1.Add reboot notifier and register it in stex_probe for all supported device. 2.For all supported device in restart flow, we get a callback from notifier and set S6flag for stex_shutdown & stex_hba_stop to send restart command to FW. Signed-off-by:

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-16 Thread Jonathan Woithe
On Thu, Feb 16, 2017 at 06:57:08PM -0800, Darren Hart wrote: > On Fri, Feb 10, 2017 at 02:42:00AM +0200, Andy Shevchenko wrote: > > On Fri, Feb 10, 2017 at 2:16 AM, Jonathan Woithe wrote: > > > On Wed, Feb 08, 2017 at 02:46:23PM +0100, Micha?? K??pie?? wrote: > > > > > In

[PATCH] input/joystick/analog: Use get_cycles() on PPC

2017-02-16 Thread Michael Ellerman
The analog joystick driver spits a warning at us: drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. PPC has get_cycles() so use that. Signed-off-by: Michael Ellerman --- drivers/input/joystick/analog.c | 2 +- 1

Re: AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-16 Thread Chen-Yu Tsai
On Fri, Feb 17, 2017 at 5:16 AM, Rask Ingemann Lambertsen wrote: > In summary: I'll propose a new property "extended-address" or so to the > existing "x-powers,axp806" compatible, because the axp808 does seem to have > the register at 0xff after all, it just needs a value of 0

[PATCH net-next] virtio-net: batch stats updating

2017-02-16 Thread Jason Wang
We already have counters for sent/recv packets and sent/recv bytes. Doing a batched update to reduce the number of u64_stats_update_begin/end(). Take care not to bother with stats update when called speculatively. Cc: Willem de Bruijn Signed-off-by: Jason Wang

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-16 Thread Darren Hart
On Tue, Feb 14, 2017 at 07:46:12PM +0530, Ritesh Raj Sarraf wrote: > Lenovo Yoga (many variants: Yoga, Yoga2 Pro, Yoga2 13, Yoga3 Pro, Yoga 3 > 14 etc) has multiple modles that are a hybrid laptop, working in laptop > mode as well as tablet mode. > > Currently, there is no easy interface to

[PATCH v4 2/4] x86: Remap GDT tables in the Fixmap section

2017-02-16 Thread Thomas Garnier
Each processor holds a GDT in its per-cpu structure. The sgdt instruction gives the base address of the current GDT. This address can be used to bypass KASLR memory randomization. With another bug, an attacker could target other per-cpu structures or deduce the base of the main memory section

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Shaohua Li
On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: > In MD's resync I/O path, there are lots of direct access to bio's > bvec table. This patchset kills most of them, and the conversion > is quite straightforward. I don't like this approach. The MD uses a hacky way to manage pages

Re: [PATCHv3 2/2] arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX

2017-02-16 Thread Pavel Machek
Hi! > > -config DEBUG_RODATA > +config STRICT_KERNEL_RWX > bool "Make kernel text and rodata read-only" if ARCH_OPTIONAL_KERNEL_RWX > depends on ARCH_HAS_STRICT_KERNEL_RWX > default !ARCH_OPTIONAL_KERNEL_RWX || Debug features are expected to have runtime cost, so kconfig help

[PATCH] staging: bcm2835-audio: bcm2835.h: fix various coding style issues

2017-02-16 Thread Nathan Howard
Fix various coding style issues as per checkpatch.pl. Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835.h

Re: [PATCH] KVM: VMX: use vmcs_set/clear_bits for CPU-based execution controls

2017-02-16 Thread Bandan Das
Paolo Bonzini writes: > Signed-off-by: Paolo Bonzini > --- I took a quick look and found these two potential consumers of these set/clear wrappers. vmcs_set_secondary_exec_control() vmx_set_virtual_x2apic_mode() Since this has been reviewed already,

Re: [PATCH] userfaultfd: hugetlbfs: add UFFDIO_COPY support for shared mappings

2017-02-16 Thread Mike Kravetz
On 02/16/2017 10:41 AM, Andrea Arcangeli wrote: > On Wed, Feb 15, 2017 at 01:46:50PM -0800, Mike Kravetz wrote: >> diff --git a/mm/hugetlb.c b/mm/hugetlb.c >> index d0d1d08..41f6c51 100644 >> --- a/mm/hugetlb.c >> +++ b/mm/hugetlb.c >> @@ -4029,6 +4029,18 @@ int hugetlb_mcopy_atomic_pte(struct

Re: [PATCH V3 3/7] mm: reclaim MADV_FREE pages

2017-02-16 Thread Shaohua Li
On Thu, Feb 16, 2017 at 01:40:18PM -0500, Johannes Weiner wrote: > On Tue, Feb 14, 2017 at 11:36:09AM -0800, Shaohua Li wrote: > > @@ -1419,11 +1419,18 @@ static int try_to_unmap_one(struct page *page, > > struct vm_area_struct *vma, > > VM_BUG_ON_PAGE(!PageSwapCache(page) &&

Re: [PATCH] ACPI, APEI: Fix BERT resources conflict with ACPI NVS area

2017-02-16 Thread Huang, Ying
Borislav Petkov writes: > On Thu, Feb 16, 2017 at 06:24:39PM +0800, Huang, Ying wrote: >> The NVS area is excluded when request the resources, because the NVS >> area has been marked as busy already. But the whole BERT memory area is >> mapped, so we can read from it. > > So

[PATCH] net: hamachi: use new api ethtool_{get|set}_link_ksettings

2017-02-16 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/packetengines/hamachi.c | 14

Re: [PATCH 2/6] x86/platform/uv/BAU: Add status_mmr_loc to locate message status bits

2017-02-16 Thread Andrew Banman
On 02/16/2017 12:07 PM, Thomas Gleixner wrote: On Tue, 14 Feb 2017, Andrew Banman wrote: The location of the ERROR and BUSY status bits depends on the descriptor index, i.e. the CPU, of the message. We determine this location ahead of the wait_completion loop to avoid repeating the

Re: [PATCH V3 0/4] Define coherent device memory node

2017-02-16 Thread Balbir Singh
On 16/02/17 05:20, Mel Gorman wrote: > On Wed, Feb 15, 2017 at 05:37:22PM +0530, Anshuman Khandual wrote: >> This four patches define CDM node with HugeTLB & Buddy allocation >> isolation. Please refer to the last RFC posting mentioned here for more > > Always include the background with

Re: [PATCH v4 00/36] i.MX Media Driver

2017-02-16 Thread Russell King - ARM Linux
On Wed, Feb 15, 2017 at 06:19:02PM -0800, Steve Longerbeam wrote: > In version 4: With this version, I get: [28762.892053] imx6-mipi-csi2: LP-11 timeout, phy_state = 0x [28762.899409] ipu1_csi0: pipeline_set_stream failed with -110 -- RMK's Patch system:

Re: [PATCH v4 3/3] input: pwm-beeper: add devicetree bindings to set volume levels

2017-02-16 Thread kbuild test robot
Hi Frieder, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.10-rc8] [cannot apply to input/next next-20170216] [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/linux/commits/Frieder

Re: [PATCH v4 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size

2017-02-16 Thread kbuild test robot
Hi Thomas, [auto build test ERROR on next-20170216] [also build test ERROR on v4.10-rc8] [cannot apply to tip/x86/core kvm/linux-next tip/auto-latest v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH V3 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-16 Thread Shaohua Li
On Thu, Feb 16, 2017 at 12:52:53PM -0500, Johannes Weiner wrote: > On Tue, Feb 14, 2017 at 11:36:08AM -0800, Shaohua Li wrote: > > @@ -126,4 +126,24 @@ static __always_inline enum lru_list page_lru(struct > > page *page) > > > > #define lru_to_page(head) (list_entry((head)->prev, struct page,

Re: [PATCH 2/2] iommu: add warning when sharing groups

2017-02-16 Thread Sinan Kaya
Hi Alex, On 2/15/2017 4:43 PM, Sinan Kaya wrote: > On 2/15/2017 2:36 PM, Alex Williamson wrote: >> On Tue, 14 Feb 2017 22:53:35 -0500 >> ok...@codeaurora.org wrote: >> >>> On 2017-02-14 18:51, Alex Williamson wrote: On Tue, 14 Feb 2017 16:25:22 -0500 Sinan Kaya

Re: g_NCR5380 PDMA, was Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-02-16 Thread Ondrej Zary
On Tuesday 31 January 2017 02:31:45 Finn Thain wrote: [...] > Are you trying to figure out which commands are going to disconnect during > a transfer? This is really a function of the firmware in the target; there > are no good heuristics AFAICT, so the PDMA algorithm has to be robust. > mac_scsi

Re: [PATCH 04/11] ARM64: Prepare Actions Semi S900

2017-02-16 Thread Andreas Färber
Am 16.02.2017 um 14:43 schrieb Arnd Bergmann: > On Wednesday, February 15, 2017 5:55:21 PM CET Andreas Färber wrote: >> >> +config ARCH_OWL >> + bool "Actions Semi S900 SoC Family" >> + help >> + This enables support for the Actions Semiconductor S900 SoC family. >> + >> > >

  1   2   3   4   5   6   7   8   9   >