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

[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

[PATCH 2/5] f2fs: let user being aware of IO error

2015-12-24 Thread Chao Yu
Sometimes we keep dumb when IO error occur in lower layer device, so user will not receive any error return value for some operation, but actually, the operation did not succeed. This sould be avoided, so this patch reports such kind of error to user. Signed-off-by: Chao Yu

[PATCH 1/5] f2fs: add missing f2fs_balance_fs in __recover_dot_dentries

2015-12-24 Thread Chao Yu
__recover_do_dentries will try to grab free space in storage, so fix to add missing f2fs_balance_fs here. Signed-off-by: Chao Yu --- fs/f2fs/namei.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index e439f32..fb41c80 100644 ---

[PATCH 1/1] first line in booting the kernel

2015-12-24 Thread Alexandru GOIA
What it does : first line of booting kernel, as seen in dmesg(1), will be the Linux kernel signature (version, compiler, compiler hostname). What it solves : it appers ahead of cgroup messages at booting. So, instead of the unaesthetic lines : Initializing cgroup subsys cpuset Initializing

[PATCH 4/5] f2fs: support data flush in ioctl

2015-12-24 Thread Chao Yu
Sometimes user want to sync all data belong to superblock into storage for persistence, 'syncfs' syscall is one option, still f2fs supports similar one through ioctl, difference is that sb releted kworker is online for writebacking concurrently. Signed-off-by: Chao Yu ---

Re: A blocksize problem about dax and ext4

2015-12-24 Thread Christoph Hellwig
On Thu, Dec 24, 2015 at 02:47:07AM +, Elliott, Robert (Persistent Memory) wrote: > > Did you mean that I should make the blocksize bigger until the mount > > command tell me that dax is enabled? > > To really use DAX, the filesystem block size must match the > system CPU's page size, which

Re: [PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread Jaehoon Chung
Hi, NAK. Maybe..It seems that this is not the patch based on latest kernel.. Which kernel version did you use? Plz, check the latest kernel. Best Regards, Jaehoon Chung On 12/24/2015 06:24 PM, Jaehoon Chung wrote: > Hi, > > Before send the patch at mailing list, you need to make the patch as

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 09:15:28AM +0100, Jean-Francois Moine wrote: > On Wed, 23 Dec 2015 18:59:48 + > Russell King - ARM Linux wrote: > > > > > Have a look at my v2 where I've introduced two compare functions and > > > > also > > > > modified the Rockchip

Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race

2015-12-24 Thread Dominique Martinet
Andy Lutomirski wrote on Thu, Dec 17, 2015: > This could be QEMU's analysis script screwing up. Is there a good way > for me to gather more info? I finally took some time to reproduce it (sorry for the delay) Using your config, virtme commit (17363c2) and kernel tag v4.4-rc3 I was able to

[PATCH 1/7][v4][RESEND]usb:fsl:otg: Make fsl otg driver as tristate

2015-12-24 Thread Ramneek Mehresh
Provide option to load fsl otg driver as loadable module. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 22e8ecb..b6de4a7 100644

[PATCH 3/7][v4][RESEND]usb:fsl:otg: Add support to add/remove usb host driver

2015-12-24 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change, and to remove host driver upon otg initialization by changing have_hcd variable. Signed-off-by: Li Yang Signed-off-by: Ramneek Mehresh Reviewed-by: Alan

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-24 Thread Tetsuo Handa
Michal Hocko wrote: > This is VM_BUG_ON_PAGE(page_mapped(page), page), right? Could you attach > the full kernel log? It all smells like a race when OOM reaper tears > down the mapping and there is a truncate still in progress. But hitting > the BUG_ON just because of that doesn't make much sense

Re: [PATCH v2] um: Fix build error and kconfig for i386

2015-12-24 Thread Mickaël Salaün
On 23/12/2015 22:42, Josh Triplett wrote: > On Wed, Dec 23, 2015 at 01:59:13PM +0100, Mickaël Salaün wrote: >> Fix build error by selecting COREDUMP when X86_32 is selected: >> >> arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs': >> (.text+0x3e62): undefined reference to

[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

Re: [PATCH] cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()

2015-12-24 Thread Sudeep Holla
On 24/12/15 01:45, Rafael J. Wysocki wrote: On Wednesday, December 23, 2015 11:20:04 AM Sudeep Holla wrote: Hi Rafael, On Tue, Dec 15, 2015 at 11:16 AM, Sudeep Holla wrote: From: Dan Carpenter The "domain" variable needs to be signed for

[PATCH 3/5] f2fs: report readonly status in ->fsync

2015-12-24 Thread Chao Yu
Report readonly status of filesystem during fsync. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 2d87a3c..a60d088 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@

[PATCH 5/5] f2fs: clean up f2fs_ioc_write_checkpoint

2015-12-24 Thread Chao Yu
Use f2fs_sync_fs to clean up codes in f2fs_ioc_write_checkpoint. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 91997a5..b75037b 100644 --- a/fs/f2fs/file.c +++

Re: [PATCH v3 0/2] Create specific kconfig for kselftest

2015-12-24 Thread Bamvor Zhang Jian
Hi, Michael On 12/18/2015 07:44 AM, Michael Ellerman wrote: > On Thu, 2015-12-17 at 17:57 +0800, Bamvor Jian Zhang wrote: > >> There is a discussion about improving the usability of kselftest by >> creating test-specific kconfig in recent kernel Summit. >> >> Patch 1 keep test-specific kconfig

Re: [PATCH] netconsole: Initialize after all core networking drivers

2015-12-24 Thread Hannes Frederic Sowa
Hi, On 24.12.2015 00:03, Calvin Owens wrote: > On Thursday 12/17 at 17:46 -0800, Calvin Owens wrote: >> On Thursday 12/17 at 17:08 -0800, Eric Dumazet wrote: >>> On Thu, 2015-12-17 at 15:52 -0800, Calvin Owens wrote: With built-in netconsole and IXGBE, configuring netconsole via the kernel

[PATCH] clk: ingenic: Allow divider value to be right shifted

2015-12-24 Thread Harvey Hunt
The JZ4780's MSC clock divider registers multiply the clock divider by 2. This means that MSC devices run at half their expected speed. Shift the clock divider for the affected registers to solve this. Signed-off-by: Harvey Hunt --- drivers/clk/ingenic/cgu.c| 11

[PATCH v3] um: Fix build error and kconfig for i386

2015-12-24 Thread Mickaël Salaün
Fix build error by generating elfcore.o only when ELF_CORE (depending on COREDUMP) is selected: arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs': (.text+0x3e62): undefined reference to `dump_emit' arch/x86/um/built-in.o: In function `elf_core_write_extra_data': (.text+0x3eef):

[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

[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

[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

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-24 Thread Michal Hocko
On Wed 23-12-15 16:00:09, Ross Zwisler wrote: [...] > While running xfstests on next-20151223 I hit a pair of kernel BUGs > that bisected to this commit: > > 1eb3a80d8239 ("mm, oom: introduce oom reaper") Thank you for the report and the bisection. > Here is a BUG produced by generic/029 when

[PATCH 6/7][v4][RESEND]usb:fsl:otg: Combine host/gadget start/resume for ID change

2015-12-24 Thread Ramneek Mehresh
Make call to fsl_otg_event for each id change even. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 15 +++ 1

[PATCH v2 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2015-12-24 Thread Yuan Yao
new compatible string: "fsl,ls2080a-qspi". Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/7][v4][RESEND]usb:fsl:otg: Modify otg_event to start host drv

2015-12-24 Thread Ramneek Mehresh
Add mechanism to start host driver from inside fsl_otg_even upon each id change interrupt. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING ---

[PATCH 4/7][v4][RESEND]usb:fsl:otg: Signal host drv when host is otg

2015-12-24 Thread Ramneek Mehresh
Set is_otg boolean flag to signal host driver when host is running in context of otg host suspend/resume. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/phy-fsl-usb.c | 7 ++- include/linux/usb.h | 1 + 2 files changed, 7 insertions(+), 1

[PATCH 2/7][v4][RESEND]usb:fsl:otg: Add controller version based ULPI and UTMI phy

2015-12-24 Thread Ramneek Mehresh
Add controller version based ULPI and UTMI phy initialization for otg driver. Signed-off-by: Shengzhou Liu Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING

[PATCH 0/7][v4][RESEND]Add OTG support for FSL socs

2015-12-24 Thread Ramneek Mehresh
Add support for otg for all freescale socs having internal usb phy. Ramneek Mehresh (7): usb:fsl:otg: Make fsl otg driver as tristate usb:fsl:otg: Add controller version based ULPI and UTMI phy usb:fsl:otg: Add support to add/remove usb host driver usb:fsl:otg: Signal host drv when host

[PATCH] staging: most: replace multiple if..else with table lookup

2015-12-24 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango Replace multiple if..else if..statements with simple table lookup in two functions. Signed-off-by: Hari Prasath Gujulan Elango --- drivers/staging/most/mostcore/core.c | 39 1

[PATCH v2 3/4] mtd: spi-nor: fsl-quadspi: add support for layerscape

2015-12-24 Thread Yuan Yao
LS1043a and LS2080A in the Layerscape family also support Freescale Quad SPI, make Quad SPI selectable for these hardwares. Signed-off-by: Yuan Yao --- Changed in v2: Update my email to --- drivers/mtd/spi-nor/Kconfig | 2 +- 1 file changed, 1 insertion(+),

[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:

[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 ---

[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

[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

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

[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

[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

[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

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 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

[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(+)

[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(-)

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

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,

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-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

[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:

[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 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

[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

[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 ---

[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

[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 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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 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

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

[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

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 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 +++

[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 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

[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

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 > --- >

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: [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 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 +--

[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

[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

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:

[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

[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

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

[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: [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

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: 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

[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:

<    1   2   3   4   5   6   7   >