Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Julien Grall
Hi all, It looks like the series has fully been acked, can someone merge this into xentip? Cheers, On 04/24/2017 06:58 PM, Julien Grall wrote: Hi all, This small patch series implements EFI reset_system callback when using EFI Xen. Without this, it will not be possible to reboot/power off A

Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash

2017-05-02 Thread Michal Hocko
On Tue 02-05-17 16:52:00, Xishi Qiu wrote: > On 2017/5/2 16:43, Michal Hocko wrote: > > > On Tue 02-05-17 15:59:23, Xishi Qiu wrote: > >> Hi, I use "memtester -p 0x6c800 10G" to test physical address > >> 0x6c800 > >> Because this physical address is invalid, and valid_mmap_phys_a

Re: [PATCH v8 05/10] media: venus: adding core part and helper functions

2017-05-02 Thread Stanimir Varbanov
Hi, On 04/29/2017 11:22 PM, Bjorn Andersson wrote: > On Fri 28 Apr 15:02 PDT 2017, Jordan Crouse wrote: > >> On Fri, Apr 28, 2017 at 12:13:52PM +0300, Stanimir Varbanov wrote: >>> +int venus_boot(struct device *parent, struct device *fw_dev) >>> +{ >>> + const struct firmware *mdt; >>> + phys

Re: [PATCH] perf report: distinguish between inliners in the same function

2017-05-02 Thread Milian Wolff
On Tuesday, May 2, 2017 4:11:14 AM CEST Jin, Yao wrote: > SNIP > > > ~ > > $ perf report --stdio --inline --no-children > > Failed to open [ext4], continuing without symbols > > # To display the perf.data header info, please use --header/--header-only > > options. > > # > > # > > # Total Lost

Re: [RFC PATCHv2 2/3] drm/prime: Introduce drm_gem_prime_import_platform

2017-05-02 Thread Daniel Vetter
On Wed, Apr 26, 2017 at 02:12:29PM -0700, Laura Abbott wrote: > The existing drm_gem_prime_import function uses the underlying > struct device of a drm_device for attaching to a dma_buf. Some drivers > (notably vgem) may not have an underlying device structure. Offer > an alternate function to atta

Re: [PATCH 2/5] mtd: nand: gpmi: add i.MX 7 SoC support

2017-05-02 Thread Boris Brezillon
Hi Han, On Fri, 21 Apr 2017 13:29:16 -0500 Han Xu wrote: > >> > > But then, adding the type would only require 2-3 lines of change if I > > add it to the GPMI_IS_MX6 macro... > > Then at least add a comment because using type = IMX6SX right under > gpmi_data_mx7d can t

Re: [PATCH v7 5/7] coresight: add support for CPU debug module

2017-05-02 Thread Leo Yan
On Tue, May 02, 2017 at 04:30:03PM +0800, Leo Yan wrote: [...] > +static void debug_force_cpu_powered_up(struct debug_drvdata *drvdata) > +{ > + u32 edprcr; > + > +try_again: > + > + /* > + * Send request to power management controller and assert > + * DBGPWRUPREQ signal; if pow

[PATCH 0/9] pinctrl: Fine-tuning for some function implementations

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 11:16:54 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): Use seq_putc() in three functions Combine two seq_puts() calls into one call in two functions Combine five seq_printf() calls into

[PATCH 1/9] pinctrl: Use seq_putc() in three functions

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 May 2017 22:24:29 +0200 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinconf.c | 8 ++

Re: [PATCH man-pages 1/2] userfaultfd.2: start documenting non-cooperative events

2017-05-02 Thread Mike Rapoport
On Mon, May 01, 2017 at 08:34:16PM +0200, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > On 04/28/2017 11:45 AM, Mike Rapoprt wrote: > > > > > > On April 27, 2017 8:26:16 PM GMT+03:00, "Michael Kerrisk (man-pages)" > > wrote: > >> Hi Mike, > >> > >> I've applied this, but have some question

[PATCH 2/9] pinctrl: Combine two seq_puts() calls into one call in two functions

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 May 2017 22:42:13 +0200 Some text was put into a sequence by two separate function calls. Print the same data by a single function call instead. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinconf.c | 11 ++- 1 file changed, 6 insertions(+), 5 de

[PATCH 3/9] pinctrl: Combine five seq_printf() calls into one call in pinconf_dbg_config_print()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 1 May 2017 22:52:29 +0200 Some data were put into a sequence by five separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinc

Re: [PATCH v4 2/3] drm/vc4: Don't try to initialize FBDEV if we're only bound to V3D.

2017-05-02 Thread Daniel Vetter
On Fri, Apr 28, 2017 at 03:42:22PM -0700, Eric Anholt wrote: > The FBDEV initialization would throw an error in dmesg, when we just > want to silently not initialize fbdev on a V3D-only VC4 instance. > > Signed-off-by: Eric Anholt With the commit message updated that passing num_connector is the

[PATCH 4/9] pinctrl: Replace two seq_printf() calls by seq_puts() in pinconf_show_map()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 09:52:50 +0200 Strings which did not contain data format specifications should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers

[PATCH 5/9] pinctrl: Adjust five checks for null pointers

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 10:01:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pla

[PATCH 6/9] pinctrl: Combine substrings for a message in pin_config_group_get()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 10:22:47 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinconf.c | 5 ++--- 1 file ch

答复: [PATCH v6 0/2] tcmu: Dynamic growing data area support

2017-05-02 Thread lixiubo
> > Xiubo Li (2): > > tcmu: Add dynamic growing data area feature support > > tcmu: Add global data block pool support > > > > drivers/target/target_core_user.c | 598 > > ++ > > 1 file changed, 469 insertions(+), 129 deletions(-) > > > > So based upon the

Re: [PATCH] tty: serdev: fix serdev_device_write return value

2017-05-02 Thread Johan Hovold
On Mon, May 01, 2017 at 07:17:14PM -0500, Rob Herring wrote: > Commit 6fe729c4bdae ("serdev: Add serdev_device_write subroutine") > provides a compatibility wrapper for the existing > serdev_device_write_buf, but it fails to return the number of bytes > written causing users to timeout. So this wo

[PATCH 7/9] pinctrl: Add spaces for better code readability

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 10:32:19 +0200 The script "checkpatch.pl" pointed information out like the following. CHECK: spaces preferred around that '+' (ctx:VxV) Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinconf.c | 8 ---

[PATCH 8/9] pinctrl: Use seq_putc() in pinctrl_maps_show()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 10:47:35 +0200 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/core.c | 2 +- 1

Re: [PATCH 1/5] efi: Move the x86 secure boot switch to generic code

2017-05-02 Thread David Howells
Hi Ard, Any thoughts on these patches? Thanks, David

[PATCH 9/9] pinctrl: Adjust nine checks for null pointers

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 11:04:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code plac

Re: [PATCH 1/2] drm: Introduce crtc->mode_valid() callback

2017-05-02 Thread Jose Abreu
Hi Daniel, On 02-05-2017 09:48, Daniel Vetter wrote: > On Wed, Apr 26, 2017 at 11:48:34AM +0100, Jose Abreu wrote: >> Some crtc's may have restrictions in the mode they can display. In >> this patch a new callback (crtc->mode_valid()) is introduced that >> is called at the same stage of connector

Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Juergen Gross
On 02/05/17 11:08, Julien Grall wrote: > Hi all, > > It looks like the series has fully been acked, can someone merge this > into xentip? As I already wrote: patch 1 doesn't apply any longer. As there were other conflicts between xentip and Linus' tree I'm doing a rebase of for-linus-4.12 right

Re: [PATCH man-pages 1/5] ioctl_userfaultfd.2: update description of shared memory areas

2017-05-02 Thread Mike Rapoport
On Mon, May 01, 2017 at 08:33:31PM +0200, Michael Kerrisk (man-pages) wrote: > Hello Mike, > > I've applied this patch, but have a question. > > On 05/01/2017 07:43 AM, Mike Rapoport wrote: > > Signed-off-by: Mike Rapoport > > --- > > man2/ioctl_userfaultfd.2 | 13 +++-- > > 1 file cha

Re: [PATCH man-pages 3/5] ioctl_userfaultfd.2: add BUGS section

2017-05-02 Thread Mike Rapoport
On Mon, May 01, 2017 at 08:33:50PM +0200, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > I've applied this, but have a question. > > On 05/01/2017 07:43 AM, Mike Rapoport wrote: > > The features handshake is not quite convenient. > > Elaborate about it in the BUGS section. > > > > Signed-off-

Re: [RFC] dev/mem: "memtester -p 0x6c80000000000 10G" cause crash

2017-05-02 Thread Xishi Qiu
On 2017/5/2 17:16, Michal Hocko wrote: > On Tue 02-05-17 16:52:00, Xishi Qiu wrote: >> On 2017/5/2 16:43, Michal Hocko wrote: >> >>> On Tue 02-05-17 15:59:23, Xishi Qiu wrote: Hi, I use "memtester -p 0x6c800 10G" to test physical address 0x6c800 Because this physica

Re: linux-next: build failure after merge of the drm-misc tree

2017-05-02 Thread Daniel Vetter
On Tue, May 2, 2017 at 10:55 AM, Arnd Bergmann wrote: > On Tue, May 2, 2017 at 10:41 AM, Stephen Rothwell > wrote: >> Hi Daniel, >> >> On Tue, 2 May 2017 10:25:18 +0200 Daniel Vetter wrote: >>> >>> Since this is an all-new driver it might be best to stagger the pull >>> requests and merge the n

Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-05-02 Thread Gerd Hoffmann
Hi, > > +#ifndef _GVT_DMABUF_H_ > > +#define _GVT_DMABUF_H_ > > + > > +#define INTEL_VGPU_QUERY_DMABUF0 > > +#define INTEL_VGPU_GENERATE_DMABUF 1 > > + > > +struct intel_vgpu_dmabuf { > > This looks to be uapi. What's it doing here? It is indeed, should go to include/uapi/ cheers,

Re: [PATCH 02/13] blk: replace bioset_create_nobvec() with a flags arg to bioset_create()

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:24PM +1000, NeilBrown wrote: > "flags" arguments are often seen as good API design as they allow > easy extensibility. > bioset_create_nobvec() is implemented internally as a variation in > flags passed to __bioset_create(). >From driver's view, this flag has document

Re: [PATCH man-pages 4/5] userfaultfd.2: add note about asynchronios events delivery

2017-05-02 Thread Mike Rapoport
On Mon, May 01, 2017 at 08:33:45PM +0200, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > On 05/01/2017 07:43 AM, Mike Rapoport wrote: > > Signed-off-by: Mike Rapoport > > Thanks. Applied. One question below. > > > --- > > man2/userfaultfd.2 | 12 > > 1 file changed, 12 insertio

[PATCH] arm: proc-v7-3level.S: SOC_LS1021A: clear TTBCR.T1SZ

2017-05-02 Thread yanjiang.jin
From: Yanjiang Jin The macro "v7_ttb_setup" will set "TTBCR.T1SZ" only when "PHYS_OFFSET <= PAGE_OFFSET". But if we load the second kernel during kdump boot, PHYS_OFFSET may be greater than PAGE_OFFSET, we don't want to set this bit, but TTBCR.T1SZ is still not zero since the first kernel's value

[PATCH] kdump test comments:

2017-05-02 Thread yanjiang.jin
From: Yanjiang Jin 1. Execute a kdump test on a "Freescale LayerScape LS1021E, Version: 2.0 board"; 2. I think may all "proc-v7-3level" CPUs need this patch, but I only validated it on LS1021, so still use #ifdef CONFIG_SOC_LS1021A to wrap this change; 3. Append "crashkernel=128M@2560M" i

Re: [PATCH man-pages 0/5] {ioctl_}userfaultfd.2: yet another update

2017-05-02 Thread Mike Rapoport
On Mon, May 01, 2017 at 08:34:07PM +0200, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > On 05/01/2017 07:43 AM, Mike Rapoport wrote: > > Hi Michael, > > > > These updates pretty much complete the coverage of 4.11 additions, IMHO. > > Thanks for this, but we still await input from Andrea > on

[MTD] how to retrieve all patches related MTD bitflip_threshold from one old version to new one

2017-05-02 Thread chrysophoron kit
Hello every MTD export who knows how to retrieve all patches related MTD be applied from one old version kernel to new one? for example, we are now using 2.6.39, but we don't want to update kernel vertion to v4.x, we only want to update and install all MTD patches related MTD bitflip_threshold. be

Re: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-02 Thread Gerd Hoffmann
On Fr, 2017-04-28 at 17:35 +0800, Xiaoguang Chen wrote: > +static size_t intel_vgpu_reg_rw_gvtg(struct intel_vgpu *vgpu, char > *buf, > + size_t count, loff_t *ppos, bool iswrite) > +{ > + unsigned int i = VFIO_PCI_OFFSET_TO_INDEX(*ppos) - > + VFIO_PCI_NUM_

Re: linux-next: build warnings

2017-05-02 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > The linux-next build (powerpc allyesconfig) produced these warnings > (and have for a while): > > arch/powerpc/kvm/book3s_pr_papr.c: In function 'kvmppc_h_pr_enter': > arch/powerpc/kvm/book3s_pr_papr.c:53:2: warning: ignoring return value of > 'copy_from_us

Re: [PATCH v3] pid_ns: Introduce ioctl to set vector of ns_last_pid's on ns hierarhy

2017-05-02 Thread Kirill Tkhai
On 29.04.2017 22:12, Eric W. Biederman wrote: > Kirill Tkhai writes: > >> On 27.04.2017 19:07, Eric W. Biederman wrote: >>> Kirill Tkhai writes: >>> On 27.04.2017 18:15, Eric W. Biederman wrote: > Kirill Tkhai writes: > >> On implementing of nested pid namespaces support in CRI

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Anatolij Gustschin
On Mon, 1 May 2017 23:06:16 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: >On Sun, Apr 30, 2017 at 10:08 PM, Anatolij Gustschin wrote: >> Add FPGA manager driver for loading Arria-V/Cyclone-V/Stratix-V >> and Arria-10 FPGAs via CvP. > >I think you need to spend time on polishing such c

Re: [PATCH] netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch

2017-05-02 Thread Pablo Neira Ayuso
On Mon, May 01, 2017 at 11:07:30AM -0700, Matthias Kaehlcke wrote: > El Wed, Apr 19, 2017 at 11:39:20AM -0700 Matthias Kaehlcke ha dit: > > > Not all parameters passed to ctnetlink_parse_tuple() and > > ctnetlink_exp_dump_tuple() match the enum type in the signatures of these > > functions. Since

Re: [BUG nohz]: wrong user and system time accounting

2017-05-02 Thread Wanpeng Li
Cc Paolo, 2017-04-13 21:32 GMT+08:00 Frederic Weisbecker : > On Thu, Apr 13, 2017 at 12:31:12PM +0800, Wanpeng Li wrote: >> 2017-04-12 22:57 GMT+08:00 Thomas Gleixner : >> > On Wed, 12 Apr 2017, Frederic Weisbecker wrote: >> >> On Tue, Apr 11, 2017 at 04:22:48PM +0200, Thomas Gleixner wrote: >> >>

Re: [PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-05-02 Thread Kirill Tkhai
On 29.04.2017 22:25, Eric W. Biederman wrote: > > It is pointless and confusing to allow a pid namespace hierarchy and > the user namespace hierarchy to get out of sync. The owner of a child > pid namespace should be the owner of the parent pid namespace or > a descendant of the owner of the pa

[PATCH v5] pid_ns: Introduce ioctl to set vector of ns_last_pid's on ns hierarhy

2017-05-02 Thread Kirill Tkhai
On implementing of nested pid namespaces support in CRIU (checkpoint-restore in userspace tool) we run into the situation, that it's impossible to create a task with specific NSpid effectively. After commit 49f4d8b93ccf "pidns: Capture the user namespace and filter ns_last_pid" it is impossible to

Re: [PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-05-02 Thread Kirill Tkhai
On 02.05.2017 13:03, Kirill Tkhai wrote: > > > On 29.04.2017 22:25, Eric W. Biederman wrote: >> >> It is pointless and confusing to allow a pid namespace hierarchy and >> the user namespace hierarchy to get out of sync. The owner of a child >> pid namespace should be the owner of the parent pid

[PATCH v8 0/7] coresight: enable debug module

2017-05-02 Thread Leo Yan
ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The Sample-based Profiling Extension" has description for sampling registers, we can utilize these registers to check program counter value with combined CPU exception level, secure state, etc. So this is helpful for CPU lockup bugs,

[PATCH v8 1/7] coresight: bindings for CPU debug module

2017-05-02 Thread Leo Yan
According to ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate debug module and it can support self-hosted debug and external debug. Especially for supporting self-hosted debug, this means the program can access the debug module from mmio

[PATCH v8 2/7] doc: Add documentation for Coresight CPU debug

2017-05-02 Thread Leo Yan
Update kernel-parameters.txt to add new parameter: coresight_cpu_debug.enable is a knob to enable debugging at boot time. Add detailed documentation, which contains the implementation, Mike Leach excellent summary for "clock and power domain". At the end some examples on how to enable the debuggin

[PATCH v8 7/7] arm64: dts: qcom: msm8916: Add debug unit

2017-05-02 Thread Leo Yan
Add debug unit on Qualcomm msm8916 based platforms, including the DragonBoard 410c board. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boo

[PATCH v8 6/7] arm64: dts: hi6220: register debug module

2017-05-02 Thread Leo Yan
Bind debug module driver for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 470461d..467

[PATCH v8 3/7] coresight: of_get_coresight_platform_data: Add missing of_node_put

2017-05-02 Thread Leo Yan
From: Suzuki K Poulose The of_get_coresight_platform_data iterates over the possible CPU nodes to find a given cpu phandle. However it does not drop the reference to the node pointer returned by the of_get_coresight_platform_data. This patch also introduces another minor fix is to use of_cpu_dev

RE: [PATCH] pstore: Solve lockdep warning by moving inode locks

2017-05-02 Thread Lofstedt, Marta
> -Original Message- > From: keesc...@google.com [mailto:keesc...@google.com] On Behalf Of > Kees Cook > Sent: Friday, April 28, 2017 10:22 PM > To: Lofstedt, Marta > Cc: Chris Wilson ; linux-kernel@vger.kernel.org; > Anton Vorontsov ; Colin Cross ; > Luck, Tony ; Namhyung Kim > Subject

[PATCH 0/2] Add ACPI table for the ts3a227e driver

2017-05-02 Thread Thierry Escande
Hi, This series adds ACPI match table for the ts3a227e driver. The ts3a227e is an Autonomous Audio Accessory Detection and Configuration Switch used to detect audio accessory features like jack plugging and unplugging, mic presence, and button pressed events. This series also fixes a null pointer

[PATCH 1/2] ASoc: cht_bsw_max98090_ti: Fix jack initialization

2017-05-02 Thread Thierry Escande
If the ts3a227e audio accessory detection hardware is present and its driver probed, the jack needs to be created before enabling jack detection in the ts3a227e driver. With this patch, the jack is instantiated in the max98090 headset init function if the ts3a227e is present. This fixes a null poin

[PATCH 2/2] ASoC: ts3a227e: add acpi table

2017-05-02 Thread Thierry Escande
From: "Fang, Yang A" This patch adds the acpi match table for the ts3a227e audio accessory detection device. This enables headset features like jack plug/unplug notifications, mic presence, and button pressed events. Signed-off-by: Fang, Yang A Signed-off-by: Thierry Escande --- sound/soc/cod

Re: [RFC PATCH 0/4] PM / Domains: Add support for explicit control of PM domains

2017-05-02 Thread Jon Hunter
On 25/04/17 22:17, Rafael J. Wysocki wrote: > On Tue, Apr 25, 2017 at 9:34 PM, Ulf Hansson wrote: >> On 25 April 2017 at 13:13, Jon Hunter wrote: >>> >>> On 28/03/17 15:13, Jon Hunter wrote: The current generic PM domain framework (GenDP) only allows a single PM domain to be associated

[PATCH v8 4/7] coresight: refactor with function of_coresight_get_cpu

2017-05-02 Thread Leo Yan
This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/of_c

[PATCH v8 5/7] coresight: add support for CPU debug module

2017-05-02 Thread Leo Yan
Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has description for related info in "Part H: External Debug". Chapter H7 "The Sample-based Profiling Extension" introduces several sampling registers, e.g. we

Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Juergen Gross
On 24/04/17 19:58, Julien Grall wrote: > Hi all, > > This small patch series implements EFI reset_system callback when using EFI > Xen. Without this, it will not be possible to reboot/power off ARM64 DOM0 > when using ACPI. > > Cheers, > > Cc: Boris Ostrovsky > Cc: Juergen Gross Series rebase

Re: [PATCH v2] stm class: Document the stm_ftrace

2017-05-02 Thread Alexander Shishkin
Chunyan Zhang writes: > Hi Alex, Hi Chunyan, > Could you take this patch please if there's no further comments? Sorry for the delay. Yes, I'm picking this patch into my tree very soon. Thanks, -- Alex

Re: [PATCH v2 1/5] drm/msm: Expose our reservation object when exporting a dmabuf.

2017-05-02 Thread Rob Clark
On Wed, Apr 12, 2017 at 3:11 PM, Eric Anholt wrote: > Without this, polling on the dma-buf (and presumably other devices > synchronizing against our rendering) would return immediately, even > while the BO was busy. > > Signed-off-by: Eric Anholt > Reviewed-by: Daniel Vetter > Cc: sta...@vger.ke

Re: [PATCH v2 3/5] drm/msm: Reuse dma_fence_release.

2017-05-02 Thread Rob Clark
On Wed, Apr 12, 2017 at 3:12 PM, Eric Anholt wrote: > If we follow the typical pattern of the base class being the first > member, we can use the default dma_fence_free function. > > Signed-off-by: Eric Anholt > Cc: Rob Clark > Cc: linux-arm-...@vger.kernel.org > Cc: freedr...@lists.freedesktop.

Re: [PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:26PM +1000, NeilBrown wrote: > blk_bio_segment_split() makes sure bios have no more than > BIO_MAX_PAGES entries in the bi_io_vec. > This was done because bio_clone_bioset() (when given a > mempool bioset) could not handle larger io_vecs. > > No driver uses bio_clone_

Re: [PATCH] srcu: Debloat the header

2017-05-02 Thread Paul E. McKenney
On Tue, May 02, 2017 at 10:31:18AM +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > I will get rid of the unused rcu_segcblist_extract_all() function and > > > create a > > > kernel/rcu/segcblist.c for the functions that are either non-trivial or > > > performance-insensitive. > > >

Re: [PATCH] arm64: Fix multiple 'asm-operand-widths' warnings

2017-05-02 Thread Mark Rutland
Hi Matthias, On Mon, May 01, 2017 at 02:26:22PM -0700, Matthias Kaehlcke wrote: > clang raises 'asm-operand-widths' warnings in inline assembly code when > the size of an operand is < 64 bits and the operand width is unspecified. > Most warnings are raised in macros, i.e. the datatype of the opera

[GIT PULL] MMC for v.4.12

2017-05-02 Thread Ulf Hansson
Hi Linus, Here's the PR for MMC for v4.12. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 5a7ad1146caa895ad718a534399e38bd2ba721b7: Linux 4.11-rc8 (2017-04-23 16:53:00 -0700) are available

CFP: KVM Forum 2017

2017-05-02 Thread Paolo Bonzini
KVM Forum 2017: Call For Participation October 25-27, 2017 - Hilton Prague - Prague, Czech Republic (All submissions must be received before midnight June 15, 2017) = K

Re: [PATCH] device-dax: fix sysfs attribute deadlock

2017-05-02 Thread Yi Zhang
Verified this patch on 4.11. Tested-by: Yi Zhang Best Regards, Yi Zhang - Original Message - From: "Dan Williams" To: linux-nvd...@lists.01.org Cc: linux-kernel@vger.kernel.org, sta...@vger.kernel.org, "Yi Zhang" Sent: Sunday, April 30, 2017 10:21:54 PM Subject: [PATCH] device-dax

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2017-05-02 Thread Tetsuo Handa
On 2017/05/02 13:12, Marc MERLIN wrote: > Well, sadly, the problem is more or less back is 4.11.0. The system doesn't > really > crash but it goes into an infinite loop with > [34776.826800] BUG: workqueue lockup - pool cpus=6 node=0 flags=0x0 nice=0 > stuck for 33s! Wow, two of workqueues are

Re: [PATCH 01/13] blk: remove bio_set arg from blk_queue_split()

2017-05-02 Thread javigon
> On 2 May 2017, at 05.42, NeilBrown wrote: > > blk_queue_split() is always called with the last arg being q->bio_split, > where 'q' is the first arg. > > Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses > q->bio_split. > > This is inconsistent and unnecessary. Remo

Re: [GIT PULL] PCI fixes for v4.10

2017-05-02 Thread Lukas Wunner
On Mon, May 01, 2017 at 10:41:20PM -0400, Sinan Kaya wrote: > On 5/1/2017 9:54 PM, Lukas Wunner wrote: > > (b) ASPM L1 enabled on boot, but disabled after powering off and back on > > => I believe Sinan is working on this (+cc). > > The decision was made not to touch ASPM registers following h

Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback

2017-05-02 Thread Julien Grall
Hi Juergen, On 02/05/17 10:30, Juergen Gross wrote: On 02/05/17 11:08, Julien Grall wrote: Hi all, It looks like the series has fully been acked, can someone merge this into xentip? As I already wrote: patch 1 doesn't apply any longer. As there were other conflicts between xentip and Linus'

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-02 Thread Anshuman Khandual
On 05/01/2017 11:30 PM, Prakash Sangappa wrote: > Some applications like a database use hugetblfs for performance > reasons. Files on hugetlbfs filesystem are created and huge pages > allocated using fallocate() API. Pages are deallocated/freed using > fallocate() hole punching support that has bee

Re: [PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:24PM +1000, NeilBrown wrote: > This patch converts bioset_create() and > bioset_create_nobvec() to not create a workqueue so > alloctions will never trigger punt_bios_to_rescuer(). It > also introduces bioset_create_rescued() and > bioset_create_nobvec_rescued() which

Re: [PATCH 1/1] arm64: Always provide "model name" in /proc/cpuinfo

2017-05-02 Thread Catalin Marinas
On Tue, May 02, 2017 at 12:39:13AM +0200, Heinrich Schuchardt wrote: > There is no need to hide the model name in processes > that are not PER_LINUX32. > > So let us always provide a model name that is easily readable. > > Fixes: e47b020a323d ("arm64: Provide "model name" in /proc/cpuinfo for >

Re: linux-next: build warnings

2017-05-02 Thread Stephen Rothwell
Hi Michael, On Tue, 02 May 2017 19:53:25 +1000 Michael Ellerman wrote: > > Though we are supposed to be building with -Werror, so those should be > breaking the build. I assume you have turned Werror off? I assume that allyesconfig turns on CONFIG_PPC_DISABLE_WERROR ... -- Cheers, Stephen Rothw

Re: [PATCH 2/5] mtd: nand: gpmi: add i.MX 7 SoC support

2017-05-02 Thread Marek Vasut
On 05/02/2017 11:17 AM, Boris Brezillon wrote: > Hi Han, > > On Fri, 21 Apr 2017 13:29:16 -0500 > Han Xu wrote: > >>> But then, adding the type would only require 2-3 lines of change if I >>> add it to the GPMI_IS_MX6 macro... >> >> Then at least add a comment because us

Re: linux-next: build warnings

2017-05-02 Thread Stephen Rothwell
Hi Michael, On Tue, 2 May 2017 21:17:01 +1000 Stephen Rothwell wrote: > > On Tue, 02 May 2017 19:53:25 +1000 Michael Ellerman > wrote: > > > > Though we are supposed to be building with -Werror, so those should be > > breaking the build. I assume you have turned Werror off? > > I assume tha

Re: [PATCH v5 01/10] arm64: allwinner: a64: enable RSB on A64

2017-05-02 Thread Maxime Ripard
On Fri, Apr 28, 2017 at 02:14:58AM +0800, icen...@aosc.io wrote: > 在 2017-04-27 21:28,Maxime Ripard 写道: > > On Wed, Apr 26, 2017 at 11:20:14PM +0800, Icenowy Zheng wrote: > > > Allwinner A64 have a RSB controller like the one on A23/A33 SoCs. > > > > > > Add it and its pinmux. > > > > > > Signed-

Re: [PATCH 09/13] lightnvm/pblk-read: use bio_clone_fast()

2017-05-02 Thread Javier González
> On 2 May 2017, at 05.42, NeilBrown wrote: > > pblk_submit_read() uses bio_clone_bioset() but doesn't change the > io_vec, so bio_clone_fast() is a better choice. > > It also uses fs_bio_set which is intended for filesystems. Using it > in a device driver can deadlock. > So allocate a new bios

Re: [PATCH v4 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

2017-05-02 Thread Guillaume Tucker
Hi Rob, On 28/04/17 20:27, Rob Herring wrote: On Tue, Apr 25, 2017 at 02:16:16PM +0100, Guillaume Tucker wrote: diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt new file mode 100644 index ..547dde

[PATCH v1 0/2] dmaengine: dw: Remove AVR32 bits in drivers

2017-05-02 Thread Andy Shevchenko
AVR32 is gone. Remove bits in sound/atmel and drivers/dma/dw folders related to it. Sound part hasn't been tested anyhow. Andy Shevchenko (2): ALSA: atmel: Remove AVR32 bits from the driver dmaengine: dw: Remove AVR32 bits from the driver drivers/dma/dw/Kconfig | 7 +- drivers/dma/dw/core

[PATCH v1 1/2] ALSA: atmel: Remove AVR32 bits from the driver

2017-05-02 Thread Andy Shevchenko
AVR32 is gone. Now it's time to clean up the driver by removing leftovers that was used by AVR32 related code. Signed-off-by: Andy Shevchenko --- sound/atmel/Kconfig | 13 +- sound/atmel/Makefile | 2 - sound/atmel/abdac.c | 610 --- sound/atm

[PATCH v1 2/2] dmaengine: dw: Remove AVR32 bits from the driver

2017-05-02 Thread Andy Shevchenko
AVR32 is gone. Now it's time to clean up the driver by removing leftovers that was used by AVR32 related code. Signed-off-by: Andy Shevchenko --- drivers/dma/dw/Kconfig | 7 +- drivers/dma/dw/core.c | 332 + drivers/dma/dw/regs.h | 50 ++--

Re: [RFC] remove support for AVR32 architecture

2017-05-02 Thread Andy Shevchenko
On Tue, May 2, 2017 at 11:33 AM, Andy Shevchenko wrote: > On Tue, May 2, 2017 at 11:12 AM, Hans-Christian Noren Egtvedt > wrote: >> Around Tue 02 May 2017 10:46:58 +0300 or thereabout, Andy Shevchenko wrote: >>> On Tue, May 2, 2017 at 8:52 AM, Hans-Christian Noren Egtvedt >>> wrote: Around

Re: [PATCH] m501fb: don't return zero on failure path in sm501fb_start()

2017-05-02 Thread Bartlomiej Zolnierkiewicz
On Saturday, April 29, 2017 09:33:39 PM Alexey Khoroshilov wrote: > If fbmem iomemory mapping failed, sm501fb_start() breaks off > initialization, deallocates resources, but returns zero. > As a result, double deallocation can happen in sm501fb_stop(). > > Found by Linux Driver Verification projec

Re: [PATCH, RFC] MAINTAINERS: update OSD entries

2017-05-02 Thread Jeff Layton
On Tue, 2017-05-02 at 09:57 +0200, Christoph Hellwig wrote: > The open-osd domain doesn't exist anymore, and mails to the list lead > to really annoying bounced that repeat every day. > > Also the primarydata address for Benny bounces, and while I have a new > one for him he doesn't seem to be mai

Re: [PATCH] drivers:video:fbdev:omap:lcd_mipid.c: Use time comparison kernel macros

2017-05-02 Thread Bartlomiej Zolnierkiewicz
On Sunday, April 30, 2017 06:42:43 PM Karim Eshapa wrote: > Use time_before_eq time comparison defind kernel macro > that has safety check. > > Signed-off-by: Karim Eshapa Patch queued for 4.12, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics

[GIT PULL] pin control bulk changes for v4.12

2017-05-02 Thread Linus Walleij
Hi Linus, this is the big bulk of pin control changes for v4.12. The extra week before the merge window actually resulted in some of the type of fixes that usually arrive after the merge window already starting to trickle in from eager developers using -next, I'm impressed. I have recruited a Sa

[PATCH V3] hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

2017-05-02 Thread Shilpasri G Bhat
OCC provides historical minimum and maximum value for the sensor readings. This patch exports them as highest and lowest attributes for the inband sensors copied by OCC to main memory. Signed-off-by: Shilpasri G Bhat --- Changes from V2: - Dropped "curr" type of sensors to fix the compatible stri

Re: [PATCH v2 2/4] iio: accel: adxl345_core: Introduce set_mode and data_ready functions

2017-05-02 Thread Eva Rachel Retuya
On Mon, May 01, 2017 at 01:22:52AM +0100, Jonathan Cameron wrote: Hello Jonathan, [...] > > +static int adxl345_set_mode(struct adxl345_data *data, u8 mode) > > +{ > > + struct device *dev = regmap_get_device(data->regmap); > > + int ret; > > + > > + ret = regmap_write(data->regmap, ADXL345_R

Re: [MTD] how to retrieve all patches related MTD bitflip_threshold from one old version to new one

2017-05-02 Thread Richard Weinberger
chrysophoron kit, On Tue, May 2, 2017 at 11:51 AM, chrysophoron kit wrote: > Hello every MTD export > > who knows how to retrieve all patches related MTD be applied from one > old version kernel > to new one? for example, we are now using 2.6.39, but we don't want to > update kernel And what abo

Re: [RFC/PATCH] perf: Add sizeof operator support

2017-05-02 Thread Jeremy Linton
On 04/30/2017 05:06 PM, Jon Masters wrote: Hi Jeremy, On 06/14/2016 12:38 PM, Jeremy Linton wrote: There are a fair number of tracepoints in the kernel making use of the sizeof operator. Allow perf to understand some of those cases, and report a more informative error message for the ones it c

Re: [PATCH v2 2/4] iio: accel: adxl345_core: Introduce set_mode and data_ready functions

2017-05-02 Thread Eva Rachel Retuya
On Mon, May 01, 2017 at 02:21:02PM +0300, Andy Shevchenko wrote: [...] > Couple of minors below. > Otherwise, FWIW: > Reviewed-by: Andy Shevchenko > Hello Andy, > > +static int adxl345_data_ready(struct adxl345_data *data) > > +{ > > + struct device *dev = regmap_get_device(data->regmap);

Re: [PATCH v2] mm, zone_device: replace {get, put}_zone_device_page() with a single reference

2017-05-02 Thread Kirill A. Shutemov
On Mon, May 01, 2017 at 09:55:48AM -0400, Jerome Glisse wrote: > On Mon, May 01, 2017 at 01:23:59PM +0300, Kirill A. Shutemov wrote: > > On Sun, Apr 30, 2017 at 07:14:24PM -0400, Jerome Glisse wrote: > > > On Sat, Apr 29, 2017 at 01:17:26PM +0300, Kirill A. Shutemov wrote: > > > > On Fri, Apr 28, 2

Re: [PATCH 2/5] x86_64: inline copy_page() at call site

2017-05-02 Thread Alexey Dobriyan
On Sat, Apr 29, 2017 at 12:04 AM, Borislav Petkov wrote: > On Wed, Apr 26, 2017 at 09:28:06PM +0300, Alexey Dobriyan wrote: >> +static __always_inline void copy_page(void *to, void *from) >> +{ >> + alternative_call_2( > > Please align at the opening brace, like clear_page() above it: Then I

Re: [PATCH 04/13] blk: use non-rescuing bioset for q->bio_split.

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:24PM +1000, NeilBrown wrote: > A rescuing bioset is only useful if there might be bios from > that same bioset on the bio_list_on_stack queue at a time > when bio_alloc_bioset() is called. This never applies to > q->bio_split. > > Allocations from q->bio_split are on

Re: [PATCH 05/13] block: Improvements to bounce-buffer handling

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:24PM +1000, NeilBrown wrote: > Since commit 23688bf4f830 ("block: ensure to split after potentially > bouncing a bio") blk_queue_bounce() is called *before* > blk_queue_split(). > This means that: > 1/ the comments blk_queue_split() about bounce buffers are > irre

[PATCH v3] powerpc/mm: Only read faulting instruction when necessary in do_page_fault()

2017-05-02 Thread Christophe Leroy
Commit a7a9dcd882a67 ("powerpc: Avoid taking a data miss on every userspace instruction miss") has shown that limiting the read of faulting instruction to likely cases improves performance. This patch goes further into this direction by limiting the read of the faulting instruction to the only cas

Re: [PATCH v2 3/4] iio: accel: adxl345: Setup DATA_READY trigger

2017-05-02 Thread Eva Rachel Retuya
On Mon, May 01, 2017 at 01:32:00AM +0100, Jonathan Cameron wrote: [...] > Coming together nicely, but a few more bits and pieces inline... > > One slight worry is that the irq names stuff is to restrictive > as we want to direct different interrupts to different pins if > both are supported! > >

Re: [PATCH 2/5] x86_64: inline copy_page() at call site

2017-05-02 Thread Borislav Petkov
On Tue, May 02, 2017 at 02:49:04PM +0300, Alexey Dobriyan wrote: > It says unambiguously which instruction does the actual copying. And that doesn't tell me that it is an unrolled moving using registers. And that is much more useful info when I look at stack traces than just "mov". -- Regards/Gr

<    1   2   3   4   5   6   7   >