[PATCH] PCI: iproc: Remove PAXC slot check to allow VF support

2018-08-28 Thread Ray Jui
From: Jitendra Bhivare Fix previous incorrect logic that limits PAXC slot number to zero only. In order for SRIOV/VF to work, we need to allow the slot number to be greater than zero. Fixes: 46560388c476c ("PCI: iproc: Allow multiple devices except on PAXC") Signed-off-by: Jitendra Bhivare

[PATCH] PCI: iproc: Remove PAXC slot check to allow VF support

2018-08-28 Thread Ray Jui
From: Jitendra Bhivare Fix previous incorrect logic that limits PAXC slot number to zero only. In order for SRIOV/VF to work, we need to allow the slot number to be greater than zero. Fixes: 46560388c476c ("PCI: iproc: Allow multiple devices except on PAXC") Signed-off-by: Jitendra Bhivare

Re: [PATCH 1/2] x86/mm: add .data..decrypted section to hold shared variables

2018-08-28 Thread Brijesh Singh
On 08/27/2018 05:11 PM, Tom Lendacky wrote: On 08/27/2018 06:24 AM, Brijesh Singh wrote: kvmclock defines few static variables which are shared with hypervisor during the kvmclock initialization. When SEV is active, memory is encrypted with a guest-specific key, and if guest OS wants to

Re: [PATCH 1/2] x86/mm: add .data..decrypted section to hold shared variables

2018-08-28 Thread Brijesh Singh
On 08/27/2018 05:11 PM, Tom Lendacky wrote: On 08/27/2018 06:24 AM, Brijesh Singh wrote: kvmclock defines few static variables which are shared with hypervisor during the kvmclock initialization. When SEV is active, memory is encrypted with a guest-specific key, and if guest OS wants to

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Tyler, On 24/08/18 16:14, Tyler Baicar wrote: > On Fri, Aug 24, 2018 at 5:48 AM, James Morse wrote: >> On 23/08/18 16:46, Tyler Baicar wrote: >>> On Thu, Aug 23, 2018 at 5:29 AM James Morse wrote: On 19/07/18 19:36, Tyler Baicar wrote: > This seems pretty hacky to me, so if anyone

Re: [PATCH v2 1/6] dt-bindings: reset: Add PDC Global binding for SDM845 SoCs

2018-08-28 Thread Matthias Kaehlcke
On Tue, Aug 28, 2018 at 11:38:26AM +0530, si...@codeaurora.org wrote: > Hi Matthias, > Thanks for the review > > On 2018-08-28 06:08, Matthias Kaehlcke wrote: > > Hi Sibi, > > > > On Fri, Aug 24, 2018 at 06:48:55PM +0530, Sibi Sankar wrote: > > > Add PDC Global(Power Domain Controller) binding

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Tyler, On 24/08/18 16:14, Tyler Baicar wrote: > On Fri, Aug 24, 2018 at 5:48 AM, James Morse wrote: >> On 23/08/18 16:46, Tyler Baicar wrote: >>> On Thu, Aug 23, 2018 at 5:29 AM James Morse wrote: On 19/07/18 19:36, Tyler Baicar wrote: > This seems pretty hacky to me, so if anyone

Re: [PATCH v2 1/6] dt-bindings: reset: Add PDC Global binding for SDM845 SoCs

2018-08-28 Thread Matthias Kaehlcke
On Tue, Aug 28, 2018 at 11:38:26AM +0530, si...@codeaurora.org wrote: > Hi Matthias, > Thanks for the review > > On 2018-08-28 06:08, Matthias Kaehlcke wrote: > > Hi Sibi, > > > > On Fri, Aug 24, 2018 at 06:48:55PM +0530, Sibi Sankar wrote: > > > Add PDC Global(Power Domain Controller) binding

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Fan, On 24/08/18 15:30, wufan wrote: >> Why get avoid the layer stuff? Isn't counting DIMM/memory-devices what >> EDAC_MC_LAYER_SLOT is for? > > Borislav has explained it in his response. Here let me elaborate a little > more. > To use the layer information you need an accurate way to

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Fan, On 24/08/18 15:30, wufan wrote: >> Why get avoid the layer stuff? Isn't counting DIMM/memory-devices what >> EDAC_MC_LAYER_SLOT is for? > > Borislav has explained it in his response. Here let me elaborate a little > more. > To use the layer information you need an accurate way to

Re: [PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Fabio Estevam
On Tue, Aug 28, 2018 at 2:06 PM, Pierre-Jean Texier wrote: > Adopt the SPDX license identifier headers to ease > license compliance management. > > Signed-off-by: Pierre-Jean Texier Reviewed-by: Fabio Estevam

Re: [PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Fabio Estevam
On Tue, Aug 28, 2018 at 2:06 PM, Pierre-Jean Texier wrote: > Adopt the SPDX license identifier headers to ease > license compliance management. > > Signed-off-by: Pierre-Jean Texier Reviewed-by: Fabio Estevam

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Boris, On 24/08/18 13:01, Borislav Petkov wrote: > On Fri, Aug 24, 2018 at 10:48:24AM +0100, James Morse wrote: >> so edac_raw_mc_handle_error() has no clue where the error happened. (I >> haven't >> read what it does with this information yet). > > See edac_inc_ce_error(), for example - it

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-28 Thread James Morse
Hi Boris, On 24/08/18 13:01, Borislav Petkov wrote: > On Fri, Aug 24, 2018 at 10:48:24AM +0100, James Morse wrote: >> so edac_raw_mc_handle_error() has no clue where the error happened. (I >> haven't >> read what it does with this information yet). > > See edac_inc_ce_error(), for example - it

[PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Pierre-Jean Texier
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Pierre-Jean Texier --- arch/arm/boot/dts/imx7s-warp.dts | 39 +-- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/imx7s-warp.dts

[PATCH] ARM: dts: imx7s-warp: use SPDX-License-Identifier

2018-08-28 Thread Pierre-Jean Texier
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Pierre-Jean Texier --- arch/arm/boot/dts/imx7s-warp.dts | 39 +-- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/imx7s-warp.dts

Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Takashi Iwai
On Tue, 28 Aug 2018 18:34:15 +0200, Anshuman Gupta wrote: > > Is this patch not in consideration, there are no review comment for it. > this patch fixes an issue with hdac hdmi codec driver. > > On one of our platform HD audio controller takes arounf 300ms. > Below are the snippet of dmesg log.

Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Takashi Iwai
On Tue, 28 Aug 2018 18:34:15 +0200, Anshuman Gupta wrote: > > Is this patch not in consideration, there are no review comment for it. > this patch fixes an issue with hdac hdmi codec driver. > > On one of our platform HD audio controller takes arounf 300ms. > Below are the snippet of dmesg log.

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:10 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:48 PM, Nick Desaulniers > wrote: > > On Mon, Aug 27, 2018 at 10:43 AM Nick Desaulniers > >> > + > >> > +/* > >> > + * Optional attributes: your compiler may or may not support them. > >> > + * > >> > +

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:10 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:48 PM, Nick Desaulniers > wrote: > > On Mon, Aug 27, 2018 at 10:43 AM Nick Desaulniers > >> > + > >> > +/* > >> > + * Optional attributes: your compiler may or may not support them. > >> > + * > >> > +

Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Will Deacon
On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org > Signed-off-by: Rob

Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Will Deacon
On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org > Signed-off-by: Rob

Re: [PATCH v2] objtool: Support multiple rodata sections.

2018-08-28 Thread Josh Poimboeuf
On Fri, Aug 03, 2018 at 07:40:40PM +0100, Allan Xavier wrote: > +static void mark_rodata(struct objtool_file *file) > +{ > + struct section *sec; > + bool found = false; > + static const char *str1 = ".str1."; > + const int str1len = strlen(str1) + 1; > + A comment here would

Re: [PATCH v2] objtool: Support multiple rodata sections.

2018-08-28 Thread Josh Poimboeuf
On Fri, Aug 03, 2018 at 07:40:40PM +0100, Allan Xavier wrote: > +static void mark_rodata(struct objtool_file *file) > +{ > + struct section *sec; > + bool found = false; > + static const char *str1 = ".str1."; > + const int str1len = strlen(str1) + 1; > + A comment here would

Re: [PATCH v2 2/6] reset: qcom: PDC Global (Power Domain Controller) reset controller

2018-08-28 Thread Matthias Kaehlcke
On Mon, Aug 27, 2018 at 08:02:53PM -0700, Bjorn Andersson wrote: > On Mon 27 Aug 17:22 PDT 2018, Matthias Kaehlcke wrote: > > On Fri, Aug 24, 2018 at 06:48:56PM +0530, Sibi Sankar wrote: > > > diff --git a/drivers/reset/reset-qcom-pdc.c > > > b/drivers/reset/reset-qcom-pdc.c > [..] > > > +struct

Re: [PATCH v2 2/6] reset: qcom: PDC Global (Power Domain Controller) reset controller

2018-08-28 Thread Matthias Kaehlcke
On Mon, Aug 27, 2018 at 08:02:53PM -0700, Bjorn Andersson wrote: > On Mon 27 Aug 17:22 PDT 2018, Matthias Kaehlcke wrote: > > On Fri, Aug 24, 2018 at 06:48:56PM +0530, Sibi Sankar wrote: > > > diff --git a/drivers/reset/reset-qcom-pdc.c > > > b/drivers/reset/reset-qcom-pdc.c > [..] > > > +struct

Re: [PATCH] MIPS: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Paul Burton
Hi Rob, On Mon, Aug 27, 2018 at 08:52:05PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Ralf Baechle > Cc: Paul Burton > Cc: James Hogan > Cc: John Crispin > Cc:

Re: [PATCH] MIPS: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Paul Burton
Hi Rob, On Mon, Aug 27, 2018 at 08:52:05PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Ralf Baechle > Cc: Paul Burton > Cc: James Hogan > Cc: John Crispin > Cc:

Re: [PATCH v13 07/13] x86/sgx: Add data structures for tracking the EPC pages

2018-08-28 Thread Dave Hansen
>>> extern bool sgx_enabled; >>> extern bool sgx_lc_enabled; >>> +extern struct sgx_epc_bank sgx_epc_banks[SGX_MAX_EPC_BANKS]; >>> + >>> +/* >>> + * enum sgx_epc_page_desc - defines bits and masks for an EPC page's desc >> >> Why are you bothering packing these bits? This seems a rather >>

[PATCH v5 2/3] overlayfs: check CAP_MKNOD before issuing vfs_whiteout

2018-08-28 Thread Mark Salyzyn
Assumption never checked, should fail if the mounter creds are not sufficient. Signed-off-by: Mark Salyzyn Cc: Miklos Szeredi Cc: Jonathan Corbet Cc: Vivek Goyal Cc: Eric W. Biederman Cc: Amir Goldstein Cc: Randy Dunlap Cc: Stephen Smalley Cc: linux-unio...@vger.kernel.org Cc:

Re: [PATCH v13 07/13] x86/sgx: Add data structures for tracking the EPC pages

2018-08-28 Thread Dave Hansen
>>> extern bool sgx_enabled; >>> extern bool sgx_lc_enabled; >>> +extern struct sgx_epc_bank sgx_epc_banks[SGX_MAX_EPC_BANKS]; >>> + >>> +/* >>> + * enum sgx_epc_page_desc - defines bits and masks for an EPC page's desc >> >> Why are you bothering packing these bits? This seems a rather >>

[PATCH v5 2/3] overlayfs: check CAP_MKNOD before issuing vfs_whiteout

2018-08-28 Thread Mark Salyzyn
Assumption never checked, should fail if the mounter creds are not sufficient. Signed-off-by: Mark Salyzyn Cc: Miklos Szeredi Cc: Jonathan Corbet Cc: Vivek Goyal Cc: Eric W. Biederman Cc: Amir Goldstein Cc: Randy Dunlap Cc: Stephen Smalley Cc: linux-unio...@vger.kernel.org Cc:

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:04 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:43 PM, Nick Desaulniers > wrote: > > On Sun, Aug 26, 2018 at 10:58 AM Miguel Ojeda > > wrote: > >> > >> Instead of using version checks per-compiler to define (or not) each > >> attribute, > >> use

Re: [PATCH] include/linux/compiler*.h: Use feature checking instead of version checks for attributes

2018-08-28 Thread Nick Desaulniers
On Tue, Aug 28, 2018 at 8:04 AM Miguel Ojeda wrote: > > Hi Nick, > > On Mon, Aug 27, 2018 at 7:43 PM, Nick Desaulniers > wrote: > > On Sun, Aug 26, 2018 at 10:58 AM Miguel Ojeda > > wrote: > >> > >> Instead of using version checks per-compiler to define (or not) each > >> attribute, > >> use

[PATCH v5 0/3]

2018-08-28 Thread Mark Salyzyn
overlayfs: check CAP_DAC_READ_SEARCH before issuing exportfs_decode_fh overlayfs: check CAP_MKNOD before issuing vfs_whiteout Assumption never checked, should fail if the mounter creds are not sufficient. overlayfs: override_creds=off option bypass creator_cred By default, all access to the

Re: [PATCH V2] xen: export device state to sysfs

2018-08-28 Thread Boris Ostrovsky
On 08/28/2018 10:56 AM, Joe Jin wrote: > Export device state to sysfs to allow for easier get device state. > > Signed-off-by: Joe Jin > Cc: Boris Ostrovsky > Cc: Juergen Gross > Cc: Konrad Rzeszutek Wilk > --- > Documentation/ABI/stable/sysfs-bus-xen-backend | 9 + >

[PATCH v5 0/3]

2018-08-28 Thread Mark Salyzyn
overlayfs: check CAP_DAC_READ_SEARCH before issuing exportfs_decode_fh overlayfs: check CAP_MKNOD before issuing vfs_whiteout Assumption never checked, should fail if the mounter creds are not sufficient. overlayfs: override_creds=off option bypass creator_cred By default, all access to the

Re: [PATCH V2] xen: export device state to sysfs

2018-08-28 Thread Boris Ostrovsky
On 08/28/2018 10:56 AM, Joe Jin wrote: > Export device state to sysfs to allow for easier get device state. > > Signed-off-by: Joe Jin > Cc: Boris Ostrovsky > Cc: Juergen Gross > Cc: Konrad Rzeszutek Wilk > --- > Documentation/ABI/stable/sysfs-bus-xen-backend | 9 + >

[PATCH net-next] genetlink: constify genl_err_attr() argument

2018-08-28 Thread Michal Kubecek
genl_err_attr() sets netlink_ext_ack::bad_attr which is a pointer to const struct nlattr so make the attr argument also const. Signed-off-by: Michal Kubecek --- include/net/genetlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/genetlink.h

[PATCH net-next] genetlink: constify genl_err_attr() argument

2018-08-28 Thread Michal Kubecek
genl_err_attr() sets netlink_ext_ack::bad_attr which is a pointer to const struct nlattr so make the attr argument also const. Signed-off-by: Michal Kubecek --- include/net/genetlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/genetlink.h

Re: [PATCH] RISC-V: Mask out the F extension on systems without D

2018-08-28 Thread Palmer Dabbelt
On Tue, 28 Aug 2018 00:10:32 PDT (-0700), alan...@andestech.com wrote: Hi Palmer, On Mon, Aug 27, 2018 at 03:03:52PM -0700, Palmer Dabbelt wrote: The RISC-V Linux port doesn't support systems that have the F extension but don't have the D extension -- we actually don't support systems without

Re: [PATCH] RISC-V: Mask out the F extension on systems without D

2018-08-28 Thread Palmer Dabbelt
On Tue, 28 Aug 2018 00:10:32 PDT (-0700), alan...@andestech.com wrote: Hi Palmer, On Mon, Aug 27, 2018 at 03:03:52PM -0700, Palmer Dabbelt wrote: The RISC-V Linux port doesn't support systems that have the F extension but don't have the D extension -- we actually don't support systems without

Re: [PATCH 1/2] arm64: PCI: Remove node-local allocations when initialising host controller

2018-08-28 Thread Will Deacon
On Tue, Aug 28, 2018 at 04:05:12PM +0100, Punit Agrawal wrote: > Memory for host controller data structures is allocated local to the > node to which the controller is associated with. This has been the > behaviour since support for ACPI was added in > commit 0cb0786bac15 ("ARM64: PCI: Support

Re: [PATCH 1/2] arm64: PCI: Remove node-local allocations when initialising host controller

2018-08-28 Thread Will Deacon
On Tue, Aug 28, 2018 at 04:05:12PM +0100, Punit Agrawal wrote: > Memory for host controller data structures is allocated local to the > node to which the controller is associated with. This has been the > behaviour since support for ACPI was added in > commit 0cb0786bac15 ("ARM64: PCI: Support

Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Anshuman Gupta
Is this patch not in consideration, there are no review comment for it. this patch fixes an issue with hdac hdmi codec driver. On one of our platform HD audio controller takes arounf 300ms. Below are the snippet of dmesg log. [ 3778.461888] calling :00:0e.0+ @ 3667, parent: pci:00, cb:

Re: [PATCH v2 1/1] hdac-codec runtime suspended at PM:Suspend.

2018-08-28 Thread Anshuman Gupta
Is this patch not in consideration, there are no review comment for it. this patch fixes an issue with hdac hdmi codec driver. On one of our platform HD audio controller takes arounf 300ms. Below are the snippet of dmesg log. [ 3778.461888] calling :00:0e.0+ @ 3667, parent: pci:00, cb:

Re: [PATCH v2] x86/dumpstack: don't dump kernel memory based on usermode RIP

2018-08-28 Thread Jann Horn
On Tue, Aug 28, 2018 at 6:25 PM Borislav Petkov wrote: > > On Tue, Aug 28, 2018 at 05:49:01PM +0200, Jann Horn wrote: > > show_opcodes() is used both for dumping kernel instructions and for dumping > > user instructions. If userspace causes #PF by jumping to a kernel address, > > show_opcodes()

Re: [PATCH v2] x86/dumpstack: don't dump kernel memory based on usermode RIP

2018-08-28 Thread Jann Horn
On Tue, Aug 28, 2018 at 6:25 PM Borislav Petkov wrote: > > On Tue, Aug 28, 2018 at 05:49:01PM +0200, Jann Horn wrote: > > show_opcodes() is used both for dumping kernel instructions and for dumping > > user instructions. If userspace causes #PF by jumping to a kernel address, > > show_opcodes()

[PATCH] power: supply: remove unused pointer 'dev'

2018-08-28 Thread Colin King
From: Colin Ian King Pointer 'dev' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: variable 'dev' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/power/supply/cros_usbpd-charger.c | 2 -- 1 file

[PATCH] power: supply: remove unused pointer 'dev'

2018-08-28 Thread Colin King
From: Colin Ian King Pointer 'dev' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: variable 'dev' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/power/supply/cros_usbpd-charger.c | 2 -- 1 file

Re: [PATCH v2] objtool: Support multiple rodata sections.

2018-08-28 Thread Allan Xavier
Ping... are there any comments on this? On 03/08/18 19:40, Allan Xavier wrote: > This commit adds support for processing switch jump tables in objects > with multiple .rodata sections, such as those created when using > -ffunction-sections and -fdata-sections. Currently, objtool always > looks

Re: [PATCH v2] objtool: Support multiple rodata sections.

2018-08-28 Thread Allan Xavier
Ping... are there any comments on this? On 03/08/18 19:40, Allan Xavier wrote: > This commit adds support for processing switch jump tables in objects > with multiple .rodata sections, such as those created when using > -ffunction-sections and -fdata-sections. Currently, objtool always > looks

Re: [PATCH] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-08-28 Thread Tony Lindgren
* Kishon Vijay Abraham I [180828 10:31]: > AM65 has two PCIe controllers and each PCIe controller has '2' address > spaces one within the 4GB address space of the SoC and the other above > the 4GB address space of the SoC in addition to the register space. The > size of the address space above

Re: [PATCH] arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2

2018-08-28 Thread Tony Lindgren
* Kishon Vijay Abraham I [180828 10:31]: > AM65 has two PCIe controllers and each PCIe controller has '2' address > spaces one within the 4GB address space of the SoC and the other above > the 4GB address space of the SoC in addition to the register space. The > size of the address space above

Re: [PATCH v2] x86/dumpstack: don't dump kernel memory based on usermode RIP

2018-08-28 Thread Borislav Petkov
On Tue, Aug 28, 2018 at 05:49:01PM +0200, Jann Horn wrote: > show_opcodes() is used both for dumping kernel instructions and for dumping > user instructions. If userspace causes #PF by jumping to a kernel address, > show_opcodes() can be reached with regs->ip controlled by the user, > pointing to

Re: [PATCH v2] x86/dumpstack: don't dump kernel memory based on usermode RIP

2018-08-28 Thread Borislav Petkov
On Tue, Aug 28, 2018 at 05:49:01PM +0200, Jann Horn wrote: > show_opcodes() is used both for dumping kernel instructions and for dumping > user instructions. If userspace causes #PF by jumping to a kernel address, > show_opcodes() can be reached with regs->ip controlled by the user, > pointing to

Re: [PATCH] serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3

2018-08-28 Thread Tony Lindgren
* Nishanth Menon [180828 01:07]: > From: Lokesh Vutla > > Allow 8250 omap serial driver to be used for K3 platforms. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Nishanth Menon > --- > > Now that we have the device tree support merged integrated AND we have > ARCH_K3, > Lets enable the

Re: [PATCH] serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3

2018-08-28 Thread Tony Lindgren
* Nishanth Menon [180828 01:07]: > From: Lokesh Vutla > > Allow 8250 omap serial driver to be used for K3 platforms. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Nishanth Menon > --- > > Now that we have the device tree support merged integrated AND we have > ARCH_K3, > Lets enable the

Re: [PATCH] arm64: defconfig: Enable TI's AM6 SoC platform

2018-08-28 Thread Tony Lindgren
* Nishanth Menon [180828 00:50]: > Enable K3 SoC platform for TI's AM6 SoC. > > Signed-off-by: Nishanth Menon > --- > Ref: https://www.spinics.net/lists/arm-kernel/msg667805.html > > Unfortunately, Kconfig changes did'nt hit v4.19-rc1 window. > So, as promised, patch based off v4.19-rc1 tag.

Re: [PATCH] arm64: defconfig: Enable TI's AM6 SoC platform

2018-08-28 Thread Tony Lindgren
* Nishanth Menon [180828 00:50]: > Enable K3 SoC platform for TI's AM6 SoC. > > Signed-off-by: Nishanth Menon > --- > Ref: https://www.spinics.net/lists/arm-kernel/msg667805.html > > Unfortunately, Kconfig changes did'nt hit v4.19-rc1 window. > So, as promised, patch based off v4.19-rc1 tag.

[ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-08-28 Thread Masami Hiramatsu
Allow kprobe-events to record module symbols. Since data symbols in a non-loaded module doesn't exist, it fails to define such symbol as an argument of kprobe-event. But if the kprobe event is defined on that module, we can defer to resolve the symbol address. Note that if given symbol is not

[ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-08-28 Thread Masami Hiramatsu
Allow kprobe-events to record module symbols. Since data symbols in a non-loaded module doesn't exist, it fails to define such symbol as an argument of kprobe-event. But if the kprobe event is defined on that module, we can defer to resolve the symbol address. Note that if given symbol is not

Re: [PATCH] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-08-28 Thread Mathieu Poirier
Hi Robert, Your patch landed in the middle of the merge window and will have to be sent again rebased on 4.19-rc1 and long with minor fix found below. Regards, Mathieu On Wed, Aug 22, 2018 at 05:03:57PM +0100, Robert Walker wrote: > This patch adds support for generating instruction samples

[ftrace/kprobes PATCH 2/3] tracing/kprobes: Check the probe on unloaded module correctly

2018-08-28 Thread Masami Hiramatsu
Current kprobe event doesn't checks correctly whether the given event is on unloaded module or not. It just checks the event has ":" in the name. That is not enough because if we define a probe on non-exist symbol on loaded module, it allows to define that (with warning message) To ensure it

[ftrace/kprobes PATCH 1/3] tracing/uprobes: Fix to return -EFAULT if copy_from_user failed

2018-08-28 Thread Masami Hiramatsu
Fix probe_mem_read() to return -EFAULT if copy_from_user() failed. The copy_from_user() returns remaining bytes when it failed, but probe_mem_read() caller expects it returns error code like as probe_kernel_read(). Reported-by: Dan Carpenter Signed-off-by: Masami Hiramatsu ---

Re: [PATCH] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-08-28 Thread Mathieu Poirier
Hi Robert, Your patch landed in the middle of the merge window and will have to be sent again rebased on 4.19-rc1 and long with minor fix found below. Regards, Mathieu On Wed, Aug 22, 2018 at 05:03:57PM +0100, Robert Walker wrote: > This patch adds support for generating instruction samples

[ftrace/kprobes PATCH 2/3] tracing/kprobes: Check the probe on unloaded module correctly

2018-08-28 Thread Masami Hiramatsu
Current kprobe event doesn't checks correctly whether the given event is on unloaded module or not. It just checks the event has ":" in the name. That is not enough because if we define a probe on non-exist symbol on loaded module, it allows to define that (with warning message) To ensure it

[ftrace/kprobes PATCH 1/3] tracing/uprobes: Fix to return -EFAULT if copy_from_user failed

2018-08-28 Thread Masami Hiramatsu
Fix probe_mem_read() to return -EFAULT if copy_from_user() failed. The copy_from_user() returns remaining bytes when it failed, but probe_mem_read() caller expects it returns error code like as probe_kernel_read(). Reported-by: Dan Carpenter Signed-off-by: Masami Hiramatsu ---

[ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing

2018-08-28 Thread Masami Hiramatsu
Hi, This series is for fixing some bugs in Steve's ftrace/kprobes branch. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git Which is based on my fetcharg improvement series. https://lkml.org/lkml/2018/4/25/601 This includes following fixes. - Fix copy_from_user() misusing

[ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing

2018-08-28 Thread Masami Hiramatsu
Hi, This series is for fixing some bugs in Steve's ftrace/kprobes branch. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git Which is based on my fetcharg improvement series. https://lkml.org/lkml/2018/4/25/601 This includes following fixes. - Fix copy_from_user() misusing

[PATCH] [v2] HID: add support for Apple Magic Trackpad 2

2018-08-28 Thread Sean O'Brien
USB device Vendor 05ac (Apple) Device 0265 (Magic Trackpad 2) Bluetooth device Vendor 004c (Apple) Device 0265 (Magic Trackpad 2) Add support for Apple Magic Trackpad 2 over USB and bluetooth, putting the device in multi-touch mode. Signed-off-by: Claudio Mettler

[PATCH] [v2] HID: add support for Apple Magic Trackpad 2

2018-08-28 Thread Sean O'Brien
USB device Vendor 05ac (Apple) Device 0265 (Magic Trackpad 2) Bluetooth device Vendor 004c (Apple) Device 0265 (Magic Trackpad 2) Add support for Apple Magic Trackpad 2 over USB and bluetooth, putting the device in multi-touch mode. Signed-off-by: Claudio Mettler

Your reply

2018-08-28 Thread Ruby
We provide photoshop services to some of the companies from around the world. We have worked on tons of images ever since our team establishment in 2009. Many online retail companies use our services for retouching electronics, jewelry, apparels, furniture etc. by getting the images of their

Your reply

2018-08-28 Thread Ruby
We provide photoshop services to some of the companies from around the world. We have worked on tons of images ever since our team establishment in 2009. Many online retail companies use our services for retouching electronics, jewelry, apparels, furniture etc. by getting the images of their

[PATCH] MIPS: Fix computation on entry point

2018-08-28 Thread Philippe Reynes
Since commit 27c524d17430 ("MIPS: Use the entry point from the ELF file header"), the kernel entry point is computed with a grep on "start address" on the output of objdump. It works fine when the default language is english but it may fail on other language (for example in French, the grep should

[PATCH] MIPS: Fix computation on entry point

2018-08-28 Thread Philippe Reynes
Since commit 27c524d17430 ("MIPS: Use the entry point from the ELF file header"), the kernel entry point is computed with a grep on "start address" on the output of objdump. It works fine when the default language is english but it may fail on other language (for example in French, the grep should

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Michal Hocko
On Tue 28-08-18 11:54:33, Zi Yan wrote: > Hi Michal, > > On 28 Aug 2018, at 11:45, Michal Hocko wrote: > > > On Tue 28-08-18 17:42:06, Michal Hocko wrote: > >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: > >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: > On Fri

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Michal Hocko
On Tue 28-08-18 11:54:33, Zi Yan wrote: > Hi Michal, > > On 28 Aug 2018, at 11:45, Michal Hocko wrote: > > > On Tue 28-08-18 17:42:06, Michal Hocko wrote: > >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: > >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: > On Fri

Waiting for

2018-08-28 Thread Ruby
We provide photoshop services to some of the companies from around the world. We have worked on tons of images ever since our team establishment in 2009. Many online retail companies use our services for retouching electronics, jewelry, apparels, furniture etc. by getting the images of their

Waiting for

2018-08-28 Thread Ruby
We provide photoshop services to some of the companies from around the world. We have worked on tons of images ever since our team establishment in 2009. Many online retail companies use our services for retouching electronics, jewelry, apparels, furniture etc. by getting the images of their

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Jerome Glisse
On Tue, Aug 28, 2018 at 11:54:33AM -0400, Zi Yan wrote: > Hi Michal, > > On 28 Aug 2018, at 11:45, Michal Hocko wrote: > > > On Tue 28-08-18 17:42:06, Michal Hocko wrote: > >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: > >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: >

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Jerome Glisse
On Tue, Aug 28, 2018 at 11:54:33AM -0400, Zi Yan wrote: > Hi Michal, > > On 28 Aug 2018, at 11:45, Michal Hocko wrote: > > > On Tue 28-08-18 17:42:06, Michal Hocko wrote: > >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: > >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: >

VDSO and dcache aliasing

2018-08-28 Thread Alexandre Belloni
Hello James, A year ago, you wrote that patch: https://www.linux-mips.org/archives/linux-mips/2017-06/msg00658.html You called it a hack but it has been used since then. As you will certainly realize by now, Ocelot is one of the affected SoC so we would pretty much like to see this going

VDSO and dcache aliasing

2018-08-28 Thread Alexandre Belloni
Hello James, A year ago, you wrote that patch: https://www.linux-mips.org/archives/linux-mips/2017-06/msg00658.html You called it a hack but it has been used since then. As you will certainly realize by now, Ocelot is one of the affected SoC so we would pretty much like to see this going

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-28 Thread Steven Rostedt
On Tue, 28 Aug 2018 18:47:33 +0530 Sai Prakash Ranjan wrote: > On 8/27/2018 9:45 PM, Steven Rostedt wrote: > > On Sat, 25 Aug 2018 12:54:07 +0530 > > Sai Prakash Ranjan wrote: > > > > > >> Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not > >> sure why and how it is

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-28 Thread Steven Rostedt
On Tue, 28 Aug 2018 18:47:33 +0530 Sai Prakash Ranjan wrote: > On 8/27/2018 9:45 PM, Steven Rostedt wrote: > > On Sat, 25 Aug 2018 12:54:07 +0530 > > Sai Prakash Ranjan wrote: > > > > > >> Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not > >> sure why and how it is

Re: Linux 4.19-rc1

2018-08-28 Thread Guenter Roeck
On Mon, Aug 27, 2018 at 02:56:32PM -0700, Linus Torvalds wrote: > On Mon, Aug 27, 2018 at 6:45 AM Guenter Roeck wrote: > > > > Build results: > > total: 132 pass: 129 fail: 3 > > Thanks for running these. Looks like everything but the sparc thing is > under control, and the sparc thing

Re: Linux 4.19-rc1

2018-08-28 Thread Guenter Roeck
On Mon, Aug 27, 2018 at 02:56:32PM -0700, Linus Torvalds wrote: > On Mon, Aug 27, 2018 at 6:45 AM Guenter Roeck wrote: > > > > Build results: > > total: 132 pass: 129 fail: 3 > > Thanks for running these. Looks like everything but the sparc thing is > under control, and the sparc thing

[PATCH] binder: use standard functions to allocate fds

2018-08-28 Thread Todd Kjos
Binder uses internal fs interfaces to allocate and install fds: __alloc_fd __fd_install __close_fd get_files_struct put_files_struct These were used to support the passing of fds between processes as part of a transaction. The actual allocation and installation of the fds in the target process

[PATCH] binder: use standard functions to allocate fds

2018-08-28 Thread Todd Kjos
Binder uses internal fs interfaces to allocate and install fds: __alloc_fd __fd_install __close_fd get_files_struct put_files_struct These were used to support the passing of fds between processes as part of a transaction. The actual allocation and installation of the fds in the target process

Re: [PATCH v2 0/4] Provide core API for NMIs

2018-08-28 Thread Julien Thierry
On 28/08/18 16:29, Julien Thierry wrote: Hi, [...] I'll soon post a series making use of the API for Arm's GICv3. Here is the series, NMI related patches are the last 4 in the series: https://lkml.org/lkml/2018/8/28/693 -- Julien Thierry

Re: [PATCH v2 0/4] Provide core API for NMIs

2018-08-28 Thread Julien Thierry
On 28/08/18 16:29, Julien Thierry wrote: Hi, [...] I'll soon post a series making use of the API for Arm's GICv3. Here is the series, NMI related patches are the last 4 in the series: https://lkml.org/lkml/2018/8/28/693 -- Julien Thierry

[PATCH v4 2/2]: perf record: enable asynchronous trace writing

2018-08-28 Thread Alexey Budankov
Trace file offset are linearly calculated by perf_mmap__push() code for the next possible write operation, but file position is updated by the kernel only in the second lseek() syscall after the loop. The first lseek() syscall reads that file position for the next loop iterations.

[PATCH v4 2/2]: perf record: enable asynchronous trace writing

2018-08-28 Thread Alexey Budankov
Trace file offset are linearly calculated by perf_mmap__push() code for the next possible write operation, but file position is updated by the kernel only in the second lseek() syscall after the loop. The first lseek() syscall reads that file position for the next loop iterations.

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Zi Yan
Hi Michal, On 28 Aug 2018, at 11:45, Michal Hocko wrote: > On Tue 28-08-18 17:42:06, Michal Hocko wrote: >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: On Fri 24-08-18 20:05:46, Zi Yan wrote: [...] >> +if

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-28 Thread Zi Yan
Hi Michal, On 28 Aug 2018, at 11:45, Michal Hocko wrote: > On Tue 28-08-18 17:42:06, Michal Hocko wrote: >> On Tue 28-08-18 11:36:59, Jerome Glisse wrote: >>> On Tue, Aug 28, 2018 at 05:24:14PM +0200, Michal Hocko wrote: On Fri 24-08-18 20:05:46, Zi Yan wrote: [...] >> +if

[PATCH 1/4] of/unittest: remove use of node name pointer in overlay high level test

2018-08-28 Thread Rob Herring
In preparation for removing the node name pointer, it needs to be removed from of_unittest_overlay_high_level. However, it's not really correct to use the node name without the unit-address and we should use the full node name. This most easily done by iterating over the child nodes with

[PATCH 1/4] of/unittest: remove use of node name pointer in overlay high level test

2018-08-28 Thread Rob Herring
In preparation for removing the node name pointer, it needs to be removed from of_unittest_overlay_high_level. However, it's not really correct to use the node name without the unit-address and we should use the full node name. This most easily done by iterating over the child nodes with

[PATCH 2/4] of/unittest: add printf tests for node name

2018-08-28 Thread Rob Herring
Add some printf test for printing the node name (without the unit-address). Cc: Frank Rowand Signed-off-by: Rob Herring --- drivers/of/unittest.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 69a522e48970..9def7be9c111 100644 ---

[PATCH v5 26/27] irqchip/gic: Add functions to access irq priorities

2018-08-28 Thread Julien Thierry
Add accessors to the GIC distributor/redistributors priority registers. Signed-off-by: Julien Thierry Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier --- drivers/irqchip/irq-gic-common.c | 10 ++ drivers/irqchip/irq-gic-common.h | 2 ++ 2 files changed, 12 insertions(+) diff

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