Re: [RFC PATCH] driver core: Stop driver bind on NOTIFY_BAD

2017-06-27 Thread Greg KH
On Mon, Jun 26, 2017 at 01:35:50PM -0600, Alex Williamson wrote: > Allow participants in the BUS_NOTIFY_BIND_DRIVER to prevent driver > binding with a NOTIFY_BAD. An example case where this might be useful > is when we're dealing with IOMMU groups and userspace drivers. We've > defined that devic

Re: mmotm 2017-06-23-15-03 uploaded

2017-06-27 Thread Vlastimil Babka
On 06/27/2017 08:45 AM, huang ying wrote: > On Sat, Jun 24, 2017 at 6:04 AM, wrote: >> * mm-page_allocc-eliminate-unsigned-confusion-in-__rmqueue_fallback.patch > > After git bisecting, find the above patch will cause the following bug > on i386 with memory eater + swap. > > [ 10.657876] BUG:

Re: [PATCHSET for-4.13] cgroup: implement cgroup2 thread mode, v2

2017-06-27 Thread Peter Zijlstra
I'm slowly getting back to things... On Mon, Jun 12, 2017 at 05:27:53PM -0400, Tejun Heo wrote: > > > * Root cgroup can enable thread mode anytime and a first level child > > > can opt-in to that thread subtree anchored at root by writing "join" > > > to "cgroup.threads" files, start its own

Re: [PATCH 2/3] Turn bitmap_set and bitmap_clear into memset when possible

2017-06-27 Thread Matthew Wilcox
On Wed, Jun 07, 2017 at 11:16:37PM +0200, Rasmus Villemoes wrote: > On Wed, Jun 07 2017, Matthew Wilcox wrote: > > @@ -319,6 +319,9 @@ static __always_inline void bitmap_set(unsigned long > > *map, unsigned int start, > > { > > if (__builtin_constant_p(nbits) && nbits == 1) > > _

Re: mmotm 2017-06-23-15-03 uploaded

2017-06-27 Thread Vlastimil Babka
[+CC Rasmus, sorry] On 06/27/2017 09:01 AM, Vlastimil Babka wrote: > On 06/27/2017 08:45 AM, huang ying wrote: >> On Sat, Jun 24, 2017 at 6:04 AM, wrote: >>> * mm-page_allocc-eliminate-unsigned-confusion-in-__rmqueue_fallback.patch >> >> After git bisecting, find the above patch will cause the f

Re: [PATCH] ib_isert: prevent NULL pointer dereference in isert_login_recv_done()

2017-06-27 Thread Sagi Grimberg
Hi Andrea & Robert, Hi Andrea, Robert, Nic and Co We have hit this four times today. Any ideas? [ 169.382113] BUG: unable to handle kernel NULL pointer dereference at (null) [ 169.382152] IP: [] isert_login_recv_done+0x28/0x170 [ib_isert] So, we spent more time to track down t

Re: [PATCH] kref: Avoid null pointer dereference after WARN

2017-06-27 Thread Greg Kroah-Hartman
On Mon, Jun 26, 2017 at 08:52:15PM -0700, Kees Cook wrote: > From: Daniel Micay > > The WARN_ON() checking for a NULL release pointer should be a BUG() > since continuing with a NULL release pointer will lead to a NULL > pointer dereference anyway. > > The kref_put() case is extracted from PaX,

Re: [RFC PATCH] userfaultfd: Add feature to request for a signal delivery

2017-06-27 Thread Michal Hocko
This is an user visible API so let's CC linux-api mailing list. On Mon 26-06-17 12:46:13, Prakash Sangappa wrote: > In some cases, userfaultfd mechanism should just deliver a SIGBUS signal > to the faulting process, instead of the page-fault event. Dealing with > page-fault event using a monitor t

Re: [PATCH for 4.12] Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"

2017-06-27 Thread Brian Norris
On Mon, Jun 26, 2017 at 11:24:09PM -0700, Tony Lindgren wrote: > Hmm so how come drivers/bluetooth/btusb.c can't use the generic > dev_pm_set_dedicated_wake_irq()? Can you please take a look? I took a look previously, and last time I did, there were too many bugs for it to be useful. You may have

Re: next-20170620 BUG in do_page_fault / do_huge_pmd_wp_page

2017-06-27 Thread Vlastimil Babka
+CC Kirill, those 512 numbers smell like THP related. On 06/23/2017 07:48 AM, Naresh Kamboju wrote: > Hi Valdis, > > On 23 June 2017 at 08:56, wrote: >> Saw this at boot of next-20170620. Not sure how I managed to hit 4 BUG in a >> row... >> >> Looked in 'git log -- mm/' but not seeing anythi

Re: [GIT PULL 0/1] perf/urgent fix

2017-06-27 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 977282ed17a0213c84d59498a1e3f7088e211470: > > Merge tag 'perf-urgent-for-mingo-4.12-20170622' of > g

Re: linux-next: BUG: Bad page state in process ip6tables-save pfn:1499f4

2017-06-27 Thread Vlastimil Babka
On 06/24/2017 05:08 PM, Andrei Vagin wrote: > On Fri, Jun 23, 2017 at 05:17:44PM -0700, Andrei Vagin wrote: >> On Thu, Jun 22, 2017 at 11:21:03PM -0700, Andrei Vagin wrote: >>> Hello, >>> >>> We run CRIU tests for linux-next and today they triggered a kernel >>> bug. I want to mention that this ker

Re: [Nouveau] [PATCH v2 00/14] improve the fb_setcmap helper

2017-06-27 Thread Daniel Vetter
On Tue, Jun 27, 2017 at 05:50:38AM +1000, Dave Airlie wrote: > > > > I'm traveling and cannot make progress this week. The merge window is > > also real close so this series will therefore probably miss it unless > > something unexpected happens... > > Don't worry you missed the merge window for d

[tip:x86/urgent] x86/mm/hotplug: Fix BUG_ON() after hot-remove by not freeing PUD

2017-06-27 Thread tip-bot for Jérôme Glisse
Commit-ID: 98fe3633c5a44e5ee3d642907739eb0210407886 Gitweb: http://git.kernel.org/tip/98fe3633c5a44e5ee3d642907739eb0210407886 Author: Jérôme Glisse AuthorDate: Sat, 24 Jun 2017 14:05:14 -0400 Committer: Ingo Molnar CommitDate: Mon, 26 Jun 2017 11:44:19 +0200 x86/mm/hotplug: Fix BUG_ON

[tip:perf/urgent] perf machine: Fix segfault for kernel.kptr_restrict=2

2017-06-27 Thread tip-bot for Jiri Olsa
Commit-ID: 3f938ee2f6c4fff8d95b24636a0964b5a93cf547 Gitweb: http://git.kernel.org/tip/3f938ee2f6c4fff8d95b24636a0964b5a93cf547 Author: Jiri Olsa AuthorDate: Mon, 26 Jun 2017 11:51:53 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 26 Jun 2017 11:52:37 -0300 perf machine: Fix

Re: [PATCH v5] trace: ras: add ARM processor error information trace event

2017-06-27 Thread Borislav Petkov
On Tue, Jun 27, 2017 at 02:51:22PM +0800, Xie XiuQi wrote: > How about we report the full info via arm_err_info_event which just for > someone > who want the detail information, and leave arm_event closed. If someone do not > care the error detail, who could just open arm_event. So the way I read

[PATCH 00/14] staging: ccree: coding style fixes

2017-06-27 Thread Gilad Ben-Yossef
Fix a bunch of coding style across the whole ccree driver Gilad Ben-Yossef (14): staging: ccree: fix missing or redundant spaces staging: ccree: drop comparsion to true/false staging: ccree: fix else placement staging: ccree: remove redundant blank lines staging: ccree: no need for brace

[PATCH 01/14] staging: ccree: fix missing or redundant spaces

2017-06-27 Thread Gilad Ben-Yossef
Add and/or remove redundant and/or missing spaces in ccree source Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/Kconfig | 2 +- drivers/staging/ccree/ssi_aead.c| 38 drivers/staging/ccree/ssi_aead.h| 12 +-- drivers/staging/ccree/ssi_buffer_mgr.

[PATCH 1/2] iommu/dma: Respect __GFP_DMA and __GFP_DMA32 in incoming GFP flags

2017-06-27 Thread Tomasz Figa
Current implementation of __iommu_dma_alloc_pages() keeps adding __GFP_HIGHMEM to GFP flags regardless of whether other zone flags are already included in the incoming flags. If __GFP_DMA or __GFP_DMA32 is set at the same time as __GFP_HIGHMEM, the allocation fails due to invalid zone flag combinat

[PATCH 07/14] staging: ccree: remove comparisons to NULL

2017-06-27 Thread Gilad Ben-Yossef
Remove explicit comparisons to NULL in ccree driver. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 34 - drivers/staging/ccree/ssi_buffer_mgr.c | 44 - drivers/staging/ccree/ssi_cipher.c | 12 -

[PATCH 02/14] staging: ccree: drop comparsion to true/false

2017-06-27 Thread Gilad Ben-Yossef
Fix cases in ccree where explicit comparsion to true/false was made. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 18 +- drivers/staging/ccree/ssi_buffer_mgr.c | 20 ++-- drivers/staging/ccree/ssi_cipher.c | 2 +- drivers/stagi

[PATCH 12/14] staging: ccree: remove unused type CCFipsSyncStatus_t

2017-06-27 Thread Gilad Ben-Yossef
The CCFipsSyncStatus_t type was not being used in the code. Remove it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_fips_local.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips_local.h b/drivers/staging/ccree/ssi_fips_local.h index

[PATCH 09/14] staging: ccree: remove custom type tdes_keys_t

2017-06-27 Thread Gilad Ben-Yossef
Replace references to type tdes_keys_t with struct tdes_keys. _ Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_cipher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.c b/drivers/staging/ccree/ssi_cipher.c index b4fc9a6..

[PATCH 14/14] staging: ccree: fix block comment style

2017-06-27 Thread Gilad Ben-Yossef
Align block comments according to coding style. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h index f114

[PATCH 13/14] staging: ccree: remove/add (un)needed blank lines

2017-06-27 Thread Gilad Ben-Yossef
Remove or add blank lines as needed to match coding style. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 20 +-- drivers/staging/ccree/ssi_aead.h| 4 drivers/staging/ccree/ssi_buffer_mgr.c | 7 --- drivers/staging/ccree/ssi_buff

[PATCH 08/14] staging: ccree: fix pointer location

2017-06-27 Thread Gilad Ben-Yossef
Fix location of pointer in variables definitions and dereference. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.h| 4 ++-- drivers/staging/ccree/ssi_buffer_mgr.c | 12 ++-- drivers/staging/ccree/ssi_cipher.c | 8 drivers/staging/ccree/ssi_fip

[PATCH 10/14] staging: ccree: remove custom type ssi_fips_error_t

2017-06-27 Thread Gilad Ben-Yossef
Replace custom type ssi_fips_error_t with underlying enum. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_fips.c | 4 ++-- drivers/staging/ccree/ssi_fips.h | 6 +++--- drivers/staging/ccree/ssi_fips_ext.c | 6 +++--- drivers/staging/ccree/ssi_fips_ll.c| 30 +++

Re: [PATCH] rpmsg: Solve circular dependencies involving RPMSG_VIRTIO

2017-06-27 Thread Arnd Bergmann
On Tue, Jun 27, 2017 at 8:43 AM, Bjorn Andersson wrote: > While it's very common to use RPMSG for communicating with firmware > running on these remoteprocs there is no functional dependency on RPMSG. > As such RPMSG should be selected by the system integrator and not > automatically by the remote

[PATCH 11/14] staging: ccree: remove custom type ssi_fips_state_t

2017-06-27 Thread Gilad Ben-Yossef
Replace custom type ssi_fips_state_t with underlying enum. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_fips.c | 4 ++-- drivers/staging/ccree/ssi_fips.h | 6 +++--- drivers/staging/ccree/ssi_fips_ext.c | 6 +++--- drivers/staging/ccree/ssi_fips_local.c | 8 ---

[PATCH][drm-next] drm/i915: fix spelling mistake: "CouarPoint" -> "CougarPoint"

2017-06-27 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DRM_DEBUG_KMS message Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/i915_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index ee2325b180

[PATCH 2/2] iommu/dma: use __GFP_NOWARN only for high-order allocations

2017-06-27 Thread Tomasz Figa
Memory allocation routines are expected to report allocation errors to kernel log. However, current implementation of __iommu_dma_alloc_pages() adds __GFP_NOWARN for all calls to alloc_pages(), which completely disables any logging. Fix it by adding __GFP_NOWARN only to high order allocation attem

[PATCH 03/14] staging: ccree: fix else placement

2017-06-27 Thread Gilad Ben-Yossef
Fix cases where the else clause was not located correctly after the if brace. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 3 +-- drivers/staging/ccree/ssi_pm.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/s

[PATCH 05/14] staging: ccree: no need for braces for single statements

2017-06-27 Thread Gilad Ben-Yossef
Fix several cases of needless braces around single statement blocks. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 38 +++--- drivers/staging/ccree/ssi_buffer_mgr.c | 70 ++--- drivers/staging/ccree/ssi_cipher.c | 41 +

[PATCH 06/14] staging: ccree: fix unmatched if/else braces

2017-06-27 Thread Gilad Ben-Yossef
Fix mismatched braces between if and else. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 3 ++- drivers/staging/ccree/ssi_cipher.c | 7 +++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/stag

[PATCH 04/14] staging: ccree: remove redundant blank lines

2017-06-27 Thread Gilad Ben-Yossef
Remove redundant blank lines in brace blocks Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 2 -- drivers/staging/ccree/ssi_buffer_mgr.c | 8 drivers/staging/ccree/ssi_cipher.c | 5 - drivers/staging/ccree/ssi_driver.c | 1 - drivers/staging

Re: [PATCH 22/23] usercopy: split user-controlled slabs to separate caches

2017-06-27 Thread Michal Hocko
On Tue 20-06-17 15:22:58, Kees Cook wrote: > On Tue, Jun 20, 2017 at 1:24 PM, Laura Abbott wrote: > > On 06/19/2017 04:36 PM, Kees Cook wrote: > >> From: David Windsor > >> > >> Some userspace APIs (e.g. ipc, seq_file) provide precise control over > >> the size of kernel kmallocs, which provides

Re: [PATCH for 4.12] Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"

2017-06-27 Thread Tony Lindgren
* Brian Norris [170627 00:07]: > On Mon, Jun 26, 2017 at 11:24:09PM -0700, Tony Lindgren wrote: > > Hmm so how come drivers/bluetooth/btusb.c can't use the generic > > dev_pm_set_dedicated_wake_irq()? Can you please take a look? > > I took a look previously, and last time I did, there were too ma

Re: [PATCH] HID: wacom:fix spelling mistake: "exising" -> "existing"

2017-06-27 Thread Benjamin Tissoires
On Jun 26 2017 or thereabouts, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in hid_warn warning message > > Signed-off-by: Colin Ian King > --- Looks good to me: Reviewed-by: Benjamin Tissoires Cheers, Benjamin > drivers/hid/wacom_wac.c | 8 > 1 fil

Re: [PATCH v2 16/51] block: bounce: avoid direct access to bvec table

2017-06-27 Thread Ming Lei
On Mon, Jun 26, 2017 at 11:12:11PM -0700, Matthew Wilcox wrote: > On Mon, Jun 26, 2017 at 08:09:59PM +0800, Ming Lei wrote: > > bio_for_each_segment_all(bvec, bio, i) { > > - org_vec = bio_orig->bi_io_vec + i + start; > > - > > - if (bvec->bv_page == org_vec->bv_page) > > -

Re: [PATCH v2] drm/core: Fail atomic IOCTL with no CRTC state but with signaling.

2017-06-27 Thread Daniel Vetter
On Mon, Jun 26, 2017 at 03:44:07PM -0400, Harry Wentland wrote: > On 2017-06-20 01:57 PM, Andrey Grodzovsky wrote: > > Problem : While running IGT kms_atomic_transition test suite i encountered > > a hang in drmHandleEvent immediately following an atomic_commit. > > After dumping the atomic state

Re: mmotm 2017-06-23-15-03 uploaded

2017-06-27 Thread Rasmus Villemoes
>> >> However, the patch in mmotm seems to be missing this crucial hunk that >> Rasmus had in the patch he sent [1]: >> >> -__rmqueue_fallback(struct zone *zone, unsigned int order, int >> start_migratetype) >> +__rmqueue_fallback(struct zone *zone, int order, int start_migratetype) >> >> which mak

Re: [PATCH 1/2] dt-bindings: spi: Document the STM32 SPI bindings

2017-06-27 Thread Amelie DELAUNAY
Hi Rob, On 06/26/2017 08:21 PM, Rob Herring wrote: On Wed, Jun 21, 2017 at 04:32:05PM +0200, Amelie Delaunay wrote: This patch adds the documentation of device tree bindings for the STM32 SPI controller. Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/spi/spi-stm32.txt |

[PATCH] net/mlx5: fix spelling mistake: "alloated" -> "allocated"

2017-06-27 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in mlx5_ib_dbg message Signed-off-by: Colin Ian King --- drivers/infiniband/hw/mlx5/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 9f7e1

[PATCH v2 1/2] Staging: rtl8712 : os_intfs.c: use octal permission representation

2017-06-27 Thread Jaya Durga
Fix checkpatch.pl Warning: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred. Consider using octal permissions '0644'. Signed-off-by: Jaya Durga --- drivers/staging/rtl8712/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/os_intfs.c

[PATCH] sparc: time: make of_device_ids const.

2017-06-27 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 10821048 3362466 9a2 arch/sparc/ke

[PATCH v5 1/1] f2fs: dax: implement direct access

2017-06-27 Thread sunqiuyang
From: Qiuyang Sun This patch implements Direct Access (DAX) in F2FS, including: - a mount option to choose whether to enable DAX or not - read/write and mmap of regular files in the DAX way - zero-out of unaligned partial blocks in the DAX way - garbage collection of DAX files, by mapping both ol

Re: [PATCH] HID: wacom:fix spelling mistake: "exising" -> "existing"

2017-06-27 Thread Jiri Kosina
On Mon, 26 Jun 2017, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in hid_warn warning message > > Signed-off-by: Colin Ian King Applied to for-4.13/wacom. -- Jiri Kosina SUSE Labs

[PATCH 1/3] include: uapi: usb: Introduce USB charger type and state definition

2017-06-27 Thread Baolin Wang
Introducing USB charger type and state definition can help to support USB charging which will be added in USB phy core. Signed-off-by: Baolin Wang --- include/uapi/linux/usb/charger.h | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 include/uapi/linux/

[PATCH 2/3] usb: phy: Add USB charger support

2017-06-27 Thread Baolin Wang
This patch introduces the usb charger support based on usb phy that makes an enhancement to a power driver. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the extcon device state change, the usb charger will report to power user to set th

[PATCH 3/3] power: wm831x_power: Support USB charger current limit management

2017-06-27 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others. Signed-off-

Re: [PATCH] Input: synaptics - switch t460s 20FN to use RMI4 over SMBus

2017-06-27 Thread Benjamin Tissoires
On Jun 26 2017 or thereabouts, Benjamin Tissoires wrote: > On Jun 26 2017 or thereabouts, Christopher Bachner wrote: > > Hello, > > > > I am assuming that if the inertouch message is not showing up in dmesg, > > then it is working. Is that a correct assumption? > > > > Either way I also attached

[PATCH 4/4] Staging: rtl8712 : osdep_intf.h: fix macro coding style issue

2017-06-27 Thread Jaya Durga
Fix checkpatch.pl warning of the form "CHECK" Macro argument 'x' may be better as '(x)' to avoid precedence issues. Signed-off-by: Jaya Durga --- drivers/staging/rtl8712/osdep_intf.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/osdep_intf.h b/d

[PATCH] checkpatch: add *_ON_STACK to $declaration_macros

2017-06-27 Thread Gilad Ben-Yossef
Add the crypto API *_ON_STACK to $declaration_macros. Resolves the following false warning: WARNING: Missing a blank line after declarations + int err; + SHASH_DESC_ON_STACK(desc, ctx_p->shash_tfm); Signed-off-by: Gilad Ben-Yossef --- scripts/checkpa

[PATCH 4/6] drivers: perf: hisi: Add support for HiSilicon SoC HHA PMU driver

2017-06-27 Thread Shaokun Zhang
L3 cache coherence is maintained by Hydra Home Agent (HHA) in HiSilicon SoC. This patch adds support for HHA PMU driver, Each HHA has own control, counter and interrupt registers and is an separate PMU. For each HHA PMU, it has 16-programable counters and supports 0x50 events, event code is 8-bits

[PATCH 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver

2017-06-27 Thread Shaokun Zhang
This patchset adds support for HiSilicon SoC uncore PMUs driver. It includes L3C, Hydra Home Agent (HHA) and DDRC. Shaokun Zhang (6): Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver drivers: perf: hisi: Add support for HiSilicon SoC uncore PMU driver drivers: perf: hisi

[PATCH 6/6] arm64: MAINTAINERS: hisi: Add HiSilicon SoC PMU support

2017-06-27 Thread Shaokun Zhang
Add support HiSilicon SoC uncore PMU driver. Signed-off-by: Shaokun Zhang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c0348bc..fbd664b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6072,6 +6072,13 @@ S: Maintained F: driv

[PATCH 2/6] drivers: perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-06-27 Thread Shaokun Zhang
This patch adds support HiSilicon SoC uncore PMU driver framework and interfaces. Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/Kconfig | 7 + drivers/perf/Makefile| 1 + drivers/perf/hisilicon/Makefile | 1 + driver

[PATCH 5/6] drivers: perf: hisi: Add support for HiSilicon SoC DDRC PMU driver

2017-06-27 Thread Shaokun Zhang
This patch adds support for DDRC PMU driver in HiSilicon SoC chip, Each DDRC has own control, counter and interrupt registers and is an separate PMU. For each DDRC PMU, it has 8-fixed-purpose counters which have been mapped to 8-events by hardware, it assumes that counter index is equal to event co

[PATCH 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-06-27 Thread Shaokun Zhang
This patch adds documentation for the uncore PMUs on HiSilicon SoC. Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- Documentation/perf/hisi-pmu.txt | 51 + 1 file changed, 51 insertions(+) create mode 100644 Documentation/perf/hisi-pmu.txt diff

[PATCH 3/6] drivers: perf: hisi: Add support for HiSilicon SoC L3C PMU driver

2017-06-27 Thread Shaokun Zhang
This patch adds support for L3C PMU driver in HiSilicon SoC chip, Each L3C has own control, counter and interrupt registers and is an separate PMU. For each L3C PMU, it has 8-programable counters and supports 0x60 events, each event code is 8-bits and every counter is free-running. Interrupt is sup

Re: omap3isp camera was Re: [PATCH v1 0/6] Add support of OV9655 camera

2017-06-27 Thread Hugues FRUCHET
Hi Nikolaus, I would propose to work first on YUV support, so you can test a YUV VGA grabbing using your OMPA3 setup, I will add this support then in patch serie. For the co-work, let's continue on IRC (irc.freenode.net), chat #v4l, my pseudo is "hfr". BR, Hugues. On 06/26/2017 06:28 PM, H.

Re: [PATCH 2/3] Turn bitmap_set and bitmap_clear into memset when possible

2017-06-27 Thread Rasmus Villemoes
> It's actually slightly less efficient in the caller (although obviously > memset() is going to execute faster than bitmap_set()). Partly because > x86 made some odd choices about the behaviour of an 8-bit move instruction > (it leaves the upper 24 bits intact, rather than zeroing them, so gcc >

Re: [PATCH v2 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller

2017-06-27 Thread Baolin Wang
On 26 June 2017 at 06:19, Linus Walleij wrote: > On Wed, Jun 21, 2017 at 10:10 AM, Baolin Wang wrote: >> On 20 June 2017 at 17:31, Linus Walleij wrote: >>> On Tue, Jun 13, 2017 at 5:15 AM, Baolin Wang >>> wrote: >>> I forgot one most important reason why we can not use the "sleep" state.

Re: [PATCH 00/20] LightNVM: pblk patches for 4.13

2017-06-27 Thread Javier González
> On 27 Jun 2017, at 00.29, Jens Axboe wrote: > > On Mon, Jun 26 2017, Javier González wrote: >> Hi Matias, >> >> Here you have the pblk patchset for this window. >> >> Apart from small fixes for LightNVM core and pblk, there are three >> relevant changes: >> >> - Metadata for each line is no

Re: [tip:x86/mm] x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap

2017-06-27 Thread Jiri Kosina
On Fri, 23 Jun 2017, Oleg Nesterov wrote: > > We added a heuristics to treat applications with RLIMIT_STACK configured > > to unlimited as legacy. This means: > > To me this also means a minor security problem. The comment above > PER_CLEAR_ON_SETID says "must be cleared upon setuid or setgid exe

Re: [PATCH v3 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-06-27 Thread Baolin Wang
On 一, 6月 26, 2017 at 09:05:39上午 -0500, Rob Herring wrote: > On Mon, Jun 26, 2017 at 5:28 AM, Baolin Wang > wrote: > > This patch adds the binding documentation for Spreadtrum I2C > > controller device. > > > > Signed-off-by: Baolin Wang > > --- > > Changes since v2: > > - Change compatible str

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-06-27 Thread Corentin Labbe
On Mon, Jun 26, 2017 at 01:18:23AM +0100, André Przywara wrote: > On 31/05/17 08:18, Corentin Labbe wrote: > > The dwmac-sun8i is a heavy hacked version of stmmac hardware by > > allwinner. > > In fact the only common part is the descriptor management and the first > > register function. > > Hi, >

Re: [PATCH v3 0/4] kmod: help make deterministic

2017-06-27 Thread Petr Mladek
On Tue 2017-06-27 02:27:44, Luis R. Rodriguez wrote: > On Tue, Jun 27, 2017 at 12:44:42AM +0200, Luis R. Rodriguez wrote: > > On Mon, Jun 26, 2017 at 11:37:36PM +0200, Jessica Yu wrote: > > > +++ Kees Cook [20/06/17 17:23 -0700]: > > > > On Tue, Jun 20, 2017 at 1:56 PM, Luis R. Rodriguez > > > >

[PATCH] drm/nouveau/therm: fix spelling mistake on array thresolds

2017-06-27 Thread Colin King
From: Colin Ian King Array thresolds should be named thresholds, rename it. Also make it static static const char * const Signed-off-by: Colin Ian King --- drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-06-27 Thread Chen-Yu Tsai
On Tue, Jun 27, 2017 at 4:05 PM, Corentin Labbe wrote: > On Mon, Jun 26, 2017 at 01:18:23AM +0100, André Przywara wrote: >> On 31/05/17 08:18, Corentin Labbe wrote: >> > The dwmac-sun8i is a heavy hacked version of stmmac hardware by >> > allwinner. >> > In fact the only common part is the descrip

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-06-27 Thread Corentin Labbe
On Tue, Jun 27, 2017 at 04:11:21PM +0800, Chen-Yu Tsai wrote: > On Tue, Jun 27, 2017 at 4:05 PM, Corentin Labbe > wrote: > > On Mon, Jun 26, 2017 at 01:18:23AM +0100, André Przywara wrote: > >> On 31/05/17 08:18, Corentin Labbe wrote: > >> > The dwmac-sun8i is a heavy hacked version of stmmac hard

Re: [PATCH v4 1/3] pinctrl: Add sleep related configuration

2017-06-27 Thread Baolin Wang
On 一, 6月 26, 2017 at 11:13:48上午 -0500, Rob Herring wrote: > On Wed, Jun 21, 2017 at 07:55:37PM +0800, Baolin Wang wrote: > > In some scenarios, we should set some pins as input/output/pullup/pulldown > > when the specified system goes into deep sleep mode, then when the system > > goes into deep s

Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C

2017-06-27 Thread Brendan Higgins
On Fri, Jun 23, 2017 at 11:43 AM, Wolfram Sang wrote: > On Tue, Jun 20, 2017 at 02:15:15PM -0700, Brendan Higgins wrote: >> Added initial master support for Aspeed I2C controller. Supports >> fourteen busses present in AST24XX and AST25XX BMC SoCs by Aspeed. >> >> Signed-off-by: Brendan Higgins >

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-27 Thread Michael Schmitz
Ondrej, could this be a partial write (target did not transfer the last byte)? One would suppose the chip posts a phase mismatch in that case ... Cheers, Michael Am 27.06.2017 um 18:28 schrieb Ondrej Zary: > On Monday 26 June 2017, Ondrej Zary wrote: >> On Monday 26 June 2017 09:30:33

Re: [PATCH] x86/boot/KASLR: Skip relocation handling in no kaslr case

2017-06-27 Thread Ingo Molnar
* Baoquan He wrote: > As you suggested, we can add a checking to see if the virt_addr is > bigger than 1G, and print warning if exceed or hang there with error > message. Could you try a patch for that, and see whether it catches this particular bug? (before the fix is applied.) Could be a 2

Re: [PATCH v2 8/8] iio: counter: Add support for STM32 LPTimer

2017-06-27 Thread Benjamin Gaignard
2017-06-26 22:29 GMT+02:00 William Breathitt Gray : > On Sat, Jun 24, 2017 at 09:35:39PM +0100, Jonathan Cameron wrote: >>On Wed, 21 Jun 2017 16:30:15 +0200 >>Fabrice Gasnier wrote: >> >>> Add support for STM32 Low-Power Timer, that can be used as counter >>> or quadrature encoder. >>> >>> Signed-

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-06-27 Thread Tomasz Figa
Hi Jacob, Please see my comments inline. On Mon, Jun 26, 2017 at 11:51 PM, Jacob Chen wrote: > Rockchip RGA is a separate 2D raster graphic acceleration unit. It > accelerates 2D graphics operations, such as point/line drawing, image > scaling, rotation, BitBLT, alpha blending and image blur/sha

Re: [PATCH] tracing/kprobes: allow to create probe with a module name starting with a digit

2017-06-27 Thread Masami Hiramatsu
On Thu, 22 Jun 2017 11:24:42 +0200 Sabrina Dubroca wrote: > Always try to parse an address, since kstrtoul() will safely fail when > given a symbol as input. If that fails (which will be the case for a > symbol), try to parse a symbol instead. > > This allows creating a probe such as: > > p

Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C

2017-06-27 Thread Brendan Higgins
On Sun, Jun 25, 2017 at 11:18 PM, Joel Stanley wrote: > On Sat, Jun 24, 2017 at 4:13 AM, Wolfram Sang wrote: >> On Tue, Jun 20, 2017 at 02:15:15PM -0700, Brendan Higgins wrote: >>> Added initial master support for Aspeed I2C controller. Supports >>> fourteen busses present in AST24XX and AST25XX

selftests/capabilities: test FAIL on linux mainline and linux-next and PASS on linux-4.4.70+

2017-06-27 Thread Naresh Kamboju
-20170627 (buildslave@x86-64-07) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Tue Jun 27 06:33:39 UTC 2017 LAVA job id: https://lkft.validation.linaro.org/scheduler/job/4397#L1412 Running tests in capabilities [OK] Capabilities after

Re: [PATCH] arm: perf: make of_device_ids const

2017-06-27 Thread Will Deacon
On Tue, Jun 27, 2017 at 11:42:21AM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > arch/arm/k

[PATCH] ligtnvm: if LUNs are already allocated fix return

2017-06-27 Thread Matias Bjørling
From: Rakesh Pandit While creating new device with NVM_DEV_CREATE if LUNs are already allocated ioctl would return -ENOMEM which is wrong. This patch propagates -EBUSY from nvm_reserve_luns which is correct response. Fixes: ade69e243 ("lightnvm: merge gennvm with core") Signed-off-by: Rakesh Pa

[PATCH] Small patch for 4.13 window

2017-06-27 Thread Matias Bjørling
Hi Jens, Thanks for picking up the pblk changes. I have just a small one that wasn't part of the batch. Would you pick this one up as well for the 4.13 window? -Matias Rakesh Pandit (1): ligtnvm: if LUNs are already allocated fix return drivers/lightnvm/core.c | 11 ++- 1 file change

Re: [PATCH v4 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-27 Thread Jose Abreu
Hi Sylwester, On 25-06-2017 22:13, Sylwester Nawrocki wrote: > On 06/20/2017 07:26 PM, Jose Abreu wrote: >> This is an initial submission for the Synopsys Designware HDMI RX >> Controller Driver. This driver interacts with a phy driver so that >> a communication between them is created and a vide

Re: [PATCH 13/17] RISC-V: Add include subdirectory

2017-06-27 Thread Will Deacon
Hi Dan, On Tue, Jun 27, 2017 at 12:07:20AM +, Daniel Lustig wrote: > > > https://github.com/riscv/riscv-isa-manual/releases/download/riscv-user > > > -2.2/riscv-spec-v2.2.pdf > > > > That's the most up to date spec. > > Yes, that's the most up to date public spec. Internally, the RISC-V mem

Re: [PATCH 3/6] xfs: map KM_MAYFAIL to __GFP_RETRY_MAYFAIL

2017-06-27 Thread Michal Hocko
Christoph, Darrick could you have a look at this patch please? Andrew has put it into mmotm but I definitely do not want it passes your attention. On Fri 23-06-17 10:53:42, Michal Hocko wrote: > From: Michal Hocko > > KM_MAYFAIL didn't have any suitable GFP_FOO counterpart until recently > so it

Re: [PATCH v2 3/5] dt-bindings: stm32-dma: Add property to handle STM32 DMAMUX

2017-06-27 Thread Pierre Yves MORDRET
On 06/26/2017 09:33 PM, Rob Herring wrote: > On Fri, Jun 23, 2017 at 03:00:51PM +0200, Pierre-Yves MORDRET wrote: >> This patch adds an optional property needed for STM32 DMA controller >> addressed via STM32 DMAMUX. >> >> Signed-off-by: M'boumba Cedric Madianga >> Signed-off-by: Pierre-Yves MOR

Re: [PATCH v2 1/5] dt-bindings: Document the STM32 DMAMUX bindings

2017-06-27 Thread Pierre Yves MORDRET
On 06/26/2017 09:28 PM, Rob Herring wrote: > On Fri, Jun 23, 2017 at 03:00:49PM +0200, Pierre-Yves MORDRET wrote: >> This patch adds the documentation of device tree bindings for the STM32 >> DMAMUX. >> >> Signed-off-by: M'boumba Cedric Madianga >> Signed-off-by: Pierre-Yves MORDRET >> --- >>

Re: [PATCH] x86/boot/KASLR: Skip relocation handling in no kaslr case

2017-06-27 Thread Baoquan He
On 06/27/17 at 10:34am, Ingo Molnar wrote: > > * Baoquan He wrote: > > > As you suggested, we can add a checking to see if the virt_addr is > > bigger than 1G, and print warning if exceed or hang there with error > > message. > > Could you try a patch for that, and see whether it catches this p

[PATCH] fix Uart_C Pinning of odroidc2 in linux-4.12.-rc7

2017-06-27 Thread Otto Meier
Please find attached a fix for wrong uart_c pinning of odroid-c2 in mainline kernels Regards Otto --- linux-next-20170623/drivers/pinctrl/meson/pinctrl-meson-gxbb.c.orig 2017-06-23 11:30:35.072037057 +0200 +++ linux-next-20170623/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2017-06-26 12:31:2

Reply me back!!

2017-06-27 Thread Mr.Adams Salem
I have been trying to reach you

Re: [PATCH v2 1/8] dt-bindings: mfd: Add STM32 LPTimer binding

2017-06-27 Thread Fabrice Gasnier
On 06/26/2017 08:07 PM, Rob Herring wrote: > On Wed, Jun 21, 2017 at 04:30:08PM +0200, Fabrice Gasnier wrote: >> Add documentation for STMicroelectronics STM32 Low-Power Timer binding. >> >> Signed-off-by: Fabrice Gasnier >> --- >> Changes in v2: >> - Lee's comments: s/Low Power/Low-Power/, remove

Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C

2017-06-27 Thread Wolfram Sang
> > If SCL is stuck low, how do you want to send a STOP? > > > > Fair point. I should probably drop that in the future and just do a > reset, and even then, doing a > reset is probably just wishful thinking. If a slave is holding down > SCL, we are pretty screwed. Yes, you'd need to reset the cl

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-06-27 Thread Andre Przywara
Hi, (CC:ing some people from that Rockchip dmwac series) On 27/06/17 09:21, Corentin Labbe wrote: > On Tue, Jun 27, 2017 at 04:11:21PM +0800, Chen-Yu Tsai wrote: >> On Tue, Jun 27, 2017 at 4:05 PM, Corentin Labbe >> wrote: >>> On Mon, Jun 26, 2017 at 01:18:23AM +0100, André Przywara wrote:

Re: [PATCH 0/2] Notifications for perf sideband events

2017-06-27 Thread Naveen N. Rao
On 2017/06/19 08:01PM, Naveen N. Rao wrote: > Currently, there is no way to ask for signals to be delivered when a > certain number of sideband events have been logged into the ring buffer. > This is problematic if we are only interested in, say, context switch > events. Furthermore, signals are mo

Re: [PATCH v2 5/8] dt-bindings: iio: Add STM32 LPTimer trigger binding

2017-06-27 Thread Fabrice Gasnier
On 06/26/2017 10:38 PM, Jonathan Cameron wrote: > > > On 26 June 2017 19:14:16 BST, Rob Herring wrote: >> On Wed, Jun 21, 2017 at 04:30:12PM +0200, Fabrice Gasnier wrote: >>> Add documentation for STMicroelectronics STM32 Low-Power Timer >> Trigger >>> binding. >>> >>> Signed-off-by: Fabrice Gas

Re: Applied "spi: atmel: fix corrupted data issue on SAM9 family SoCs" to the spi tree

2017-06-27 Thread Cyrille Pitchen
Hi Russell, Le 23/06/2017 à 19:18, Russell King - ARM Linux a écrit : > On Fri, Jun 23, 2017 at 05:15:58PM +0100, Mark Brown wrote: >> +#ifdef CONFIG_SOC_SAM_V4_V5 >> +/* >> + * Atmel SoCs based on ARM9 (SAM9x) cores should not use spi_map_buf() >> + * since this later function tries t

Re: [PATCH] ligtnvm: if LUNs are already allocated fix return

2017-06-27 Thread Frans Klaver
On Tue, Jun 27, 2017 at 10:39 AM, Matias Bjørling wrote: > From: Rakesh Pandit > > While creating new device with NVM_DEV_CREATE if LUNs are already > allocated ioctl would return -ENOMEM which is wrong. This patch > propagates -EBUSY from nvm_reserve_luns which is correct response. > > Fixes: a

[PATCH] sparc: kernel: pmc: make of_device_ids const.

2017-06-27 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/sparc/kernel/pmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

Re: [PATCH] drm: exynos: dsi: release DSI_PORT_OUT node right after of_drm_find_bridge()

2017-06-27 Thread Inki Dae
Hi Andrzej, 2017년 06월 26일 16:02에 Andrzej Hajda 이(가) 쓴 글: > Hi Shuah, > > > On 24.06.2017 02:56, Shuah Khan wrote: >> Fix to call of_node_put() right after of_drm_find_bridge() instead of >> holding on to it until exynos_dsi_remove(). > > I think the current implementation is OK, node is get in

  1   2   3   4   5   6   7   8   9   10   >