Re: [PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

2015-11-10 Thread Benjamin Tissoires
On Tue, Nov 10, 2015 at 12:16 AM, Dmitry Torokhov wrote: > On Thu, Nov 05, 2015 at 03:37:25PM -0800, Andrew Duggan wrote: >> From: Benjamin Tissoires >> >> If the device has been registered but is not populated, we should not >> process any incoming interrupt. >> Make sure the pointers we are fol

Re: [PATCH v2 01/12] staging: rtl8188eu: if/else replaced by min_t

2015-11-10 Thread Ivan Safonov
On 11/09/2015 12:10 AM, Greg Kroah-Hartman wrote: On Sun, Nov 08, 2015 at 02:07:11PM +0700, Ivan Safonov wrote: Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) You sent 3 versions

[patch] ncpfs: don't allow negative timeouts

2015-11-10 Thread Dan Carpenter
This code causes a static checker warning because it's a user controlled variable where we cap the upper bound but not the lower bound. If someone passes us a negative timeout then I guess lets set it to the default. Signed-off-by: Dan Carpenter diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c

Re: [GIT PULL] ext2 changes for 4.4-rc1

2015-11-10 Thread Jan Kara
On Mon 09-11-15 17:40:11, Linus Torvalds wrote: > On Mon, Nov 9, 2015 at 5:09 AM, Jan Kara wrote: > > > > to get fixes for DAX for ext2 and a minor fixup for ext4 Kconfig > > description (leftover from ext3 removal). > > You already sent the ext4 Kconfig fix earlier.. Yeah, sorry. I forgot to up

Re: [PATCH 5/5] KVM: x86: MMU: Consolidate WARN_ON/BUG_ON checks for reverse-mapped sptes

2015-11-10 Thread Takuya Yoshikawa
On 2015/11/09 19:14, Paolo Bonzini wrote: Can you also change kvm_mmu_mark_parents_unsync to use for_each_rmap_spte instead of pte_list_walk? It is the last use of pte_list_walk, and it's nice if we have two uses of for_each_rmap_spte with parent_ptes as the argument. No problem, I will do. S

Re: [PATCH 01/26] Input: synaptics-rmi4 - embed the function modules in rmi_core

2015-11-10 Thread Benjamin Tissoires
On Tue, Nov 10, 2015 at 12:06 AM, Dmitry Torokhov wrote: > On Thu, Nov 05, 2015 at 03:36:18PM -0800, Andrew Duggan wrote: >> From: Benjamin Tissoires >> >> the function modules can not be auto-loaded by udev. So at boot, the >> functions are not there and the device is not properly populated. >>

Re: [PATCH v1] tools/vm/page-types.c: support KPF_IDLE

2015-11-10 Thread Vladimir Davydov
On Tue, Nov 10, 2015 at 05:50:04PM +0900, Naoya Horiguchi wrote: > PageIdle is exported in include/uapi/linux/kernel-page-flags.h, so let's > make page-types.c tool handle it. > > Signed-off-by: Naoya Horiguchi Reviewed-by: Vladimir Davydov -- To unsubscribe from this list: send the line "unsub

Re: [PATCH v3] livepatch: old_name,number scheme in livepatch sysfs directory

2015-11-10 Thread Miroslav Benes
On Mon, 9 Nov 2015, Chris J Arges wrote: > In cases of duplicate symbols in vmlinux, old_sympos will be used to > disambiguate instead of old_addr. Normally old_sympos will be 0, and > default to only returning the first found instance of that symbol. If an > incorrect symbol position is specified

Re: [PATCH 22/26] Input: synaptics-rmi4 - Add F30 support

2015-11-10 Thread Linus Walleij
On Mon, Nov 9, 2015 at 11:54 PM, Andrew Duggan wrote: > F30 is currently only used in touchpads and mostly used to report the the > click of the tact switch on clickpads. When the GPIO interrupts we report > the appropriate button event to the host. Because the GPIOs are wired to our > ASIC and n

Re: [PATCH 04/19] v4l: omap3isp: fix handling platform_get_irq result

2015-11-10 Thread Laurent Pinchart
Hi Andrzej, On Tuesday 10 November 2015 07:48:54 Andrzej Hajda wrote: > On 11/09/2015 09:16 PM, Laurent Pinchart wrote: > > On Thursday 24 September 2015 16:00:12 Andrzej Hajda wrote: > >> The function can return negative value. > >> > >> The problem has been detected using proposed semantic patc

Re: [lkp] [ext4] dfbd72d0d6: -100.0% xfstests.ext4.001.seconds

2015-11-10 Thread Jan Kara
On Tue 10-11-15 13:26:51, kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > Jan-Kara/ext4-Fix-races-between-page-faults-and-hole-punching/20151105-002716 > commit dfbd72d0d6f10086064b918419fb2094ff9fbdb6 ("ext4: Fix races between > page faults

[PATCH v1] tools/vm/page-types.c: support KPF_IDLE

2015-11-10 Thread Naoya Horiguchi
PageIdle is exported in include/uapi/linux/kernel-page-flags.h, so let's make page-types.c tool handle it. Signed-off-by: Naoya Horiguchi --- tools/vm/page-types.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git mmotm-2015-10-21-14-41/tools/vm/page-types.c mmotm-2015-10-2

Re: [PATCH v3] livepatch: old_name,number scheme in livepatch sysfs directory

2015-11-10 Thread Miroslav Benes
On Mon, 9 Nov 2015, Josh Poimboeuf wrote: > On Mon, Nov 09, 2015 at 05:01:18PM -0600, Chris J Arges wrote: > > On 11/09/2015 02:56 PM, Josh Poimboeuf wrote: > > > I'd recommend splitting this up into two separate patches: > > > > > > 1. introduce old_sympos > > > 2. change the sysfs interface > >

[PATCH] Revert "drm/rockchip: Convert the probe function to the generic drm_of_component_probe()"

2015-11-10 Thread Mark Yao
This reverts commit 52f5eb60940de889ce98a876f6933b574ead3225. Rockchip drm can't work with generic drm_of_component_probe now Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 81 +-- 1 file changed, 75 insertions(+), 6 deletions(-) diff --git

RE: [PATCH v3 1/2] cputime: fix invalid gtime in proc

2015-11-10 Thread Hiroshi Shimamoto
> Subject: Re: [PATCH v3 1/2] cputime: fix invalid gtime in proc > > On Mon, Nov 02, 2015 at 05:13:51PM +0100, Peter Zijlstra wrote: > > On Fri, Oct 30, 2015 at 12:46:39AM +, Hiroshi Shimamoto wrote: > > > +++ b/kernel/sched/cputime.c > > > @@ -786,6 +786,9 @@ cputime_t task_gtime(struct task_

Re: BUG: unable to handle kernel NULL pointer dereference when mounting/umounting vfat in 4.3.0, worked in 4.2.4

2015-11-10 Thread Mads Lønsethagen
On 2015-11-06 21:37, Mads Lønsethagen wrote: After updating from 4.2.4 to 4.3.0 I cannot seem to list files in my /boot-folder after mounting it, and I get a kernel BUG when I try to umount it. exai ~ # mount /⁠boot exai ~ # sync exai ~ # mount [ ... snip ... ] /dev/sda1 on /boot type vfat (

Re: [PATCH] PCI: imx6:don't sleep in atomic context

2015-11-10 Thread Lucas Stach
Am Montag, den 09.11.2015, 16:18 +0530 schrieb Sanjeev Sharma: > If additional PCIe switch get connected between the > host and the NIC,the kernel crashes with "BUG: > scheduling while atomic". To handle this we need to > call mdelay() instead of usleep_range(). > > For more detail please refer bu

Re: [PATCH V2 1/3] scsi: mptxsas: try 64 bit DMA when 32 bit DMA fails

2015-11-10 Thread Arnd Bergmann
On Monday 09 November 2015 18:22:22 Sinan Kaya wrote: > On 11/9/2015 9:33 AM, Arnd Bergmann wrote: > > On Monday 09 November 2015 09:07:36 Sinan Kaya wrote: > >> On 11/9/2015 3:59 AM, Arnd Bergmann wrote: > > ioc->dma_mask is 0 and the driver is trying to use 32 bit even though 64 > bit supported

Re: regulator: build warning in regulator_lock_supply()

2015-11-10 Thread Mark Brown
On Mon, Nov 09, 2015 at 07:21:48PM -0800, Frank Rowand wrote: > In the current Linus tree, new build warning. > When CONFIG_DEBUG_LOCK_ALLOC is not enabled, > drivers/regulator/core.c: In function 'regulator_lock_supply': > drivers/regulator/core.c:142:6: warning: unused variable 'i' > [-Wun

Re: [PATCH v5 10/11] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-11-10 Thread Alim Akhtar
Hi Rob, On 11/09/2015 09:53 PM, Rob Herring wrote: On Mon, Nov 09, 2015 at 10:56:26AM +0530, Alim Akhtar wrote: From: Seungwon Jeon This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon Signed-off-by: Alim Akhtar --- .../devicetree/bindi

RE: [PATCH v8] can: xilinx: Convert to runtime_pm

2015-11-10 Thread Appana Durga Kedareswara Rao
Ping!! > -Original Message- > From: Kedareswara rao Appana [mailto:appana.durga@xilinx.com] > Sent: Monday, October 26, 2015 11:42 AM > To: Anirudha Sarangi; w...@grandegger.com; m...@pengutronix.de; Michal > Simek; Soren Brinkmann > Cc: linux-...@vger.kernel.org; net...@vger.kernel.or

[PATCH v2 7/7] ACPI / debugger: Add module support for ACPI debugger

2015-11-10 Thread Lv Zheng
This patch converts AML debugger into a loadable module. Note that, it implements driver unloading at the level dependent on the module reference count. Which means if ACPI debugger is being used by a userspace program, "rmmod acpi_dbg" should result in failure. Signed-off-by: Lv Zheng --- driv

[PATCH v2 0/7] ACPICA / debugger: Add in-kernel AML debugger support

2015-11-10 Thread Lv Zheng
This patchset enables ACPICA debugger for Linux kernel and implements a userspace utility to access it. A. Build the AML debugger In order to build the kernel support of AML debugger, the following kconfig items should be enabled: CONFIG_ACPI_DEBUG=y CONFIG_ACPI_DEBUGGER=y CONFIG_DEBUG_FS=y CO

[PATCH v2 6/7] tools/power/acpi: Add userspace AML interface support

2015-11-10 Thread Lv Zheng
This patch adds a userspace tool to access Linux kernel AML debugger interface. Tow modes are supported by this tool: 1. Interactive: Users are able to launch a debugging shell to talk with in-kernel AML debugger. Note that it's user duty to ensure kernel runtime integrity by using this d

[PATCH v2 5/7] ACPI / x86: introduce acpi_os_readable() support

2015-11-10 Thread Lv Zheng
From: Chen Yu This patch implements acpi_os_readable(). The function is used by ACPI AML debugger to validate user specified pointers for the dumpable AML operand objects. Signed-off-by: Chen Yu Signed-off-by: Lv Zheng --- arch/x86/Kconfig |1 + arch/x86/include/asm/acenv

[PATCH v2 1/7] ACPICA: Debugger: Remove unnecessary status check

2015-11-10 Thread Lv Zheng
From: Colin Ian King ACPICA commit f9d5c6c9a25e9f5ac05458bfcd8b381e21bb2ba5 ACPICA BZ 1205. Colin Ian King. Link: https://bugs.acpica.org/show_bug.cgi?id=1205 Link: https://github.com/acpica/acpica/commit/f9d5c6c9 Signed-off-by: Colin Ian King Signed-off-by: Bob Moore Signed-off-by: Lv Zheng

[PATCH v2 3/7] ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism

2015-11-10 Thread Lv Zheng
The ACPI_DEBUGGER_EXEC is a problem now when the debugger code is compiled but runtime disabled. They actually will get executed in this situation. Although such executions are harmless if we can correctly make acpi_db_single_step() a runtime stub, users may still do not want to see the debugger pr

[PATCH v2 4/7] ACPI / debugger: Add IO interface to access debugger functionalities

2015-11-10 Thread Lv Zheng
This patch adds /sys/kernel/debug/acpi/acpidbg, which can be used by userspace programs to access ACPICA debugger functionalities. Known issue: 1. IO flush support acpi_os_notify_command_complete() and acpi_os_wait_command_ready() can be used by acpi_dbg module to implement .flush() filesyst

[PATCH v2 2/7] ACPICA: Debugger: Convert some mechanisms to OSPM specific

2015-11-10 Thread Lv Zheng
The following mechanisms are OSPM specific: 1. Redirect output destination to console: no file redirection will be needed by an in-kernel debugger, there is even no file can be accessed when the debugger is running in the kernel mode. 2. Output command prompts: programs other than acpiexec ca

Re: [PATCH v2] block/floppy.c: handle blk_register_region() return value

2015-11-10 Thread kbuild test robot
Hi Vishnu, [auto build test ERROR on block/for-next] [also build test ERROR on v4.3 next-20151110] url: https://github.com/0day-ci/linux/commits/Vishnu-Pratap-Singh/block-floppy-c-handle-blk_register_region-return-value/20151110-112959 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

2015-11-10 Thread Michal Simek
On 11/09/2015 07:55 PM, Sören Brinkmann wrote: > On Mon, 2015-11-09 at 10:51AM -0800, Moritz Fischer wrote: >> By adding labels to the cpu nodes in the dtsi, a dts that >> includes it can change the OPPs by referencing the cpu0 >> through the label. >> >> Signed-off-by: Moritz Fischer > Reviewed-b

Re: [PATCH 2/2] thermal: rcar_thermal: use pm_runtime_put_sync()

2015-11-10 Thread Geert Uytterhoeven
Hi Morimoto-san, Ulf, On Tue, Nov 10, 2015 at 3:12 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > It is using pm_runtime_get_sync() on probe(). Let's use > pm_runtime_put_sync() instead of pm_runtime_put(). Otherwise thermal > sensor doesn't work after unbind/re-bind > > Signed-off-b

Re: [RFC PATCH 4/5] samples: livepatch: init reloc list and mark as klp module

2015-11-10 Thread Jiri Slaby
On 11/10/2015, 05:45 AM, Jessica Yu wrote: > Intialize the list of relocation sections in the sample > klp_object (even if the list will be empty in this case). > Also mark module as a livepatch module so that the module > loader can appropriately initialize it. > > Signed-off-by: Jessica Yu > --

[PATCH 2/4] loop: Remove unused 'bdev' argument from loop_set_capacity

2015-11-10 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke Reviewed-by: Christoph Hellwig --- drivers/block/loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index e790487..7272055 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1310,

[PATCH 4/4] loop: Pass logical blocksize in 'lo_init[0]' ioctl field

2015-11-10 Thread Hannes Reinecke
The current LOOP_SET_STATUS64 ioctl has two unused fields 'init[2]', which can be used in conjunction with the LO_FLAGS_BLOCKSIZE flag to pass in the new logical blocksize. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 25 - 1 file changed, 20 insertions(+), 5

[PATCH 1/4] loop: Enable correct physical blocksize

2015-11-10 Thread Hannes Reinecke
When running on files the physical blocksize is actually 4k, so we should be announcing it as such. This is enabled with a new LO_FLAGS_BLOCKSIZE flag value to the existing loop_set_status ioctl. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 9 - 1 file changed, 8 insertions(

[PATCH 3/4] loop: Add 'lo_logical_blocksize'

2015-11-10 Thread Hannes Reinecke
Add a new field 'lo_logical_blocksize' to hold the logical blocksize of the loop device. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 9 +++-- drivers/block/loop.h | 1 + include/uapi/linux/loop.h | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dr

Re: [RFC PATCH 3/5] livepatch: reuse module loader code to write relocations

2015-11-10 Thread Jiri Slaby
On 11/10/2015, 05:45 AM, Jessica Yu wrote: > @@ -95,7 +95,7 @@ struct klp_reloc { > struct klp_object { > /* external */ > const char *name; > - struct klp_reloc *relocs; > + struct list_head reloc_secs; Too early to proper review the code, but you seem you never call INIT_LIS

Re: [PATCH v4 0/6] virtio core DMA API conversion

2015-11-10 Thread Jan Kiszka
On 2015-11-10 03:18, Andy Lutomirski wrote: > On Mon, Nov 9, 2015 at 6:04 PM, Benjamin Herrenschmidt >> I thus go back to my original statement, it's a LOT easier to handle if >> the device itself is self describing, indicating whether it is set to >> bypass a host iommu or not. For L1->L2, well, t

[PATCHv3 0/4] loop: enable different physical blocksizes

2015-11-10 Thread Hannes Reinecke
Currently the loop driver just simulates 512-byte blocks. When creating bootable images on virtual machines it might be required to use a different physical blocksize (eg 4k for S/390 DASD), as the some bootloaders (like lilo or zipl for S/390) need to know the physical block addresses of the kerne

Re: [PATCH 5/5] Account certain kmem allocations to memcg

2015-11-10 Thread Vladimir Davydov
On Mon, Nov 09, 2015 at 03:39:55PM +0100, Michal Hocko wrote: > On Sat 07-11-15 23:07:09, Vladimir Davydov wrote: > > This patch marks those kmem allocations that are known to be easily > > triggered from userspace as __GFP_ACCOUNT, which makes them accounted to > > memcg. For the list, see below:

<    3   4   5   6   7   8