Re: [tpmdd-devel] [PATCH 2/2] tpm: add sleep only for retry in i2c_nuvoton_write_status()

2017-03-13 Thread Mimi Zohar
Hi Jarkko, On Fri, 2017-03-10 at 13:45 -0500, Nayna Jain wrote: > Currently, there is an unnecessary 1 msec delay added in > i2c_nuvoton_write_status() for the successful case. This > function is called multiple times during send() and recv(), > which implies adding multiple extra delays for ever

Re: [PATCH net-next v2 12/17] net: dsa: add dsa_is_normal_port helper

2017-03-13 Thread Vivien Didelot
Hi Florian, Florian Fainelli writes: > Le 03/11/17 à 13:12, Vivien Didelot a écrit : >> Introduce a dsa_is_normal_port helper to check if a given port is a >> normal user port as opposed to a CPU port or DSA link. > > net/dsa/dsa2.c uses the "user" terminology should we use something like > that

Re: [PATCH] perf report: show sort_order in title

2017-03-13 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 13, 2017 at 11:47:14AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Mar 13, 2017 at 04:36:35PM +0800, changbin...@intel.com escreveu: > > From: Changbin Du > > > > In the report, how does the data sort is a important info for > > analyser. Moreover, perf sometimes insert or app

x86/tsc: Fix ART for TSC_KNOWN_FREQ

2017-03-13 Thread Peter Zijlstra
Subhransu reported that convert_art_to_tsc() isn't working for him. It turns out that because of commit: 57779dc2b3b7 ("x86, tsc: Skip refined tsc calibration on systems with reliable TSC") Systems with TSC_KNOWN_FREQ (due to having CPUID.15h) will not run the refined calibration thing, and

Re: WTH is going on with memory hotplug sysf interface (was: Re: [RFC PATCH] mm, hotplug: get rid of auto_online_blocks)

2017-03-13 Thread Reza Arbab
On Mon, Mar 13, 2017 at 10:21:45AM +0100, Michal Hocko wrote: I agree with your general sentiment that this stuff is very nonintuitive. My criterion for nonintuitive is probably different because I would call this _completely_unusable_. Sorry for being so loud about this but the more I look i

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-03-13 Thread fangying
Hi, Huang Kai After weeks of intensive testing, we think the problem is solved and this issue can be closed. On 2017/2/27 15:38, Huang, Kai wrote: On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On

Re: [PATCH net-next 04/14] net: dsa: mv88e6xxx: rework ATU Load/Purge

2017-03-13 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > It does result in more patches, more to review, but it is much easier > to review, because it should be obviously correct. The overall lines > of code at the end is the same. So overall there is no harm is having > lots of small patches. Your concerns are dully

Re: [PATCH] tpm: Add sysfs interface to show TPM family version

2017-03-13 Thread Jarkko Sakkinen
On Mon, Mar 13, 2017 at 12:54:24PM +, Li, Meng wrote: > > > > -Original Message- > > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > > Sent: Monday, March 13, 2017 7:54 PM > > To: Li, Meng > > Cc: linux-kernel@vger.kernel.org; peterhu...@gmx.de; > > tp...@selhorst.net

Re: [PATCH] kasan: Add a prototype of task_struct to avoid warning

2017-03-13 Thread Andrey Ryabinin
On 03/13/2017 05:14 PM, Arnd Bergmann wrote: > From: Masami Hiramatsu > > Add a prototype of task_struct to fix below warning on arm64. > > In file included from arch/arm64/kernel/probes/kprobes.c:19:0: > include/linux/kasan.h:81:132: error: 'struct task_struct' declared inside > parameter li

Re: [PATCH] perf: fix typo in function switch_data_file

2017-03-13 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 13, 2017 at 07:46:52PM +0800, changbin...@intel.com escreveu: > From: Changbin Du > > Should clear buf abs_path, not options. Thanks, applied. - Arnaldo > Signed-off-by: Changbin Du > --- > tools/perf/ui/browsers/hists.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH 1/2] dt-bindings: Document the STM32 MDMA bindings

2017-03-13 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 MDMA controller. Signed-off-by: M'boumba Cedric Madianga Reviewed-by: Ludovic BARRE --- .../devicetree/bindings/dma/stm32-mdma.txt | 94 ++ 1 file changed, 94 insertions(+) create mode 100644 Docume

[PATCH 0/2] Add STM32 MDMA driver

2017-03-13 Thread M'boumba Cedric Madianga
This patchset adds support for the STM32 MDMA controller. The Master Direct memory access (MDMA) provides high-speed data transfer between memory and memory or between peripherals and memory. Contrary to STM32 DMA, the STM32 MDMA controller supports hardware LLI and uses a larger integrated FIFO (1

[PATCH 2/2] dmaengine: Add STM32 MDMA driver

2017-03-13 Thread M'boumba Cedric Madianga
This patch adds the driver for the STM32 MDMA controller. Signed-off-by: M'boumba Cedric Madianga Reviewed-by: Ludovic BARRE --- drivers/dma/Kconfig | 12 + drivers/dma/Makefile |1 + drivers/dma/stm32-mdma.c | 1570 ++ 3 files changed,

Re: [PATCH] mm: fix condition for throttle_direct_reclaim

2017-03-13 Thread Shakeel Butt
On Mon, Mar 13, 2017 at 2:02 AM, Michal Hocko wrote: > On Fri 10-03-17 11:46:20, Shakeel Butt wrote: >> Recently kswapd has been modified to give up after MAX_RECLAIM_RETRIES >> number of unsucessful iterations. Before going to sleep, kswapd thread >> will unconditionally wakeup all threads sleepi

Re: [OpenRISC] Build regressions/improvements in v4.11-rc2

2017-03-13 Thread Stafford Horne
On Mon, Mar 13, 2017 at 03:17:15PM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Mon, Mar 13, 2017 at 3:12 PM, Stafford Horne wrote: > > On Mon, Mar 13, 2017 at 11:15:23AM +0100, Geert Uytterhoeven wrote: > >> On Mon, Mar 13, 2017 at 9:43 AM, Geert Uytterhoeven > >> wrote: > >> > JFYI,

Re: [RFC PATCH] mm, hotplug: get rid of auto_online_blocks

2017-03-13 Thread Vitaly Kuznetsov
Michal Hocko writes: > On Mon 13-03-17 14:42:37, Vitaly Kuznetsov wrote: >> > >> > What is the API those guests ask for the memory? And who is actually >> > responsible to ask for that memory? Is it a kernel or userspace >> > solution? >> >> Whatever, this can even be a system administrator runn

Re: WTH is going on with memory hotplug sysf interface (was: Re: [RFC PATCH] mm, hotplug: get rid of auto_online_blocks)

2017-03-13 Thread Michal Hocko
Let's add Andi On Fri 10-03-17 16:53:33, Michal Hocko wrote: > On Fri 10-03-17 14:58:07, Michal Hocko wrote: > [...] > > This would explain why onlining from the last block actually works but > > to me this sounds like a completely crappy behavior. All we need to > > guarantee AFAICS is that Norma

Re: [PATCH -v5 14/14] futex: futex_unlock_pi() determinism

2017-03-13 Thread Peter Zijlstra
On Mon, Mar 13, 2017 at 03:25:52PM +0100, Thomas Gleixner wrote: > On Mon, 13 Mar 2017, Peter Zijlstra wrote: > > > On Tue, Mar 07, 2017 at 03:31:50PM +0100, Thomas Gleixner wrote: > > > On Sat, 4 Mar 2017, Peter Zijlstra wrote: > > > > > > > The problem with returning -EAGAIN when the waiter sta

[PATCH] s390/decompressor: fix initrd corruption caused by bss clear

2017-03-13 Thread Marcelo Henrique Cerri
Reorder the operations in decompress_kernel() to ensure initrd is moved to a safe location before the bss section is zeroed. During decompression bss can overlap with the initrd and this can corrupt the initrd contents depending on the size of the compressed kernel (which affects where the initrd

Re: [PATCH 0/7] Input: fix NULL-derefs at probe

2017-03-13 Thread Oliver Neukum
Am Montag, den 13.03.2017, 13:35 +0100 schrieb Johan Hovold: > This series fixes a number of NULL-pointer dereferences due to > missing > endpoint sanity checks that can be triggered by a malicious USB > device. >  At the risk of repeating myself, doesn't the sheer number of fixes demonstrate the n

Re: [PATCH v2] ARM: at91: Document new TCB bindings

2017-03-13 Thread Nicolas Ferre
Le 25/01/2017 à 16:11, Boris Brezillon a écrit : > Hi Rob, > > Sorry to revive this old discussion, but there's still one aspect I'm > not sure about. > > On Tue, 5 Jul 2016 10:40:22 -0500 > Rob Herring wrote: > > + - compatible: Should be "atmel,tcb-free-running-timer" > + - reg: S

Re: [PATCH v3 RFC] mm/vmscan: more restrictive condition for retry of shrink_zones

2017-03-13 Thread Shakeel Butt
On Mon, Mar 13, 2017 at 1:33 AM, Michal Hocko wrote: > Please do not post new version after a single feedback and try to wait > for more review to accumulate. This is in the 3rd version and it is not > clear why it is still an RFC. > > On Sun 12-03-17 19:06:10, Yisheng Xie wrote: >> From: Yisheng

Re: [PATCH] net: usb: rtl8150: use new api ethtool_{get|set}_link_ksettings

2017-03-13 Thread Petko Manolov
On 17-03-12 23:16:25, Philippe Reynes wrote: > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > As I don't have the hardware, I'd be very pleased if someone may test this > patch. I've got some old adapters around and will drop you

Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson
On Mon, Mar 13, 2017 at 8:55 AM, Ilia Mirkin wrote: > On Mon, Mar 13, 2017 at 8:36 AM, Jiri Slaby wrote: >> On 03/12/2017, 09:11 PM, Ilia Mirkin wrote: >>> The link shows v4.10.1 for me and says that the v4.10.2 tag is >>> unknown. Fetching from >>> git://git.kernel.org/pub/scm/linux/kernel/git/s

Re: [PATCHv2 4/5] mfd: altr_a10sr: Add Arria10 DevKit Reset Controller

2017-03-13 Thread Thor Thayer
On 03/13/2017 09:42 AM, Philipp Zabel wrote: On Thu, 2017-03-09 at 10:03 -0600, Thor Thayer wrote: Hi Lee, On 02/28/2017 08:42 AM, Philipp Zabel wrote: On Wed, 2017-02-22 at 11:10 -0600, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add Peripheral PHY Reset Controller to the Arria10

Re: [RFC] Add option to mount only a pids subset

2017-03-13 Thread Andy Lutomirski
On Mon, Mar 13, 2017 at 6:27 AM, Al Viro wrote: > On Sun, Mar 12, 2017 at 08:19:33PM -0700, Andy Lutomirski wrote: >> On Sat, Mar 11, 2017 at 6:13 PM, Al Viro wrote: >> > PS: AFAICS, simple mount --bind of your pid-only mount will suddenly >> > expose the full thing. And as for the lifetimes mak

Re: [PATCH] s390/decompressor: fix initrd corruption caused by bss clear

2017-03-13 Thread Heiko Carstens
On Mon, Mar 13, 2017 at 12:14:58PM -0300, Marcelo Henrique Cerri wrote: > Reorder the operations in decompress_kernel() to ensure initrd is moved > to a safe location before the bss section is zeroed. > > During decompression bss can overlap with the initrd and this can > corrupt the initrd conten

Re: [PATCHv6 4/5] x86/mm: check in_compat_syscall() instead TIF_ADDR32 for mmap(MAP_32BIT)

2017-03-13 Thread Andy Lutomirski
On Mon, Mar 13, 2017 at 6:47 AM, Thomas Gleixner wrote: > On Mon, 13 Mar 2017, Dmitry Safonov wrote: >> On 03/13/2017 12:39 PM, Thomas Gleixner wrote: >> > On Mon, 6 Mar 2017, Dmitry Safonov wrote: >> > >> > > Result of mmap() calls with MAP_32BIT flag at this moment depends >> > > on thread flag

Re: [PATCH] clockevents: Retry programming min delta up to 10 times

2017-03-13 Thread James Hogan
Hi, On Fri, Apr 22, 2016 at 11:40:11AM +0100, James Hogan wrote: > Under virtualisation it is possible to get unexpected latency during a > clockevent device's set_next_event() callback which can make it return > -ETIME even for a delta based on min_delta_ns. > > The clockevents_program_min_delta

Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson
On Mon, Mar 13, 2017 at 10:23 AM, Robert Nelson wrote: > On Mon, Mar 13, 2017 at 8:55 AM, Ilia Mirkin wrote: >> On Mon, Mar 13, 2017 at 8:36 AM, Jiri Slaby wrote: >>> On 03/12/2017, 09:11 PM, Ilia Mirkin wrote: The link shows v4.10.1 for me and says that the v4.10.2 tag is unknown. Fet

[PATCH v3 1/2] can: holt_hi311x: document device tree bindings

2017-03-13 Thread Akshay Bhat
Document the HOLT HI-311x CAN device tree bindings. Signed-off-by: Akshay Bhat Acked-by: Rob Herring --- v2 -> v3: - No changes .../devicetree/bindings/net/can/holt_hi311x.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v3 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-13 Thread Akshay Bhat
This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x interfaces with the host over SPI. Datasheet: www.holtic.com/documents/371-hi-3110_v-rev-jpdf.do

[PATCH v2] staging: adis16060_core: Use private driver lock instead of mlock

2017-03-13 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices g

Re: Linux 4.10.2

2017-03-13 Thread Konstantin Ryabitsev
On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: rcnee@debian:~$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Cloning into 'linux'... remote: Counting objects: 5266818, done. remote: Compressing objects: 100% (803214/803214), done. remote: Total 5266818

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-13 Thread Akshay Bhat
Hi Wolfgang, On 03/09/2017 12:36 PM, Wolfgang Grandegger wrote: > Hello, > > doing a quick review... I realized a few issues... > > Am 17.01.2017 um 20:22 schrieb Akshay Bhat: >> +static u8 hi3110_read(struct spi_device *spi, u8 command) >> +{ >> +struct hi3110_priv *priv = spi_get_drvdata(s

Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson
On Mon, Mar 13, 2017 at 10:35 AM, Konstantin Ryabitsev wrote: > On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: >> >> rcnee@debian:~$ git clone >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> Cloning into 'linux'... >> remote: Counting objects: 5266818, done.

Re: [PATCH] staging: atomisp: use k{v}zalloc instead of k{v}alloc and memset

2017-03-13 Thread DaeSeok Youn
2017-03-13 23:07 GMT+09:00 DaeSeok Youn : > 2017-03-13 20:51 GMT+09:00 Dan Carpenter : >> On Mon, Mar 13, 2017 at 07:54:21PM +0900, Daeseok Youn wrote: >>> If the atomisp_kernel_zalloc() has "true" as a second parameter, it >>> tries to allocate zeroing memory from kmalloc(vmalloc) and memset. >>>

Re: Linux 4.10.2

2017-03-13 Thread Ilia Mirkin
On Mon, Mar 13, 2017 at 11:38 AM, Robert Nelson wrote: > On Mon, Mar 13, 2017 at 10:35 AM, Konstantin Ryabitsev > wrote: >> On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: >>> >>> rcnee@debian:~$ git clone >>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> Clo

[Kernel.org Helpdesk #38150] [linuxfoundation.org #38150] Re: Linux 4.10.2

2017-03-13 Thread imir...@alum.mit.edu via RT
On Mon, Mar 13, 2017 at 11:38 AM, Robert Nelson wrote: > On Mon, Mar 13, 2017 at 10:35 AM, Konstantin Ryabitsev > wrote: >> On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: >>> >>> rcnee@debian:~$ git clone >>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> Clo

[Kernel.org Helpdesk #38150] [linuxfoundation.org #38150] Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson via RT
On Mon, Mar 13, 2017 at 10:35 AM, Konstantin Ryabitsev wrote: > On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: >> >> rcnee@debian:~$ git clone >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> Cloning into 'linux'... >> remote: Counting objects: 5266818, done.

[Kernel.org Helpdesk #38150] [linuxfoundation.org #38150] Re: Linux 4.10.2

2017-03-13 Thread Konstantin Ryabitsev via RT
On Mon, Mar 13, 2017 at 10:32:59AM -0500, Robert Nelson wrote: >rcnee@debian:~$ git clone >git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >Cloning into 'linux'... >remote: Counting objects: 5266818, done. >remote: Compressing objects: 100% (803214/803214), done. >remote: Total 526

Re: [PATCH 0/7] Input: fix NULL-derefs at probe

2017-03-13 Thread Johan Hovold
On Mon, Mar 13, 2017 at 04:15:18PM +0100, Oliver Neukum wrote: > Am Montag, den 13.03.2017, 13:35 +0100 schrieb Johan Hovold: > > This series fixes a number of NULL-pointer dereferences due to > > missing > > endpoint sanity checks that can be triggered by a malicious USB > > device. > > At the ris

[PATCH v4 00/11] mm: page migration enhancement for thp

2017-03-13 Thread Zi Yan
From: Zi Yan Hi all, The patches are rebased on mmotm-2017-03-09-16-19 with the feedbacks from v3 patches. Please give comments and consider merging it. Hi Kirill, could you take a look at [05/11], which uses and modifies your page_vma_mapped_walk()? Motivations ==

[PATCH v4 01/11] mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi pmd_present() checks _PAGE_PSE along with _PAGE_PRESENT to avoid false negative return when it races with thp spilt (during which _PAGE_PRESENT is temporary cleared.) I don't think that dropping _PAGE_PSE check in pmd_present() works well because it can hurt optimization of

[PATCH v4 02/11] mm: mempolicy: add queue_pages_node_check()

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi Introduce a separate check routine related to MPOL_MF_INVERT flag. This patch just does cleanup, no behavioral change. Signed-off-by: Naoya Horiguchi --- mm/mempolicy.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mm/mempolicy.c b/

[PATCH v4 03/11] mm: thp: introduce separate TTU flag for thp freezing

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi TTU_MIGRATION is used to convert pte into migration entry until thp split completes. This behavior conflicts with thp migration added later patches, so let's introduce a new TTU flag specifically for freezing. try_to_unmap() is used both for thp split (via freeze_page()) an

Re: [PATCH] kvm: better MWAIT emulation for guests

2017-03-13 Thread Radim Krčmář
2017-03-10 00:29+0200, Michael S. Tsirkin: > Some guests call mwait without checking the cpu flags. We currently > emulate that as a NOP but on VMX we can do better: let guest stop the > CPU until timer or IPI. CPU will be busy but that isn't any worse than > a NOP emulation. > > Note that mwait

[PATCH v4 07/11] mm: soft-dirty: keep soft-dirty bits over thp migration

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi Soft dirty bit is designed to keep tracked over page migration. This patch makes it work in the same manner for thp migration too. Signed-off-by: Naoya Horiguchi --- ChangeLog v1 -> v2: - separate diff moving _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1 - clear_soft_dirty_pmd

Re: [PATCH] mm: fix condition for throttle_direct_reclaim

2017-03-13 Thread Michal Hocko
On Mon 13-03-17 08:07:15, Shakeel Butt wrote: > On Mon, Mar 13, 2017 at 2:02 AM, Michal Hocko wrote: > > On Fri 10-03-17 11:46:20, Shakeel Butt wrote: > >> Recently kswapd has been modified to give up after MAX_RECLAIM_RETRIES > >> number of unsucessful iterations. Before going to sleep, kswapd th

[PATCH v4 09/11] mm: mempolicy: mbind and migrate_pages support thp migration

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for mbind(2) and migrate_pages(2). Signed-off-by: Naoya Horiguchi --- ChangeLog v1 -> v2: - support pte-mapped and doubly-mapped thp --- mm/mempolicy.c | 108 + 1 file changed, 79 ins

[PATCH v4 05/11] mm: thp: enable thp migration in generic path

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi This patch adds thp migration's core code, including conversions between a PMD entry and a swap entry, setting PMD migration entry, removing PMD migration entry, and waiting on PMD migration entries. This patch makes it possible to support thp migration. If you fail to allo

[PATCH v4 10/11] mm: migrate: move_pages() supports thp migration

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for move_pages(2). Signed-off-by: Naoya Horiguchi --- mm/migrate.c | 37 - 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index 0bbad6dcf95a..0f9a97c76298 1006

[PATCH v4 06/11] mm: thp: check pmd migration entry in common path

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi If one of callers of page migration starts to handle thp, memory management code start to see pmd migration entry, so we need to prepare for it before enabling. This patch changes various code point which checks the status of given pmds in order to prevent race between thp m

[PATCH v4 11/11] mm: memory_hotplug: memory hotremove supports thp migration

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for memory hotremove. Signed-off-by: Naoya Horiguchi --- ChangeLog v1->v2: - base code switched from alloc_migrate_target to new_node_page() --- include/linux/huge_mm.h | 8 mm/memory_hotplug.c | 17 ++--- 2 files

[PATCH v4 08/11] mm: hwpoison: soft offline supports thp migration

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for soft offline. Signed-off-by: Naoya Horiguchi --- mm/memory-failure.c | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index b78d08016254..4c

[PATCH v4 04/11] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION

2017-03-13 Thread Zi Yan
From: Naoya Horiguchi Introduces CONFIG_ARCH_ENABLE_THP_MIGRATION to limit thp migration functionality to x86_64, which should be safer at the first step. Signed-off-by: Naoya Horiguchi --- v1 -> v2: - fixed config name in subject and patch description --- arch/x86/Kconfig| 4 in

Re: [PATCH v3 RFC] mm/vmscan: more restrictive condition for retry of shrink_zones

2017-03-13 Thread Michal Hocko
On Mon 13-03-17 08:17:56, Shakeel Butt wrote: > On Mon, Mar 13, 2017 at 1:33 AM, Michal Hocko wrote: > > Please do not post new version after a single feedback and try to wait > > for more review to accumulate. This is in the 3rd version and it is not > > clear why it is still an RFC. > > > > On S

Fwd: stable build: 111 builds: 2 failed, 109 passed, 1 error, 29 warnings (v4.10.2)

2017-03-13 Thread Arnd Bergmann
On Sun, Mar 12, 2017 at 10:44 AM, kernelci.org bot wrote: > Build Failures Detected: All but two failures have been fixed, nice! > x86: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) > allmodconfig+CONFIG_OF=n FAIL Not sure what's going on here, I've seen this failure a few times on

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-13 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > And it does pass light testing. I will hammer it harder this evening. > > > > So please send a formal patch! > > Changed it a bit... > > --- > Subject: sched/c

Re: Linux 4.11-rc2

2017-03-13 Thread Linus Torvalds
On Mon, Mar 13, 2017 at 6:19 AM, Josh Boyer wrote: > > I thought it might just be me, but at least one other person doesn't > see the v4.11-rc2 tag in git yet. The patch is on kernel.org though, > so it's confusing. Did you forget to push it out? It's definitely there, but it might have taken a

Re: arch/x86/include/asm/pgtable.h:888:2: error: implicit declaration of function 'native_pud_clear'

2017-03-13 Thread Dave Jiang
Fengguang, I don't believe Andrew has picked up this patch yet: http://marc.info/?l=linux-mm&m=148883870428812&w=2 Unless you are seeing issues with that patch. On 03/11/2017 03:55 PM, kbuild test robot wrote: > Hi Matthew, > > FYI, the error/warning still remains. > > tree: https://git.kerne

Re: [PATCH v2 0/2] fujitsu-laptop: acpi_fujitsu_bl_notify() cleanup

2017-03-13 Thread Andy Shevchenko
On Mon, Mar 6, 2017 at 12:57 AM, Jonathan Woithe wrote: > On Wed, Mar 01, 2017 at 07:42:52AM +0100, Micha?? K??pie?? wrote: >> Here are two minor cleanups for acpi_fujitsu_bl_notify() that I came up >> with while preparing the sparse keymap migration. >> >> Changes from v1: >> >> - Rebase on top

Re: [PATCH] PM / QOS: Remove the global notifiers

2017-03-13 Thread Ulf Hansson
On 22 February 2017 at 09:28, Viresh Kumar wrote: > They were never used in the kernel, not sure why they got merged into > the kernel though. Get rid of them. commit b66213cdb002b08b29603d488c451dfe25e2ca20 Author: Jean Pihet Date: Thu Aug 25 15:35:47 2011 +0200 PM QoS: Add global notifi

Re: Linux 4.10.2

2017-03-13 Thread Konstantin Ryabitsev
On Mon, Mar 13, 2017 at 11:44:18AM -0400, Ilia Mirkin wrote: rcnee@debian:~/linux$ host git.kernel.org git.kernel.org is an alias for pub.kernel.org. pub.kernel.org is an alias for pub.ewr.kernel.org. pub.ewr.kernel.org has address 147.75.196.57 pub.ewr.kernel.org has IPv6 address 2604:1380:1:360

[Kernel.org Helpdesk #38150] [linuxfoundation.org #38150] Re: Linux 4.10.2

2017-03-13 Thread Konstantin Ryabitsev via RT
On Mon, Mar 13, 2017 at 11:44:18AM -0400, Ilia Mirkin wrote: >> rcnee@debian:~/linux$ host git.kernel.org >> git.kernel.org is an alias for pub.kernel.org. >> pub.kernel.org is an alias for pub.ewr.kernel.org. >> pub.ewr.kernel.org has address 147.75.196.57 >> pub.ewr.kernel.org has IPv6 address 26

Re: [PATCH] PM / QOS: Remove the global notifiers

2017-03-13 Thread Ulf Hansson
On 13 March 2017 at 17:01, Ulf Hansson wrote: > On 22 February 2017 at 09:28, Viresh Kumar wrote: >> They were never used in the kernel, not sure why they got merged into >> the kernel though. Get rid of them. > > commit b66213cdb002b08b29603d488c451dfe25e2ca20 > Author: Jean Pihet > Date: Thu

Re: [PATCH] eeepc-laptop: Skip unknown key messages 0x50 0x51

2017-03-13 Thread Andy Shevchenko
On Tue, Mar 7, 2017 at 9:27 PM, Dmitry Torokhov wrote: > On Fri, Feb 24, 2017 at 02:01:30PM +0100, Pau Espin Pedrol wrote: >> >> Dmitry, do we have special events for AC (un)plug? What is the best >> >> approach in your opinion? >> > >> > Not route them through input as they not input events would

Re: Linux 4.11-rc2

2017-03-13 Thread Josh Boyer
On Mon, Mar 13, 2017 at 11:57 AM, Linus Torvalds wrote: > On Mon, Mar 13, 2017 at 6:19 AM, Josh Boyer wrote: >> >> I thought it might just be me, but at least one other person doesn't >> see the v4.11-rc2 tag in git yet. The patch is on kernel.org though, >> so it's confusing. Did you forget to

[Kernel.org Helpdesk #38150] [linuxfoundation.org #38150] Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson via RT
On Mon, Mar 13, 2017 at 11:03 AM, Konstantin Ryabitsev wrote: > On Mon, Mar 13, 2017 at 11:44:18AM -0400, Ilia Mirkin wrote: >>> >>> rcnee@debian:~/linux$ host git.kernel.org >>> git.kernel.org is an alias for pub.kernel.org. >>> pub.kernel.org is an alias for pub.ewr.kernel.org. >>> pub.ewr.kerne

Re: Linux 4.10.2

2017-03-13 Thread Robert Nelson
On Mon, Mar 13, 2017 at 11:03 AM, Konstantin Ryabitsev wrote: > On Mon, Mar 13, 2017 at 11:44:18AM -0400, Ilia Mirkin wrote: >>> >>> rcnee@debian:~/linux$ host git.kernel.org >>> git.kernel.org is an alias for pub.kernel.org. >>> pub.kernel.org is an alias for pub.ewr.kernel.org. >>> pub.ewr.kerne

Re: [PATCH v4 0/4] fujitsu_init() cleanup

2017-03-13 Thread Andy Shevchenko
On Fri, Mar 10, 2017 at 1:02 PM, Jonathan Woithe wrote: > On Fri, Mar 10, 2017 at 11:50:32AM +0100, Micha?? K??pie?? wrote: >> These patches should make fujitsu_init() a bit more palatable. No >> changes are made to platform device code yet, for clarity these will be >> posted in a separate serie

[RESEND PATCH] Bluetooth: btqcomsmd: fix compile-test dependency

2017-03-13 Thread Arnd Bergmann
compile-testing fails when QCOM_SMD is a loadable module: drivers/bluetooth/built-in.o: In function `btqcomsmd_send': btqca.c:(.text+0xa8): undefined reference to `qcom_smd_send' drivers/bluetooth/built-in.o: In function `btqcomsmd_probe': btqca.c:(.text+0x3ec): undefined reference to `qcom_wcnss_

Re: [PATCH] kvm: better MWAIT emulation for guests

2017-03-13 Thread Michael S. Tsirkin
On Mon, Mar 13, 2017 at 04:46:20PM +0100, Radim Krčmář wrote: > 2017-03-10 00:29+0200, Michael S. Tsirkin: > > Some guests call mwait without checking the cpu flags. We currently > > emulate that as a NOP but on VMX we can do better: let guest stop the > > CPU until timer or IPI. CPU will be busy

[PATCH net-next 0/4] net-next: dsa: add Mediatek MT7530 support

2017-03-13 Thread sean.wang
From: Sean Wang MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on Mediatek router platforms such as MT7623A or MT7623N which includes 7-port Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY. Among these ports, The port from 0 to 4 are the user ports connecting with the remote

Re: perf: Improve support for uncore JSON event lists

2017-03-13 Thread Andi Kleen
> > Available from > > > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git > > perf/builtin-json-29 > > hi, > I can't see the branch.. It's there https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git/log/?h=perf/builtin-json-29 -Andi > > [jolsa@krava perf]$ git r

[PATCH net-next 3/4] net-next: ethernet: mediatek: add CDM able to recognize the tag for DSA

2017-03-13 Thread sean.wang
From: Sean Wang Allowing CDM can recognize these packets with carrying port-distinguishing tag when CONFIG_NET_DSA_TAG_MTK is enabled. Otherwise, these packets will be dropped by CDM ingress. Signed-off-by: Sean Wang Signed-off-by: Landen Chao --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |

[PATCH net-next 1/4] dt-bindings: net: dsa: add Mediatek MT7530 binding

2017-03-13 Thread sean.wang
From: Sean Wang Add device-tree binding for Mediatek MT7530 switch. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang --- .../devicetree/bindings/net/dsa/mt7530.txt | 94 ++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings

Re: [PATCH 00/14] platform/x86: remove sparse_keymap_free() calls

2017-03-13 Thread Andy Shevchenko
On Thu, Mar 9, 2017 at 2:11 PM, Michał Kępień wrote: > Hi everyone, > > This patch series removes all uses of sparse_keymap_free() in the x86 > platform driver subsystem due to an upcoming change in > sparse_keymap_setup() behavior wrt memory management. Specifically, > sparse_keymap_setup() will

[PATCH net-next 2/4] net-next: dsa: add Mediatek tag RX/TX handler

2017-03-13 Thread sean.wang
From: Sean Wang Add the support for the 4-bytes tag for DSA port distinguishing inserted allowing receiving and transmitting the packet via the particular port. The tag is being added after the source MAC address in the ethernet header. Signed-off-by: Sean Wang Signed-off-by: Landen Chao ---

[PATCH net-next 4/4] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-13 Thread sean.wang
From: Sean Wang MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on Mediatek router platforms such as MT7623A or MT7623N platform which includes 7-port Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY. Among these ports, The port from 0 to 4 are the user ports connecting with t

Re: Linux 4.11-rc2

2017-03-13 Thread Linus Torvalds
On Mon, Mar 13, 2017 at 9:05 AM, Josh Boyer wrote: > > Yes. A git pull just grabbed it for me. The 'view diff' link on > kernel.org still fails with bad object, but I'm guessing that will > catch up at some point too. Hmm. I pushed those before the announcement, so over 18 hours ago by now. If

Re: perf: Improve support for uncore JSON event lists

2017-03-13 Thread Jiri Olsa
On Mon, Mar 13, 2017 at 09:11:42AM -0700, Andi Kleen wrote: > > > Available from > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git > > > perf/builtin-json-29 > > > > hi, > > I can't see the branch.. > > It's there > > https://git.kernel.org/pub/scm/linux/kernel/git/ak

Re: [PATCH] platform/x86: intel-hid: do not set parents of input devices explicitly

2017-03-13 Thread Andy Shevchenko
On Mon, Mar 13, 2017 at 12:37 PM, Alex Hung wrote: > On 2017-03-09 05:36 PM, Michał Kępień wrote: >> >> devm_input_allocate_device() already causes the supplied struct device >> to be set as the parent of the input device, so doing it again is >> redundant. >> >> Signed-off-by: Michał Kępień Pus

Re: [PATCH v5] blkcg: allocate struct blkcg_gq outside request queue spinlock

2017-03-13 Thread Tahsin Erdogan
>> Do you mean, you prefer the approach that was taken in v1 patch or >> something else? > > I can no longer find v1 of the patch, just v2 and on. Can you send a > link to it? https://lkml.org/lkml/2017/2/28/8

[PATCH v2 1/4] staging: sm750fb: function prototype argument should have an identifier name

2017-03-13 Thread Arushi Singhal
function prototype arguments like 'struct vb_device_info *','unsigned long' etc. should have an identifier name. Signed-off-by: Arushi Singhal --- changes in v2 - add the identifier name of one more prototype arguments. drivers/staging/sm750fb/ddk750_display.h | 2 +- drivers/staging/sm750fb/

[PATCH v2 4/4] staging: sm750fb: Remove typedefs

2017-03-13 Thread Arushi Singhal
This patch removes typedefs from structures and renames them as per kernel coding standards. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- drivers/staging/sm750fb/ddk750_mode.h | 20 +--- drivers/staging/sm750fb/sm750_hw.c| 2 +- 3 file

[PATCH v2 2/4] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations

2017-03-13 Thread Arushi Singhal
This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/sm750_cursor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/sm750fb/sm750_cursor.

[PATCH v2 0/4] fix multiple checkpatch warnings

2017-03-13 Thread Arushi Singhal
Fix multiple code styling warnings issued by checkpatch on files in sm750fb driver Arushi Singhal (4): staging: sm750fb: function prototype argument should have an identifier name staging: sm750fb: fixes add blank line after function/struct/union/enum declarations staging: sm750fb:

Re: [PATCH 2/2] fpga: Add support for Xilinx LogiCORE PR Decoupler

2017-03-13 Thread Moritz Fischer
On Mon, Mar 13, 2017 at 3:27 AM, Michal Simek wrote: > Hi Moritz, > > On 10.3.2017 23:42, Moritz Fischer wrote: >> On Fri, Mar 10, 2017 at 1:30 PM, Moritz Fischer wrote: >>> This adds support for the Xilinx LogiCORE PR Decoupler >>> soft-ip that does decoupling of PR regions in the FPGA >>> fabri

[PATCH v2] kvm: better MWAIT emulation for guests

2017-03-13 Thread Michael S. Tsirkin
Guests running Mac OS 5, 6, and 7 (Leopard through Lion) have a problem: unless explicitly provided with kernel command line argument "idlehalt=0" they'd implicitly assume MONITOR and MWAIT availability, without checking CPUID. We currently emulate that as a NOP but on VMX we can do better: let gu

[PATCH v2 3/4] staging: sm750fb: Alignment should match open parenthesis

2017-03-13 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_mode.c | 79 +-- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/driv

Re: [PATCH] clk: sunxi: ccu-sun5i needs nkmp

2017-03-13 Thread Arnd Bergmann
On Thu, Feb 16, 2017 at 6:53 PM, Maxime Ripard wrote: > On Tue, Feb 14, 2017 at 10:29:45PM +0100, Arnd Bergmann wrote: >> A randconfig build ran into this rare link error: >> >> drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined >> reference to `ccu_nkmp_ops' >> drivers/

[PATCH v2] staging: iio: ade7753: replace mlock with driver private lock

2017-03-13 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices g

Re: [PATCH net-next 3/4] net-next: ethernet: mediatek: add CDM able to recognize the tag for DSA

2017-03-13 Thread Andrew Lunn
On Tue, Mar 14, 2017 at 12:11:27AM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Allowing CDM can recognize these packets with carrying port-distinguishing > tag when CONFIG_NET_DSA_TAG_MTK is enabled. Otherwise, these packets will > be dropped by CDM ingress. > > Signed-off-by: Sea

Re: [PATCH net-next 2/4] net-next: dsa: add Mediatek tag RX/TX handler

2017-03-13 Thread Andrew Lunn
On Tue, Mar 14, 2017 at 12:11:26AM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add the support for the 4-bytes tag for DSA port distinguishing inserted > allowing receiving and transmitting the packet via the particular port. > The tag is being added after the source MAC address in

Re: [v3 3/5] coresight: add support for debug module

2017-03-13 Thread Mathieu Poirier
On Fri, Mar 10, 2017 at 01:59:15AM +0800, Leo Yan wrote: > Hi Suziku, > > Thanks for reviewing, please see some replying. > > On Thu, Mar 09, 2017 at 04:53:05PM +, Suzuki K Poulose wrote: > > On 03/03/17 06:00, Leo Yan wrote: > > >Coresight includes debug module and usually the module connect

[RESEND PATCH] clk: sunxi: ccu-sun5i needs nkmp

2017-03-13 Thread Arnd Bergmann
A randconfig build ran into this rare link error: drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined reference to `ccu_nkmp_ops' drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): undefined reference to `ccu_nkmp_ops' This adds the missing 'select'. Fi

[PATCH] x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y

2017-03-13 Thread Andrey Ryabinin
The kernel doesn't boot with both PROFILE_ANNOTATED_BRANCHES=y and KASAN=y options selected. With branch profiling enabled we end up calling ftrace_likely_update() before kasan_early_init(). ftrace_likely_update() built with KASAN instrumentation, so calling it before kasan has been initialized lea

Re: [PATCH v2] audit: log module name on delete_module

2017-03-13 Thread Jessica Yu
+++ Paul Moore [13/03/17 10:16 -0400]: On Sat, Mar 11, 2017 at 9:24 PM, Richard Guy Briggs wrote: When a sysadmin wishes to monitor module unloading with a syscall rule such as: -a always,exit -F arch=x86_64 -S delete_module -F key=mod-unload the SYSCALL record doesn't tell us what module was

[PATCH v7 6/9] media: venus: venc: add video encoder files

2017-03-13 Thread Stanimir Varbanov
This adds encoder part of the driver plus encoder controls. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/venc.c | 1231 drivers/media/platform/qcom/venus/venc.h | 23 + drivers/media/platform/qcom/venus/venc_ctrls.c | 258 + 3

<    2   3   4   5   6   7   8   9   10   11   >