Re: [PATCH] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-11-21 Thread Dan Williams
On Tue, Nov 20, 2018 at 1:03 AM Peter Zijlstra wrote: > > On Tue, Nov 20, 2018 at 02:59:32AM +, Williams, Dan J wrote: > > On Mon, 2018-11-19 at 15:43 -0800, Dave Hansen wrote: > > > On 11/19/18 3:19 PM, Dan Williams wrote: > > > > Andy wondered why a path that can sleep was using

Re: [PATCH] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-11-21 Thread Dan Williams
On Tue, Nov 20, 2018 at 1:03 AM Peter Zijlstra wrote: > > On Tue, Nov 20, 2018 at 02:59:32AM +, Williams, Dan J wrote: > > On Mon, 2018-11-19 at 15:43 -0800, Dave Hansen wrote: > > > On 11/19/18 3:19 PM, Dan Williams wrote: > > > > Andy wondered why a path that can sleep was using

[Question] atomic_fetch_andnot() in nohz_idle_balance()

2018-11-21 Thread Andrea Parri
Hi, The comment for the atomic_fetch_andnot() in nohz_idle_balance() says: "barrier, pairs with nohz_balance_enter_idle(), ensures ..." which, well, does sound a note of warning... ;-) I see that nohz_balance_enter_idle() has an smp_mb__after_atomic() but the comment for the latter suggests

[Question] atomic_fetch_andnot() in nohz_idle_balance()

2018-11-21 Thread Andrea Parri
Hi, The comment for the atomic_fetch_andnot() in nohz_idle_balance() says: "barrier, pairs with nohz_balance_enter_idle(), ensures ..." which, well, does sound a note of warning... ;-) I see that nohz_balance_enter_idle() has an smp_mb__after_atomic() but the comment for the latter suggests

Re: [PATCHv3 1/6] atomics: add common header generation files

2018-11-21 Thread Andrew Morton
On Fri, 16 Nov 2018 02:51:21 + Mark Rutland wrote: > Hi Andrew, > > On Thu, Nov 15, 2018 at 03:10:48PM -0800, Andrew Morton wrote: > > On Tue, 4 Sep 2018 11:48:25 +0100 Mark Rutland > > wrote: > > > > > To minimize repetition, to allow for future rework, and to ensure > > > regularity

Re: [PATCHv3 1/6] atomics: add common header generation files

2018-11-21 Thread Andrew Morton
On Fri, 16 Nov 2018 02:51:21 + Mark Rutland wrote: > Hi Andrew, > > On Thu, Nov 15, 2018 at 03:10:48PM -0800, Andrew Morton wrote: > > On Tue, 4 Sep 2018 11:48:25 +0100 Mark Rutland > > wrote: > > > > > To minimize repetition, to allow for future rework, and to ensure > > > regularity

Re: [PATCH] perf stat: fix csv mode column output for non-cgroup events

2018-11-21 Thread Stephane Eranian
Jiri, Any update on this patch? Thanks. On Wed, Nov 7, 2018 at 2:50 AM Stephane Eranian wrote: > > When using the -x option, perf stat prints csv-style output > with one event per line. For each event, it prints the count, > the unit, the event name, the cgroup, and a bunch of other event >

Re: [PATCH] perf stat: fix csv mode column output for non-cgroup events

2018-11-21 Thread Stephane Eranian
Jiri, Any update on this patch? Thanks. On Wed, Nov 7, 2018 at 2:50 AM Stephane Eranian wrote: > > When using the -x option, perf stat prints csv-style output > with one event per line. For each event, it prints the count, > the unit, the event name, the cgroup, and a bunch of other event >

Re: [Patch v7 14/18] x86/speculation: Add 'seccomp' Spectre v2 app to app protection mode

2018-11-21 Thread Tim Chen
On 11/20/2018 04:08 PM, Tim Chen wrote: > From: Jiri Kosina > > If 'prctl' mode of app2app protection from spectre_v2 is selected on > kernel command-line, we are currently applying STIBP protection to > tasks that restrict their indirect branch speculation via > >

Re: [Patch v7 14/18] x86/speculation: Add 'seccomp' Spectre v2 app to app protection mode

2018-11-21 Thread Tim Chen
On 11/20/2018 04:08 PM, Tim Chen wrote: > From: Jiri Kosina > > If 'prctl' mode of app2app protection from spectre_v2 is selected on > kernel command-line, we are currently applying STIBP protection to > tasks that restrict their indirect branch speculation via > >

Re: [PATCH v2] sysctl: kselftests: fix test_modprobe issue

2018-11-21 Thread Luis Chamberlain
On Thu, Sep 06, 2018 at 06:22:54PM +0800, Lei Yang wrote: > when CONFIG_TEST_SYSCTL=y, there is no "/sys/module/test_sysctl/" > when CONFIG_TEST_SYSCTL=m, checking /sys/module/test_sysctl/ is > before kernel module loading > > you'll get below error message > root@intel-x86-64:/tmp/sysctl#

Re: [PATCH v2] sysctl: kselftests: fix test_modprobe issue

2018-11-21 Thread Luis Chamberlain
On Thu, Sep 06, 2018 at 06:22:54PM +0800, Lei Yang wrote: > when CONFIG_TEST_SYSCTL=y, there is no "/sys/module/test_sysctl/" > when CONFIG_TEST_SYSCTL=m, checking /sys/module/test_sysctl/ is > before kernel module loading > > you'll get below error message > root@intel-x86-64:/tmp/sysctl#

Re: [PATCH v2] ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 18:49:11 +0100, Girija Kumar Kasinadhuni wrote: > > @@ -6486,6 +6491,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { > SND_PCI_QUIRK(0x103c, 0x82bf, "HP", ALC221_FIXUP_HP_MIC_NO_PRESENCE), > SND_PCI_QUIRK(0x103c, 0x82c0, "HP",

Re: [PATCH v2] ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 18:49:11 +0100, Girija Kumar Kasinadhuni wrote: > > @@ -6486,6 +6491,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { > SND_PCI_QUIRK(0x103c, 0x82bf, "HP", ALC221_FIXUP_HP_MIC_NO_PRESENCE), > SND_PCI_QUIRK(0x103c, 0x82c0, "HP",

Re: [RFC PATCH 6/6] ALSA: hda: add fallback capabilities for SKL+ platforms

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 15:39:39 +0100, Andy Shevchenko wrote: > > On Tue, Nov 20, 2018 at 03:36:44PM -0600, Pierre-Louis Bossart wrote: > > Enable fallback for select PCI IDs > > > > Signed-off-by: Pierre-Louis Bossart > > --- > > sound/pci/hda/Kconfig | 40

Re: [RFC PATCH 6/6] ALSA: hda: add fallback capabilities for SKL+ platforms

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 15:39:39 +0100, Andy Shevchenko wrote: > > On Tue, Nov 20, 2018 at 03:36:44PM -0600, Pierre-Louis Bossart wrote: > > Enable fallback for select PCI IDs > > > > Signed-off-by: Pierre-Louis Bossart > > --- > > sound/pci/hda/Kconfig | 40

Re: [RFC PATCH 1/6] ASoC: Intel: Skylake: Add CFL-S support

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 18:38:41 +0100, Andy Shevchenko wrote: > > On Wed, Nov 21, 2018 at 11:16:50AM -0600, Pierre-Louis Bossart wrote: > > On 11/21/18 8:27 AM, Andy Shevchenko wrote: > > > > May you consider to switch to PCI_DEVICE_DATA() first? > > > > Is this really the recommended path? > > >

Re: [RFC PATCH 1/6] ASoC: Intel: Skylake: Add CFL-S support

2018-11-21 Thread Takashi Iwai
On Wed, 21 Nov 2018 18:38:41 +0100, Andy Shevchenko wrote: > > On Wed, Nov 21, 2018 at 11:16:50AM -0600, Pierre-Louis Bossart wrote: > > On 11/21/18 8:27 AM, Andy Shevchenko wrote: > > > > May you consider to switch to PCI_DEVICE_DATA() first? > > > > Is this really the recommended path? > > >

Re: [PATCH 4/4] base/drivers/topology: Default dmpis-mhz if they are not set in DT

2018-11-21 Thread Daniel Lezcano
On 30/10/2018 09:58, Viresh Kumar wrote: > s/dmpis/dmips/ in $subject > > On 29-10-18, 17:23, Daniel Lezcano wrote: >> In the case of assymetric SoC with the same micro-architecture, we > > asymmetric ? > >> have a group of CPUs with smaller OPPs than the other group. One >>

Re: [PATCH v2] Add /proc/pid_gen

2018-11-21 Thread Andrew Morton
On Wed, 21 Nov 2018 12:54:20 -0800 Daniel Colascione wrote: > Trace analysis code needs a coherent picture of the set of processes > and threads running on a system. While it's possible to enumerate all > tasks via /proc, this enumeration is not atomic. If PID numbering > rolls over during

Re: [PATCH 4/4] base/drivers/topology: Default dmpis-mhz if they are not set in DT

2018-11-21 Thread Daniel Lezcano
On 30/10/2018 09:58, Viresh Kumar wrote: > s/dmpis/dmips/ in $subject > > On 29-10-18, 17:23, Daniel Lezcano wrote: >> In the case of assymetric SoC with the same micro-architecture, we > > asymmetric ? > >> have a group of CPUs with smaller OPPs than the other group. One >>

Re: [PATCH v2] Add /proc/pid_gen

2018-11-21 Thread Andrew Morton
On Wed, 21 Nov 2018 12:54:20 -0800 Daniel Colascione wrote: > Trace analysis code needs a coherent picture of the set of processes > and threads running on a system. While it's possible to enumerate all > tasks via /proc, this enumeration is not atomic. If PID numbering > rolls over during

RE: [PATCH 1/2] power: supply: add input voltage limit property.

2018-11-21 Thread Adam Thomson
On 21 November 2018 15:35, Enric Balletbo i Serra wrote: > We have a problem with USBPD chargers which under certain conditions > can result in system overheating if the voltage provided by the USBPD > port is too high. While the preferred means to control this would be > through devicetree or

RE: [PATCH 1/2] power: supply: add input voltage limit property.

2018-11-21 Thread Adam Thomson
On 21 November 2018 15:35, Enric Balletbo i Serra wrote: > We have a problem with USBPD chargers which under certain conditions > can result in system overheating if the voltage provided by the USBPD > port is too high. While the preferred means to control this would be > through devicetree or

Re: [PATCH v3] mm: use swp_offset as key in shmem_replace_page()

2018-11-21 Thread Matthew Wilcox
On Wed, Nov 21, 2018 at 02:54:42PM -0700, Yu Zhao wrote: > We changed key of swap cache tree from swp_entry_t.val to > swp_offset. Need to do so in shmem_replace_page() as well. > > Fixes: f6ab1f7f6b2d ("mm, swap: use offset of swap entry as key of swap > cache") > Cc: sta...@vger.kernel.org #

Re: [PATCH v3] mm: use swp_offset as key in shmem_replace_page()

2018-11-21 Thread Matthew Wilcox
On Wed, Nov 21, 2018 at 02:54:42PM -0700, Yu Zhao wrote: > We changed key of swap cache tree from swp_entry_t.val to > swp_offset. Need to do so in shmem_replace_page() as well. > > Fixes: f6ab1f7f6b2d ("mm, swap: use offset of swap entry as key of swap > cache") > Cc: sta...@vger.kernel.org #

Re: [PATCH 2/4] mm: Move zone watermark accesses behind an accessor

2018-11-21 Thread Vlastimil Babka
On 11/21/18 11:14 AM, Mel Gorman wrote: > This is a preparation patch only, no functional change. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka

Re: [PATCH 2/4] mm: Move zone watermark accesses behind an accessor

2018-11-21 Thread Vlastimil Babka
On 11/21/18 11:14 AM, Mel Gorman wrote: > This is a preparation patch only, no functional change. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka

Re: [PATCH v2 0/6] RFC: gup+dma: tracking dma-pinned pages

2018-11-21 Thread John Hubbard
On 11/21/18 8:49 AM, Tom Talpey wrote: > On 11/21/2018 1:09 AM, John Hubbard wrote: >> On 11/19/18 10:57 AM, Tom Talpey wrote: >>> ~14000 4KB read IOPS is really, really low for an NVMe disk. >> >> Yes, but Jan Kara's original config file for fio is *intended* to highlight >> the

Re: [PATCH v2 0/6] RFC: gup+dma: tracking dma-pinned pages

2018-11-21 Thread John Hubbard
On 11/21/18 8:49 AM, Tom Talpey wrote: > On 11/21/2018 1:09 AM, John Hubbard wrote: >> On 11/19/18 10:57 AM, Tom Talpey wrote: >>> ~14000 4KB read IOPS is really, really low for an NVMe disk. >> >> Yes, but Jan Kara's original config file for fio is *intended* to highlight >> the

Re: [PATCH v10 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-11-21 Thread Matthias Kaehlcke
On Wed, Nov 21, 2018 at 04:12:47PM +0530, Taniya Das wrote: > The CPUfreq HW present in some QCOM chipsets offloads the steps necessary > for changing the frequency of CPUs. The driver implements the cpufreq > driver interface for this hardware engine. > > Signed-off-by: Saravana Kannan >

Re: [PATCH v10 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-11-21 Thread Matthias Kaehlcke
On Wed, Nov 21, 2018 at 04:12:47PM +0530, Taniya Das wrote: > The CPUfreq HW present in some QCOM chipsets offloads the steps necessary > for changing the frequency of CPUs. The driver implements the cpufreq > driver interface for this hardware engine. > > Signed-off-by: Saravana Kannan >

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Thomas Gleixner wrote: > On Wed, 21 Nov 2018, Borislav Petkov wrote: > > > static char *stibp_state(void) > > > { > > > + if (spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED) > > > + return ""; > > > > If > > spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED > > >

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Thomas Gleixner wrote: > On Wed, 21 Nov 2018, Borislav Petkov wrote: > > > static char *stibp_state(void) > > > { > > > + if (spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED) > > > + return ""; > > > > If > > spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED > > >

[PATCH v3] mm: use swp_offset as key in shmem_replace_page()

2018-11-21 Thread Yu Zhao
We changed key of swap cache tree from swp_entry_t.val to swp_offset. Need to do so in shmem_replace_page() as well. Fixes: f6ab1f7f6b2d ("mm, swap: use offset of swap entry as key of swap cache") Cc: sta...@vger.kernel.org # v4.9+ Signed-off-by: Yu Zhao --- mm/shmem.c | 6 -- 1 file

[PATCH v3] mm: use swp_offset as key in shmem_replace_page()

2018-11-21 Thread Yu Zhao
We changed key of swap cache tree from swp_entry_t.val to swp_offset. Need to do so in shmem_replace_page() as well. Fixes: f6ab1f7f6b2d ("mm, swap: use offset of swap entry as key of swap cache") Cc: sta...@vger.kernel.org # v4.9+ Signed-off-by: Yu Zhao --- mm/shmem.c | 6 -- 1 file

Re: [PATCH] clk: meson: Fix GXL HDMI PLL fractional bits width

2018-11-21 Thread Martin Blumenstingl
Hi Neil, On Wed, Nov 21, 2018 at 12:19 PM Neil Armstrong wrote: > > The GXL Documentation specifies 12 bits for the Fractional bit field, > bit the last bits have a different purpose that we cannot handle right > now, so update the bitwidth to have correct fractional calculations. I assume you

Re: [PATCH] clk: meson: Fix GXL HDMI PLL fractional bits width

2018-11-21 Thread Martin Blumenstingl
Hi Neil, On Wed, Nov 21, 2018 at 12:19 PM Neil Armstrong wrote: > > The GXL Documentation specifies 12 bits for the Fractional bit field, > bit the last bits have a different purpose that we cannot handle right > now, so update the bitwidth to have correct fractional calculations. I assume you

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Ard Biesheuvel
On Wed, 21 Nov 2018 at 22:15, Liam R. Howlett wrote: > > * Nadav Amit [181121 16:12]: > > > On Nov 21, 2018, at 12:56 PM, Liam R. Howlett > > > wrote: > > > > > > > > > My out of tree driver build is now reporting issues with the jump table: > > > > > > ./include/linux/jump_label.h: In

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Ard Biesheuvel
On Wed, 21 Nov 2018 at 22:15, Liam R. Howlett wrote: > > * Nadav Amit [181121 16:12]: > > > On Nov 21, 2018, at 12:56 PM, Liam R. Howlett > > > wrote: > > > > > > > > > My out of tree driver build is now reporting issues with the jump table: > > > > > > ./include/linux/jump_label.h: In

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-21 Thread Serge E. Hallyn
On Tue, Nov 20, 2018 at 11:31:13AM +0100, Christian Brauner wrote: > On Mon, Nov 19, 2018 at 10:59:12PM -0600, Eric W. Biederman wrote: > > Daniel Colascione writes: > > > > > On Mon, Nov 19, 2018 at 1:37 PM Christian Brauner > > > wrote: > > >> > > >> On Mon, Nov 19, 2018 at 01:26:22PM -0800,

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-21 Thread Serge E. Hallyn
On Tue, Nov 20, 2018 at 11:31:13AM +0100, Christian Brauner wrote: > On Mon, Nov 19, 2018 at 10:59:12PM -0600, Eric W. Biederman wrote: > > Daniel Colascione writes: > > > > > On Mon, Nov 19, 2018 at 1:37 PM Christian Brauner > > > wrote: > > >> > > >> On Mon, Nov 19, 2018 at 01:26:22PM -0800,

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-21 Thread Stephen Boyd
Quoting Lina Iyer (2018-11-20 16:06:47) > SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > routed to the PDC as interrupts that can be used to wake the system up > from deep low power modes and suspend. > > Signed-off-by: Lina Iyer > --- >

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-21 Thread Stephen Boyd
Quoting Lina Iyer (2018-11-20 16:06:47) > SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > routed to the PDC as interrupts that can be used to wake the system up > from deep low power modes and suspend. > > Signed-off-by: Lina Iyer > --- >

Re: [PATCH] thermal: Fix locking in cooling device sysfs update cur_state

2018-11-21 Thread Daniel Lezcano
On 21/11/2018 20:01, Thara Gopinath wrote: > Sysfs interface to update cooling device cur_state does not > currently hold cooling device lock, leading to stale values > in cur_state especially if getting updated simultanelously > from user space and thermal framework. Adding the proper locking >

Re: [PATCH] thermal: Fix locking in cooling device sysfs update cur_state

2018-11-21 Thread Daniel Lezcano
On 21/11/2018 20:01, Thara Gopinath wrote: > Sysfs interface to update cooling device cur_state does not > currently hold cooling device lock, leading to stale values > in cur_state especially if getting updated simultanelously > from user space and thermal framework. Adding the proper locking >

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Stephen Rothwell
Hi Doug, On Wed, 21 Nov 2018 12:39:45 -0800 Doug Anderson wrote: > > Argh. When I squashed two commits together I must have clobbered the > Signed-off-by. :( Is there a suggested way that I can fix this? The only way it can be fixed is for Mark to rebase his tree and fix the commit message.

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Stephen Rothwell
Hi Doug, On Wed, 21 Nov 2018 12:39:45 -0800 Doug Anderson wrote: > > Argh. When I squashed two commits together I must have clobbered the > Signed-off-by. :( Is there a suggested way that I can fix this? The only way it can be fixed is for Mark to rebase his tree and fix the commit message.

[tip:x86/urgent] x86/fsgsbase/64: Fix the base write helper functions

2018-11-21 Thread tip-bot for Chang S. Bae
Commit-ID: 8b791a31e730a652537635a53b2ac02db8e6da1d Gitweb: https://git.kernel.org/tip/8b791a31e730a652537635a53b2ac02db8e6da1d Author: Chang S. Bae AuthorDate: Fri, 16 Nov 2018 15:27:28 -0800 Committer: Thomas Gleixner CommitDate: Wed, 21 Nov 2018 22:23:51 +0100 x86/fsgsbase/64: Fix

[tip:x86/urgent] x86/fsgsbase/64: Fix the base write helper functions

2018-11-21 Thread tip-bot for Chang S. Bae
Commit-ID: 8b791a31e730a652537635a53b2ac02db8e6da1d Gitweb: https://git.kernel.org/tip/8b791a31e730a652537635a53b2ac02db8e6da1d Author: Chang S. Bae AuthorDate: Fri, 16 Nov 2018 15:27:28 -0800 Committer: Thomas Gleixner CommitDate: Wed, 21 Nov 2018 22:23:51 +0100 x86/fsgsbase/64: Fix

Re: [PATCH] perf symbols: fix slowness due to -ffunction-section

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 09:51:19AM -0800, Eric Saint-Etienne escreveu: > Perf can take minutes to parse an image when -ffunction-section is used. > This is especially true with the kernel image when it is compiled this way, > which is the arm64 default since the patcheset "Enable deadcode

Re: [PATCH] perf symbols: fix slowness due to -ffunction-section

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 09:51:19AM -0800, Eric Saint-Etienne escreveu: > Perf can take minutes to parse an image when -ffunction-section is used. > This is especially true with the kernel image when it is compiled this way, > which is the arm64 default since the patcheset "Enable deadcode

Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Alexandre Belloni
On 21/11/2018 14:52:29-0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 10:48 AM Alexandre Belloni > wrote: > > > > Hi Rob, > > > > On 21/11/2018 10:41:01-0600, Rob Herring wrote: > > > > +Optional properties in serial and SPI mode: > > > > +- dma bindings for dma transfer: > > > > + -

Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Alexandre Belloni
On 21/11/2018 14:52:29-0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 10:48 AM Alexandre Belloni > wrote: > > > > Hi Rob, > > > > On 21/11/2018 10:41:01-0600, Rob Herring wrote: > > > > +Optional properties in serial and SPI mode: > > > > +- dma bindings for dma transfer: > > > > + -

International credit settlement

2018-11-21 Thread :COMPENSATION AGENTt
International credit settlement Office of the director of operations World Bank united state of America. Attention : This Is To Officially Inform You That We Have Verified Your Contact Inheritance File Presently On My Desk, And I Found Out That You Have Not Received Your Payment Due To Your

International credit settlement

2018-11-21 Thread :COMPENSATION AGENTt
International credit settlement Office of the director of operations World Bank united state of America. Attention : This Is To Officially Inform You That We Have Verified Your Contact Inheritance File Presently On My Desk, And I Found Out That You Have Not Received Your Payment Due To Your

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Liam R. Howlett
* Nadav Amit [181121 16:12]: > > On Nov 21, 2018, at 12:56 PM, Liam R. Howlett > > wrote: > > > > > > My out of tree driver build is now reporting issues with the jump table: > > > > ./include/linux/jump_label.h: In function ‘jump_entry_code’: > > ./include/linux/jump_label.h:153:14: error:

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Liam R. Howlett
* Nadav Amit [181121 16:12]: > > On Nov 21, 2018, at 12:56 PM, Liam R. Howlett > > wrote: > > > > > > My out of tree driver build is now reporting issues with the jump table: > > > > ./include/linux/jump_label.h: In function ‘jump_entry_code’: > > ./include/linux/jump_label.h:153:14: error:

[PATCH] modpost: skip ELF local symbols during section mismatch check

2018-11-21 Thread Paul Walmsley
During development of a serial console driver with a gcc 8.2.0 toolchain for RISC-V, the following modpost warning appeared: WARNING: vmlinux.o(.data+0x19b10): Section mismatch in reference from the variable .LANCHOR1 to the function .init.text:sifive_serial_console_setup() The variable

[PATCH] modpost: skip ELF local symbols during section mismatch check

2018-11-21 Thread Paul Walmsley
During development of a serial console driver with a gcc 8.2.0 toolchain for RISC-V, the following modpost warning appeared: WARNING: vmlinux.o(.data+0x19b10): Section mismatch in reference from the variable .LANCHOR1 to the function .init.text:sifive_serial_console_setup() The variable

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Nadav Amit
> On Nov 21, 2018, at 12:56 PM, Liam R. Howlett wrote: > > > My out of tree driver build is now reporting issues with the jump table: > > ./include/linux/jump_label.h: In function ‘jump_entry_code’: > ./include/linux/jump_label.h:153:14: error: dereferencing pointer to > incomplete type

Re: Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Nadav Amit
> On Nov 21, 2018, at 12:56 PM, Liam R. Howlett wrote: > > > My out of tree driver build is now reporting issues with the jump table: > > ./include/linux/jump_label.h: In function ‘jump_entry_code’: > ./include/linux/jump_label.h:153:14: error: dereferencing pointer to > incomplete type

Re: [PATCH] perf pmu: Move *_cpuid_str() weak functions to header.c

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 08:49:39AM -0800, kan.li...@linux.intel.com escreveu: > From: Kan Liang > > The weak functions, strcmp_cpuid_str() and get_cpuid_str(), are defined > in pmu.c. > Most of the cpuid related functions, including *_cpuid_str()'s > declaration and platform specific definition,

Re: [PATCH] perf pmu: Move *_cpuid_str() weak functions to header.c

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 08:49:39AM -0800, kan.li...@linux.intel.com escreveu: > From: Kan Liang > > The weak functions, strcmp_cpuid_str() and get_cpuid_str(), are defined > in pmu.c. > Most of the cpuid related functions, including *_cpuid_str()'s > declaration and platform specific definition,

Re: [PATCH] perf tools: Separate jvmti cmlr check

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 04:43:41PM +0100, Jiri Olsa escreveu: > The Compiled Method Load Record (cmlr) is JDK specific > interface to access JVM stack info. This makes the jvmti > agent code not compile under another jdk, which does not > support that. > > Separating jvmti cmlr check into special

Re: [PATCH] perf tools: Separate jvmti cmlr check

2018-11-21 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 21, 2018 at 04:43:41PM +0100, Jiri Olsa escreveu: > The Compiled Method Load Record (cmlr) is JDK specific > interface to access JVM stack info. This makes the jvmti > agent code not compile under another jdk, which does not > support that. > > Separating jvmti cmlr check into special

Re: [PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:51 PM Jiri Kosina wrote: > > For -rc, I don't think we need to do this at this moment, given the > prctl+seccomp fixup is basically ready, do we? Agreed. Linus

Re: [PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:51 PM Jiri Kosina wrote: > > For -rc, I don't think we need to do this at this moment, given the > prctl+seccomp fixup is basically ready, do we? Agreed. Linus

[PATCH] clk: qcom: Move to menuconfig and reduce lines

2018-11-21 Thread Stephen Boyd
We duplicate the 'depends on' in almost every Kconfig here, and it's getting out of hand now that we have tens of options for various SoC drivers here. Let's clean it up a little by making a menuconfig for a submenu and adding an if wrapper around the driver section. Cc: Taniya Das

[PATCH] clk: qcom: Move to menuconfig and reduce lines

2018-11-21 Thread Stephen Boyd
We duplicate the 'depends on' in almost every Kconfig here, and it's getting out of hand now that we have tens of options for various SoC drivers here. Let's clean it up a little by making a menuconfig for a submenu and adding an if wrapper around the driver section. Cc: Taniya Das

Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Liam R. Howlett
My out of tree driver build is now reporting issues with the jump table: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./include/linux/jump_label.h:153:14: error: dereferencing pointer to incomplete type ‘const struct jump_entry’ return entry->code; ^~

Out of tree module build errors since v4.20-rc1

2018-11-21 Thread Liam R. Howlett
My out of tree driver build is now reporting issues with the jump table: ./include/linux/jump_label.h: In function ‘jump_entry_code’: ./include/linux/jump_label.h:153:14: error: dereferencing pointer to incomplete type ‘const struct jump_entry’ return entry->code; ^~

Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Rob Herring
On Wed, Nov 21, 2018 at 10:48 AM Alexandre Belloni wrote: > > Hi Rob, > > On 21/11/2018 10:41:01-0600, Rob Herring wrote: > > > +Optional properties in serial and SPI mode: > > > +- dma bindings for dma transfer: > > > + - dmas: DMA specifier, consisting of a phandle to DMA controller > >

Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Rob Herring
On Wed, Nov 21, 2018 at 10:48 AM Alexandre Belloni wrote: > > Hi Rob, > > On 21/11/2018 10:41:01-0600, Rob Herring wrote: > > > +Optional properties in serial and SPI mode: > > > +- dma bindings for dma transfer: > > > + - dmas: DMA specifier, consisting of a phandle to DMA controller > >

Re: [PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Jiri Kosina
On Wed, 21 Nov 2018, Tim Chen wrote: > Commit 53c613fe "x86/speculation: Enable cross-hyperthread spectre v2 STIBP > mitigation" > turns on STIBP all the time. > > This causes large performance regression in many workloads. > > One case is perlbench in the SpecInt Rate 2006 test suite which

Re: [PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Jiri Kosina
On Wed, 21 Nov 2018, Tim Chen wrote: > Commit 53c613fe "x86/speculation: Enable cross-hyperthread spectre v2 STIBP > mitigation" > turns on STIBP all the time. > > This causes large performance regression in many workloads. > > One case is perlbench in the SpecInt Rate 2006 test suite which

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Doug Anderson
Hi, On Wed, Nov 21, 2018 at 12:39 PM Doug Anderson wrote: > > Hi, > On Wed, Nov 21, 2018 at 12:25 PM Stephen Rothwell > wrote: > > > > Hi all, > > > > Commit > > > > fe115f7fd44b ("regulator: core: Only count load for enabled consumers") > > > > is missing a Signed-off-by from its author. >

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Doug Anderson
Hi, On Wed, Nov 21, 2018 at 12:39 PM Doug Anderson wrote: > > Hi, > On Wed, Nov 21, 2018 at 12:25 PM Stephen Rothwell > wrote: > > > > Hi all, > > > > Commit > > > > fe115f7fd44b ("regulator: core: Only count load for enabled consumers") > > > > is missing a Signed-off-by from its author. >

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-21 Thread Thomas Gleixner
Song, On Tue, 20 Nov 2018, Muchun Song wrote: > John Stultz 于2018年11月20日周二 上午2:16写道: > > > > On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > > > The elements of the heads array are a linked list of timer events that > > > expire at the current time. And it can contain up to LVL_DEPTH

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-21 Thread Thomas Gleixner
Song, On Tue, 20 Nov 2018, Muchun Song wrote: > John Stultz 于2018年11月20日周二 上午2:16写道: > > > > On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > > > The elements of the heads array are a linked list of timer events that > > > expire at the current time. And it can contain up to LVL_DEPTH

Re: [patch 10/24] sched/smt: Expose sched_smt_present static key

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Thomas Gleixner wrote: > Make the scheduler's 'sched_smt_present' static key globaly available, so > it can be used in the x86 speculation control code. > > Provide a query function and a stub for the CONFIG_SMP=n case. > > Signed-off-by: Thomas Gleixner > --- >

Re: [patch 10/24] sched/smt: Expose sched_smt_present static key

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Thomas Gleixner wrote: > Make the scheduler's 'sched_smt_present' static key globaly available, so > it can be used in the x86 speculation control code. > > Provide a query function and a stub for the CONFIG_SMP=n case. > > Signed-off-by: Thomas Gleixner > --- >

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Doug Anderson
Hi, On Wed, Nov 21, 2018 at 12:25 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > fe115f7fd44b ("regulator: core: Only count load for enabled consumers") > > is missing a Signed-off-by from its author. Argh. When I squashed two commits together I must have clobbered the Signed-off-by.

Re: linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Doug Anderson
Hi, On Wed, Nov 21, 2018 at 12:25 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > fe115f7fd44b ("regulator: core: Only count load for enabled consumers") > > is missing a Signed-off-by from its author. Argh. When I squashed two commits together I must have clobbered the Signed-off-by.

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Borislav Petkov wrote: > On Wed, Nov 21, 2018 at 09:14:35PM +0100, Thomas Gleixner wrote: > > From: Tim Chen > > > > If enhanced IBRS is active, STIBP is redundant for mitigating Spectre v2 > > user space exploits from hyperthread sibling. > > > > Disable STIBP when

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Borislav Petkov wrote: > On Wed, Nov 21, 2018 at 09:14:35PM +0100, Thomas Gleixner wrote: > > From: Tim Chen > > > > If enhanced IBRS is active, STIBP is redundant for mitigating Spectre v2 > > user space exploits from hyperthread sibling. > > > > Disable STIBP when

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Borislav Petkov
On Wed, Nov 21, 2018 at 09:14:35PM +0100, Thomas Gleixner wrote: > From: Tim Chen > > If enhanced IBRS is active, STIBP is redundant for mitigating Spectre v2 > user space exploits from hyperthread sibling. > > Disable STIBP when enhanced IBRS is used. > > Signed-off-by: Tim Chen >

Re: [patch 05/24] x86/speculation: Disable STIBP when enhanced IBRS is in use

2018-11-21 Thread Borislav Petkov
On Wed, Nov 21, 2018 at 09:14:35PM +0100, Thomas Gleixner wrote: > From: Tim Chen > > If enhanced IBRS is active, STIBP is redundant for mitigating Spectre v2 > user space exploits from hyperthread sibling. > > Disable STIBP when enhanced IBRS is used. > > Signed-off-by: Tim Chen >

[PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Tim Chen
Commit 53c613fe "x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation" turns on STIBP all the time. This causes large performance regression in many workloads. One case is perlbench in the SpecInt Rate 2006 test suite which shows a 21% reduction in throughput. There're also

[PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Tim Chen
Commit 53c613fe "x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation" turns on STIBP all the time. This causes large performance regression in many workloads. One case is perlbench in the SpecInt Rate 2006 test suite which shows a 21% reduction in throughput. There're also

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:28 PM Linus Torvalds wrote: > > Ugh. Now you're using the broken quilt thing that makes a mush of emails for > me. Reading the series in alpine makes it look fine. No testing, but each patch seems sensible. And yes, triggering on seccomp makes more sense than

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:28 PM Linus Torvalds wrote: > > Ugh. Now you're using the broken quilt thing that makes a mush of emails for > me. Reading the series in alpine makes it look fine. No testing, but each patch seems sensible. And yes, triggering on seccomp makes more sense than

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Linus Torvalds wrote: > On Wed, Nov 21, 2018 at 12:18 PM Thomas Gleixner wrote: > > > > From: Tim Chen "Reduced Data Speculation" is an obsolete term. > > Ugh. Now you're using the broken quilt thing that makes a mush of emails for > me. Gah. Dammit, I forgot to disable

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Linus Torvalds wrote: > On Wed, Nov 21, 2018 at 12:18 PM Thomas Gleixner wrote: > > > > From: Tim Chen "Reduced Data Speculation" is an obsolete term. > > Ugh. Now you're using the broken quilt thing that makes a mush of emails for > me. Gah. Dammit, I forgot to disable

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:18 PM Thomas Gleixner wrote: > > From: Tim Chen "Reduced Data Speculation" is an obsolete term. Ugh. Now you're using the broken quilt thing that makes a mush of emails for me. Linus

Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:18 PM Thomas Gleixner wrote: > > From: Tim Chen "Reduced Data Speculation" is an obsolete term. Ugh. Now you're using the broken quilt thing that makes a mush of emails for me. Linus

Re: [Patch v6 14/16] x86/speculation: Use STIBP to restrict speculation on non-dumpable task

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:07 PM Dave Hansen wrote: > > Repurposing dumpable is really screwy and surely imprecise, but it > really is the closest thing that we have without the new ABI. But we *have* a new ABI. So that's not a valid argument. It's more like "this other thing that some other

Re: [Patch v6 14/16] x86/speculation: Use STIBP to restrict speculation on non-dumpable task

2018-11-21 Thread Linus Torvalds
On Wed, Nov 21, 2018 at 12:07 PM Dave Hansen wrote: > > Repurposing dumpable is really screwy and surely imprecise, but it > really is the closest thing that we have without the new ABI. But we *have* a new ABI. So that's not a valid argument. It's more like "this other thing that some other

linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Stephen Rothwell
Hi all, Commit fe115f7fd44b ("regulator: core: Only count load for enabled consumers") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpUALVfSYcJM.pgp Description: OpenPGP digital signature

linux-next: Signed-off-by missing for commit in the regulator tree

2018-11-21 Thread Stephen Rothwell
Hi all, Commit fe115f7fd44b ("regulator: core: Only count load for enabled consumers") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpUALVfSYcJM.pgp Description: OpenPGP digital signature

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