Re: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-09 Thread Amit Shah
On (Thu) 10 Mar 2016 [07:44:19], Li, Liang Z wrote: > > Hi Amit, > > Could provide more information on how to use virtio-serial to exchange data? > Thread , Wiki or code are all OK. > I have not find some useful information yet. See this commit in the Linux sources: 108fc82596e3b66b819df9d

Pilna Aktualizacja Zabezpieczen Do Roku 2016 !!!

2016-03-09 Thread Admin
Ze wzgledu na ostatnie uaktualnienie w naszym serwerem SSL, aby sluzyc Ci lepiej, prosze pamietac, ze wszyscy uzytkownicy sa upowaznione do aktualizacji swoich danych do logowania w innych, aby cieszyc sie nowa aktualizacje DLA 2016. Uzytkownik bedzie zablokowany wysylania i odbieran

Re: [PATCH] arc: use little endian accesses

2016-03-09 Thread Arnd Bergmann
On Thursday 10 March 2016, Vineet Gupta wrote: > On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: > > Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu > > and le32_to_cpu because it is not really guaranteed that drivers handles > > any ordering themselves. > > Th

[patch] ata: ahci_xgene: dereferencing uninitialized pointer in probe

2016-03-09 Thread Dan Carpenter
If the call to acpi_get_object_info() fails then "info" hasn't been initialized. In that situation, we already know that "version" should be XGENE_AHCI_V1 so we don't actually need to dereference "info". Fixes: c9802a4be661 ('ata: ahci_xgene: Add AHCI Support for 2nd HW version of APM X-Gene SoC

RE: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-09 Thread Li, Liang Z
> > This patch set is the QEMU side implementation. > > > > The virtio-balloon is extended so that QEMU can get the free pages > > information from the guest through virtio. > > > > After getting the free pages information (a bitmap), QEMU can use it > > to filter out the guest's free pages in the

Re: [PATCH] arc: use little endian accesses

2016-03-09 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-03-10 at 05:05 +, Vineet Gupta wrote: > +CC Noam > > On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: > > > > Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu > > and le32_to_cpu because it is not really guaranteed that drivers handl

Re: [PATCH v3 06/22] media: Media Controller enable/disable source handler API

2016-03-09 Thread Sakari Ailus
Hi Shuah, On Thu, Feb 11, 2016 at 04:41:22PM -0700, Shuah Khan wrote: > Add new fields to struct media_device to add enable_source, and > disable_source handlers, and source_priv to stash driver private > data that is used to run these handlers. The enable_source handler > finds source entity for

Re: [Qemu-devel] [RFC kernel 0/2]A PV solution for KVM live migration optimization

2016-03-09 Thread Amit Shah
On (Thu) 10 Mar 2016 [12:31:32], Jitendra Kolhe wrote: > On 3/8/2016 4:44 PM, Amit Shah wrote: > Hi, > An interesting solution; I know a few different people have been > looking at > how to speed up ballooned VM migration. > > >>> > >>> Ooh, different solutions for the s

Re: [PATCH 1/5] ftrace perf: Check sample types only for sampling events

2016-03-09 Thread Jiri Olsa
On Thu, Mar 10, 2016 at 09:36:37AM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Wed, Mar 09, 2016 at 09:46:41PM +0100, Jiri Olsa wrote: > > Currently we check sample type for ftrace:function event > > even if it's not created as sampling event. That prevents > > creating ftrace_function event in c

RE: [Qemu-devel] [RFC kernel 0/2]A PV solution for KVM live migration optimization

2016-03-09 Thread Li, Liang Z
> On 3/8/2016 4:44 PM, Amit Shah wrote: > > On (Fri) 04 Mar 2016 [15:02:47], Jitendra Kolhe wrote: > > * Liang Li (liang.z...@intel.com) wrote: > > The current QEMU live migration implementation mark the all the > > guest's RAM pages as dirtied in the ram bulk stage, all these > >

Re: [PATCH 4/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-09 Thread Laxman Dewangan
On Wednesday 09 March 2016 10:47 PM, Stephen Warren wrote: On 03/09/2016 06:20 AM, Laxman Dewangan wrote: On Wednesday 09 March 2016 11:58 AM, Markus Pargmann wrote: * PGP Signed by an unknown key Hi, On Tue, Mar 08, 2016 at 05:32:07PM +0530, Laxman Dewangan wrote: The child node for gpio

Re: [PATCH 3/5] gpio: of: Return error if gpio hog configuration failed

2016-03-09 Thread Laxman Dewangan
On Wednesday 09 March 2016 10:41 PM, Stephen Warren wrote: On 03/08/2016 05:02 AM, Laxman Dewangan wrote: If GPIO hog configuration failed while adding OF based gpiochip() then return the error instead of ignoring it. This helps of properly handling the gpio driver dependency. When adding the

[PATCH 2/2] Staging: nvec: fix multiline comment style.

2016-03-09 Thread Neha Rani
This is a patch in nvec.c file that fixes a multiline comment found by checkpatch.pl tool Signed-off-by: Neha Rani --- drivers/staging/nvec/nvec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 4ae44a5..5

Re: [PATCH 2/5] gpio: gpiolib: Print error number if gpio hog failed

2016-03-09 Thread Laxman Dewangan
On Wednesday 09 March 2016 10:37 PM, Stephen Warren wrote: On 03/08/2016 08:32 AM, Laxman Dewangan wrote: On Tuesday 08 March 2016 07:52 PM, Thierry Reding wrote: On Tue, Mar 08, 2016 at 05:32:05PM +0530, Laxman Dewangan wrote: Signed-off-by: Laxman Dewangan --- drivers/gpio/gpiolib.c |

[PATCH] i2c: designware: Add device HID for future AMD I2C controller

2016-03-09 Thread Xiangliang Yu
Add device HID AMDI0010 to match the AMD ACPI Vendor ID (AMDI) that was registered in http://www.uefi.org/acpi_id_list, and the I2C controller on future AMD paltform will use the HID instead of AMD0010. Signed-off-by: Xiangliang Yu --- drivers/acpi/acpi_apd.c | 1 + drivers/i

Re: [PATCH V2 5/6] thermal: max77620: Add thermal driver for reporting junction temp

2016-03-09 Thread Laxman Dewangan
On Thursday 10 March 2016 12:57 AM, Eduardo Valentin wrote: * PGP Signed by an unknown key On Wed, Mar 09, 2016 at 06:40:09PM +0530, Laxman Dewangan wrote: Maxim Semiconductor Max77620 supports alarm interrupts when its die temperature crosses 120C and 140C. These threshold temperatures are no

[PATCH] Staging: vt6655: fixed Warnings of more than 80 chars at a line in baseband.c

2016-03-09 Thread nancygoel62
This is a patch to the baseband.c file that fixes the warnings of more than 80 characters at a line by the checkpatch.pl tool Signed-off-by: Nancy Goel --- drivers/staging/vt6655/baseband.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vt6

Re: [PATCH V2 0/6] thermal: add devm_ version of thermal_zone register and driver for max77620

2016-03-09 Thread Laxman Dewangan
On Thursday 10 March 2016 01:02 AM, Eduardo Valentin wrote: * PGP Signed by an unknown key On Wed, Mar 09, 2016 at 06:40:04PM +0530, Laxman Dewangan wrote: The series add the devm_ version of thermal_zone_of_sensor_register/ unregister, interface details, and use this in new thermal driver for

[PATCH 2/2] spi: rockchip: covert rsd_nsecs to u32 type

2016-03-09 Thread Shawn Lin
rsd_nsecs is defined as u8 memeber of struct rockchip_spi, but using of_property_read_u32. That means we take risk of truncation by type conversion if we pass on big value from dt. Signed-off-by: Shawn Lin --- drivers/spi/spi-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [Qemu-devel] [RFC kernel 0/2]A PV solution for KVM live migration optimization

2016-03-09 Thread Jitendra Kolhe
On 3/8/2016 4:44 PM, Amit Shah wrote: > On (Fri) 04 Mar 2016 [15:02:47], Jitendra Kolhe wrote: * Liang Li (liang.z...@intel.com) wrote: > The current QEMU live migration implementation mark the all the > guest's RAM pages as dirtied in the ram bulk stage, all these pages > wil

[PATCH 1/2] spi: rockchip: header file cleanup

2016-03-09 Thread Shawn Lin
Remove some of unused header files and reoder it into alphabetical order. Signed-off-by: Shawn Lin --- drivers/spi/spi-rockchip.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 7bdbeef..7a4a131 10

[PATCH 2/5] Staging: comedi: fix WARNING issue in s626.c

2016-03-09 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a Block comments issues found by the checkpatch.pl tool. i.e. Block comments use a trailing */ on a separate line Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 38 ++---

[PATCH 5/5] Staging: comedi: fix type issue in ni_tio.c

2016-03-09 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the ni_tio.c file that fixes up a type issues found by the checkpatch.pl tool. i.e. Prefer kernel type 'u64' over 'uint64_t' Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/ni_tio.c | 8 1 file changed, 4 insertions(+), 4 deletion

[PATCH 3/5] Staging: comedi: fix WARNING issue in s626.c

2016-03-09 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a line over 80 characters issues found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/c

Re: [PATCH 4/4] media: au0828 change vidioc_s_input() to call v4l_change_media_source()

2016-03-09 Thread kbuild test robot
Hi Shuah, [auto build test ERROR on sailus-media/master] [cannot apply to v4.5-rc7 next-20160309] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/media-add-change_source-handler

[PATCH 4/5] Staging: comedi: fix CHECK issue in ni_tio.c

2016-03-09 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the ni_tio.c file that fixes up a CHECK issues found by the checkpatch.pl tool. i.e. Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON(). Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/ni_tio.c | 1

[PATCH 1/5] Staging: comedi: fix type issue in s626.c

2016-03-09 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a type issues found by the checkpatch.pl tool. i.e Prefer kernel type 'u8' over 'uint8_t' Prefer kernel type 'u16' over 'uint16_t' Prefer kernel type 'u32' over 'uint32_t' Prefer kernel type 's16' over 'int16_t' Prefer kernel type 's

Re: [PATCH V4 0/3] basic busy polling support for vhost_net

2016-03-09 Thread Michael Rapoport
Hi Greg, > Greg Kurz wrote on 03/09/2016 09:26:45 PM: > > On Fri, 4 Mar 2016 06:24:50 -0500 > > Jason Wang wrote: > > > This series tries to add basic busy polling for vhost net. The idea is > > simple: at the end of tx/rx processing, busy polling for new tx added > > descriptor and rx receive

Re: [kernel-hardening] Re: [PATCH v3 3/3] SROP mitigation: Add sysctl to disable SROP protection.

2016-03-09 Thread Andy Lutomirski
On Wed, Mar 9, 2016 at 10:36 PM, Kees Cook wrote: > On Tue, Mar 8, 2016 at 1:00 PM, One Thousand Gnomes > wrote: >> On Tue, 8 Mar 2016 13:47:55 -0700 >> Scott Bauer wrote: >> >>> This patch adds a sysctl argument to disable SROP protection. >> >> Shouldn't it be a sysctl to enable it irrevocabl

Re: [PATCH 03/11] x86/mm/hotplug: Don't remove PGD entries in remove_pagetable()

2016-03-09 Thread Andy Lutomirski
On Fri, Feb 12, 2016 at 11:04 AM, Andy Lutomirski wrote: > On Mon, Sep 21, 2015 at 11:23 PM, Ingo Molnar wrote: >> So when memory hotplug removes a piece of physical memory from pagetable >> mappings, it also frees the underlying PGD entry. >> >> This complicates PGD management, so don't do this.

Re: [kernel-hardening] Re: [PATCH v3 3/3] SROP mitigation: Add sysctl to disable SROP protection.

2016-03-09 Thread Kees Cook
On Tue, Mar 8, 2016 at 1:00 PM, One Thousand Gnomes wrote: > On Tue, 8 Mar 2016 13:47:55 -0700 > Scott Bauer wrote: > >> This patch adds a sysctl argument to disable SROP protection. > > Shouldn't it be a sysctl to enable it irrevocably, otherwise if I have DAC > capability I can turn off SROP a

linux-next: Tree for Mar 10

2016-03-09 Thread Stephen Rothwell
Hi all, Changes since 20160309: Trees removed: apm, tiny, mips-fixes, lblnet, rpmsg, llvmlinux, bcm2835, kgdb, mmc, random, squashfs all were unsed for at leat a year The xfs tree gained conflicts against the ext4 tree. The aio tree still had a build failure so I used

КЛИЕНТСКИЕ БАЗЫ! Тел\Viber\Whatsapp: +79133913837 Email: vavdee...@gmail.com Skype: prodawez389

2016-03-09 Thread linux-kernel@vger.kernel.org
КЛИЕНТСКИЕ БАЗЫ! Соберем для Вас по интернет базу данных потенциальных клиентов для Вашего Бизнеса! Много! Быстро! Недорого! Узнайте об этом подробнее по Тел: +79133913837 Viber: +79133913837 Whatsapp: +79133913837 Skype: prodawez389 Email: vavdee...@gmail.com

Re: [patch -target tree] usb: gadget: f_tcm: use after free

2016-03-09 Thread Nicholas A. Bellinger
On Wed, 2016-03-09 at 13:38 +0200, Felipe Balbi wrote: > Hi, > > "Nicholas A. Bellinger" writes: > > [ text/plain ] > > Hi Felipe + usb-gadget folks, > > > > On Wed, 2016-03-02 at 13:55 +0200, Felipe Balbi wrote: > >> Dan Carpenter writes: > >> > We need to move the kfree() down a line so we don

Re: [PATCH 1/2] Staging: atm: fix 'endianess' spelling to 'endianness' in fore200e.c This is a patch to the fore200e that fixes the spelling of 'endianess' to the correct one, that is, 'endianness' fo

2016-03-09 Thread Amitoj Kaur Chawla
On Thu, Mar 10, 2016 at 11:00 AM, rneha725 wrote: > Signed-off-by: Neha Rani > --- Hi Neha, You should ideally submit patches for drivers/staging/ as a newbie and not other drivers. Other than that, Your subject is too long and you haven't written a commit message, A better way to write the su

[PATCH] writeback: Fix performance regression in wb_over_bg_thresh()

2016-03-09 Thread Howard Cochran
Commit 947e9762a8dd ("writeback: update wb_over_bg_thresh() to use wb_domain aware operations") unintentionally changed this function's meaning from "are there more dirty pages than the background writeback threshold" to "are there more dirty pages than the writeback threshold". The background writ

Re: [PATCH] mm: slub: Ensure that slab_unlock() is atomic

2016-03-09 Thread Vineet Gupta
On Wednesday 09 March 2016 08:21 PM, Peter Zijlstra wrote: >> But in SLUB: bit_spin_lock() + __bit_spin_unlock() is acceptable ? How so >> (ignoring the performance thing for discussion sake, which is a side effect >> of >> this implementation). > > The sort answer is: Per definition. They are de

Re: [RFC 4/9] powerpc/mm: Split huge_pte_alloc function for BOOK3S 64K

2016-03-09 Thread Anshuman Khandual
On 03/10/2016 01:25 AM, Aneesh Kumar K.V wrote: > Anshuman Khandual writes: > >> > [ text/plain ] >> > From: root >> > >> > Currently the 'huge_pte_alloc' function has two versions, one for the >> > BOOK3S and the other one for the BOOK3E platforms. This change splits >> > the BOOK3S version int

[PATCH 1/2] Staging: atm: fix 'endianess' spelling to 'endianness' in fore200e.c This is a patch to the fore200e that fixes the spelling of 'endianess' to the correct one, that is, 'endianness' found

2016-03-09 Thread rneha725
Signed-off-by: Neha Rani --- drivers/atm/fore200e.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 75dde90..fac5e4fd 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -409,7 +409,7 @@ fore200e_shutd

Re: linux-next: removal of the rpmsg tree

2016-03-09 Thread Bjorn Andersson
On Wed, Mar 9, 2016 at 7:07 AM, Ohad Ben-Cohen wrote: > Hi Stephen, > > On Wed, Mar 9, 2016 at 7:28 AM, Stephen Rothwell > wrote: >> Hi Ohad, >> >> I noticed that the rpmsg tree >> >> git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git branch >> for-next >> >> has not been updated si

[PATCH 2/2] Staging: nvec: fix multiline comment style. This is a patch in nvec.c file that fixes a multiline comment found by checkpatch.pl tool

2016-03-09 Thread rneha725
Signed-off-by: Neha Rani --- drivers/staging/nvec/nvec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 4ae44a5..57ad27a 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -508,8

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

2016-03-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/gpu/drm/omapdrm/omap_gem.c between commit: f6e45661f9be ("dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc()") from the tip tree and patch: "dma-mapping: rename dma_*_writecombine() to dma_*_wc()" from

Re: [PATCH] arc: use little endian accesses

2016-03-09 Thread Vineet Gupta
On Thursday 10 March 2016 10:35 AM, Vineet Gupta wrote: > +CC Noam > > On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: >> > Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu >> > and le32_to_cpu because it is not really guaranteed that drivers handles >> > any ord

Re: [patch -target tree] usb: gadget: f_tcm: use after free

2016-03-09 Thread Nicholas A. Bellinger
Hi Andrzej, On Wed, 2016-03-09 at 13:53 +0100, Andrzej Pietrasiewicz wrote: > Hi Nicholas, > > W dniu 05.03.2016 o 08:26, Nicholas A. Bellinger pisze: > > Hi Felipe + usb-gadget folks, > > > > On Wed, 2016-03-02 at 13:55 +0200, Felipe Balbi wrote: > > > > > > > usb-gadget/tcm: Conversion to pe

Re: [PATCH] ext4: drop unneeded BUFFER_TRACE in ext4_delete_inline_entry()

2016-03-09 Thread Theodore Ts'o
On Sun, Jan 31, 2016 at 11:51:54PM +0800, Geliang Tang wrote: > BUFFER_TRACE info "call ext4_handle_dirty_metadata" doesn't match the > code, so drop it. > > Signed-off-by: Geliang Tang Thanks, applied. - Ted

Re: [RFC 6/9] powerpc/hugetlb: Enable ARCH_WANT_GENERAL_HUGETLB for BOOK3S 64K

2016-03-09 Thread Anshuman Khandual
On 03/10/2016 01:28 AM, Aneesh Kumar K.V wrote: > Anshuman Khandual writes: > >> > [ text/plain ] >> > This enables ARCH_WANT_GENERAL_HUGETLB for BOOK3S 64K in Kconfig. >> > It also implements a new function 'pte_huge' which is required by >> > function 'huge_pte_alloc' from generic VM. Existing

[PATCH 2/4] media: v4l2-mc add v4l_change_media_source() to invoke change_source

2016-03-09 Thread Shuah Khan
Add a common routine to invoke media device change_source handler. Signed-off-by: Shuah Khan --- drivers/media/v4l2-core/v4l2-mc.c | 14 ++ include/media/v4l2-mc.h | 20 +++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/media/v4l2-c

[PATCH 1/4] media: add change_source handler function pointer

2016-03-09 Thread Shuah Khan
Add change_source handler function pointer to struct media_device. Using the change_source handler, driver can disable current source and enable new one in one step when user selects a new input. Signed-off-by: Shuah Khan --- include/media/media-device.h | 18 +++--- 1 file changed,

[PATCH 3/4] media: au0828 add media device change_source handler

2016-03-09 Thread Shuah Khan
Add media device change_source handler. Using the change_source handler, driver can disable current source and enable new one in one step when user selects a new input. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 64 -- 1 file changed, 4

Re: modules: set mod->state to GOING before going notifiers are called

2016-03-09 Thread Jessica Yu
+++ Rusty Russell [10/03/16 13:57 +1030]: Jessica Yu writes: In load_module(), the going notifiers are called during error handling when an error occurs after the coming notifiers have already been called. However, a module's state is still MODULE_STATE_COMING when the going notifiers are calle

[PATCH 0/4] media add change_source handler support

2016-03-09 Thread Shuah Khan
This patch series: 1. Adds change_source function pointer to struct media_device. Using the change_source handler, driver can disable current source and enable new one in one step when user selects a new input. 2. Add a new common v4l interface to call change_source handler 3. Add change_sour

[PATCH 4/4] media: au0828 change vidioc_s_input() to call v4l_change_media_source()

2016-03-09 Thread Shuah Khan
Change vidioc_s_input() to call v4l_change_media_source() to disable current source and enable new source when user switches input. Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-video.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/media/usb/

Re: [RFC 9/9] selfttest/powerpc: Add memory page migration tests

2016-03-09 Thread Anshuman Khandual
On 03/10/2016 01:31 AM, Aneesh Kumar K.V wrote: > Anshuman Khandual writes: > >> > [ text/plain ] >> > This adds two tests for memory page migration. One for normal page >> > migration which works for both 4K or 64K base page size kernel and >> > the other one is for huge page migration which wor

Re: [PATCH] arc: use little endian accesses

2016-03-09 Thread Vineet Gupta
+CC Noam On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: > Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu > and le32_to_cpu because it is not really guaranteed that drivers handles > any ordering themselves. That is the driver issue. readxx as API simply retu

Re: [PATCH] ext4: Fix misspellings in comments.

2016-03-09 Thread Theodore Ts'o
On Tue, Feb 23, 2016 at 05:47:47PM -0800, Adam Buchbinder wrote: > Signed-off-by: Adam Buchbinder Thanks, applied. - Ted

Re: [v2] serial_core:recognize invalid pointer from userspace

2016-03-09 Thread Lu.Jiang
On 2016年03月10日 11:34, Greg KH wrote: On Thu, Mar 10, 2016 at 11:17:23AM +0800, Jiang Lu wrote: compat_ioctl use 0x as a magic number to mark invalid pointer for iomem_base in serial_struct when truncating a 64bit pointer into 32bit. Serial driver need recognize this invalid pointer when

Re: avr32 build failures in linux-next

2016-03-09 Thread Sudip Mukherjee
On Thursday 10 March 2016 01:20 AM, Måns Rullgård wrote: Andy Shevchenko writes: On Tue, Feb 9, 2016 at 6:02 AM, Guenter Roeck wrote: On 02/08/2016 08:06 AM, Andy Shevchenko wrote: On Sat, Feb 6, 2016 at 7:28 PM, Måns Rullgård wrote: Not very surprising either. The number of people usi

Re: [RFC PATCH v4 1/7] PCI: Add a new option for resource_alignment to reassign alignment

2016-03-09 Thread Yongji Xie
On 2016/3/10 10:19, Alexey Kardashevskiy wrote: On 03/07/2016 06:48 PM, Yongji Xie wrote: When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. How can this possibly break any driver?.

Re: [PATCH 03/13] hwmon: convert tmp102 to use devm_thermal_zone_of_sensor_register

2016-03-09 Thread kbuild test robot
Hi Eduardo, [auto build test ERROR on soc-thermal/next] [also build test ERROR on v4.5-rc7 next-20160309] [cannot apply to thermal/next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Eduardo

Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly

2016-03-09 Thread Alexandre Belloni
On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > +

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-09 Thread Juri Lelli
On 10/03/16 00:41, Rafael J. Wysocki wrote: > On Wed, Mar 9, 2016 at 11:15 AM, Juri Lelli wrote: > > Hi, > > > > sorry if I didn't reply yet. Trying to cope with jetlag and > > talks/meetings these days :-). Let me see if I'm getting what you are > > discussing, though. > > > > On 08/03/16 21:05,

Re: [PATCH net-next] bpf: avoid copying junk bytes in bpf_get_current_comm()

2016-03-09 Thread David Miller
From: Alexei Starovoitov Date: Wed, 9 Mar 2016 20:02:33 -0800 > Lots of places in the kernel use memcpy(buf, comm, TASK_COMM_LEN); but > the result is typically passed to print("%s", buf) and extra bytes > after zero don't cause any harm. > In bpf the result of bpf_get_current_comm() is used as t

[GIT PULL] spi fixes for v4.5

2016-03-09 Thread Mark Brown
The following changes since commit f6cede5b49e822ebc41a099fe41ab4989f64e2cb: Linux 4.5-rc7 (2016-03-06 14:48:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v4.5-rc7 for you to fetch changes up to 3ee20abb063acc57

[PATCH v4] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-09 Thread Shanker Donthineni
We are not checking whether the requested device identifier fits into the device table memory or not. The function its_create_device() assumes that enough memory has been allocated for whole DevID space (reported by ITS_TYPER.Devbits) during the ITS probe() and continues to initialize ITS hardware.

RE: [PATCH v2 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-09 Thread Thang Q. Nguyen
Hi, I would like to ask if I need to update anything else for this change? Thanks, Thang Q. Nguyen - -Original Message- From: Thang Q. Nguyen [mailto:tqngu...@apm.com] Sent: Monday, January 25, 2016 9:26 PM To: Felipe Balbi; Greg Kroah-Hartman; linux-...@vger.kernel.org; linux-o...@vger.ke

RE: [PATCH v2 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-09 Thread Thang Q. Nguyen
Hi, I would like to ask if I need to update anything else for this change? Thanks, Thang Q. Nguyen - -Original Message- From: Thang Q. Nguyen [mailto:tqngu...@apm.com] Sent: Monday, January 25, 2016 9:26 PM To: Felipe Balbi; Greg Kroah-Hartman; linux-...@vger.kernel.org; linux-o...@vger.ke

Re: [PATCH] watchdog: add driver for StreamLabs USB watchdog device

2016-03-09 Thread kbuild test robot
Hi Alexey, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.5-rc7 next-20160309] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Alexey-Klimov/watchdog-add-driver-for

[PATCH v3 1/6] memory: omap-gpmc: Store handle to GPMC dev

2016-03-09 Thread Franklin S Cooper Jr
The dma channel information is located within the GPMC node. The NAND driver requires a handle to the GPMC's dev to properly parse the DMA properties. Therefore, store a handle to the dev so it can be referenced within the NAND driver. Signed-off-by: Franklin S Cooper Jr --- drivers/memory/omap-

[PATCH v3 3/6] mtd: nand: omap2: Support parsing dma channel information from DT

2016-03-09 Thread Franklin S Cooper Jr
Switch from dma_request_channel to allow passing dma channel information from DT rather than hardcoding a value. Also provide a handle to the GPMC's dev so it can be used to parse the DMA channel information within the GPMC's DT node. Signed-off-by: Franklin S Cooper Jr --- Version 3 changes: In

[PATCH v3 2/6] ARM: dts: am437x/am33xx: Fix GPMC dma properties

2016-03-09 Thread Franklin S Cooper Jr
Recent patch series that updated the eDMA driver also updated the eDMA bindings. The following patches forgot to update the DMA bindings for the GPMC node. ARM: DTS: am33xx: Use the new DT bindings for the eDMA3 ARM: DTS: am437x: Use the new DT bindings for the eDMA3 This patch corrects this so N

[PATCH v3 0/6] mtd: nand: Fix support for NAND DMA prefetch

2016-03-09 Thread Franklin S Cooper Jr
NAND DMA prefetch has been broken for awhile and seems to have only worked for SDMA based devices This patchset fixes DMA prefetch to work on both EDMA and SDMA devices Test on: am335x gp evm am437x gp evm am37x gp evm This rev is pretty much the same as v2 which was blocked due to dependencies

[PATCH v3 5/6] mtd: nand: omap2: Fix high memory dma prefetch transfer

2016-03-09 Thread Franklin S Cooper Jr
Based on DMA documentation and testing using high memory buffer when doing dma transfers can lead to various issues including kernel panics. To workaround this simply use cpu copy. The amount of high memory buffers used are very uncommon so no noticeable performance hit should be seen. Signed-off

[PATCH v3 6/6] ARM: OMAP2+: Update GPMC and NAND DT binding documentation

2016-03-09 Thread Franklin S Cooper Jr
Add additional details to the GPMC NAND documentation to clarify what is needed to enable NAND DMA prefetch. Signed-off-by: Franklin S Cooper Jr --- Version 3 changes: Slight tweaks to the wording Documentation/devicetree/bindings/bus/ti-gpmc.txt | 7 ++- Documentation/devicetree/bindings

[PATCH v3 4/6] mtd: nand: omap2: Start dma request before enabling prefetch

2016-03-09 Thread Franklin S Cooper Jr
The prefetch engine sends a dma request once a FIFO threshold has been met. No other requests are received until the previous request is handled. Starting an edma transfer (dma_async_issue_pending) results in any previous event for the dma channel to be cleared. Therefore, starting the prefetch en

[PATCH net-next] bpf: avoid copying junk bytes in bpf_get_current_comm()

2016-03-09 Thread Alexei Starovoitov
Lots of places in the kernel use memcpy(buf, comm, TASK_COMM_LEN); but the result is typically passed to print("%s", buf) and extra bytes after zero don't cause any harm. In bpf the result of bpf_get_current_comm() is used as the part of map key and was causing spurious hash map mismatches. Use str

Re: [PATCH v10 01/59] PCI: Add pci_find_root_bus_resource()

2016-03-09 Thread Bjorn Helgaas
On Wed, Feb 24, 2016 at 06:11:52PM -0800, Yinghai Lu wrote: > Add pci_find_root_bus_resource() to return root bus resource > for input resource. > > For sparc mem64 support, We need that host bridge window res: > 1. we need direct parent for request_resource_conflict() calling in > pci_reg

Re: [PATCH] watchdog: add driver for StreamLabs USB watchdog device

2016-03-09 Thread Guenter Roeck
On 03/09/2016 06:29 PM, Alexey Klimov wrote: This patch creates new driver that supports StreamLabs usb watchdog device. This device plugs into 9-pin usb header and connects to reset pin and reset button on common PC. USB commands used to communicate with device were reverse engineered using usb

[PATCH v4 1/4] dt-bindings: add bindings for rk3399 clock controller

2016-03-09 Thread Xing Zheng
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Xing Zheng Signed-off-by: Jianqun Xu Acked-by: Rob Herring --- Changes in v4: None Changes in v3: None Changes in v2: None .../bindings/clock/rockchip,rk3399-cru.txt | 82 1 f

[PATCH v4 2/4] clk: rockchip: add dt-binding header for rk3399

2016-03-09 Thread Xing Zheng
Add the dt-bindings header for the rk3399, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Xing Zheng Signed-off-by: Jianqun Xu Acked-by: Rob Herring --- Changes in v4: None Changes in v3: None Changes in v2: None include/dt-bindings/clock/rk

[PATCH v4 4/4] clk: rockchip: add clock controller for the RK3399

2016-03-09 Thread Xing Zheng
Add the clock tree definition for the new RK3399 SoC. Signed-off-by: Xing Zheng --- Changes in v4: None Changes in v3: - rename pclkin_cif to pclkin_cifmux, add diagram and comment for pclkin_cifmux - add the clk_test node - modify the cif_testout path - include two new patches that dt-binding

[PATCH v4 3/4] clk: rockchip: add new pll-type for rk3399 and similar socs

2016-03-09 Thread Xing Zheng
The rk3399's pll and clock are similar with rk3036's, it different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control registers, so these should be independent and separate from the series of rk3066s. Signed-off-by: Xing Zheng --- Changes in v4

[PATCH v4 0/4] Add more clock compatible features and support the RK3399 clock

2016-03-09 Thread Xing Zheng
Hi, The patch series add support more mux parameters and multiple clock providers for the rockchip features of the clock framework, and support the clock controller for the RK3399. Changes in v4: - fix some define errors due to careless Changes in v3: - rename pclkin_cif to pclkin_cifmux, add

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-09 Thread Vincent Guittot
On 10 March 2016 at 06:28, Rafael J. Wysocki wrote: > On Wed, Mar 9, 2016 at 5:39 PM, Peter Zijlstra wrote: >> On Tue, Mar 08, 2016 at 09:05:50PM +0100, Rafael J. Wysocki wrote: >>> >> This means that on platforms where the utilization is frequency >>> >> invariant we should use >>> >> >>> >> n

Re: [PATCH] blk-merge: compute bio->bi_seg_front_size efficiently

2016-03-09 Thread Ming Lei
On Tue, Mar 1, 2016 at 8:51 PM, Ming Lei wrote: > It is enough to check and compute bio->bi_seg_front_size just > after the 1st segment is found, but current code checks that > for each bvec, which is inefficient. > > This patch follows the way in __blk_recalc_rq_segments() > for computing bio->b

Re: [PATCH] bpf: make bpf_stackmap_copy conditionally called

2016-03-09 Thread Alexei Starovoitov
On Thu, Mar 10, 2016 at 02:43:42AM +0100, Arnd Bergmann wrote: > Changing the bpf syscall to use the new bpf_stackmap_copy() helper for > BPF_MAP_TYPE_STACK_TRACE causes a link error when CONFIG_PERF_EVENTS > is disabled: > > kernel/built-in.o: In function `map_lookup_elem': > :(.text+0x7fca4): un

Re: [RFC 5/9] powerpc/mm: Split huge_pte_offset function for BOOK3S 64K

2016-03-09 Thread Anshuman Khandual
On 03/10/2016 04:27 AM, Dave Hansen wrote: > On 03/09/2016 04:10 AM, Anshuman Khandual wrote: >> > Currently the 'huge_pte_offset' function has only one version for >> > all the configuations and platforms. This change splits the function >> > into two versions, one for 64K page size based BOOK3S i

Re: [v2] serial_core:recognize invalid pointer from userspace

2016-03-09 Thread Greg KH
On Thu, Mar 10, 2016 at 11:17:23AM +0800, Jiang Lu wrote: > compat_ioctl use 0x as a magic number to mark invalid pointer > for iomem_base in serial_struct when truncating a 64bit pointer into > 32bit. > > Serial driver need recognize this invalid pointer when parsing > serial_struct from

Re: [musl] Re: [RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers

2016-03-09 Thread Rich Felker
On Wed, Mar 09, 2016 at 11:47:30AM -0800, Linus Torvalds wrote: > On Wed, Mar 9, 2016 at 3:34 AM, Szabolcs Nagy wrote: > >> > >> Could someone remind me why cancellation points matter to user-space? > > > > because of standards. > > So quite frankly, if we have to do kernel support for this, then

Re: [PATCH 0/3] Livepatch module notifier cleanup

2016-03-09 Thread Rusty Russell
Jessica Yu writes: > These are the remaining 3 patches that came from the original ftrace/livepatch > module notifier patchset found here: https://lkml.org/lkml/2016/2/8/1180 Please add my Acked-by to the first and third. Cheers, Rusty. > Basically, the patchset does a bit of module.c cleanup (

Re: [PATCH 2/3] modules: set mod->state to GOING before going notifiers are called

2016-03-09 Thread Rusty Russell
Jessica Yu writes: > In load_module(), the going notifiers are called during error handling > when an error occurs after the coming notifiers have already been called. > However, a module's state is still MODULE_STATE_COMING when the going > notifiers are called in the error path. To be consistent

[PATCH] bpf: make bpf_stackmap_copy conditionally called

2016-03-09 Thread Arnd Bergmann
Changing the bpf syscall to use the new bpf_stackmap_copy() helper for BPF_MAP_TYPE_STACK_TRACE causes a link error when CONFIG_PERF_EVENTS is disabled: kernel/built-in.o: In function `map_lookup_elem': :(.text+0x7fca4): undefined reference to `bpf_stackmap_copy' This patch simply avoids handling

Re: [PATCH v3 5/7] clk: rockchip: add new pll-type for rk3399 and similar socs

2016-03-09 Thread Xing Zheng
Hi Heiko, On 2016年03月09日 20:29, Heiko Stübner wrote: Hi Xing, Am Mittwoch, 9. März 2016, 10:42:58 schrieb Xing Zheng: The rk3399's pll and clock are similar with rk3036's, it different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control regist

Re: [PATCH v3 1/2] cxl: Add mechanism for delivering AFU driver specific events

2016-03-09 Thread Michael Neuling
On Wed, 2016-03-09 at 20:07 +0530, Vaibhav Jain wrote: > Hi Ian, > > Sorry for getting into this discussion late. I have few suggestions. > > Ian Munsie writes: > > > > diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig > > index 8756d06..560412c 100644 > > --- a/drivers/misc/cxl/

Re: [PATCH 03/13] hwmon: convert tmp102 to use devm_thermal_zone_of_sensor_register

2016-03-09 Thread Guenter Roeck
On 03/09/2016 01:35 PM, Eduardo Valentin wrote: This changes the driver to use the devm_ version of thermal_zone_of_sensor_register and cleans up the local points and unregister calls. Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off

Re: [PATCH 02/13] hwmon: convert ntc_thermistor to use devm_thermal_zone_of_sensor_register

2016-03-09 Thread Guenter Roeck
On 03/09/2016 01:35 PM, Eduardo Valentin wrote: This changes the driver to use the devm_ version of thermal_zone_of_sensor_register and cleans up the local points and unregister calls. Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off

[GIT PULL] ext4 bugfix for 4.5

2016-03-09 Thread Theodore Ts'o
The following changes since commit 1e9d180ba39f42e8ca4a808baef3a3ef034b1c2c: ext2, ext4: fix issue with missing journal entry in ext4_dax_mkwrite() (2016-02-27 14:01:16 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for

Re: [PATCH 01/13] hwmon: convert lm75 to use devm_thermal_zone_of_sensor_register

2016-03-09 Thread Guenter Roeck
On 03/09/2016 01:35 PM, Eduardo Valentin wrote: This changes the driver to use the devm_ version of thermal_zone_of_sensor_register and cleans up the local points and unregister calls. Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off

[v2]serial_core:recognize invalid pointer from userspace

2016-03-09 Thread Jiang Lu
Hi, [v1 -> v2] Fix a compile warning with data convert. [v1 log] When running setserial, application issue a TIOCGSERIAL iotcl to get serial setting, then update serial setting with TIOCSSERIAL ioctl. It always failed with TIOCSSERIAL ioctl, for application pass 0x for iomem_base i

[v2] serial_core:recognize invalid pointer from userspace

2016-03-09 Thread Jiang Lu
compat_ioctl use 0x as a magic number to mark invalid pointer for iomem_base in serial_struct when truncating a 64bit pointer into 32bit. Serial driver need recognize this invalid pointer when parsing serial_struct from userspace. Signed-off-by: Jiang Lu --- drivers/tty/serial/serial_co

Re: [PATCH] regulator: gpio: check return value of of_get_named_gpio

2016-03-09 Thread Mark Brown
On Wed, Mar 09, 2016 at 05:50:42AM -0800, Mihai Mihalache wrote: > config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0); > + if(IS_ERR_VALUE(config->enable_gpio)) > + return ERR_PTR(config->enable_gpio); Please follow the kernel coding style - if(. signature.asc D

  1   2   3   4   5   6   7   8   9   10   >