[PATCH v10 1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-12-24 Thread Harvey Hunt
From: Alex Smith Add DT bindings for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller, used by the jz4780_{nand,bch} drivers. Signed-off-by: Alex Smith Cc: Zubair Lutfullah Kakakhel Cc: David Woodhouse Cc: Brian Norris Cc:

[PATCH v10 3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-12-24 Thread Harvey Hunt
From: Alex Smith Add device tree nodes for the NEMC and BCH to the JZ4780 device tree, and make use of them in the Ci20 device tree to add a node for the board's NAND. Note that since the pinctrl driver is not yet upstream, this includes neither pin configuration nor busy/write-protect GPIO

[PATCH v10 2/3] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-12-24 Thread Harvey Hunt
From: Alex Smith Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller. DMA is not currently implemented. While older 47xx SoCs also have a BCH controller, they are incompatible with the one in the 4780 due to differing register/bit

RE: A blocksize problem about dax and ext4

2015-12-24 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Thursday, December 24, 2015 4:11 AM > Subject: Re: A blocksize problem about dax and ext4 > > On Thu, Dec 24, 2015 at 02:47:07AM +, Elliott, Robert (Persistent > Memory) wrote: > > > Did you mean that

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-24 Thread Jean-Francois Moine
On Thu, 24 Dec 2015 10:52:07 + Russell King - ARM Linux wrote: > On Thu, Dec 24, 2015 at 09:15:28AM +0100, Jean-Francois Moine wrote: > > Well, two topics: > > > > - adding a second 'of_compare' function complexifies the code > > and people may wonder why such a function is needed and

[PATCH 0/3] Documentation-getdelays: Fine-tuning for two functions

2015-12-24 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 24 Dec 2015 13:23:34 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Fix a check for container file usage in main() Apply a recommendation from "checkpatch.pl" in main() Less function calls in

[PATCH 1/3] Documentation-getdelays: Fix a check for container file usage in main()

2015-12-24 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 24 Dec 2015 11:00:54 +0100 The close() function could be called by the main() function even if the passed variable "cfd" was assigned a negative value. * Corresponding implementation details could be improved by adjustments for jump targets according to the

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-24 Thread Russell King - ARM Linux
On Thu, Dec 24, 2015 at 01:27:08PM +0100, Jean-Francois Moine wrote: > On Thu, 24 Dec 2015 10:52:07 + > Russell King - ARM Linux wrote: > > However, when we come to the Linux implementation, things get sticky > > because we need to select the correct platform device corresponding > > with the

[PATCH 2/3] Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()

2015-12-24 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 24 Dec 2015 11:05:32 +0100 The script "checkpatch.pl" pointed out that assignments should usually not be performed within condition checks. Thus move the assignment for the variable "nl_sd" to a separate statement. Signed-off-by: Markus Elfring ---

[PATCH 3/3] Documentation-getdelays: Less function calls in usage()

2015-12-24 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 24 Dec 2015 13:10:19 +0100 A single call of the fprintf() function is sufficient for the desired display of the usage information. Signed-off-by: Markus Elfring --- Documentation/accounting/getdelays.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH V5 0/9] introduce Hyper-V VM Sockets(hvsock

2015-12-24 Thread Dexuan Cui
Merry Christmas, everyone! Changes since v1: - updated "[PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature" - added __init and __exit for the module init/exit functions - net/hv_sock/Kconfig: "default m" -> "default m if HYPERV" - MODULE_LICENSE: "Dual MIT/GPL" -> "Dual BSD/GPL" Changes

[PATCH V5 1/9] Drivers: hv: vmbus: add a helper function to set a channel's pending send size

2015-12-24 Thread Dexuan Cui
This will be used by the coming net/hvsock driver. Signed-off-by: Dexuan Cui --- include/linux/hyperv.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 753dbad..e4867a7 100644 --- a/include/linux/hyperv.h +++

[PATCH V5 5/9] Drivers: hv: vmbus: add APIs to send/recv hvsock packets

2015-12-24 Thread Dexuan Cui
This will be used by the coming net/hvsock driver. Signed-off-by: Dexuan Cui --- drivers/hv/channel.c | 59 ++ include/linux/hyperv.h | 9 2 files changed, 68 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c

[PATCH V5 9/9] hvsock: introduce Hyper-V VM Sockets feature

2015-12-24 Thread Dexuan Cui
Hyper-V VM sockets (hvsock) supplies a byte-stream based communication mechanism between the host and a guest. It's kind of TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V VM Sockets, applications between the host and a guest can talk with each other

[PATCH V5 2/9] Drivers: hv: vmbus: define the new offer type for Hyper-V socket (hvsock)

2015-12-24 Thread Dexuan Cui
A helper function is also added. Signed-off-by: Dexuan Cui --- include/linux/hyperv.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index e4867a7..c0eddd7 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -235,6

[PATCH V5 6/9] Drivers: hv: vmbus: add a hvsock flag in struct hv_driver

2015-12-24 Thread Dexuan Cui
Only the coming hv_sock driver has a "true" value for this flag. We treat the hvsock offers/channels as special VMBus devices. Since the hv_sock driver handles all the hvsock offers/channels, we need to tweak vmbus_match() for hv_sock driver, so we introduce this flag. Signed-off-by: Dexuan Cui

[PATCH V5 3/9] Drivers: hv: vmbus: define a new VMBus message type for hvsock

2015-12-24 Thread Dexuan Cui
A function to send the type of message is also added. The coming net/hvsock driver will use this function to proactively request the host to offer a VMBus channel for a new hvsock connection. Signed-off-by: Dexuan Cui --- drivers/hv/channel.c | 15 +++

Re: [PATCH 0/3] OOM detection rework v4

2015-12-24 Thread Tetsuo Handa
I got OOM killers while running heavy disk I/O (extracting kernel source, running lxr's genxref command). (Environ: 4 CPUs / 2048MB RAM / no swap / XFS) Do you think these OOM killers reasonable? Too weak against fragmentation? [ 3902.430630] kthreadd invoked oom-killer: order=2, oom_score_adj=0,

[PATCH V5 8/9] Drivers: hv: vmbus: add an API vmbus_hvsock_device_unregister()

2015-12-24 Thread Dexuan Cui
The hvsock driver needs this API to release all the resources related to the channel. Signed-off-by: Dexuan Cui --- drivers/hv/channel_mgmt.c | 33 - drivers/hv/connection.c | 4 ++-- include/linux/hyperv.h| 2 ++ 3 files changed, 32 insertions(+), 7

[PATCH V5 7/9] Drivers: hv: vmbus: add a mechanism to pass hvsock events to the hvsock driver

2015-12-24 Thread Dexuan Cui
For now only 1 event is defined: HVSOCK_RESCIND_CHANNEL. We'll have more events in the future. Signed-off-by: Dexuan Cui --- drivers/hv/channel_mgmt.c | 18 ++ include/linux/hyperv.h| 17 + 2 files changed, 35 insertions(+) diff --git

[PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2015-12-24 Thread Dexuan Cui
To get the payload of hvsock, we need raw=0 to skip the level-1 header (i.e., struct vmpacket_descriptor desc) and we also need to skip the level-2 header (i.e., struct vmpipe_proto_header pipe_hdr). NB: if the length of the hvsock payload is not aligned with the 8-byte boundeary, at most 7

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2015-12-24 Thread James Hogan
Hi Guenter, On Wed, Dec 23, 2015 at 09:04:31PM -0800, Guenter Roeck wrote: > Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build > error seen with binutils 2.24 and earlier. However, the fix does not work, > and again results in the already known build errors if the kernel is

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2015-12-24 Thread James Hogan
On Thu, Dec 24, 2015 at 12:48:12PM +, James Hogan wrote: > Hi Guenter, > > On Wed, Dec 23, 2015 at 09:04:31PM -0800, Guenter Roeck wrote: > > Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build > > error seen with binutils 2.24 and earlier. However, the fix does not work,

Re: [RFC PATCH 3/5] crypto: sunxi-ss: fix dev_dbg() output type

2015-12-24 Thread Corentin LABBE
Le 22/12/2015 13:27, Andre Przywara a écrit : > The length parameter in this dev_dbg() call is actually a size_t, > so use the proper type to avoid warnings when compiling for 64-bit > architectures. > > Signed-off-by: Andre Przywara > --- > drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 2 +- > 1

Re: OOM killer kicks in after minutes or never

2015-12-24 Thread Marcin Szewczyk
On Thu, Dec 24, 2015 at 07:27:14AM +0100, Vlastimil Babka wrote: > +CC so this doesn't get lost > > On 21.12.2015 13:35, Marcin Szewczyk wrote: > > In 2010 I noticed that viewing many GIFs in a row using gpicview renders > > my Linux unresponsive. There is very little I can do in such a > >

Re: [net] ceb5d58b21: -69.2% fsmark.files_per_sec

2015-12-24 Thread Eric Dumazet
On Wed, Dec 23, 2015 at 9:49 PM, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit ceb5d58b217098a657f3850b7a2640f995032e62 ("net: fix sock_wake_async() > rcu protection") > > >

[PATCH net-next 1/2] r8169:Fix typo in setting RTL8168H PHY parameter

2015-12-24 Thread Chunhao Lin
In function "rtl8168h_2_hw_phy_config", there is a typo in setting RTL8168H PHY parameter. Signed-off-by: Chunhao Lin --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c

[PATCH net-next 2/2] r8169:Update the way of reading RTL8168H PHY register "rg_saw_cnt"

2015-12-24 Thread Chunhao Lin
The vlaue of RTL8168H PHY register "rg_saw_cnt" only valid from bit0 to bit13. When read this register, add bitwise-anding its value with 0x3fff. Signed-off-by: Chunhao Lin --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH net-next 0/2] r8169:Update RTL8168H PHY parameters

2015-12-24 Thread Chunhao Lin
Fix typo in setting PHY parameter and update the way of reading PHY register "rg_saw_cnt". Chunhao Lin (2): r8169:Fix typo in setting RTL8168H PHY parameter r8169:Update the way of reading RTL8168H PHY register "rg_saw_cnt" drivers/net/ethernet/realtek/r8169.c | 4 ++-- 1 file changed, 2

Re: [PATCHV3 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks

2015-12-24 Thread Borislav Petkov
On Wed, Dec 23, 2015 at 12:46:20PM -0800, Tony Luck wrote: > > I know, memcpy returns the ptr to @dest like a parrot > > Maybe I need to change the name to remove the > "memcpy" substring to avoid this confusion. How > about "mcsafe_copy()"? Perhaps with a "__" prefix > to point out it is a

[PATCH RFC v2 4/9] Input: atmel_mxt_ts - handle diagnostic data orientation

2015-12-24 Thread Nick Dyer
Invert the diagnostic data to match the orientation of the input device. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c

[PATCH RFC v2 1/9] Input: atmel_mxt_ts - improve touchscreen size/orientation handling

2015-12-24 Thread Nick Dyer
Both T100 and T9 handle range and orientation in a similar fashion. Reduce duplication between the two implementations. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 68 1 file changed, 26 insertions(+), 42 deletions(-) diff --git

[PATCH RFC v2 3/9] Input: atmel_mxt_ts - read touchscreen position in matrix

2015-12-24 Thread Nick Dyer
The touchscreen may have a margin where not all the matrix is used. Read the parameters from T9 and T100 and take account of the difference. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 41 1 file changed, 36 insertions(+), 5

[PATCH RFC v2 5/9] Input: atmel_mxt_ts - add diagnostic data support for mXT1386

2015-12-24 Thread Nick Dyer
The mXT1386 family of chips have a different architecture which splits the diagnostic data into 3 columns. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git

[PATCH RFC v2 2/9] Input: atmel_mxt_ts - add diagnostic data retrieval via debugfs

2015-12-24 Thread Nick Dyer
Retrieve refs data from the T37 diagnostic data object and expose it via a binary attribute in debugfs. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 208 +++ 1 file changed, 208 insertions(+) diff --git

[PATCH RFC v2 7/9] Input: atmel_mxt_ts - add metadata to debugfs

2015-12-24 Thread Nick Dyer
Add information to debugfs to allow a generic utility to retrieve screen parameters and info. Signed-off-by: Nick Dyer --- Documentation/ABI/testing/debugfs-heatmap | 60 +++ drivers/input/touchscreen/atmel_mxt_ts.c | 48 +++-- 2 files changed,

[PATCH RFC v2 9/9] Input: atmel_mxt_ts - single node diagnostic data support

2015-12-24 Thread Nick Dyer
Add support for retrieving a single node of data at high rate. --- drivers/input/touchscreen/atmel_mxt_ts.c | 60 +--- 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c

[PATCH RFC v2 8/9] Input: atmel_mxt_ts - create debugfs info file

2015-12-24 Thread Nick Dyer
Add files in debugfs directory with info about the chip and input device. Signed-off-by: Nick Dyer --- Documentation/ABI/testing/debugfs-heatmap | 14 ++ drivers/input/touchscreen/atmel_mxt_ts.c | 22 ++ 2 files changed, 36 insertions(+) diff --git

[PATCH RFC v2 6/9] Input: atmel_mxt_ts - add support for reference data

2015-12-24 Thread Nick Dyer
There are different datatypes available from a maXTouch chip. Add support to retrieve reference data as well. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 75 +--- 1 file changed, 59 insertions(+), 16 deletions(-) diff --git

[PATCH RFC v2 0/8] Input: atmel_mxt_ts - raw data via debugfs

2015-12-24 Thread Nick Dyer
Hello- This is an updated series of patches to add diagnostic data support to the Atmel maXTouch driver. There's an existing implementation in the open-source mxt-app tool, however there are performance advantages to moving this code into the driver. The algorithm for retrieving the data has

Re: [PATCH 0/2] two fixes for new bq27000/10 and bq27500 driver

2015-12-24 Thread Andrew F. Davis
On 12/19/2015 02:00 AM, Sebastian Reichel wrote: Hi Andrew, On Thu, Dec 17, 2015 at 11:12:52AM +0100, H. Nikolaus Schaller wrote: H. Nikolaus Schaller (2): power:bq27xxx: fix reading for bq27000 and bq27010 power:bq27xxx: fix register numbers of bq27500 drivers/power/bq27xxx_battery.c

[PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags

2015-12-24 Thread Ivaylo Dimitrov
In file atags_proc.c function save_atags() expect const argument, but in atags.h file is declarated as non const. Fix declaration in atags.h file to match what is expected. Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/atags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 3/3] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the bootloader (boot reason, device serial, boot mode, various GPIO swithes, etc). Save that data early enough in the boot process, so it can be exported later in /proc/atags Signed-off-by: Ivaylo Dimitrov ---

[PATCH 0/3] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be available in /proc/atags. With DT booted kernel this information is no longer availabe. Fix that by saving ATAGS data early in the boot stage so it can be exported in /proc/atags later Ivaylo Dimitrov (3): ARM: ATAGS: move

[PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread Ivaylo Dimitrov
This is needed by a follow-up patch that saves atags on RX51 device Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/atags.h | 20 arch/arm/kernel/atags.h | 20 arch/arm/kernel/atags_parse.c | 3 +-- arch/arm/kernel/setup.c | 3 +--

Re: [PATCH 2/2] Documentation: HOWTO: update versions from 3.x to 4.x

2015-12-24 Thread Jonathan Corbet
On Tue, 15 Dec 2015 10:22:58 +0900 SeongJae Park wrote: > Versions in HOWTO was updated to 4.x by commit > e4144fe5d47c91c92d36cdbd5f31ed8d6e3a57ab ("docs: update HOWTO for 3.x -> > 4.x versioning") but not applied to Korean translation. This commit > apply the change. Both patches have been

Re: [PATCH 1/3] Documentation-getdelays: Fix a check for container file usage in main()

2015-12-24 Thread Jonathan Corbet
On Thu, 24 Dec 2015 13:34:20 +0100 SF Markus Elfring wrote: > The close() function could be called by the main() function even if > the passed variable "cfd" was assigned a negative value. > > * Corresponding implementation details could be improved by adjustments > for jump targets according

Re: [PATCH 2/3] Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()

2015-12-24 Thread Jonathan Corbet
On Thu, 24 Dec 2015 13:36:48 +0100 SF Markus Elfring wrote: > The script "checkpatch.pl" pointed out that assignments should usually > not be performed within condition checks. > Thus move the assignment for the variable "nl_sd" to a separate statement. Fine, applied to the docs tree. jon --

Re: [PATCH 3/3] Documentation-getdelays: Less function calls in usage()

2015-12-24 Thread Jonathan Corbet
On Thu, 24 Dec 2015 13:38:01 +0100 SF Markus Elfring wrote: > A single call of the fprintf() function is sufficient for the desired > display of the usage information. This seems like churn that doesn't actually fix anything. jon -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] staging: dgnc: convert to wait_event_interruptible_timeout

2015-12-24 Thread Gujulan Elango, Hari Prasath (H.)
This patch makes use of wait_event_interruptible_timeout to achieve timeout functionality.This is a TODO mentiond in the comment which is also removed. It also aligns with what the function is supposed to do as in the comments. Signed-off-by: Hari Prasath Gujulan Elango ---

[for-next][PATCH 08/13] ftrace: Join functions ftrace_module_init() and ftrace_init_module()

2015-12-24 Thread Steven Rostedt
From: Abel Vesa Simple cleanup. No need for two functions here. The whole work can simply be done inside 'ftrace_module_init'. Link: http://lkml.kernel.org/r/1449067197-5718-1-git-send-email-abelv...@linux.com Signed-off-by: Abel Vesa Signed-off-by: Steven Rostedt --- kernel/trace/ftrace.c

[for-next][PATCH 05/13] bpf: Constify bpf_verifier_ops structure

2015-12-24 Thread Steven Rostedt
From: Julia Lawall This bpf_verifier_ops structure is never modified, like the other bpf_verifier_ops structures, so declare it as const. Done with the help of Coccinelle. Link: http://lkml.kernel.org/r/1449855359-13724-1-git-send-email-julia.law...@lip6.fr Signed-off-by: Julia Lawall

[for-next][PATCH 11/13] sh: ftrace: Fix the comments for ftrace_modify_code()

2015-12-24 Thread Steven Rostedt
From: Li Bin There is no need to worry about module and __init text disappearing case, because that ftrace has a module notifier that is called when a module is being unloaded and before the text goes away and this code grabs the ftrace_lock mutex and removes the module functions from the ftrace

[for-next][PATCH 12/13] metag: ftrace: Fix the comments for ftrace_modify_code

2015-12-24 Thread Steven Rostedt
From: Li Bin There is no need to worry about module and __init text disappearing case, because that ftrace has a module notifier that is called when a module is being unloaded and before the text goes away and this code grabs the ftrace_lock mutex and removes the module functions from the ftrace

[for-next][PATCH 10/13] ia64: ftrace: Fix the comments for ftrace_modify_code()

2015-12-24 Thread Steven Rostedt
From: Li Bin There is no need to worry about module and __init text disappearing case, because that ftrace has a module notifier that is called when a module is being unloaded and before the text goes away and this code grabs the ftrace_lock mutex and removes the module functions from the ftrace

[PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables designware i2c

[for-next][PATCH 00/13] tracing: More updates for 4.5.

2015-12-24 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 05a724bd44a68cd5c60bc4b949a946b57d4c9e55 Abel Vesa (1): ftrace: Join functions ftrace_module_init() and ftrace_init_module() Chuyu Hu (1): tracing: Fix comment to use tracing_on over

[for-next][PATCH 13/13] tracing: Fix comment to use tracing_on over tracing_enable

2015-12-24 Thread Steven Rostedt
From: Chuyu Hu The file tracing_enable is obsolete and does not exist anymore. Replace the comment that references it with the proper tracing_on file. Link: http://lkml.kernel.org/r/1450787141-45544-1-git-send-email-ch...@redhat.com Signed-off-by: Chuyu Hu Signed-off-by: Steven Rostedt ---

[for-next][PATCH 01/13] ftrace: Fix a typo in comment

2015-12-24 Thread Steven Rostedt
From: Li Bin s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTRACE_OPS/ Link: http://lkml.kernel.org/r/1448879016-8659-1-git-send-email-huawei.li...@huawei.com Signed-off-by: Li Bin Signed-off-by: Steven Rostedt --- kernel/trace/ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[for-next][PATCH 06/13] tracing: Use seq_buf_used() in seq_buf_to_user() instead of len

2015-12-24 Thread Steven Rostedt
From: Jerry Snitselaar commit 5ac48378414d ("tracing: Use trace_seq_used() and seq_buf_used() instead of len") changed the tracing code to use trace_seq_used() and seq_buf_used() instead of using the seq_buf len directly to avoid overflow issues, but missed a spot in seq_buf_to_user() that makes

[for-next][PATCH 03/13] ftrace: Remove use of control list and ops

2015-12-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Currently perf has its own list function within the ftrace infrastructure that seems to be used only to allow for it to have per-cpu disabling as well as a check to make sure that it's not called while RCU is not watching. It uses something called the

[for-next][PATCH 02/13] ftrace: Fix output of enabled_functions for showing tramp

2015-12-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When showing all tramps registered to a ftrace record in the file enabled_functions, it exits the loop with ops == NULL. But then it is suppose to show the function on the ops->trampoline and add_trampoline_func() is called with the given ops. But because ops is

[for-next][PATCH 07/13] tracing: Introduce TRACE_EVENT_FN_COND macro

2015-12-24 Thread Steven Rostedt
From: Denis Kirjanov TRACE_EVENT_FN can't be used in some circumstances like invoking trace functions from offlined CPU due to RCU usage. This patch adds the TRACE_EVENT_FN_COND macro to make such trace points conditional. Link:

[for-next][PATCH 09/13] ftrace: Clean up ftrace_module_init() code

2015-12-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The start and end variables were only used when ftrace_module_init() was split up into multiple functions. No need to keep them around after the merger. Signed-off-by: Steven Rostedt --- kernel/trace/ftrace.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[for-next][PATCH 04/13] ftrace: Have ftrace_ops_get_func() handle RCU and PER_CPU flags too

2015-12-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Jiri Olsa noted that the change to replace the control_ops did not update the trampoline for when running perf on a single CPU and with CONFIG_PREEMPT disabled (where dynamic ops, like perf, can use trampolines directly). The result was that perf function could

Re: [Bugfix v2 1/5] x86/irq: Do not reuse struct apic_chip_data.old_domain as temporary buffer

2015-12-24 Thread Joe Lawrence
On 12/23/2015 09:13 AM, Jiang Liu wrote: Function __assign_irq_vector() makes use of apic_chip_data.old_domain as a temporary buffer, which causes trouble to rollback logic in case of failure. So use a dedicated temporary buffer for __assign_irq_vector(). Signed-off-by: Jiang Liu Hi Jiang,

[PATCH 1/2] i2c: enable i2c device to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c devices to

[PATCH 2/2] i2c: enable i2c adapter to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c adapters to

[PATCH] configfs: implement binary attributes

2015-12-24 Thread Christoph Hellwig
From: Pantelis Antoniou ConfigFS lacked binary attributes up until now. This patch introduces support for binary attributes in a somewhat similar manner of sysfs binary attributes albeit with changes that fit the configfs usage model. Problems that configfs binary attributes fix are everything

a configfs update for 4.5, and the configfs tree question

2015-12-24 Thread Christoph Hellwig
Hi all, I really want the configfs change in this series to go into 4.5. Originally both Pantelis and I had changes ontop that would require it in a stable non-rebased branch, but one or both of those might not make the cut. As this has been a problem with a increased configfs actitivly lately

Re: [PATCH 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers

2015-12-24 Thread Damien Riegel
On Wed, Dec 23, 2015 at 09:11:28PM -0800, Guenter Roeck wrote: > The 'dev' variable in watchdog drivers has a different lifetime than the > watchdog character device and should therefore not be used by watchdog > drivers. > > Some of the drivers use the variable to print kernel messages. Those

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Alan Stern
On Thu, 24 Dec 2015, Oliver Neukum wrote: > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > > I don't understand why the wakeup conditions are different. It seems > > to me that the choice of which packets will generate a wakeup ought to > > depend on the user's selection, not on the

[PATCH v6] serial: rewrite pxa2xx-uart to use 8250_core

2015-12-24 Thread Sergei Ianovich
pxa2xx-uart was a separate uart platform driver. It was declaring the same device names and numbers as 8250 driver. As a result, it was impossible to use 8250 driver on PXA SoCs. Upon closer examination pxa2xx-uart turned out to be a clone of 8250_core driver. Workaround for Erratum #19

Re: [RFC PATCH v2 2/3] thread_local_abi: wire up x86 32/64 system call

2015-12-24 Thread Mathieu Desnoyers
- On Dec 23, 2015, at 10:42 PM, Josh Triplett j...@joshtriplett.org wrote: > On December 22, 2015 10:02:12 AM PST, Mathieu Desnoyers > wrote: >>Wire up the thread local ABI on x86 32/64. Call the >>thread_local_abi_handle_notify_resume() function on return to >>userspace if TIF_NOTIFY_RESUME

Re: [PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2015-12-24 Thread Guenter Roeck
On 12/24/2015 04:48 AM, James Hogan wrote: Hi Guenter, On Wed, Dec 23, 2015 at 09:04:31PM -0800, Guenter Roeck wrote: Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build error seen with binutils 2.24 and earlier. However, the fix does not work, and again results in the

Re: [PATCH 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers

2015-12-24 Thread Guenter Roeck
On 12/24/2015 07:07 AM, Damien Riegel wrote: On Wed, Dec 23, 2015 at 09:11:28PM -0800, Guenter Roeck wrote: The 'dev' variable in watchdog drivers has a different lifetime than the watchdog character device and should therefore not be used by watchdog drivers. Some of the drivers use the

Re: Running arm:versatile_defconfig with qemu in linux-next

2015-12-24 Thread Guenter Roeck
Hi Arnd, On 12/24/2015 01:58 AM, Arnd Bergmann wrote: On Thursday 24 December 2015, Guenter Roeck wrote: Hi all, various versatile and realview configurations fail to run for me with qemu (2.5) in linux-next. Some of those are qemu configurations I collected from various sources, so I guess I

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread Russell King - ARM Linux
On Thu, Dec 24, 2015 at 04:00:56PM +0200, Ivaylo Dimitrov wrote: > This is needed by a follow-up patch that saves atags on RX51 device > > Signed-off-by: Ivaylo Dimitrov > --- > arch/arm/include/asm/atags.h | 20 > arch/arm/kernel/atags.h | 20

[PATCH 3.2 02/77] sctp: translate host order to network order when setting a hmacid

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: lucien commit ed5a377d87dc4c87fb3e1f7f698cba38cd893103 upstream. now sctp auth cannot work well when setting a hmacid manually, which is caused by that we didn't use the network order for

[PATCH 3.2 54/77] vgaarb: fix signal handling in vga_get()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" commit 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e upstream. There are few defects in vga_get() related to signal hadning: - we shouldn't check for pending signals for

[PATCH 3.2 09/77] USB: ti_usb_3410_5052: Add Honeywell HGI80 ID

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 1bcb49e663f88bccee35b8688e6a3da2bea31fd4 upstream. The Honeywell HGI80 is a wireless interface to the evohome connected thermostat. It uses a TI 3410 USB-serial port.

[PATCH 3.2 64/77] dccp: remove unnecessary codes in ipv6.c

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: "RongQing.Li" commit 0979e465c5ab205b63a1c1820fe833f396a120f0 upstream. opt always equals np->opts, so it is meaningless to define opt, and check if opt does not equal np->opts and then try to

[PATCH 3.2 34/77] jbd2: Fix unreclaimed pages after truncate in data=journal mode

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit bc23f0c8d7ccd8d924c4e70ce311288cb3e61ea8 upstream. Ted and Namjae have reported that truncated pages don't get timely reclaimed after being truncated in data=journal mode. The

[PATCH 3.2 13/77] FS-Cache: Add missing initialization of ret in cachefiles_write_page()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit cf89752645e47d86ba8a4157f4b121fcb33434c5 upstream. fs/cachefiles/rdwr.c: In function ‘cachefiles_write_page’: fs/cachefiles/rdwr.c:882: warning: ‘ret’ may be used

[PATCH 3.2 00/77] 3.2.75-rc1 review

2015-12-24 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.75 release. There are 77 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Dec 29 18:00:00 UTC 2015. Anything

[PATCH 3.2 11/77] ASoC: wm8962: correct addresses for HPF_C_0/1

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Sachin Pandhare commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. =46romdatasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408 (0x4400) 17049 -> 17409 (0x4401)

[PATCH 3.2 29/77] vfs: Make sendfile(2) killable even better

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit c725bfce7968009756ed2836a8cd7ba4dc163011 upstream. Commit 296291cdd162 (mm: make sendfile(2) killable) fixed an issue where sendfile(2) was doing a lot of tiny writes into a

[PATCH 3.2 61/77] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 6900317f5eff0a7070c5936e5383f589e0de7a09 ] David and HacKurx reported a following/similar size overflow triggered in a grsecurity kernel, thanks to PaX's gcc

[PATCH 3.2 07/77] USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined table as well.

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Diego Elio Pettenò commit c9d09dc7ad106492c17c587b6eeb99fe3f43e522 upstream. Without this change, the USB cable for Freestyle Option and compatible glucometers will not be detected by the

[PATCH 3.2 21/77] ip6mr: call del_timer_sync() in ip6mr_free_table()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: WANG Cong commit 7ba0c47c34a1ea5bc7a24ca67309996cce0569b5 upstream. We need to wait for the flying timers, since we are going to free the mrtable right after it. Cc: Hannes Frederic Sowa

[PATCH 3.2 57/77] mm: hugetlb: call huge_pte_alloc() only if ptep is null

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 0d777df5d8953293be090d9ab5a355db893e8357 upstream. Currently at the beginning of hugetlb_fault(), we call huge_pte_offset() and check whether the obtained *ptep is a

[PATCH 3.2 33/77] ext4: Fix handling of extended tv_sec

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: David Turner commit a4dad1ae24f850410c4e60f22823cba1289b8d52 upstream. In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields, deferring the year 2038

[PATCH 3.2 72/77] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 ] Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings ---

[PATCH 3.2 27/77] unix: avoid use-after-free in ep_remove_wait_queue

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Rainer Weikusat commit 7d267278a9ece963d77eefec61630223fce08c6c upstream. Rainer Weikusat writes: An AF_UNIX datagram socket being the client in an n:1 association with some server socket is

[PATCH 3.2 20/77] mac: validate mac_partition is within sector

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 02e2a5bfebe99edcf9d694575a75032d53fe1b73 upstream. If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be read (secsize / 512).

[PATCH 3.2 23/77] can: sja1000: clear interrupts on start

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Mirza Krak commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the controller in to reset-mode.

[PATCH 3.2 69/77] ipv6: sctp: clone options to avoid use after free

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 9470e24f35ab81574da54e69df90c1eb4a96b43f ] SCTP is lacking proper np->opt cloning at accept() time. TCP and DCCP use ipv6_dup_options() helper, do the same in

[PATCH 3.2 60/77] tcp: initialize tp->copied_seq in case of cross SYN connection

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 142a2e7ece8d8ac0e818eb2c91f99ca894730e2a ] Dmitry provided a syzkaller (http://github.com/google/syzkaller) generated program that triggers the WARNING at

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-24 Thread Oliver Neukum
On Thu, 2015-12-24 at 10:14 -0500, Alan Stern wrote: > On Thu, 24 Dec 2015, Oliver Neukum wrote: > > > On Wed, 2015-12-23 at 20:32 -0500, Alan Stern wrote: > > But you cannot keep that setting if the system goes down > > or any broadcast packet would resume the whole system. > > Yet you cannot

[PATCH 3.2 12/77] net: fix __netdev_update_features return on ndo_set_features failure

2015-12-24 Thread Ben Hutchings
3.2.75-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 00ee5927177792a6e139d50b6b7564d35705556a upstream. If ndo_set_features fails __netdev_update_features() will return -1 but this is wrong because it is expected to

<    1   2   3   4   5   6   7   >