Re: [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver

2017-02-10 Thread Maxime Ripard
On Wed, Feb 08, 2017 at 11:08:45PM +0100, Rask Ingemann Lambertsen wrote: > Enable the AC100 RTC driver so boards with it can keep track of time. > > Signed-off-by: Rask Ingemann Lambertsen Queued for 4.12. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering

Re: [PATCH -next] x86/intel_rdt: Remove duplicated include from intel_rdt_rdtgroup.c

2017-02-10 Thread Ingo Molnar
* Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun > --- > arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c > b/arch/x86/kernel/cpu/intel_rdt_rdtgro

Re: [PATCH] x86, perf: Add Top Down events to Intel Goldmont

2017-02-10 Thread Ingo Molnar
* kan.li...@intel.com wrote: > From: Kan Liang > > Goldmont supports full Top Down level 1 metrics (FrontendBound, > Retiring, Backend Bound and Bad Speculation). > It has 3 wide pipeline. > > Signed-off-by: Kan Liang > --- > arch/x86/events/intel/core.c | 26 ++ > 1

Re: [RFC] 3.10 kernel- oom with about 24G free memory

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 16:48:58, Yisheng Xie wrote: > Hi Michal, > > Thanks for comment! > On 2017/2/10 15:09, Michal Hocko wrote: > > On Fri 10-02-17 09:13:58, Yisheng Xie wrote: > >> hi Michal, > >> Thanks for your comment. > >> > >> On 2017/2/9 21:41, Michal Hocko wrote: [...] > OK, so this is a

[PATCH 1/1] net: ethernet: intel: e1000: msleep() is unreliable for anything <20ms

2017-02-10 Thread Saber Rezvani
Fix the checkpatch.pl issue: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Saber Rezvani --- drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/n

[PATCH 2/4] arm64: dts: rockchip: add rockchip,uphy-dp-sel for Type-C phy

2017-02-10 Thread Chris Zhong
rockchip,uphy-dp-sel is the register of type-c phy enable DP function. Signed-off-by: Chris Zhong --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 8e6d1bd

Re: [RFC] 3.10 kernel- oom with about 24G free memory

2017-02-10 Thread Yisheng Xie
Hi Michal, Thanks for comment! On 2017/2/10 15:09, Michal Hocko wrote: > On Fri 10-02-17 09:13:58, Yisheng Xie wrote: >> hi Michal, >> Thanks for your comment. >> >> On 2017/2/9 21:41, Michal Hocko wrote: >>> On Thu 09-02-17 14:26:28, Michal Hocko wrote: On Thu 09-02-17 20:54:49, Yisheng Xie

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-10 Thread Maxime Ripard
Hi, On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: > The Suncip CX-A99 board is found in at least four brands of media players. > It features an Allwinner A80 ARM SoC and is found in two models: > > 1) 2 GiB DDR3 DRAM and 16 GB eMMC > 2) 4 GiB DDR3 DRAM and 32 GB eMMC >

Re: [PATCH 0/6] in-kernel resource manager

2017-02-10 Thread Jarkko Sakkinen
On Wed, Feb 08, 2017 at 01:07:02PM +0200, Jarkko Sakkinen wrote: > This patch set adds support for TPM spaces that provide an isolated > for transient objects and HMAC and policy sessions. A space is swapped > into TPM volatile memory only when it is used and swapped out after > the use. > > There

[PATCH v3 2/4] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-02-10 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not s

[PATCH] MIPS: ralink: fix mt7628 alternative functions names

2017-02-10 Thread André Draszik
They're all referenced as utif in the datasheet, not util. Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support") Fixes: 2b436a351803 ("MIPS: ralink: add MT7628 EPHY LEDs pinmux support") Signed-off-by: André Draszik --- arch/mips/ralink/mt7620.c | 18 +- 1 file changed, 9 i

[PATCH v3 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-02-10 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

[PATCH v3 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-10 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH v3 1/4] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-02-10 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take dis

[PATCH v3 0/4] Broadcom SBA RAID support

2017-02-10 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one DMA

Re: [PATCH] MIPS: ralink: fix mt7628 alternative functions names

2017-02-10 Thread John Crispin
On 10/02/2017 10:06, André Draszik wrote: > They're all referenced as utif in the datasheet, not util. > > Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support") > Fixes: 2b436a351803 ("MIPS: ralink: add MT7628 EPHY LEDs pinmux support") > > Signed-off-by: André Draszik I was under the im

Re: [PATCHSET 0/4] perf diff: Introduce delta-abs compute method (v2)

2017-02-10 Thread Namhyung Kim
Hi Ingo, On Fri, Feb 10, 2017 at 08:41:11AM +0100, Ingo Molnar wrote: > > * Namhyung Kim wrote: > > > Hello, > > > > This patchset adds 'delta-abs' compute method to -c/--compute option. > > The 'delta-abs' is same as 'delta' but shows entries with bigger > > absolute delta first instead of so

Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 10:05:34, peter enderborg wrote: > On 02/10/2017 08:59 AM, Michal Hocko wrote: [...] > > The approach was wrong from the day 1. Abusing slab shrinkers > > is just a bad place to stick this logic. This all belongs to the > > userspace. > > But now it is there and we have to stick wit

Re: [GIT PULL] Immutable branch between MFD and Input due for the v4.11 merge window

2017-02-10 Thread Enric Balletbo i Serra
Lee, On 08/02/17 12:39, Lee Jones wrote: > Dmitry, > >> Lee, can you please take it as well? > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > are available in the git repository at: > > git://git.kernel.org

Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller

2017-02-10 Thread peter enderborg
On 02/10/2017 08:59 AM, Michal Hocko wrote: > On Fri 10-02-17 08:51:49, Greg KH wrote: >> On Fri, Feb 10, 2017 at 08:21:32AM +0100, peter enderborg wrote: > [...] >>> Until then we have to polish this version as good as we can. It is >>> essential for android as it is now. >> But if no one is willi

Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller

2017-02-10 Thread peter enderborg
On 02/10/2017 08:51 AM, Greg Kroah-Hartman wrote: > On Fri, Feb 10, 2017 at 08:21:32AM +0100, peter enderborg wrote: >> Im not speaking for google, but I think there is a work ongoing to >> replace this with user-space code. > Really? I have not heard this at all, any pointers to whom in Google is

Re: [PATCH 6/6] tpm2: add session handle context saving and restoring to the space code

2017-02-10 Thread Jarkko Sakkinen
On Wed, Feb 08, 2017 at 01:07:08PM +0200, Jarkko Sakkinen wrote: > + rc = tpm2_load_context(chip, space->session_buf, > +&offset, &handle); > + if (rc == -ENOENT) { > + /* load failed, just forget session */ > +

Re: [RFC] 3.10 kernel- oom with about 24G free memory

2017-02-10 Thread Yisheng Xie
Hi Michal, Thanks for comment! On 2017/2/10 16:52, Michal Hocko wrote: > On Fri 10-02-17 16:48:58, Yisheng Xie wrote: >> Hi Michal, >> >> Thanks for comment! >> On 2017/2/10 15:09, Michal Hocko wrote: >>> On Fri 10-02-17 09:13:58, Yisheng Xie wrote: hi Michal, Thanks for your comment. >>

Re: [RFC] 3.10 kernel- oom with about 24G free memory

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 17:15:59, Yisheng Xie wrote: > Hi Michal, > > Thanks for comment! > On 2017/2/10 16:52, Michal Hocko wrote: > > On Fri 10-02-17 16:48:58, Yisheng Xie wrote: > >> Hi Michal, > >> > >> Thanks for comment! > >> On 2017/2/10 15:09, Michal Hocko wrote: > >>> On Fri 10-02-17 09:13:58, Yi

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-10 Thread Chen-Yu Tsai
On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard wrote: > Hi, > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: >> The Suncip CX-A99 board is found in at least four brands of media players. >> It features an Allwinner A80 ARM SoC and is found in two models: >> >> 1) 2 GiB

Re: [PATCH 2/2 v5] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 14:15:20, vinayak menon wrote: > On Thu, Feb 9, 2017 at 5:50 PM, Michal Hocko wrote: [...] > > I have already said I will _not_ NAK the patch but we need a much better > > description and justification why the older behavior was better to > > consider this a regression before this

[PATCH] sched/deadline: Remove redundant code replenishing runtime

2017-02-10 Thread Byungchul Park
For a task passing its deadline while !rq, it will be replenished in the following path because dl_se->deadline < rq_lock. enqueue_dl_entity(ENQUEUE_WAKEUP) update_dl_entity Therefore, code replenishing it in the timer callback in the case is unnecessary. This is not for enhancing perfor

Re: [PATCH 4/4] [media] s5p-mfc: Always check and set 'v4l2_pix_format:field' field

2017-02-10 Thread kbuild test robot
-Use-576p-instead-720p-as-a-threshold-for-colorspaces/20170210-113658 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include

[PATCH 1/1] net: ethernet: intel: e1000: msleep() is unreliable for anything <20ms

2017-02-10 Thread Saber Rezvani
Fix the checkpatch.pl issue: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Saber Rezvani --- drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/n

Re: [PATCH] rtlbt: Add Realtek Bluetooth profiling support

2017-02-10 Thread Luiz Augusto von Dentz
Hi Larry, On Thu, Feb 9, 2017 at 8:23 PM, Larry Finger wrote: > From: Alex Lu > > Add the Realtek Bluetooth profile profiling support to create > profile information, which helps the firmware optimize transfer > priority and balance the transmissions for multiple profiles. This sounds overkill,

[PATCH 1/2] Staging: media: bcm2048: fixed 20+ warings/errors

2017-02-10 Thread Ran Algawi
Fixed a coding style issues, and two major erros about complex macros and an error where the driver used a decimal number insted of an octal number when using a warning. Signed-off-by: Ran Algawi --- drivers/staging/media/bcm2048/radio-bcm2048.c | 64 +-- 1 file changed,

[PATCH 0/4] ASoC: sun8i-codec: Clean-up

2017-02-10 Thread Mylène Josserand
Hi all, Thanks to Chen-Yu's review [1], here are some patches to clean-up my sun8i A33 audio driver. Patches tested on asoc/for-next branch with additionnal patches to apply before: https://patchwork.kernel.org/patch/9447631/ https://patchwork.kernel.org/patch/9423999/ https://patchwork.kernel.or

[PATCH 3/4] ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY

2017-02-10 Thread Mylène Josserand
SOC_MIXER_ARRAY is a simplified function of SND_SOC_DAPM_MIXER which handles automatically the ARRAY_SIZE of controls. Update the driver to use SOC_MIXER_ARRAY. Signed-off-by: Mylène Josserand --- sound/soc/sunxi/sun8i-codec.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) di

[Patch] Staging: media: bcm2048: fixed errors and warnings

2017-02-10 Thread Ran Algawi
>From 678cf1e0eb1d30537b228e25e38cd4f35c1501ee Mon Sep 17 00:00:00 2001 From: Ran Algawi Date: Fri, 10 Feb 2017 11:11:27 +0200 Subject: [PATCH 1/2] Staging: media: bcm2048: fixed 20+ warings/errors Fixed a coding style issues, and two major erros about complex macros and an error where the drive

[PATCH 1/4] ASoC: sun8i-codec: Remove analog "HP" widget

2017-02-10 Thread Mylène Josserand
The "HP" widget is already present and take part to the analog part (sun8i-codec-analog). Remove it from the digital part as it is unnecessary. Signed-off-by: Mylène Josserand --- sound/soc/sunxi/sun8i-codec.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/sound/soc/sunxi/sun8i-codec.

[tip:x86/urgent] x86/tsc: Make the TSC ADJUST sanitizing work for tsc_reliable

2017-02-10 Thread tip-bot for Thomas Gleixner
Commit-ID: 5f2e71e71410ecb858cfec184ba092adaca61626 Gitweb: http://git.kernel.org/tip/5f2e71e71410ecb858cfec184ba092adaca61626 Author: Thomas Gleixner AuthorDate: Thu, 9 Feb 2017 16:08:42 +0100 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 09:47:17 +0100 x86/tsc: Make the TSC

[PATCH 2/4] ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE

2017-02-10 Thread Mylène Josserand
Update the driver to use the new SOC_DAPM_DOUBLE definition on the digital DAC mixer. Update the names accordingly as, when they are shared, the controls are not prefixed with the widget's name anymore. Signed-off-by: Mylène Josserand --- sound/soc/sunxi/sun8i-codec.c | 45 --

[PATCH 4/4] ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN

2017-02-10 Thread Mylène Josserand
Update the driver to use SND_SOC_DAPM_AIF_IN instead of SND_SOC_DAPM_DAC. Set the route names so it must be updated on the device tree too. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a33.dtsi | 4 ++-- sound/soc/sunxi/sun8i-codec.c| 20 +++- 2 files changed

[tip:core/debugobjects] debugobjects: Improve variable naming

2017-02-10 Thread tip-bot for Waiman Long
Commit-ID: 0cad93c3453fc9d11692d3924ac3a520821bbf64 Gitweb: http://git.kernel.org/tip/0cad93c3453fc9d11692d3924ac3a520821bbf64 Author: Waiman Long AuthorDate: Tue, 7 Feb 2017 16:40:30 -0500 Committer: Ingo Molnar CommitDate: Fri, 10 Feb 2017 09:53:04 +0100 debugobjects: Improve variabl

Re: alarm timer/timerfd expiration does not abort suspend operation

2017-02-10 Thread Thomas Gleixner
On Fri, 3 Feb 2017, Gabriel Beddingfield wrote: Cc'ing the PM folks > Hi Thomas and John, > > TL;DR: if an alarmtimer-backed timerfd expires just prior to > alarmtimer_suspend() begin called, the system will continue to go into > suspend (with possibly no future wakeups scheduled). The expected

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-10 Thread Hans Verkuil
On 02/06/2017 05:00 PM, Hans Verkuil wrote: > On 02/06/2017 04:21 PM, Dave Stevenson wrote: >> Hi Hans. >> >> On 06/02/17 12:58, Hans Verkuil wrote: >>> On 02/06/2017 12:37 PM, Dave Stevenson wrote: Hi Hans. On 06/02/17 09:08, Hans Verkuil wrote: > Hi Eric, > > Great to s

[PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Andrey Ryabinin
CONFIG_KASAN=y needs a lot of virtual memory mapped for its shadow. In that case ptdump_walk_pgd_level_core() takes a lot of time to walk across all page tables and doing this without a rescheduling causes soft lockups: NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [swapper/0:1] ... Cal

[PATCH 1/2] clk: meson-gxbb: Add MALI clocks and fix GP0 pll support

2017-02-10 Thread Neil Armstrong
The Mali is clocked by two identical clock paths behind a glitch free mux to safely change frequency while running. The optimal clock frequency is provided by the GP0 PLL, but unlike Meson8 the GXBB GP0 PLL needs some tweaking and need some SoC specific values to be set in order to setup the PLL.

[PATCH 0/2] meson-gxbb: Add mali-450 support

2017-02-10 Thread Neil Armstrong
Since the merge of the Mali dt bindings at [1], add support for Mali clocks and DT node. The Mali is clocked by two identical clock paths behind a glitch free mux to safely change frequency while running. So these clocks must be added to the meson-gxbb clock controller. [1] http://lkml.kernel.or

[tip:x86/urgent] x86/mm/ptdump: Fix soft lockup in page table walker

2017-02-10 Thread tip-bot for Andrey Ryabinin
Commit-ID: 146fbb766934dc003fcbf755b519acef683576bf Gitweb: http://git.kernel.org/tip/146fbb766934dc003fcbf755b519acef683576bf Author: Andrey Ryabinin AuthorDate: Fri, 10 Feb 2017 12:54:05 +0300 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 11:00:23 +0100 x86/mm/ptdump: Fix s

[PATCH V2 0/3] Define coherent device memory node

2017-02-10 Thread Anshuman Khandual
This three patches define CDM node with HugeTLB & Buddy allocation isolation. Please refer to the last RFC posting mentioned here for details. The series has been split for easier review process. The next part of the work like VM flags, auto NUMA and KSM interactions with tagged VMAs will f

Re: linux-next: manual merge of the kvm tree with the powerpc tree

2017-02-10 Thread Paolo Bonzini
On 10/02/2017 04:59, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvm tree got a conflict in: > > arch/powerpc/include/asm/head-64.h > > between commit: > > 852e5da99d15 ("powerpc/64s: Tidy up after exception handler rework") > > from the powerpc tree and commit:

[PATCH V2 1/3] mm: Define coherent device memory (CDM) node

2017-02-10 Thread Anshuman Khandual
There are certain devices like specialized accelerator, GPU cards, network cards, FPGA cards etc which might contain onboard memory which is coherent along with the existing system RAM while being accessed either from the CPU or from the device. They share some similar properties with that of norma

[PATCH V2 3/3] mm: Enable Buddy allocation isolation for CDM nodes

2017-02-10 Thread Anshuman Khandual
This implements allocation isolation for CDM nodes in buddy allocator by discarding CDM memory zones all the time except in the cases where the gfp flag has got __GFP_THISNODE or the nodemask contains CDM nodes in cases where it is non NULL (explicit allocation request in the kernel or user process

[PATCH V2 2/3] mm: Enable HugeTLB allocation isolation for CDM nodes

2017-02-10 Thread Anshuman Khandual
HugeTLB allocation/release/accounting currently spans across all the nodes under N_MEMORY node mask. Coherent memory nodes should not be part of these allocations. So use system_mem_nodemask() call to fetch system RAM only nodes on the platform which can then be used for HugeTLB allocation purpose

Re: [PATCH] sched: Enhance readability of iterating wake_list

2017-02-10 Thread Byungchul Park
On Fri, Feb 10, 2017 at 08:55:23AM +0100, Peter Zijlstra wrote: > On Fri, Feb 10, 2017 at 01:09:31PM +0900, Byungchul Park wrote: > > +#define for_each_wake_list(task, node) \ > > + for ((task) = llist_entry((node), struct task_struct, wake_entry); \ > > +node; (node) = llist_next(node),

[PATCH 2/2] ARM64: dts: meson-gxbb: Add Mali node

2017-02-10 Thread Neil Armstrong
Add the Mali-450 MP3 node for GXBB. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index b3

[PATCH RESEND] ASoC: sun4i-i2s: Update binding documentation to include A31

2017-02-10 Thread Mylène Josserand
Add a new compatible for sun4i-i2s driver to handle some SoCs that have a reset line that must be asserted/deasserted. This new compatible, "allwinner,sun6i-a31-i2s", requires the property "resets" which should be a phandle to the reset line. Except these differences, the compatible is identical t

Re: [linux-sunxi] Re: [PATCH 5/8] arm64: dts: allwinner: add R_PIO node

2017-02-10 Thread Chen-Yu Tsai
On Fri, Feb 10, 2017 at 4:32 PM, Icenowy Zheng wrote: > > 2017年2月10日 16:07于 Maxime Ripard 写道: >> >> On Wed, Feb 08, 2017 at 07:08:46PM +0800, Icenowy Zheng wrote: >> > 08.02.2017, 18:15, "Maxime Ripard" : >> > > On Wed, Feb 08, 2017 at 06:00:06PM +0800, Icenowy Zheng wrote: >> > >> Allwinner A64

[tip:timers/core] timerfd: Protect the might cancel mechanism proper

2017-02-10 Thread tip-bot for Thomas Gleixner
Commit-ID: 1e38da300e1e395a15048b0af1e5305bd91402f6 Gitweb: http://git.kernel.org/tip/1e38da300e1e395a15048b0af1e5305bd91402f6 Author: Thomas Gleixner AuthorDate: Tue, 31 Jan 2017 15:24:03 +0100 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 11:15:09 +0100 timerfd: Protect the

[tip:timers/core] time: Remove CONFIG_TIMER_STATS

2017-02-10 Thread tip-bot for Kees Cook
Commit-ID: dfb4357da6ddbdf57d583ba64361c9d792b0e0b1 Gitweb: http://git.kernel.org/tip/dfb4357da6ddbdf57d583ba64361c9d792b0e0b1 Author: Kees Cook AuthorDate: Wed, 8 Feb 2017 11:26:59 -0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 11:15:08 +0100 time: Remove CONFIG_TIMER_S

Re: [PATCH 4/4] mm,hugetlb: compute page_size_log properly

2017-02-10 Thread Michal Hocko
On Thu 09-02-17 12:53:02, Davidlohr Bueso wrote: > The SHM_HUGE_* stuff was introduced in: > >42d7395feb5 (mm: support more pagesizes for MAP_HUGETLB/SHM_HUGETLB) > > It unnecessarily adds another layer, specific to sysv shm, without > anything special about it: the macros are identical to t

[PATCH v2 3/3] pinctrl: rockchip: Add rk3328 pinctrl support

2017-02-10 Thread David Wu
From: "david.wu" Note, the iomux of following pins are special, need to be recalculated specially. - gpio2_b4 - gpio2_b7 - gpio2_c7 Signed-off-by: david.wu --- change in v2: - only 3 pins need to be recalculated .../bindings/pinctrl/rockchip,pinctrl.txt | 4 +- drivers/pinctrl/

[PATCH v2 1/3] pinctrl: rockchip: Add 3bit width mux support

2017-02-10 Thread David Wu
From: "david.wu" This patch supports 3bit width iomux type. Signed-off-by: david.wu --- change in v2: - add the "% 8" in the 3bit width iomux calculating drivers/pinctrl/pinctrl-rockchip.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/pinct

[PATCH v2 0/3] Support rk3328 pinctrl

2017-02-10 Thread David Wu
From: "david.wu" The rk3328 soc pinctrl iomux is different from other socs. The one is that it needs the pinctrl driver supports 3bit width iomux supported. The other one is that three special pins need to be recalculated, because they are out of the rlues. So add the three patches to support rk

Re: BUG: soft lockup in 4.10-rc7 with KASAN enabled

2017-02-10 Thread Andrey Ryabinin
On 02/09/2017 03:46 PM, Tobias Regnery wrote: > Hi, > > I hit a soft lockup with 4.10-rc7 on ervery boot: > ... > [ 32.452189] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! > [swapper/0:1] > [ 32.452300] Modules linked in: > [ 32.452388] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G

[PATCH v2 2/3] pinctrl: rockchip: Add mux recalculation support

2017-02-10 Thread David Wu
From: "david.wu" Some pins are special at a bank so that add IOMUX_RECALCED type to indicate which iomux source of the bank need to be recalculated. If the mux recalculateed callback and IOMUX_RECALCED type were set, recalculate the pins' iomux by using mux recalculated data struct. Signed-off-b

Re: aacraid: kernel: AAC: Host adapter dead -1 (bisected)

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 02:25:26AM +0300, Andrey Jr. Melnikov wrote: > In article <201701151205.37563.a.miskiew...@gmail.com> you wrote: > > Newsgroups: gmane.linux.kernel > > > > Hi. > > > There is a bug with handling of adaptec raid cards (in my case it is > > Adaptec > > 3405) where kernel

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Dmitry Vyukov
On Fri, Feb 10, 2017 at 10:54 AM, Andrey Ryabinin wrote: > CONFIG_KASAN=y needs a lot of virtual memory mapped for its shadow. > In that case ptdump_walk_pgd_level_core() takes a lot of time to > walk across all page tables and doing this without > a rescheduling causes soft lockups: > > NMI watc

Re: [PATCH 0/3 staging-next] android: Lowmemmorykiller task tree

2017-02-10 Thread Michal Hocko
[I have only now see this cover - it answers some of the questions I've had to specific patches. It would be really great if you could use git send-email to post patch series - it just does the right thing(tm)] On Thu 09-02-17 14:21:40, peter enderborg wrote: > Lowmemorykiller efficiency problem

Re: [PATCH] timerfd: Protect the might cancel mechanism proper

2017-02-10 Thread Dmitry Vyukov
On Fri, Feb 10, 2017 at 11:13 AM, Thomas Gleixner wrote: > Dmitry, > > On Thu, 2 Feb 2017, Dmitry Vyukov wrote: > >> On Thu, Feb 2, 2017 at 7:54 PM, Thomas Gleixner wrote: >> > On Wed, 1 Feb 2017, Dmitry Vyukov wrote: >> >> >> >> Can't we still end up with an inconsistently setup timer? >> >> do_

[PATCHv5 1/2] loop: Remove unused 'bdev' argument from loop_set_capacity

2017-02-10 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke Reviewed-by: Christoph Hellwig Reviewed-by: Ming Lei --- 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 f347285..8dae865 100644 --- a/drivers/block/loop.c +++ b/drivers

Re: [PATCH v7] arm64: Work around Falkor erratum 1003

2017-02-10 Thread Catalin Marinas
On Wed, Feb 08, 2017 at 03:08:37PM -0500, Christopher Covington wrote: > The Qualcomm Datacenter Technologies Falkor v1 CPU may allocate TLB entries > using an incorrect ASID when TTBRx_EL1 is being updated. When the erratum > is triggered, page table entries using the new translation table base >

Re: [PATCHv3] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-02-10 Thread Jean-Jacques Hiblot
2017-02-09 17:29 GMT+01:00 Russell King - ARM Linux : > On Tue, Feb 07, 2017 at 10:57:55PM +, Abel Vesa wrote: >> +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS >> + >> +.macro __ftrace_regs_caller >> + >> + add ip, sp, #4 @ move in IP the value of SP as it was >> +

Re: [RFC][PATCH] tracing: Have traceprobe_probes_write() not access userspace unnecessarily

2017-02-10 Thread Masami Hiramatsu
On Fri, 10 Feb 2017 08:53:02 +0100 Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > On Thu, 9 Feb 2017 18:04:58 -0500 > > Steven Rostedt wrote: > > > > > > > > The code in traceprobe_probes_write() reads up to 4096 bytes from userpace > > > for each line. If userspace passes in severa

Re: [PATCHSET 0/4] perf diff: Introduce delta-abs compute method (v2)

2017-02-10 Thread Ingo Molnar
* Namhyung Kim wrote: > > Would it be possible to flip over the default to the 'most useful' options, > > and > > see whether anyone complains? > > The patch 4 makes it default. /me must be blind! Yes, looks really nice that way. Thanks, Ingo

RE: [PATCH V3 2/2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

2017-02-10 Thread David Laight
From: Johannes Thumshirn > Sent: 10 February 2017 07:46 > On 02/09/2017 06:20 PM, Scott Bauer wrote: > > When CONFIG_KASAN is enabled, compilation fails: Does CONFIG_KASAN allocate guard stack space around everything that is passed by address? That sounds completely brain-dead. There are a lot of

[tip:timers/core] timer_list: Remove useless cast when printing

2017-02-10 Thread tip-bot for Mars Cheng
Commit-ID: 7551b02b94ad1daee3a79d667dc3c46d08328f87 Gitweb: http://git.kernel.org/tip/7551b02b94ad1daee3a79d667dc3c46d08328f87 Author: Mars Cheng AuthorDate: Thu, 9 Feb 2017 15:50:15 +0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Feb 2017 11:15:08 +0100 timer_list: Remove useless

Re: [PATCH] i2c: designware: Fix regression when dynamic TAR update is disabled

2017-02-10 Thread Jarkko Nikula
On 10.02.2017 08:38, Suravee Suthikulpanit wrote: At this points, my understanding is there are probably two options here: 1) Keep the commit 63d0f0a6952a (i2c: designware: detect when dynamic tar update is possible) and apply V2 of this patch in 4.10. We might need to back-port the change

cachefs: kernel BUG at fs/cachefiles/namei.c:197

2017-02-10 Thread Frederik Himpe
I encountered this bug on a Debian Stretch system with an NFS 4 mount and cachefilesd 0.10.9. NFS 4 file systems are mounted like this from fstab: master.cluster.ai:/home /home nfs4 _netdev,fsc,noatime,vers=4.2,nodev,nosuid 0 0 master.cluster.ai:/cluster /srv/clusternfs4

Re: [PATCH] sched: Enhance readability of iterating wake_list

2017-02-10 Thread Byungchul Park
On Fri, Feb 10, 2017 at 08:55:23AM +0100, Peter Zijlstra wrote: > On Fri, Feb 10, 2017 at 01:09:31PM +0900, Byungchul Park wrote: > > +#define for_each_wake_list(task, node) \ > > + for ((task) = llist_entry((node), struct task_struct, wake_entry); \ > > +node; (node) = llist_next(node),

Re: aacraid: kernel: AAC: Host adapter dead -1 (bisected)

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 01:45:06PM +0300, Andrey Melnikov wrote: > Cc: linux-s...@vger.kernel.org > > 2017-02-10 13:24 GMT+03:00 Greg Kroah-Hartman : > > On Fri, Feb 10, 2017 at 02:25:26AM +0300, Andrey Jr. Melnikov wrote: > >> In article <201701151205.37563.a.miskiew...@gmail.com> you wrote: > >>

[PATCH v1 0/5] md: use bio_clone_fast()

2017-02-10 Thread Ming Lei
Hi, This patches replaces bio_clone() with bio_fast_clone() in bio_clone_mddev() because: 1) bio_clone_mddev() is used in raid normal I/O and isn't in resync I/O path, and all the direct access to bvec table in raid happens on resync I/O only except for write behind of raid1. Write behind is trea

[PATCH v1 1/5] block: introduce bio_clone_bioset_partial()

2017-02-10 Thread Ming Lei
md still need bio clone(not the fast version) for behind write, and it is more efficient to use bio_clone_bioset_partial(). The idea is simple and just copy the bvecs range specified from parameters. Signed-off-by: Ming Lei --- block/bio.c | 61 +-

[PATCH v1 3/5] md: fail if mddev->bio_set can't be created

2017-02-10 Thread Ming Lei
The current behaviour is to fall back to allocate bio from 'fs_bio_set', that isn't a correct way because it might cause deadlock. So this patch simply return failure if mddev->bio_set can't be created. Signed-off-by: Ming Lei --- drivers/md/md.c | 5 - 1 file changed, 4 insertions(+), 1 de

[PATCH v1 5/5] md: fast clone bio in bio_clone_mddev()

2017-02-10 Thread Ming Lei
Firstly bio_clone_mddev() is used in raid normal I/O and isn't in resync I/O path. Secondly all the direct access to bvec table in raid happens on resync I/O except for write behind of raid1, in which we still use bio_clone() for allocating new bvec table. So this patch replaces bio_clone() with

[PATCH v1 2/5] md/raid1: use bio_clone_bioset_partial() in case of write behind

2017-02-10 Thread Ming Lei
Write behind need to replace pages in bio's bvecs, and we have to clone a fresh bio with new bvec table, so use the introduced bio_clone_bioset_partial() for it. For other bio_clone_mddev() cases, we will use fast clone since they don't need to touch bvec table. Signed-off-by: Ming Lei --- driv

[PATCH v1 4/5] md: remove unnecessary check on mddev

2017-02-10 Thread Ming Lei
mddev is never NULL and neither is ->bio_set, so remove the check. Suggested-by: Christoph Hellwig Signed-off-by: Ming Lei --- drivers/md/md.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 3425c2b779a6..2835f09b9e71 100644 --- a/drivers/md/md.c ++

[PATCH v6 2/8] nios2: put setup.h in uapi

2017-02-10 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel Reviewed-by: Tobias Klauser --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch/nio

[PATCH v6 1/8] h8300: put bitsperlong.h in uapi

2017-02-10 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 arch/h8300/i

[PATCH v6 4/8] Makefile.headersinst: cleanup input files

2017-02-10 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel --- scripts/Makefile.headersinst | 34

Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 10:05:12AM +0100, peter enderborg wrote: > On 02/10/2017 08:51 AM, Greg Kroah-Hartman wrote: > > On Fri, Feb 10, 2017 at 08:21:32AM +0100, peter enderborg wrote: > >> Im not speaking for google, but I think there is a work ongoing to > >> replace this with user-space code. >

Re: [PATCH V3 2/2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

2017-02-10 Thread Arnd Bergmann
On Fri, Feb 10, 2017 at 11:28 AM, David Laight wrote: >> >> > - if (copy_from_user(&session, arg, sizeof(session))) >> > - return -EFAULT; >> > - return opal_erase_locking_range(dev, &session); >> > + ioctl_ptr = kzalloc(cmd_size, GFP_KERNEL); >> > + if (

[PATCH v6 6/8] uapi: includes linux/types.h before exporting files

2017-02-10 Thread Nicolas Dichtel
Some files will be exported after the next patch. 0-day tests report the following warning/error: ./usr/include/linux/bcache.h:8: include of is preferred over ./usr/include/linux/bcache.h:11: found __[us]{8,16,32,64} type without #include ./usr/include/linux/qrtr.h:8: found __[us]{8,16,32,64}

[PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
Regularly, when a new header is created in include/uapi/, the developer forgets to add it in the corresponding Kbuild file. This error is usually detected after the release is out. In fact, all headers under uapi directories should be exported, thus it's useless to have an exhaustive list. After

[PATCH v6 8/8] uapi: export all arch specifics directories

2017-02-10 Thread Nicolas Dichtel
This patch removes the need of subdir-y. Now all files/directories under arch//include/uapi/ are exported. The only change for userland is the layout of the command 'make headers_install_all': directories asm- are replaced by arch-/. Those new directories contains all files/directories of the spec

[PATCH v6 5/8] Makefile.headersinst: remove destination-y option

2017-02-10 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel Acked-by: Paul Bolle --- Documentation/kbuild/makefiles.txt | 23 --- scripts/Makefile.headersinst | 2 +- 2 fi

[PATCH v6 0/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
Here is the v6 of this series. Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 st

[PATCH v6 3/8] x86: stop exporting msr-index.h to userland

2017-02-10 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov CC: Ingo Molnar Signed-off-by: Nicolas Dichtel Acked-by: Ingo Molnar --- ar

Re: [PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-02-10 Thread Vitaly Kuznetsov
Thomas Gleixner writes: > On Thu, 9 Feb 2017, Vitaly Kuznetsov wrote: >> +#ifdef CONFIG_HYPERV_TSCPAGE >> +static notrace u64 vread_hvclock(int *mode) >> +{ >> +const struct ms_hyperv_tsc_page *tsc_pg = >> +(const struct ms_hyperv_tsc_page *)&hvclock_page; >> +u64 sequence, sc

Re: [PATCH v2 1/3] pinctrl: rockchip: Add 3bit width mux support

2017-02-10 Thread Heiko Stuebner
Am Freitag, 10. Februar 2017, 18:23:47 CET schrieb David Wu: > From: "david.wu" > > This patch supports 3bit width iomux type. > > Signed-off-by: david.wu change looks good and calculations do checkout out, so Reviewed-by: Heiko Stuebner

Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig

2017-02-10 Thread David Howells
Bilal Amarni wrote: > CONFIG_KEYS_COMPAT is defined in arch-specific Kconfigs and is missing for > several 64-bit architectures : arm64, mips, parisc, tile. > > At the moment and for those architectures, calling in 32-bit userspace the > keyctl syscall would return an ENOSYS error. > > This pat

Re: aacraid: kernel: AAC: Host adapter dead -1 (bisected)

2017-02-10 Thread Andrey Melnikov
Cc: linux-s...@vger.kernel.org 2017-02-10 13:24 GMT+03:00 Greg Kroah-Hartman : > On Fri, Feb 10, 2017 at 02:25:26AM +0300, Andrey Jr. Melnikov wrote: >> In article <201701151205.37563.a.miskiew...@gmail.com> you wrote: >> > Newsgroups: gmane.linux.kernel >> >> >> > Hi. >> >> > There is a bug with

Re: [PATCH 3/6] genirq/affinity: update CPU affinity for CPU hotplug events

2017-02-10 Thread Thomas Gleixner
On Fri, 3 Feb 2017, Christoph Hellwig wrote: > @@ -127,6 +127,7 @@ enum cpuhp_state { > CPUHP_AP_ONLINE_IDLE, > CPUHP_AP_SMPBOOT_THREADS, > CPUHP_AP_X86_VDSO_VMA_ONLINE, > + CPUHP_AP_IRQ_AFFINIY_ONLINE, s/AFFINIY/AFFINITY/ perhaps? > +static void __irq_affinity_set(unsigned

Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global session exhaustion

2017-02-10 Thread Dr. Greg Wettstein
On Feb 9, 11:24am, James Bottomley wrote: } Subject: Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global sessi Good morning to everyone. > On Thu, 2017-02-09 at 03:06 -0600, Dr. Greg Wettstein wrote: > > Referring back to Ken's comments about having 20+ clients waiting to > > get access t

  1   2   3   4   5   6   7   8   >