Re: [PATCH v1 1/5] perf/core: Define the common branch type classification

2017-04-05 Thread Peter Zijlstra
On Tue, Apr 04, 2017 at 11:18:05AM -0300, Arnaldo Carvalho de Melo wrote: > Adding the perf kernel maintainers to the CC list. Thanks. > Em Fri, Mar 31, 2017 at 11:18:38PM +0800, Jin Yao escreveu: > > It is often useful to know the branch types while analyzing branch > > data. For example, a call

Re: [Nbd] [PATCH 3/4] treewide: convert PF_MEMALLOC manipulations to new helpers

2017-04-05 Thread Wouter Verhelst
On Wed, Apr 05, 2017 at 01:30:31PM +0200, Michal Hocko wrote: > On Wed 05-04-17 09:46:59, Vlastimil Babka wrote: > > We now have memalloc_noreclaim_{save,restore} helpers for robust setting and > > clearing of PF_MEMALLOC. Let's convert the code which was using the generic > > tsk_restore_flags().

Re: [PATCH 11/24] uswsusp: Disable when the kernel is locked down

2017-04-05 Thread David Howells
Rafael J. Wysocki wrote: > You probably want to disable hibernation altogether in this case. See patch 10. Does that mean patch 11 is superfluous? David

Re: [PATCH v3 1/9] drm: bridge: analogix: Detach panel when unbinding analogix dp

2017-04-05 Thread Andrzej Hajda
On 05.04.2017 10:29, Jeffy Chen wrote: > The panel is attached when binding analogix dp. > > Signed-off-by: Jeffy Chen Reviewed-by: Andrzej Hajda -- Regards Andrzej > --- > > Changes in v3: None > Changes in v2: > Fix some commit messages. > > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

Re: [PATCH v2] loop: Add PF_LESS_THROTTLE to block/loop device thread.

2017-04-05 Thread Michal Hocko
On Thu 06-04-17 12:23:51, NeilBrown wrote: [...] > diff --git a/drivers/block/loop.c b/drivers/block/loop.c > index 0ecb6461ed81..95679d988725 100644 > --- a/drivers/block/loop.c > +++ b/drivers/block/loop.c > @@ -847,10 +847,12 @@ static void loop_unprepare_queue(struct loop_device *lo) > static

Re: [PATCH v5 3/5] drm/exynos: dsi: Fix the parse_dt function

2017-04-05 Thread Inki Dae
2017년 04월 05일 00:38에 Krzysztof Kozlowski 이(가) 쓴 글: > On Tue, Mar 28, 2017 at 11:38 AM, Krzysztof Kozlowski wrote: >> On Tue, Mar 28, 2017 at 11:26 AM, Inki Dae wrote: >>> Merged. >> >> Hi, >> >> I do not see the tag (with DT patches) merged by you which I provided >> to you before. These are es

[PATCH] platform/x86: fujitsu-laptop: update debug message logged by call_fext_func()

2017-04-05 Thread Michał Kępień
Update debug message logged when the acpi_evaluate_integer() call inside call_fext_func() fails so that it covers a broader set of possible errors. Signed-off-by: Michał Kępień --- This patch is a follow-up to v1 of the call_fext_func() cleanup series and as such, it should be applied to for-next

Re: [PATCH v6 04/11] powerpc/perf: Add event attribute and group to IMC pmus

2017-04-05 Thread Madhavan Srinivasan
On Tuesday 04 April 2017 07:41 AM, Daniel Axtens wrote: Hi, Device tree IMC driver code parses the IMC units and their events. It passes the information to IMC pmu code which is placed in powerpc/perf as "imc-pmu.c". This patch creates only event attributes and attribute groups for the IMC p

Re: [PATCH 11/24] uswsusp: Disable when the kernel is locked down

2017-04-05 Thread Oliver Neukum
Am Donnerstag, den 06.04.2017, 01:38 +0200 schrieb Rafael J. Wysocki: > On Wed, Apr 5, 2017 at 10:16 PM, David Howells wrote: > > > > From: Matthew Garrett > > > > uswsusp allows a user process to dump and then restore kernel state, which > > makes it possible to modify the running kernel. Dis

Re: [PATCH 2/5] dmaengine: Add STM32 DMAMUX driver

2017-04-05 Thread Vinod Koul
On Mon, Mar 13, 2017 at 03:15:58PM +0100, M'boumba Cedric Madianga wrote: > This patch implements the STM32 DMAMUX driver Can you describe the controller here pls > > Signed-off-by: M'boumba Cedric Madianga > --- > drivers/dma/Kconfig| 9 ++ > drivers/dma/Makefile | 1 + > dr

Re: [PATCH 4/4] mtd: nand: nandsim: convert to memalloc_noreclaim_*()

2017-04-05 Thread Adrian Hunter
On 05/04/17 14:39, Vlastimil Babka wrote: > On 04/05/2017 01:36 PM, Richard Weinberger wrote: >> Michal, >> >> Am 05.04.2017 um 13:31 schrieb Michal Hocko: >>> On Wed 05-04-17 09:47:00, Vlastimil Babka wrote: Nandsim has own functions set_memalloc() and clear_memalloc() for robust setting

Re: [PATCH 1/5] firmware: share fw fallback killing on reboot/suspend

2017-04-05 Thread Coelho, Luciano
Hi Luis, On Wed, 2017-03-29 at 20:24 -0700, Luis R. Rodriguez wrote: > We kill pending fallback requests on suspend and reboot, > the only difference is that on suspend we only kill custom > fallback requests. Provide a wrapper that lets us customize > the request with a flag. > > This also lets

[PATCH] tick/nohz: Fix wrong user and system time accouting against vtime sampling

2017-04-05 Thread Wanpeng Li
From: Wanpeng Li This can be reproduced by setting up a CPU for nohz_full and pin two tasks that hog the CPU 100% of the time to that CPU, top reports 70% system time and 30% user time utilization sometimes. The trace like this: hog-11980 [015] 341.494491: function:enter_from_user_mod

Re: [PATCH V10 03/12] of: dma: Move range size workaround to of_dma_get_range()

2017-04-05 Thread Frank Rowand
On 04/04/17 03:18, Sricharan R wrote: > From: Laurent Pinchart > > Invalid dma-ranges values should be worked around when retrieving the > DMA range in of_dma_get_range(), not by all callers of the function. > This isn't much of a problem now that we have a single caller, but that > situation wil

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-05 Thread Juergen Gross
On 05/04/17 21:49, Boris Ostrovsky wrote: > On 04/05/2017 02:14 PM, Julien Grall wrote: >> When rebooting DOM0 with ACPI, the kernel is crashing with the stack trace >> [1]. >> >> This is happening because when EFI runtimes are enabled, the reset code >> (see machin_restart) will first try to use

[PATCH] of: change fixup of dma-ranges size to error

2017-04-05 Thread frowand . list
From: Frank Rowand of_dma_get_range() has workaround code to fixup a device tree that incorrectly specified a mask instead of a size for property dma-ranges. That device tree was fixed a year ago in v4.6, so the workaround is no longer needed. Leave a data validation check in place, but no long

Re: [tpmdd-devel] Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot

2017-04-05 Thread Paul Menzel
Dear Maciej, On 2017-04-05 13:03, Maciej S. Szmigiero wrote: tpm tpm0: Unable to read burstcount tpm tpm0: tpm_transmit: tpm_send: error -16 tpm_tis tpm_tis: Could not get TPM timeouts and durations This looks like a regression I had on ThinkPad X61S. You can try with a patch from the follo

Re: [RFC PATCH] kernel: sched: Provide a pointer to the valid CPU mask

2017-04-05 Thread Ingo Molnar
* Sebastian Andrzej Siewior wrote: > On 2017-04-05 09:39:43 [+0200], Ingo Molnar wrote: > > > > So maybe we could add the following facility: > > > > ptr = sched_migrate_to_cpu_save(cpu); > > > > ... > > > > sched_migrate_to_cpu_restore(ptr); BTW., and I'm sure this has come up

Re: [tip:locking/core] rtmutex: Deboost before waking up the top waiter

2017-04-05 Thread Xunlei Pang
On 04/05/2017 at 04:08 PM, Mike Galbraith wrote: > locking/rtmutex: Fix preempt leak in __rt_mutex_futex_unlock() > > mark_wakeup_next_waiter() already disables preemption, doing so > again leaves us with an unpaired preempt_disable(). You can also fix the corresponding comment in rt_mutex_postunl

[PATCH v2] staging: rtl8192u: ieee80211: Fix space required after }.

2017-04-05 Thread Valerio Genovese
This was reported in checkpatch.pl: ERROR: space required after that close brace '}' Changes in v2: add space after close brace '}' also at line 35, before it was only for 34. Signed-off-by: Valerio Genovese --- drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h | 4 ++-- 1 file changed, 2 insert

[Patch v4 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-04-05 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 316be62..03d4765 100644 --- a/inc

[Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-05 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 104 +++ include/uapi/linux/v4l2-controls.h | 132 +++ 2 files changed, 236 insertions(+) diff --git

[Patch v4 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-05 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format which is also known as H.265. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- Documentation/media/uapi/v4l/pixfmt-013.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b/Document

[Patch v4 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-04-05 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +

[Patch v4 09/12] [media] s5p-mfc: Add VP9 decoder support

2017-04-05 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++ drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform/s5p

[Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-05 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 391 + 1 file changed, 391 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-cont

[Patch v4 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-04-05 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 95 +++-- driver

[Patch v4 06/12] [media] v4l2-ioctl: add HEVC format description

2017-04-05 Thread Smitha T Murthy
HEVC is a video coding format Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 0c3f238..529d1f8 100644 --- a/drivers/media/v4l2-core/v4l2-

[Patch v4 08/12] [media] s5p-mfc: Add support for HEVC decoder

2017-04-05 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform/s5p-mfc

[Patch v4 03/12] [media] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-04-05 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda ---

[Patch v4 00/12] Add MFC v10.10 support

2017-04-05 Thread Smitha T Murthy
This patch series adds MFC v10.10 support. MFC v10.10 is used in some of Exynos7 variants. This adds support for following: * Add support for HEVC encoder and decoder * Add support for VP9 decoder * Update Documentation for control id definitions * Update computation of min scratch buffer size re

[Patch v4 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-04-05 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 2 +- driver

[Patch v4 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-04-05 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../devicetree/bindings/media/s5p-mfc

[PATCH V8 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-04-05 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v7: - Fixed 'checkpatch --strict' alignment warnings/checks. Changes since v6: - Dro

[PATCH V8 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-04-05 Thread Vivek Gautam
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam Tested-by: Srinivas Kandagatla Reviewed-by: Stephen Boyd --- Changes since v7:

[PATCH V8 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- Changes since v7: - None, just added Stephen's Reviewed-by tag. C

[PATCH V8 3/4] dt-bindings: phy: Add support for QMP phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- Changes since v7: - None, just added Stephen's Review

[PATCH V8 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-05 Thread Vivek Gautam
Hi Kishon, Here's the series with fixed checkpatch warnings/checks. Please pick it for phy/next. This patch series adds couple of PHY drivers for Qualcomm chipsets. a) qcom-qusb2 phy driver: that provides High Speed USB functionality. b) qcom-qmp phy driver: that is a combo phy providing support f

Re: [RFC 3/8] nvmet: Use p2pmem in nvme target

2017-04-05 Thread Sagi Grimberg
I hadn't done this yet but I think a simple closest device in the tree would solve the issue sufficiently. However, I originally had it so the user has to pick the device and I prefer that approach. But if the user picks the device, then why bother restricting what he picks? Because the user c

Re: [PATCH v2 4/9] arm64: hugetlb: Override huge_pte_clear() to support contiguous hugepages

2017-04-05 Thread kbuild test robot
Hi Punit, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Punit-Agrawal/Support-swap-entries-for

RE: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart

2017-04-05 Thread Long Li
> -Original Message- > From: KY Srinivasan > Sent: Wednesday, April 5, 2017 9:21 PM > To: Bart Van Assche ; linux- > ker...@vger.kernel.org; linux-bl...@vger.kernel.org; Long Li > ; ax...@kernel.dk > Cc: Stephen Hemminger > Subject: RE: [PATCH] block-mq: set both block queue and hardware

linux-next: Tree for Apr 6

2017-04-05 Thread Stephen Rothwell
Hi all, Changes since 20170405: The input tree gained a conflict against the jc_docs tree. The mfd tree still had its build failure for which I reverted a commit. The tip tree lost its build failure but gained a conflict against the pstore tree. The staging tree gained conflicts against the

[PATCH -mm -v8 3/3] mm, THP, swap: Enable THP swap optimization only if has compound map

2017-04-05 Thread Huang, Ying
From: Huang Ying If there is no compound map for a THP (Transparent Huge Page), it is possible that the map count of some sub-pages of the THP is 0. So it is better to split the THP before swapping out. In this way, the sub-pages not mapped will be freed, and we can avoid the unnecessary swap ou

[PATCH -mm -v8 2/3] mm, THP, swap: Check whether THP can be split firstly

2017-04-05 Thread Huang, Ying
From: Huang Ying In the original THP swapping out implementation, before splitting the THP (Transparent Huage Page), the swap cluster will be allocated and the THP will be added into the swap cache. But it is possible that the THP cannot be split, and we must delete the THP from the swap cache a

[PATCH -mm -v8 1/3] mm, THP, swap: Delay splitting THP during swap out

2017-04-05 Thread Huang, Ying
From: Huang Ying In this patch, splitting huge page is delayed from almost the first step of swapping out to after allocating the swap space for the THP (Transparent Huge Page) and adding the THP into the swap cache. This will batch the corresponding operation, thus improve THP swap out throughpu

[PATCH -mm -v8 0/3] THP swap: Delay splitting THP during swapping out

2017-04-05 Thread Huang, Ying
From: Huang Ying This patchset is to optimize the performance of Transparent Huge Page (THP) swap. Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Hi, Andrea could yo

Re: [RFC 6/8] nvmet: Be careful about using iomem accesses when dealing with p2pmem

2017-04-05 Thread Sagi Grimberg
Note that the nvme completion queues are still on the host memory, so this means we have lost the ordering between data and completions as they go to different pcie targets. Hmm, in this simple up/down case with a switch, I think it might actually be OK. Transactions might not complete at the

Re: [PATCH net-next] macb: Add hardware PTP support.

2017-04-05 Thread Richard Cochran
On Wed, Apr 05, 2017 at 06:43:03AM -0700, David Miller wrote: > This patch does too many things at one time. Each entry in that list > of changes above should be a separate change, all posted together as > a group as a proper patch series. And please start a new thread with the next posting. Tha

Re: [PATCH v6 01/23] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-04-05 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 05 April 2017 10:22 PM, Bjorn Helgaas wrote: > On Wed, Apr 05, 2017 at 02:22:21PM +0530, Kishon Vijay Abraham I wrote: >> Introduce a new EP core layer in order to support endpoint functions in >> linux kernel. This comprises the EPC library (Endpoint Controller Library) >>

Re: [STABLE REGRESSION] iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3

2017-04-05 Thread Srinivas Pandruvada
On Thu, 2017-04-06 at 04:58 +, Song, Hongyan wrote: > Hi Srinivas, > I have checked the patch dose not meets my requirement for ISH. > With this patch sensor properties still losing after resume from S3. What is your test case? I want to try. Thanks, Srinivas > > BR > Song Hongyan >

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-05 Thread NeilBrown
On Wed, Apr 05 2017, Matthew Wilcox wrote: > On Thu, Apr 06, 2017 at 10:02:48AM +1000, NeilBrown wrote: >> If you are concerned about space in 'struct address_space', just prune >> some wastage. > > I'm trying to (via wlists). still buggy though. Cool. (I wonder what a wlist is weighted list

Re: [HMM 00/16] HMM (Heterogeneous Memory Management) v19

2017-04-05 Thread Jerome Glisse
On Thu, Apr 06, 2017 at 11:22:12AM +0800, Figo.zhang wrote: [...] > > Heterogeneous Memory Management (HMM) (description and justification) > > > > Today device driver expose dedicated memory allocation API through their > > device file, often relying on a combination of IOCTL and mmap calls. The

RE: [STABLE REGRESSION] iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3

2017-04-05 Thread Song, Hongyan
Hi Srinivas, I have checked the patch dose not meets my requirement for ISH. With this patch sensor properties still losing after resume from S3. BR Song Hongyan -Original Message- From: Srinivas Pandruvada [mailto:srinivas.pandruv...@linux.intel.com] Sent: Wednesday, April 5, 20

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-05 Thread Aleksey Makarov
On 04/06/2017 12:57 AM, Andy Shevchenko wrote: On Wed, Apr 5, 2017 at 11:20 PM, Aleksey Makarov wrote: If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appear twice. The root cause is that th

Re: [PATCH v3 1/2] soc: qcom: Add support of scm call for mss rproc to share access of ddr

2017-04-05 Thread Bjorn Andersson
On Wed 08 Mar 10:03 PST 2017, Avaneesh Kumar Dwivedi wrote: > This patch add scm call support to make hypervisor call to enable access > of fw regions in ddr to mss subsystem on arm-v8 arch soc's. > > Signed-off-by: Avaneesh Kumar Dwivedi > --- > drivers/firmware/qcom_scm-64.c | 25 +++

Re: [PATCH v5 3/5] drm/exynos: dsi: Fix the parse_dt function

2017-04-05 Thread Inki Dae
2017년 04월 05일 00:38에 Krzysztof Kozlowski 이(가) 쓴 글: > On Tue, Mar 28, 2017 at 11:38 AM, Krzysztof Kozlowski wrote: >> On Tue, Mar 28, 2017 at 11:26 AM, Inki Dae wrote: >>> Merged. >> >> Hi, >> >> I do not see the tag (with DT patches) merged by you which I provided >> to you before. These are es

Re: [RFC PATCH] Revert "mwifiex: fix system hang problem after resume"

2017-04-05 Thread amit karwar
On Sat, Apr 1, 2017 at 1:51 AM, Brian Norris wrote: > This reverts commit 437322ea2a36d112e20aa7282c869bf924b3a836. > > This above-mentioned "fix" does not actually do anything to prevent a > race condition. It simply papers over it so that the issue doesn't > appear. > > If this is a real problem

Re: [PATCH 5/5] fpga-region: separate out common code from dt specific code

2017-04-05 Thread Moritz Fischer
Hi Alan, first pass ... need to get back to it. On Mon, Mar 13, 2017 at 04:53:33PM -0500, Alan Tull wrote: > FPGA region is a layer above the FPGA manager and FPGA bridge > frameworks. Currently, FPGA region is dependent on device tree. > This commit separates the device tree specific code from

RE: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart

2017-04-05 Thread KY Srinivasan
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Wednesday, April 5, 2017 8:46 PM > To: linux-kernel@vger.kernel.org; linux-bl...@vger.kernel.org; Long Li > ; ax...@kernel.dk > Cc: Stephen Hemminger ; KY Srinivasan > > Subject: Re: [PATCH] block-mq

Re: [PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-05 Thread Ganapatrao Kulkarni
On Wed, Apr 5, 2017 at 3:35 PM, Mark Rutland wrote: > On Wed, Apr 05, 2017 at 02:42:39PM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:58 PM, Mark Rutland wrote: >> > On Tue, Apr 04, 2017 at 01:06:43PM +0530, Ganapatrao Kulkarni wrote: >> >> This is not a full event list, but a sh

[PATCH] PM / devfreq: Move struct devfreq_governor to devfreq directory

2017-04-05 Thread Chanwoo Choi
This patch moves the struct devfreq_governor from header file to the devfreq directory because this structure is private data and it have to be only accessed by the devfreq core. Signed-off-by: Chanwoo Choi --- drivers/devfreq/governor.h | 29 + include/linux/devfreq.

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Paul E. McKenney
On Wed, Apr 05, 2017 at 10:12:24PM -0400, Steven Rostedt wrote: > On Wed, 5 Apr 2017 10:59:25 -0700 > "Paul E. McKenney" wrote: > > > > > Could you please let me know if tracing happens in NMI handlers? > > > > If so, a bit of additional code will be needed. > > > > > > > >

Re: [PATCH] arm: dma: fix sharing of coherent DMA memory without struct page

2017-04-05 Thread kbuild test robot
Hi Shuah, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc5] [cannot apply to next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/arm-dma-fix

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Paul E. McKenney
On Wed, Apr 05, 2017 at 09:31:45PM -0400, Steven Rostedt wrote: > On Wed, 5 Apr 2017 13:42:29 -0700 > "Paul E. McKenney" wrote: > > > > OK, do you want me to send you a patch, or should I take your patch > > > into my tree and add this? > > > > Given that I don't seem to have disable_stack_tra

Re: [PATCH 4/5] fpga-mgr: separate getting/locking FPGA manager

2017-04-05 Thread Moritz Fischer
Hi Alan, minor nits, inline On Mon, Mar 13, 2017 at 04:53:32PM -0500, Alan Tull wrote: > Add fpga_mgr_lock/unlock functions that get a mutex for > exclusive use. > > of_fpga_mgr_get, fpga_mgr_get, and fpga_mgr_put no longer lock > the FPGA manager mutex. > > This makes it more straightforward t

linux-next: build warning after merge of the scsi tree

2017-04-05 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from drivers/scsi/sd.c:35: drivers/scsi/sd.c: In function 'sd_revalidate

Re: [PATCH] mwifiex: MAC randomization should not be persistent

2017-04-05 Thread Kalle Valo
Brian Norris writes: > nl80211 provides the NL80211_SCAN_FLAG_RANDOM_ADDR for every scan > request that should be randomized; the absence of such a flag means we > should not randomize. However, mwifiex was stashing the latest > randomization request and *always* using it for future scans, even t

[PATCH] ARM: domains: Extract common USER domain init

2017-04-05 Thread Kees Cook
Everything but the USER domain is the same with CONFIG_CPU_SW_DOMAIN_PAN or not. This extracts the differences for a common DACR_INIT macro so it is easier to make future changes (like adding the WR_RARE domain). Signed-off-by: Kees Cook --- arch/arm/include/asm/domain.h | 14 +++--- 1 f

[PATCH] mailmap: update Yakir Yang email address

2017-04-05 Thread Jeffy Chen
Set current email address to replace previous employers email addresses. Signed-off-by: Jeffy Chen --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index e775f79..de0fc5b 100644 --- a/.mailmap +++ b/.mailmap @@ -172,6 +172,7 @@ Vlad Dogaru Vladimir Davydov

Re: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart

2017-04-05 Thread Bart Van Assche
On Thu, 2017-04-06 at 03:38 +, Long Li wrote: > > -Original Message- > > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > > > > Please drop this patch. I'm working on a better solution. > > Thank you. Looking forward to your patch. Hello Long, It would help if you could s

Re: [PATCH v3] Allow user probes on versioned symbols

2017-04-05 Thread Paul Clarke
On 04/04/2017 09:26 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Apr 04, 2017 at 11:18:02PM +0900, Masami Hiramatsu escreveu: On Mon, 3 Apr 2017 11:46:58 -0300 Arnaldo Carvalho de Melo wrote: > > > But apart from those problems, I think that one should be able to ask > > > for a versioned symbol

RE: [PATCH] block-mq: set both block queue and hardware queue restart bit for restart

2017-04-05 Thread Long Li
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Wednesday, April 5, 2017 5:32 PM > To: linux-kernel@vger.kernel.org; linux-bl...@vger.kernel.org; Long Li > ; ax...@kernel.dk > Cc: Stephen Hemminger ; KY Srinivasan > ; Long Li > Subject: Re: [PATCH

[PATCH v5 2/2] extable: verify address is read-only

2017-04-05 Thread Eddie Kovsky
Provide a mechanism to check if the address of a variable is const or ro_after_init. It mimics the existing functions that test if an address is inside the kernel's text section. The idea is to prevent structures that are not read-only from being passed to functions. Other functions inside the ker

[PATCH v5 1/2] module: verify address is read-only

2017-04-05 Thread Eddie Kovsky
Implement a mechanism to check if a module's address is in the rodata or ro_after_init sections. It mimics the existing functions that test if an address is inside a module's text section. Functions that take a module as an argument will be able to verify that the module address is in a read-only

[PATCH v5 0/2] provide check for ro_after_init memory sections

2017-04-05 Thread Eddie Kovsky
mlinux.lds: add missing VMLINUX_SYMBOL macros") The latest version of this series uses new symbols provided in these fixes. The series now cross compiles on Blackfin without errors. I have also test compiled this series on next-20170405 for x86. I have dropped the third patch that uses these f

linux-next: manual merge of the staging tree with the v4l-dvb tree

2017-04-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/media/lirc/lirc_sasem.c drivers/staging/media/lirc/lirc_sir.c between commits: e66267161971 ("[media] rc: promote lirc_sir out of staging") 51bb3fd788cb ("[media] staging: lirc_sasem: remove") from t

[PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-05 Thread Paul Clarke
Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently unable to deal with this, and is unable to create user probes at such symbols: -- $ nm /lib/powerpc64le-linux-gnu/libpthread.so

Re: [PATCH] get_maintainer: Add Yakir Yang to .get_maintainer.ignore

2017-04-05 Thread jeffy
Hi Joe, On 04/06/2017 10:39 AM, Joe Perches wrote: On Thu, 2017-04-06 at 10:01 +0800, Jeffy Chen wrote: The mail account "Yakir Yang " is no longer valid. Does this person still want to be involved with the kernel? If so, perhaps a .mailmap entry would be more appropriate. i don't think he w

Re: [PATCH v2 00/11] fujitsu-laptop: backlight cleanup

2017-04-05 Thread Darren Hart
On Thu, Apr 06, 2017 at 10:15:14AM +0930, Jonathan Woithe wrote: > Hi Michael > > On Wed, Apr 05, 2017 at 09:55:34PM +0200, Micha?? K??pie?? wrote: > > > On Wed, Apr 05, 2017 at 08:48:59AM +0200, Micha?? K??pie?? wrote: > > > > This series introduces further changes to the way LCD backlight is > >

Re: [RFC net-next] bpf: taint loading !is_gpl programs

2017-04-05 Thread Aaron Conole
Hi Daniel, Daniel Borkmann writes: > On 04/04/2017 08:33 PM, Aaron Conole wrote: >> The eBPF framework is used for more than just socket level filtering. It >> can also provide tracing, and even change the way packets coming into the >> system look. Most of the eBPF callable symbols are availa

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-05 Thread Matthew Wilcox
On Thu, Apr 06, 2017 at 10:02:48AM +1000, NeilBrown wrote: > If you are concerned about space in 'struct address_space', just prune > some wastage. I'm trying to (via wlists). still buggy though. > The "host" field brings no value. It is only ever assigned in > inode_init_always(): > > s

Re: [PATCH v3 8/9] drm/rockchip: gem: Don't alloc/free gem buf when dev_private is invalid

2017-04-05 Thread jeffy
Hi Sean, On 04/06/2017 12:28 AM, Sean Paul wrote: On Wed, Apr 05, 2017 at 04:29:26PM +0800, Jeffy Chen wrote: After unbinding drm, the userspace may still has a chance to access gem buf. Add a sanity check for a NULL dev_private to prevent that from happening. I still don't understand how th

[lkp-robot] [debug] 19d436268d: BUG:unable_to_handle_kernel

2017-04-05 Thread kernel test robot
FYI, we noticed the following commit: commit: 19d436268dde95389c616bb3819da73f0a8b28a8 ("debug: Add _ONCE() logic to report_bug()") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G

Re: [PATCH] get_maintainer: Add Yakir Yang to .get_maintainer.ignore

2017-04-05 Thread Joe Perches
On Thu, 2017-04-06 at 10:01 +0800, Jeffy Chen wrote: > The mail account "Yakir Yang " is no longer > valid. Does this person still want to be involved with the kernel? If so, perhaps a .mailmap entry would be more appropriate. > diff --git a/.get_maintainer.ignore b/.get_maintainer.ignore [] > @@

[PATCH 2/2] clk: qoriq: add pll clock to clock lookup table

2017-04-05 Thread Yuantian Tang
Register each PLL and its division clocks to clock lookup table to facilitate the clock look up for clock consumer. Signed-off-by: Tang Yuantian --- drivers/clk/clk-qoriq.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 62cf32f.

[PATCH 1/2] clk: qoriq: add clock configuration for ls1088a soc

2017-04-05 Thread Yuantian Tang
Clock on ls1088a chip takes primary clocking input from the external SYSCLK signal. The SYSCLK input (frequency) is multiplied using multiple phase locked loops (PLL) to create a variety of frequencies which can then be passed to a variety of internal logic, including cores and peripheral IP module

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

2017-04-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/firmware/efi/efi-pstore.c between commit: 76cc9580e3fb ("pstore: Replace arguments for write() API") from the pstore tree and commit: fee929ba1c93 ("efi/pstore: Return error code (if any) from efi_pstore_write(

Re: [PATCH v2] loop: Add PF_LESS_THROTTLE to block/loop device thread.

2017-04-05 Thread NeilBrown
On Wed, Apr 05 2017, Michal Hocko wrote: > On Wed 05-04-17 09:19:27, Michal Hocko wrote: >> On Wed 05-04-17 14:33:50, NeilBrown wrote: > [...] >> > diff --git a/drivers/block/loop.c b/drivers/block/loop.c >> > index 0ecb6461ed81..44b3506fd086 100644 >> > --- a/drivers/block/loop.c >> > +++ b/drive

Re: [RFC PATCH 2/6] x86/apic: Construct a framework for setuping APIC mode as soon as possible

2017-04-05 Thread Dou Liyang
Hi Thomas, At 04/05/2017 07:46 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: Now, there are two ways to setup local apic and io-apic in X86 arch: 1. In an SMP-capable system, it will be done when preparing the cpus in native_smp_prepare_boot_cpu(). 2. If UP_LATE_INIT is

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Steven Rostedt
On Wed, 5 Apr 2017 10:59:25 -0700 "Paul E. McKenney" wrote: > > > Could you please let me know if tracing happens in NMI handlers? > > > If so, a bit of additional code will be needed. > > > > > > Thanx, Paul > > > > > > PS. Which reminds me, a

[GIT PULL] extcon immutable branch for v4.12

2017-04-05 Thread Chanwoo Choi
Dear all, I created the extcon immutable branch for v4.12. This branch will be never changed before releasing the v4.12-rc1. If there are some patches depending on the extcon core, please pull this immutable branch. Best Regards, Chanwoo Choi The following changes since commit c02ed2e75ef4c74e4

Re: [RFC PATCH] raid1: reset 'bi_next' before reuse the bio

2017-04-05 Thread NeilBrown
On Wed, Apr 05 2017, Michael Wang wrote: > On 04/05/2017 12:17 AM, NeilBrown wrote: > [snip] >>> diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c >>> index 7d67235..0554110 100644 >>> --- a/drivers/md/raid1.c >>> +++ b/drivers/md/raid1.c >>> @@ -1986,11 +1986,13 @@ static int fix_sync_read_err

[PATCH] get_maintainer: Add Yakir Yang to .get_maintainer.ignore

2017-04-05 Thread Jeffy Chen
The mail account "Yakir Yang " is no longer valid. Some mail server(for example 263) would refuse to send mails when the address list contains this account. Update .get_maintainer.ignore to prevent that. Signed-off-by: Jeffy Chen --- .get_maintainer.ignore | 1 + 1 file changed, 1 insertion(+

[GIT] Networking

2017-04-05 Thread David Miller
1) Reject invalid updates to netfilter expectation policies, from Pablo Neira Ayuso. 2) Fix memory leak in nfnl_cthelper, from Jeffy Chen. 3) Don't do stupid things if we get a neigh_probe() on a neigh entry whose ops lack a solicit method. From Eric Dumazet. 4) Don't transmit packets in

Re: 4.11.0-rc5-00011-g08e4e0d oops in mpt3sas driver

2017-04-05 Thread Brad Campbell
On 06/04/17 08:30, Brad Campbell wrote: G'day All, This is a vaguely current git head kernel compiled yesterday. Oopsed and rebooted itself, and then oopsed and rebooted again. There was no sign of a raid rebuild in the kernel logs, and it's a staging machine so there is nothing running after a

Re: [PATCH net-next] bonding: attempt to better support longer hw addresses

2017-04-05 Thread David Miller
From: Jarod Wilson Date: Tue, 4 Apr 2017 17:32:42 -0400 > People are using bonding over Infiniband IPoIB connections, and who knows > what else. Infiniband has a hardware address length of 20 octets > (INFINIBAND_ALEN), and the network core defines a MAX_ADDR_LEN of 32. > Various places in the b

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, At 04/05/2017 06:50 PM, Thomas Gleixner wrote: On Wed, 5 Apr 2017, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, Thank you very much! At 04/05/2017 06:43 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be initialized here, actua

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Steven Rostedt
On Wed, 5 Apr 2017 13:42:29 -0700 "Paul E. McKenney" wrote: > > OK, do you want me to send you a patch, or should I take your patch > > into my tree and add this? > > Given that I don't seem to have disable_stack_tracer() and > enable_stack_tracer(), could you please add them in? That's what

Re: net/sched: latent livelock in dev_deactivate_many() due to yield() usage

2017-04-05 Thread Mike Galbraith
On Wed, 2017-04-05 at 17:31 -0700, Stephen Hemminger wrote: > On Sun, 02 Apr 2017 06:28:41 +0200 > Mike Galbraith wrote: > > > Livelock can be triggered by setting kworkers to SCHED_FIFO, then > > suspend/resume.. you come back from sleepy-land with a spinning > > kworker. For whatever reason, I

  1   2   3   4   5   6   7   8   9   10   >