Re: [PATCH security-next v4 23/32] selinux: Remove boot parameter

2018-10-04 Thread Jordan Glover
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, October 4, 2018 6:18 PM, Kees Cook wrote: > > I don't want to overload "security=", but we can if we want. It would > be as above, but a trailing comma would be needed to trigger the > "ordering" behavior. e.g.

Re: [PATCH security-next v4 23/32] selinux: Remove boot parameter

2018-10-04 Thread Jordan Glover
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, October 4, 2018 6:18 PM, Kees Cook wrote: > > I don't want to overload "security=", but we can if we want. It would > be as above, but a trailing comma would be needed to trigger the > "ordering" behavior. e.g.

Re: [PATCH v3 1/3] acpi: arm64: add iort support for PMCG

2018-10-04 Thread Robin Murphy
On 04/10/18 17:43, Lorenzo Pieralisi wrote: On Fri, Sep 21, 2018 at 04:08:01PM +0100, Shameer Kolothum wrote: From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil

Re: [PATCH v3 1/3] acpi: arm64: add iort support for PMCG

2018-10-04 Thread Robin Murphy
On 04/10/18 17:43, Lorenzo Pieralisi wrote: On Fri, Sep 21, 2018 at 04:08:01PM +0100, Shameer Kolothum wrote: From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil

Hello Good Day,

2018-10-04 Thread Mr. Richards Francisco
Dear Respectfully, I write to seek for your indulgence on a US$9.7 Million deal, I am an Insurance agent by profession, this funds was supposed be paid to my late client as Life Assurance policy, he died interstate without any next of kin in case of eventuality and now the paying institution

Hello Good Day,

2018-10-04 Thread Mr. Richards Francisco
Dear Respectfully, I write to seek for your indulgence on a US$9.7 Million deal, I am an Insurance agent by profession, this funds was supposed be paid to my late client as Life Assurance policy, he died interstate without any next of kin in case of eventuality and now the paying institution

Re: [PATCH v4 1/2] Bluetooth: Add device_get_bd_address()

2018-10-04 Thread Matthias Kaehlcke
On Thu, Sep 27, 2018 at 10:13:05AM -0700, Matthias Kaehlcke wrote: > On Thu, Sep 27, 2018 at 12:47:06PM -0400, Sinan Kaya wrote: > > On 9/27/2018 12:41 PM, Balakrishna Godavarthi wrote: > > >  void bt_sock_reclassify_lock(struct sock *sk, int proto); > > > > > > +int device_get_bd_address(struct 

Re: [PATCH 1/2] Add FAT_IOCTL_GET_VOLUME_LABEL in fat_generic_ioctl()

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:21:00 chenchacha wrote: > Signed-off-by: chenchacha > --- > fs/fat/file.c | 22 ++ > include/uapi/linux/msdos_fs.h | 1 + > 2 files changed, 23 insertions(+) > > diff --git a/fs/fat/file.c b/fs/fat/file.c > index

Re: [PATCH v4 1/2] Bluetooth: Add device_get_bd_address()

2018-10-04 Thread Matthias Kaehlcke
On Thu, Sep 27, 2018 at 10:13:05AM -0700, Matthias Kaehlcke wrote: > On Thu, Sep 27, 2018 at 12:47:06PM -0400, Sinan Kaya wrote: > > On 9/27/2018 12:41 PM, Balakrishna Godavarthi wrote: > > >  void bt_sock_reclassify_lock(struct sock *sk, int proto); > > > > > > +int device_get_bd_address(struct 

Re: [PATCH 1/2] Add FAT_IOCTL_GET_VOLUME_LABEL in fat_generic_ioctl()

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:21:00 chenchacha wrote: > Signed-off-by: chenchacha > --- > fs/fat/file.c | 22 ++ > include/uapi/linux/msdos_fs.h | 1 + > 2 files changed, 23 insertions(+) > > diff --git a/fs/fat/file.c b/fs/fat/file.c > index

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-04 Thread Christian Brauner
On Fri, Oct 05, 2018 at 02:26:11AM +1000, Aleksa Sarai wrote: > On 2018-09-29, Jann Horn wrote: > > You attempt to open "C/../../etc/passwd" under the root "/A/B". > > Something else concurrently moves /A/B/C to /A/C. This can result in > > the following: > > > > 1. You start the path walk and

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-04 Thread Christian Brauner
On Fri, Oct 05, 2018 at 02:26:11AM +1000, Aleksa Sarai wrote: > On 2018-09-29, Jann Horn wrote: > > You attempt to open "C/../../etc/passwd" under the root "/A/B". > > Something else concurrently moves /A/B/C to /A/C. This can result in > > the following: > > > > 1. You start the path walk and

[PATCH 0/2] fs: fat: add ioctl method to read voluem label in fat filesystem driver

2018-10-04 Thread chenchacha
This patch add fat ioctl command FAT_IOCTL_GET_VOLUME_LABEL. We can get the volume label with this command: ioctl(fd, FAT_IOCTL_GET_VOLUME_LABEL, _label); FAT volume label (volume name) is exactly same stored in boot sector and root directory. And this patch read label only from the

Re: [PATCH 2/2] Add a new function to get root directory with ATTR_VOLUME

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:21:01 chenchacha wrote: > Signed-off-by: chenchacha > --- > fs/fat/dir.c | 13 + > fs/fat/fat.h | 2 ++ > 2 files changed, 15 insertions(+) > > diff --git a/fs/fat/dir.c b/fs/fat/dir.c > index 7f5f3699fc6c..4fdcc1200f2b 100644 > --- a/fs/fat/dir.c > +++

[PATCH 0/2] fs: fat: add ioctl method to read voluem label in fat filesystem driver

2018-10-04 Thread chenchacha
This patch add fat ioctl command FAT_IOCTL_GET_VOLUME_LABEL. We can get the volume label with this command: ioctl(fd, FAT_IOCTL_GET_VOLUME_LABEL, _label); FAT volume label (volume name) is exactly same stored in boot sector and root directory. And this patch read label only from the

Re: [PATCH 2/2] Add a new function to get root directory with ATTR_VOLUME

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:21:01 chenchacha wrote: > Signed-off-by: chenchacha > --- > fs/fat/dir.c | 13 + > fs/fat/fat.h | 2 ++ > 2 files changed, 15 insertions(+) > > diff --git a/fs/fat/dir.c b/fs/fat/dir.c > index 7f5f3699fc6c..4fdcc1200f2b 100644 > --- a/fs/fat/dir.c > +++

[PATCH 2/2] Add a new function to get root directory with ATTR_VOLUME

2018-10-04 Thread chenchacha
Signed-off-by: chenchacha --- fs/fat/dir.c | 13 + fs/fat/fat.h | 2 ++ 2 files changed, 15 insertions(+) diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 7f5f3699fc6c..4fdcc1200f2b 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -881,6 +881,19 @@ static int

[PATCH 2/2] Add a new function to get root directory with ATTR_VOLUME

2018-10-04 Thread chenchacha
Signed-off-by: chenchacha --- fs/fat/dir.c | 13 + fs/fat/fat.h | 2 ++ 2 files changed, 15 insertions(+) diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 7f5f3699fc6c..4fdcc1200f2b 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -881,6 +881,19 @@ static int

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-04 Thread Christian Brauner
On Tue, Oct 02, 2018 at 02:18:33AM +1000, Aleksa Sarai wrote: > On 2018-10-01, Jann Horn wrote: > > > If this is an issue for AT_THIS_ROOT, I believe this might also be an > > > issue for AT_BENEATH since they are effectively both using the same > > > nd->root trick (so you could similarly trick

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-04 Thread Christian Brauner
On Tue, Oct 02, 2018 at 02:18:33AM +1000, Aleksa Sarai wrote: > On 2018-10-01, Jann Horn wrote: > > > If this is an issue for AT_THIS_ROOT, I believe this might also be an > > > issue for AT_BENEATH since they are effectively both using the same > > > nd->root trick (so you could similarly trick

Re: [PATCH 0/2] fs: fat: add ioctl method to read voluem label in fat filesystem driver

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:20:59 chenchacha wrote: > This patch add fat ioctl command FAT_IOCTL_GET_VOLUME_LABEL. > > We can get the volume label with this command: > > ioctl(fd, FAT_IOCTL_GET_VOLUME_LABEL, _label); Hi! What is purpose of having such functionality in kernel? Userspace

Re: [PATCH 0/2] fs: fat: add ioctl method to read voluem label in fat filesystem driver

2018-10-04 Thread Pali Rohár
On Friday 05 October 2018 01:20:59 chenchacha wrote: > This patch add fat ioctl command FAT_IOCTL_GET_VOLUME_LABEL. > > We can get the volume label with this command: > > ioctl(fd, FAT_IOCTL_GET_VOLUME_LABEL, _label); Hi! What is purpose of having such functionality in kernel? Userspace

[PATCH V10 3/8] irqchip: add C-SKY APB bus interrupt controller

2018-10-04 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - pass checkpatch.pl. - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to

[PATCH V10 4/8] dt-bindings: interrupt-controller: C-SKY APB intc

2018-10-04 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644

[PATCH V10 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-10-04 Thread Guo Ren
Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

Re: [PATCH 9/9] ARM: bcm63138: Enable SATA AHCI and PHY

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > The Broadcom BCM963138DVT board has an eSATA port which is fully > functional, turn on the AHCI controller and the companion SATA PHY. > > Signed-off-by: Florian Fainelli Applied to devicetree/next -- Florian

[PATCH V10 3/8] irqchip: add C-SKY APB bus interrupt controller

2018-10-04 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - pass checkpatch.pl. - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to

[PATCH V10 4/8] dt-bindings: interrupt-controller: C-SKY APB intc

2018-10-04 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644

[PATCH V10 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-10-04 Thread Guo Ren
Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

Re: [PATCH 9/9] ARM: bcm63138: Enable SATA AHCI and PHY

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > The Broadcom BCM963138DVT board has an eSATA port which is fully > functional, turn on the AHCI controller and the companion SATA PHY. > > Signed-off-by: Florian Fainelli Applied to devicetree/next -- Florian

[PATCH V10 6/8] dt-bindings: timer: C-SKY Multi-processor timer

2018-10-04 Thread Guo Ren
Dt-bingdings doc for C-SKY SMP system setting. Changelog: - Drop the interrupt-parent. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V10 6/8] dt-bindings: timer: C-SKY Multi-processor timer

2018-10-04 Thread Guo Ren
Dt-bingdings doc for C-SKY SMP system setting. Changelog: - Drop the interrupt-parent. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V10 8/8] dt-bindings: timer: gx6605s SOC timer

2018-10-04 Thread Guo Ren
Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt diff --git

[PATCH V10 0/8] C-SKY(csky) Linux Kernel Driver

2018-10-04 Thread Guo Ren
This is about 10th patchset for C-SKY linux drivers. All patches have been checked by checkpatch.pl. Any feedback is welcome, thx for all people review my patchset. If you finish the review for the patchset, please give a Reviewed-By / Acked-By and I'll record it in the commit-msg. Guo Ren (8):

[PATCH V10 5/8] clocksource: add C-SKY SMP timer

2018-10-04 Thread Guo Ren
This timer is used by SMP system and use mfcr/mtcr instruction to access the regs. Changelog: - Add rollback for timer_of_cleanup. - Use request_percpu_irq separate from time_of. - Remove #define CPUHP_AP_CSKY_TIMER_STARTING. - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h. - Support csky

[PATCH V10 8/8] dt-bindings: timer: gx6605s SOC timer

2018-10-04 Thread Guo Ren
Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt diff --git

[PATCH V10 0/8] C-SKY(csky) Linux Kernel Driver

2018-10-04 Thread Guo Ren
This is about 10th patchset for C-SKY linux drivers. All patches have been checked by checkpatch.pl. Any feedback is welcome, thx for all people review my patchset. If you finish the review for the patchset, please give a Reviewed-By / Acked-By and I'll record it in the commit-msg. Guo Ren (8):

[PATCH V10 5/8] clocksource: add C-SKY SMP timer

2018-10-04 Thread Guo Ren
This timer is used by SMP system and use mfcr/mtcr instruction to access the regs. Changelog: - Add rollback for timer_of_cleanup. - Use request_percpu_irq separate from time_of. - Remove #define CPUHP_AP_CSKY_TIMER_STARTING. - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h. - Support csky

[PATCH V10 7/8] clocksource: add gx6605s SOC system timer

2018-10-04 Thread Guo Ren
Changelog: - pass checkpatch.pl - Add COMIPLE_TEST in Kconfig - no cast is needed for "struct clock_event_device *ce = dev" - remove: extra space after (u64) - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework

[PATCH V10 1/8] irqchip: add C-SKY SMP interrupt controller

2018-10-04 Thread Guo Ren
- Irq-csky-mpintc is C-SKY smp system interrupt controller and it could support 16 soft irqs, 16 private irqs, and 992 max common irqs. Changelog: - pass checkpatch.pl - Move IPI_IRQ into the driver - Remove irq_set_default_host() and use set_ipi_irq_mapping() - Change name with

[PATCH V10 1/8] irqchip: add C-SKY SMP interrupt controller

2018-10-04 Thread Guo Ren
- Irq-csky-mpintc is C-SKY smp system interrupt controller and it could support 16 soft irqs, 16 private irqs, and 992 max common irqs. Changelog: - pass checkpatch.pl - Move IPI_IRQ into the driver - Remove irq_set_default_host() and use set_ipi_irq_mapping() - Change name with

[PATCH V10 7/8] clocksource: add gx6605s SOC system timer

2018-10-04 Thread Guo Ren
Changelog: - pass checkpatch.pl - Add COMIPLE_TEST in Kconfig - no cast is needed for "struct clock_event_device *ce = dev" - remove: extra space after (u64) - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework

Re: [PATCH 8/9] ARM: dts: BCM63xx: enable SATA PHY and AHCI controller

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > Add Device Tree entries for the Broadcom AHCI and SATA PHY controller > found on BCM63138 SoCs > > Signed-off-by: Florian Fainelli Applied to devicetree/next. -- Florian

Re: [PATCH 8/9] ARM: dts: BCM63xx: enable SATA PHY and AHCI controller

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > Add Device Tree entries for the Broadcom AHCI and SATA PHY controller > found on BCM63138 SoCs > > Signed-off-by: Florian Fainelli Applied to devicetree/next. -- Florian

[PATCH] SMT: State SMT is disabled even with nosmt and without "=force"

2018-10-04 Thread Borislav Petkov
From: Borislav Petkov When booting with "nosmt=force" a message is issued into dmesg to confirm that SMT has been force-disabled but such a message is not issued when only "nosmt" is on the kernel command line. Fix that. Signed-off-by: Borislav Petkov Cc: Peter Zijlstra Cc: x...@kernel.org

[PATCH] SMT: State SMT is disabled even with nosmt and without "=force"

2018-10-04 Thread Borislav Petkov
From: Borislav Petkov When booting with "nosmt=force" a message is issued into dmesg to confirm that SMT has been force-disabled but such a message is not issued when only "nosmt" is on the kernel command line. Fix that. Signed-off-by: Borislav Petkov Cc: Peter Zijlstra Cc: x...@kernel.org

Re: [PATCH 1/3] namei: implement O_BENEATH-style AT_* flags

2018-10-04 Thread Christian Brauner
On Tue, Oct 02, 2018 at 02:04:31AM +1000, Aleksa Sarai wrote: > On 2018-10-01, Christian Brauner wrote: > > On Mon, Oct 01, 2018 at 02:28:03PM +0200, Jann Horn wrote: > > > On Sat, Sep 29, 2018 at 4:28 PM Aleksa Sarai wrote: > > > > * AT_BENEATH: Disallow ".." or absolute paths (either in the

Re: [PATCH 1/3] namei: implement O_BENEATH-style AT_* flags

2018-10-04 Thread Christian Brauner
On Tue, Oct 02, 2018 at 02:04:31AM +1000, Aleksa Sarai wrote: > On 2018-10-01, Christian Brauner wrote: > > On Mon, Oct 01, 2018 at 02:28:03PM +0200, Jann Horn wrote: > > > On Sat, Sep 29, 2018 at 4:28 PM Aleksa Sarai wrote: > > > > * AT_BENEATH: Disallow ".." or absolute paths (either in the

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 07:07:27PM +0200, Rafael J. Wysocki wrote: [...] > > > I don't see any dependency there, so I'll queue up the 1-3 in > > > pm-domains and the 4-6 in pm-cpuidle. > > > > I do not see why we should merge patches 4-6 for v4.20; they add legacy > > (DT bindings and related

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 07:07:27PM +0200, Rafael J. Wysocki wrote: [...] > > > I don't see any dependency there, so I'll queue up the 1-3 in > > > pm-domains and the 4-6 in pm-cpuidle. > > > > I do not see why we should merge patches 4-6 for v4.20; they add legacy > > (DT bindings and related

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano wrote: > > On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Rearrange the code in menu_select() so that the loop over idle states > > always starts from 0 and get rid of the first_idx variable. >

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano wrote: > > On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Rearrange the code in menu_select() so that the loop over idle states > > always starts from 0 and get rid of the first_idx variable. >

[PATCH 1/1] drivers/char/mem.c: Disable encryption bit in page tables for, MMIO access

2018-10-04 Thread James Puthukattukaran
Attempting to mmap to a memory mapped IO space returns -1s because the memory encryption bit is set for these pages. According to the AMD spec, this bit should not be set for non-DRAM space. The patch checks if this is an memory IO region being accessed and decrypts accordingly. Signed-off-by:

[PATCH 1/1] drivers/char/mem.c: Disable encryption bit in page tables for, MMIO access

2018-10-04 Thread James Puthukattukaran
Attempting to mmap to a memory mapped IO space returns -1s because the memory encryption bit is set for these pages. According to the AMD spec, this bit should not be set for non-DRAM space. The patch checks if this is an memory IO region being accessed and decrypts accordingly. Signed-off-by:

[PATCH 0/1] drivers/char/mem.c: Disable encryption bit in page tables for MMIO access

2018-10-04 Thread James Puthukattukaran
On AMD based systems, mmap'ing a PCI MMIO region does not return proper values. This is because the mmap_mem function does not consider the fact that IO regions are not to be encrypted. In the failing kernel, here's the output -- [root@foo]# ./memaccess 0xd000 -t pmem -l 32 0(0 ) :

[PATCH 0/1] drivers/char/mem.c: Disable encryption bit in page tables for MMIO access

2018-10-04 Thread James Puthukattukaran
On AMD based systems, mmap'ing a PCI MMIO region does not return proper values. This is because the mmap_mem function does not consider the fact that IO regions are not to be encrypted. In the failing kernel, here's the output -- [root@foo]# ./memaccess 0xd000 -t pmem -l 32 0(0 ) :

Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-04 Thread Song Liu
> On Oct 2, 2018, at 1:12 AM, Peter Zijlstra wrote: > > On Mon, Oct 01, 2018 at 10:36:36PM -0700, Song Liu wrote: >> Changes v1 -> v2: Fix PMU_FORMAT_ATTR as Peter suggested >> >> This patch enables uprobes with reference counter in fd-based uprobe. >> Highest 32 bits of

Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-04 Thread Song Liu
> On Oct 2, 2018, at 1:12 AM, Peter Zijlstra wrote: > > On Mon, Oct 01, 2018 at 10:36:36PM -0700, Song Liu wrote: >> Changes v1 -> v2: Fix PMU_FORMAT_ATTR as Peter suggested >> >> This patch enables uprobes with reference counter in fd-based uprobe. >> Highest 32 bits of

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Joe Perches
On Thu, 2018-10-04 at 10:40 +0200, Daniel Lezcano wrote: > On 04/10/2018 10:22, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 9:42 AM Daniel Lezcano > > wrote: > > > The function get_loadavg() returns almost always zero. To be more > > > precise, statistically speaking for a total of

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Joe Perches
On Thu, 2018-10-04 at 10:40 +0200, Daniel Lezcano wrote: > On 04/10/2018 10:22, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 9:42 AM Daniel Lezcano > > wrote: > > > The function get_loadavg() returns almost always zero. To be more > > > precise, statistically speaking for a total of

Re: [PATCH v2 1/3] mm: Shuffle initial free memory

2018-10-04 Thread Dan Williams
On Thu, Oct 4, 2018 at 12:48 AM Michal Hocko wrote: > > On Wed 03-10-18 19:15:24, Dan Williams wrote: > > Some data exfiltration and return-oriented-programming attacks rely on > > the ability to infer the location of sensitive data objects. The kernel > > page allocator, especially early in

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-10-04 Thread Alexey Budankov
Hi, On 03.10.2018 20:01, Jann Horn wrote: > On Mon, Oct 1, 2018 at 10:53 PM Alexey Budankov > wrote: >> 3. Every time an event for ${PMU} is created over perf_event_open(): >>a) the calling thread's euid is checked to belong to ${PMU}_users group >> and if it does then the event's fd

Re: [PATCH v2 1/3] mm: Shuffle initial free memory

2018-10-04 Thread Dan Williams
On Thu, Oct 4, 2018 at 12:48 AM Michal Hocko wrote: > > On Wed 03-10-18 19:15:24, Dan Williams wrote: > > Some data exfiltration and return-oriented-programming attacks rely on > > the ability to infer the location of sensitive data objects. The kernel > > page allocator, especially early in

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-10-04 Thread Alexey Budankov
Hi, On 03.10.2018 20:01, Jann Horn wrote: > On Mon, Oct 1, 2018 at 10:53 PM Alexey Budankov > wrote: >> 3. Every time an event for ${PMU} is created over perf_event_open(): >>a) the calling thread's euid is checked to belong to ${PMU}_users group >> and if it does then the event's fd

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

2018-10-04 Thread Steve Sakoman
On Thu, Oct 4, 2018 at 7:00 AM Greg Kroah-Hartman wrote: > We should just get rid of the "unused" fields entirely. They aren't > needed here as this is not a structure that anyone really cares about. > We can move things around a bit if the padding is an issue. > > I've reverted this patch

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

2018-10-04 Thread Steve Sakoman
On Thu, Oct 4, 2018 at 7:00 AM Greg Kroah-Hartman wrote: > We should just get rid of the "unused" fields entirely. They aren't > needed here as this is not a structure that anyone really cares about. > We can move things around a bit if the padding is an issue. > > I've reverted this patch

Re: [PATCH 5/6] cpuidle: menu: Avoid computations for very close timers

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 5:50 PM Daniel Lezcano wrote: > > On Tue, Oct 02, 2018 at 11:46:28PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If the next timer event (with the tick excluded) is closer than the > > target residency of the second state or the PM QoS latency

Re: [PATCH 5/6] cpuidle: menu: Avoid computations for very close timers

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 5:50 PM Daniel Lezcano wrote: > > On Tue, Oct 02, 2018 at 11:46:28PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If the next timer event (with the tick excluded) is closer than the > > target residency of the second state or the PM QoS latency

Re: [PATCH v2 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF

2018-10-04 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 06:47:01PM +0200, Philipp Zabel wrote: > Hi Leonard, > > On Thu, 2018-10-04 at 16:34 +, Leonard Crestez wrote: > > This is required for the imx pci driver to send the PME_Turn_Off TLP. > > > > Signed-off-by: Leonard Crestez > > Acked-by: Rob Herring > > --- > >

Re: [PATCH v2 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF

2018-10-04 Thread Lorenzo Pieralisi
On Thu, Oct 04, 2018 at 06:47:01PM +0200, Philipp Zabel wrote: > Hi Leonard, > > On Thu, 2018-10-04 at 16:34 +, Leonard Crestez wrote: > > This is required for the imx pci driver to send the PME_Turn_Off TLP. > > > > Signed-off-by: Leonard Crestez > > Acked-by: Rob Herring > > --- > >

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 5:58 PM Lorenzo Pieralisi wrote: > > On Thu, Oct 04, 2018 at 11:32:41AM +0200, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 11:04 AM Rafael J. Wysocki > > wrote: > > > > > > On Thursday, October 4, 2018 10:58:53 AM CEST Ulf Hansson wrote: > > > > On 4 October 2018

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 5:58 PM Lorenzo Pieralisi wrote: > > On Thu, Oct 04, 2018 at 11:32:41AM +0200, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 11:04 AM Rafael J. Wysocki > > wrote: > > > > > > On Thursday, October 4, 2018 10:58:53 AM CEST Ulf Hansson wrote: > > > > On 4 October 2018

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

2018-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2018 at 06:34:31AM -1000, Steve Sakoman wrote: > Interesting indeed. Who would have thought someone would be using the > "unused" padding variable! Ugh :( > How would folks prefer we fix this, in the referenced patch or by > eliminating the use of "unused" in samsung.c? We

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

2018-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2018 at 06:34:31AM -1000, Steve Sakoman wrote: > Interesting indeed. Who would have thought someone would be using the > "unused" padding variable! Ugh :( > How would folks prefer we fix this, in the referenced patch or by > eliminating the use of "unused" in samsung.c? We

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-04 Thread Andy Lutomirski
On Thu, Oct 4, 2018 at 9:31 AM Nadav Amit wrote: > > at 7:11 AM, Andy Lutomirski wrote: > > > > > > > On Oct 3, 2018, at 9:59 PM, Nadav Amit wrote: > > > >> This RFC proposes to return part of the entry-area back to the fixmap to > >> improve system-call performance. Currently, since the

Hello Dear

2018-10-04 Thread Tracy William
Hello Dear, how are you today,I hope you are doing great. It is my great pleasure to contact you,I want to make a new and special friend,I hope you don't mind. My name is Tracy William from the United States, Am a french and English nationality. I will give you pictures and more details

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-04 Thread Andy Lutomirski
On Thu, Oct 4, 2018 at 9:31 AM Nadav Amit wrote: > > at 7:11 AM, Andy Lutomirski wrote: > > > > > > > On Oct 3, 2018, at 9:59 PM, Nadav Amit wrote: > > > >> This RFC proposes to return part of the entry-area back to the fixmap to > >> improve system-call performance. Currently, since the

Hello Dear

2018-10-04 Thread Tracy William
Hello Dear, how are you today,I hope you are doing great. It is my great pleasure to contact you,I want to make a new and special friend,I hope you don't mind. My name is Tracy William from the United States, Am a french and English nationality. I will give you pictures and more details

Re: [PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Andy Lutomirski
> On Oct 4, 2018, at 9:45 AM, Rik van Riel wrote: > > On Thu, 2018-10-04 at 16:05 +0200, Sebastian Andrzej Siewior wrote: > > >> In v3 I dropped that decouple idea. I also learned that the wrpkru >> instruction is not privileged and so caching it in kernel does not >> work. > > Wait, so

Re: [PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Andy Lutomirski
> On Oct 4, 2018, at 9:45 AM, Rik van Riel wrote: > > On Thu, 2018-10-04 at 16:05 +0200, Sebastian Andrzej Siewior wrote: > > >> In v3 I dropped that decouple idea. I also learned that the wrpkru >> instruction is not privileged and so caching it in kernel does not >> work. > > Wait, so

Re: [RFC 1/2] reboot: Make restart_handler_list a blocking notifier chain.

2018-10-04 Thread Russell King - ARM Linux
On Thu, Oct 04, 2018 at 06:23:38PM +0200, Nicolas Cavallari wrote: > Many users of restart_handlers are sleeping in their callbacks. Some > are doing infinite loops or calling driver code that may sleep or > perform operation on slow busses, like i2c. > > This is not allowed in an atomic

Re: [RFC 1/2] reboot: Make restart_handler_list a blocking notifier chain.

2018-10-04 Thread Russell King - ARM Linux
On Thu, Oct 04, 2018 at 06:23:38PM +0200, Nicolas Cavallari wrote: > Many users of restart_handlers are sleeping in their callbacks. Some > are doing infinite loops or calling driver code that may sleep or > perform operation on slow busses, like i2c. > > This is not allowed in an atomic

Re: [GIT PULL] xfs: fixes for 4.19-rc6

2018-10-04 Thread Greg KH
On Thu, Oct 04, 2018 at 11:03:12AM +1000, Dave Chinner wrote: > Hi Greg, > > Can you please pull the XFS from the tag listed below. It's a bit > bigger than that I'd like this late in the cycle, but we've had a > few challenges getting ourselves sorted out this cycle. Details > of the contents

Re: [GIT PULL] xfs: fixes for 4.19-rc6

2018-10-04 Thread Greg KH
On Thu, Oct 04, 2018 at 11:03:12AM +1000, Dave Chinner wrote: > Hi Greg, > > Can you please pull the XFS from the tag listed below. It's a bit > bigger than that I'd like this late in the cycle, but we've had a > few challenges getting ourselves sorted out this cycle. Details > of the contents

Re: [git pull] drm fixes for 4.19-rc7

2018-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2018 at 02:55:42PM +1000, Dave Airlie wrote: > Hi Greg, > > Nothing too much happening at this point, > > 3 i915 fixes: > compressed error handling zlib fix > compiler warning cleanup > and a minor code cleanup > > 2 tda9950: > Two fixes for the HDMI CEC > > 1 exynos: > A fix

Re: [git pull] drm fixes for 4.19-rc7

2018-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2018 at 02:55:42PM +1000, Dave Airlie wrote: > Hi Greg, > > Nothing too much happening at this point, > > 3 i915 fixes: > compressed error handling zlib fix > compiler warning cleanup > and a minor code cleanup > > 2 tda9950: > Two fixes for the HDMI CEC > > 1 exynos: > A fix

Re: [PATCH v2 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF

2018-10-04 Thread Philipp Zabel
Hi Leonard, On Thu, 2018-10-04 at 16:34 +, Leonard Crestez wrote: > This is required for the imx pci driver to send the PME_Turn_Off TLP. > > Signed-off-by: Leonard Crestez > Acked-by: Rob Herring > --- > drivers/reset/reset-imx7.c | 1 + >

[GIT PULL] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-04 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. PS. One of the patches is depending on the last pull request for fixes to build https://patchwork.kernel.org/patch/10622883/ I didn't include the fix patches directly in this pull request to prevent a complicated merge.

Re: [PATCH v2 1/4] reset: imx7: Add PCIE_CTRL_APPS_TURNOFF

2018-10-04 Thread Philipp Zabel
Hi Leonard, On Thu, 2018-10-04 at 16:34 +, Leonard Crestez wrote: > This is required for the imx pci driver to send the PME_Turn_Off TLP. > > Signed-off-by: Leonard Crestez > Acked-by: Rob Herring > --- > drivers/reset/reset-imx7.c | 1 + >

[GIT PULL] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-04 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. PS. One of the patches is depending on the last pull request for fixes to build https://patchwork.kernel.org/patch/10622883/ I didn't include the fix patches directly in this pull request to prevent a complicated merge.

Re: [PATCH v5 2/2] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-10-04 Thread Doug Anderson
Hi, On Wed, Oct 3, 2018 at 5:14 PM Matthias Kaehlcke wrote: > > Add a channel node for the die temperature to the ADC. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson > --- > Changes in v4: > - added unit address to 'die-temp' node This probably should have been "changes

RE: [PATCH v2] qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers

2018-10-04 Thread Tayar, Tomer
From: Nathan Chancellor Sent: Thursday, October 04, 2018 7:39 PM > Clang warns when one enumerated type is implicitly converted to another. > > drivers/net/ethernet/qlogic/qed/qed_ll2.c:799:32: warning: implicit > conversion from enumeration type 'enum core_tx_dest' to different > enumeration

Re: [PATCH v5 2/2] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-10-04 Thread Doug Anderson
Hi, On Wed, Oct 3, 2018 at 5:14 PM Matthias Kaehlcke wrote: > > Add a channel node for the die temperature to the ADC. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson > --- > Changes in v4: > - added unit address to 'die-temp' node This probably should have been "changes

RE: [PATCH v2] qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers

2018-10-04 Thread Tayar, Tomer
From: Nathan Chancellor Sent: Thursday, October 04, 2018 7:39 PM > Clang warns when one enumerated type is implicitly converted to another. > > drivers/net/ethernet/qlogic/qed/qed_ll2.c:799:32: warning: implicit > conversion from enumeration type 'enum core_tx_dest' to different > enumeration

Re: [PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Rik van Riel
On Thu, 2018-10-04 at 16:05 +0200, Sebastian Andrzej Siewior wrote: > In v3 I dropped that decouple idea. I also learned that the wrpkru > instruction is not privileged and so caching it in kernel does not > work. Wait, so any thread can bypass its memory protection keys, even if there is a

Re: [PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Rik van Riel
On Thu, 2018-10-04 at 16:05 +0200, Sebastian Andrzej Siewior wrote: > In v3 I dropped that decouple idea. I also learned that the wrpkru > instruction is not privileged and so caching it in kernel does not > work. Wait, so any thread can bypass its memory protection keys, even if there is a

Re: [PATCH net-next 0/9] rxrpc: Development

2018-10-04 Thread David Miller
From: David Howells Date: Thu, 04 Oct 2018 14:50:31 +0100 > Here are some development patches for AF_RXRPC. The most significant points > are: ... > The patches are tagged here: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-nex

Re: [PATCH net-next 0/9] rxrpc: Development

2018-10-04 Thread David Miller
From: David Howells Date: Thu, 04 Oct 2018 14:50:31 +0100 > Here are some development patches for AF_RXRPC. The most significant points > are: ... > The patches are tagged here: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-nex

Re: [PATCH v2 0/3] Randomize free memory

2018-10-04 Thread Dan Williams
Hi Michal, On Thu, Oct 4, 2018 at 12:53 AM Michal Hocko wrote: > > On Wed 03-10-18 19:15:18, Dan Williams wrote: > > Changes since v1: > > * Add support for shuffling hot-added memory (Andrew) > > * Update cover letter and commit message to clarify the performance impact > > and relevance to

Re: [GIT PULL] fixes for soc/fsl drivers for v4.19 take 2

2018-10-04 Thread Li Yang
On Thu, Oct 4, 2018 at 4:40 AM Laurentiu Tudor wrote: > > Hi Leo, > > On 02.10.2018 01:58, Li Yang wrote: > > Hi arm-soc maintainers, > > > > Please merge the updated fix for the following issue. > > > > Regards, > > Leo > > > > The following changes since commit

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