[PATCH V3 03/10] soc: mediatek: add support for the performance state

2019-08-28 Thread Henry Chen
Support power domain performance state, add header file for scp event. Signed-off-by: Henry Chen --- drivers/soc/mediatek/mtk-scpsys.c | 58 +++ drivers/soc/mediatek/mtk-scpsys.h | 22 +++ 2 files changed, 80 insertions(+) create mode 100644

[PATCH V3 06/10] soc: mediatek: add MT8183 dvfsrc support

2019-08-28 Thread Henry Chen
Add dvfsrc driver for MT8183 Signed-off-by: Henry Chen --- drivers/soc/mediatek/Kconfig | 15 ++ drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-dvfsrc.c | 374 ++ include/soc/mediatek/mtk_dvfsrc.h | 22 +++ 4 files changed, 412

[PATCH V3 01/10] dt-bindings: soc: Add dvfsrc driver bindings

2019-08-28 Thread Henry Chen
Document the binding for enabling dvfsrc on MediaTek SoC. Signed-off-by: Henry Chen --- .../devicetree/bindings/soc/mediatek/dvfsrc.txt| 23 ++ include/dt-bindings/soc/mtk,dvfsrc.h | 14 + 2 files changed, 37 insertions(+) create mode 100644

Re: [PATCH 02/13] fuse: Use default_file_splice_read for direct IO

2019-08-28 Thread Vivek Goyal
On Wed, Aug 28, 2019 at 09:45:28AM +0200, Miklos Szeredi wrote: > On Wed, Aug 21, 2019 at 7:38 PM Vivek Goyal wrote: > > > > From: Miklos Szeredi > > Nice patch, except I have no idea why I did this. Splice with > FOPEN_DIRECT_IO seems to work fine without it. I don't know either. I took it

Re: Asm & local labels for functions [was: [PATCH v8 05/28] x86/asm: annotate local pseudo-functions]

2019-08-28 Thread Borislav Petkov
On Wed, Aug 28, 2019 at 01:47:23PM +0200, Jiri Slaby wrote: > Let's start with this one: do you really want me to get rid of (local) > symbols like this? It would make backtraces completely misleading as the > unwinder would put a name of the previous function (or some garbage, > depending on

Re: [PATCH 1/2] gpio: gpio-pca953x.c: Correct type of reg_direction

2019-08-28 Thread Bartosz Golaszewski
śr., 28 sie 2019 o 13:13 David Jander napisał(a): > > On Wed, 28 Aug 2019 12:56:28 +0200 > Bartosz Golaszewski wrote: > > > śr., 28 sie 2019 o 10:38 Bartosz Golaszewski > > napisał(a): > > > > > > wt., 27 sie 2019 o 08:46 David Jander napisał(a): > > > > > > > > The type of reg_direction needs

Re: Query on possible bug in the can_create_echo_skb() API

2019-08-28 Thread Marc Kleine-Budde
On 8/28/19 1:02 PM, Srinivas Neeli wrote: > Case 1: > can_put_echo_skb(); -> skb = can_create_echo_skb(skb); -> return skb; > > In can_create_echo_skb() not using the shared_skb, so we are returning the > old skb. > Storing the return value in "skb". But it's a pointer, for storing that need >

[PATCH] Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"

2019-08-28 Thread Michal Suchanek
This reverts commit a0085f2510e8976614ad8f766b209448b385492f. After this commit systems wake up at random, most commonly when - put to sleep while bluetooth audio stream is running - connected bluetooth audio device is powered off while system is asleep This is broken since the commit was

Re: [PATCH] arm/arm64: defconfig: Update configs to use the new CROS_EC options

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 12:10 PM Enric Balletbo i Serra wrote: > On 27/8/19 18:12, Arnd Bergmann wrote: > > On Tue, Aug 27, 2019 at 6:08 PM Bjorn Andersson > > wrote: > >> > >> On Tue 27 Aug 08:48 PDT 2019, Enric Balletbo i Serra wrote: > >> > >>> Recently we refactored the CrOS EC drivers

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-28 Thread Ramuthevar, Vadivel MuruganX
Hi  Rob, Thank you for the review comments. On 28/8/2019 7:39 PM, Rob Herring wrote: On Tue, Aug 27, 2019 at 10:47 PM Ramuthevar, Vadivel MuruganX wrote: Hi Rob, On 27/8/2019 8:39 PM, Rob Herring wrote: On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar

Re: [PATCH 0/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-28 Thread Andrew Jones
On Wed, Aug 28, 2019 at 01:51:06PM +0200, Andrew Jones wrote: > On Tue, Aug 27, 2019 at 09:10:11PM +0800, Peter Xu wrote: > > The work is based on Thomas's s390 port for dirty_log_test. > > > > This series originates from "[PATCH] KVM: selftests: Detect max PA > > width from cpuid" [1] and one of

Re: [PATCH 0/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-28 Thread Andrew Jones
On Tue, Aug 27, 2019 at 09:10:11PM +0800, Peter Xu wrote: > The work is based on Thomas's s390 port for dirty_log_test. > > This series originates from "[PATCH] KVM: selftests: Detect max PA > width from cpuid" [1] and one of Drew's comments - instead of keeping > the hackish line to overwrite

Re: [PATCH v2] kunit: fix failure to build without printk

2019-08-28 Thread Petr Mladek
On Wed 2019-08-28 18:49:29, Sergey Senozhatsky wrote: > On (08/28/19 02:31), Brendan Higgins wrote: > [..] > > Previously KUnit assumed that printk would always be present, which is > > not a valid assumption to make. Fix that by removing call to > > vprintk_emit, and calling printk directly. > >

Re: [PATCH 2/4] KVM: selftests: Create VM earlier for dirty log test

2019-08-28 Thread Andrew Jones
On Tue, Aug 27, 2019 at 09:10:13PM +0800, Peter Xu wrote: > Since we've just removed the dependency of vm type in previous patch, > now we can create the vm much earlier. Note that to move it earlier > we used an approximation of number of extra pages but it should be > fine. > > This prepares

Asm & local labels for functions [was: [PATCH v8 05/28] x86/asm: annotate local pseudo-functions]

2019-08-28 Thread Jiri Slaby
On 15. 08. 19, 18:07, Borislav Petkov wrote: > --- a/arch/x86/kernel/head_64.S > +++ b/arch/x86/kernel/head_64.S > @@ -283,7 +283,7 @@ ENTRY(early_idt_handler_array) > UNWIND_HINT_IRET_REGS offset=8 > .endif > pushq $i# 72(%rsp) Vector number > - jmp

Re: [PATCH 4/4] KVM: selftests: Remove duplicate guest mode handling

2019-08-28 Thread Andrew Jones
On Tue, Aug 27, 2019 at 09:10:15PM +0800, Peter Xu wrote: > Remove the duplication code in run_test() of dirty_log_test because > after some reordering of functions now we can directly use the outcome > of vm_create(). > > Meanwhile, with the new VM_MODE_PXXV48_4K, we can safely revert >

Re: [PATCH] usb: chipidea: msm: Use device-managed registration API

2019-08-28 Thread Chuhong Yuan
On Wed, Aug 28, 2019 at 11:24 AM Peter Chen wrote: > > On 19-07-23 11:02:07, Chuhong Yuan wrote: > > Use devm_reset_controller_register to get rid > > of manual unregistration. > > > > Signed-off-by: Chuhong Yuan > > --- > > drivers/usb/chipidea/ci_hdrc_msm.c | 4 +--- > > 1 file changed, 1

Re: [PATCH v3] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 11:16:52AM +0100, Valentin Schneider wrote: > On 26/08/2019 13:16, Liangyan wrote: > > do_sched_cfs_period_timer() will refill cfs_b runtime and call > > distribute_cfs_runtime to unthrottle cfs_rq, sometimes cfs_b->runtime > > will allocate all quota to one cfs_rq

Re: [PATCH 3/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-28 Thread Andrew Jones
On Tue, Aug 27, 2019 at 09:10:14PM +0800, Peter Xu wrote: > The naming VM_MODE_P52V48_4K is explicit but unclear when used on > x86_64 machines, because x86_64 machines are having various physical > address width rather than some static values. Here's some examples: > > - Intel Xeon E3-1220:

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-28 Thread Rob Herring
On Tue, Aug 27, 2019 at 10:47 PM Ramuthevar, Vadivel MuruganX wrote: > > Hi Rob, > > On 27/8/2019 8:39 PM, Rob Herring wrote: > > On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX > > wrote: > >> From: Ramuthevar Vadivel Murugan > >> > >> > >> Add a YAML schema to use the host

Re: get_unmapped_area && in_ia32_syscall (Was: [PATCH] uprobes/x86: fix detection of 32-bit user mode)

2019-08-28 Thread Oleg Nesterov
On 08/28, Dmitry Safonov wrote: > > > On 8/27/19 3:00 PM, Oleg Nesterov wrote: > > [..] > >> But to remind, there is another problem with in_ia32_syscall() && uprobes. > >> > >> get_unmapped_area() paths use in_ia32_syscall() and this is wrong in case > >> when the caller is xol_add_vma(), in this

Re: [PATCH] platform: x86: pcengines-apuv2: detect apuv4 board

2019-08-28 Thread Enrico Weigelt, metux IT consult
On 22.08.19 21:47, Andy Shevchenko wrote: Fixes: f8eb0235f65989fc5521c40c78d1261e7f25cdbe Wrong format. W/o SoB tag I can't take it. What's the correct format (what command shall I use to create it correctly ?) --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded

we offer all kinds of loan at 3%

2019-08-28 Thread Mr. Jack Nicolas
-- Attn: Are you in need of a loan? we offer all kinds of loan like Personal loans, Debt Consolidation Loan, Business Loan, with an interest rate of 3% Have you been turned down by your bank? Do you have bad credit? Do you have unpaid bills? Are you in debt? Do you need to set up a

Re: [PATCH 1/4] KVM: selftests: Move vm type into _vm_create() internally

2019-08-28 Thread Andrew Jones
On Tue, Aug 27, 2019 at 09:10:12PM +0800, Peter Xu wrote: > Rather than passing the vm type from the top level to the end of vm > creation, let's simply keep that as an internal of kvm_vm struct and > decide the type in _vm_create(). Several reasons for doing this: > > - The vm type is only

Re: [PATCH v3 0/6] hugetlb_cgroup: Add hugetlb_cgroup reservation limits

2019-08-28 Thread Michal Hocko
On Mon 26-08-19 16:32:34, Mina Almasry wrote: > mm/hugetlb.c | 493 -- > mm/hugetlb_cgroup.c | 187 +-- This is a lot of changes to an already subtle code which hugetlb reservations undoubly are. Moreover cgroupv1 is

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-08-28 Thread Thomas Gleixner
On Wed, 28 Aug 2019, Ming Lei wrote: > On Wed, Aug 28, 2019 at 01:09:44AM +0200, Thomas Gleixner wrote: > > > > Also how is that supposed to work when sched_clock is jiffies based? > > > > > > Good catch, looks ktime_get_ns() is needed. > > > > And what is ktime_get_ns() returning when the only

[PATCH] soc/tegra: fuse: Add clock error check in tegra_fuse_readl

2019-08-28 Thread Nagarjuna Kristam
Tegra fuse clock handle is retrieved in tegra_fuse_probe(). tegra_fuse_readl() is exported symbol, which can be called from drivers at any time. tegra_fuse_readl() enables fuse clock and reads corresponding fuse register offset. Calling tegra_fuse_readl() before tegra_fuse_probe(), will cause

[PATCH] mmc: sdhci: use lower/upper_32_bits() macros for DMA addresses

2019-08-28 Thread Masahiro Yamada
Currently, the DMA addresses are casted to (u64) for the upper 32bits to avoid "right shift count >= width of type" warning. provides macros to address this, and the macro names are self-documenting. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/sdhci.c | 14 -- 1 file

Re: [PATCH 1/2] gpio: gpio-pca953x.c: Correct type of reg_direction

2019-08-28 Thread David Jander
On Wed, 28 Aug 2019 12:56:28 +0200 Bartosz Golaszewski wrote: > śr., 28 sie 2019 o 10:38 Bartosz Golaszewski > napisał(a): > > > > wt., 27 sie 2019 o 08:46 David Jander napisał(a): > > > > > > The type of reg_direction needs to match the type of the regmap, which is > > > u8. > > > > > >

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-28 Thread Michal Hocko
On Wed 28-08-19 19:56:58, Tetsuo Handa wrote: > On 2019/08/28 19:32, Michal Hocko wrote: > >> Speak of my cases, those who take care of their systems are not developers. > >> And they afraid changing code that runs in kernel mode. They unlikely give > >> permission to install SystemTap/eBPF

Re: Patch "x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume" has been added to the 4.4-stable tree

2019-08-28 Thread Sasha Levin
On Wed, Aug 28, 2019 at 11:11:55AM +0200, Greg KH wrote: On Wed, Aug 28, 2019 at 05:00:44PM +0800, Yu Chen wrote: On Wed, Aug 28, 2019 at 10:43:51AM +0200, Greg KH wrote: > On Wed, Aug 28, 2019 at 12:12:39AM -0400, Sasha Levin wrote: > > This is a note to let you know that I've just added the

Re: [PATCH v2] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-28 Thread Thomas Gleixner
On Tue, 27 Aug 2019, Greg Kroah-Hartman wrote: > Thomas and I seem to have become the "unofficial" maintainers for these > files and questions about SPDX things. So let's make it official. > > Reported-by: "Darrick J. Wong" > Cc: Thomas Gleixner > Signed-off-by: Greg Kroah-Hartman

Re: WARNING in posix_cpu_timer_del

2019-08-28 Thread Thomas Gleixner
On Tue, 27 Aug 2019, syzbot wrote: > HEAD commit:ed858b88 Add linux-next specific files for 20190826 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=130c2eca60 > kernel config: https://syzkaller.appspot.com/x/.config?x=ee8373cd9733e305 > dashboard

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-08-28 Thread Ming Lei
On Wed, Aug 28, 2019 at 01:09:44AM +0200, Thomas Gleixner wrote: > On Wed, 28 Aug 2019, Ming Lei wrote: > > On Tue, Aug 27, 2019 at 04:42:02PM +0200, Thomas Gleixner wrote: > > > On Tue, 27 Aug 2019, Ming Lei wrote: > > > > + > > > > + int cpu = raw_smp_processor_id(); > > > > + struct

[tip: timers/core] hrtimer: Add kernel doc annotation for HRTIMER_MODE_HARD

2019-08-28 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the timers/core branch of tip: Commit-ID: a67e408241783575716fcf3f79d0878f6cef0273 Gitweb: https://git.kernel.org/tip/a67e408241783575716fcf3f79d0878f6cef0273 Author:Sebastian Andrzej Siewior AuthorDate:Fri, 23 Aug 2019 13:38:44

Re: [PATCH v6 06/12] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-08-28 Thread Jason Yan
On 2019/8/28 12:54, Scott Wood wrote: On Fri, Aug 09, 2019 at 06:07:54PM +0800, Jason Yan wrote: This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate.

RE: Query on possible bug in the can_create_echo_skb() API

2019-08-28 Thread Srinivas Neeli
Hi, Case 1: can_put_echo_skb(); -> skb = can_create_echo_skb(skb); -> return skb; In can_create_echo_skb() not using the shared_skb, so we are returning the old skb. Storing the return value in "skb". But it's a pointer, for storing that need double pointer. Instead of double-pointer using a

[tip: timers/core] tick: Mark sched_timer to expire in hard interrupt context

2019-08-28 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the timers/core branch of tip: Commit-ID: 71fed982d63cb2bb88db6f36059e3b14a7913846 Gitweb: https://git.kernel.org/tip/71fed982d63cb2bb88db6f36059e3b14a7913846 Author:Sebastian Andrzej Siewior AuthorDate:Fri, 23 Aug 2019 13:38:45

Re: [PATCH] x86/PCI: Add missing log facility and move to use pr_ macros in pcbios.c

2019-08-28 Thread Krzysztof Wilczynski
Hello Bjorn, Thank you for the feedback. [...] Make the log facility used to print warnings to be KERN_WARNING explicitly, rather than rely on the current (or default) value of the MESSAGE_LOGLEVEL_DEFAULT set in Kconfig. This will make all the warnings in the arch/x86/pci/pcbios.c to be

Re: [PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Nicholas Piggin
Michal Suchanek's on August 28, 2019 8:30 pm: > With endian switch disabled by default the ppc64le compat supports > ppc32le only which is something next to nobody has binaries for. > > Less code means less bugs so drop the compat stuff. Interesting patches, thanks for looking into it. I don't

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-28 Thread Tetsuo Handa
On 2019/08/28 19:32, Michal Hocko wrote: >> Speak of my cases, those who take care of their systems are not developers. >> And they afraid changing code that runs in kernel mode. They unlikely give >> permission to install SystemTap/eBPF scripts. As a result, in many cases, >> the root cause

Re: [PATCH 1/2] gpio: gpio-pca953x.c: Correct type of reg_direction

2019-08-28 Thread Bartosz Golaszewski
śr., 28 sie 2019 o 10:38 Bartosz Golaszewski napisał(a): > > wt., 27 sie 2019 o 08:46 David Jander napisał(a): > > > > The type of reg_direction needs to match the type of the regmap, which is > > u8. > > > > Signed-off-by: David Jander > > --- > > drivers/gpio/gpio-pca953x.c | 6 +++--- > > 1

Re: [PATCH v3 06/11] export: allow definition default namespaces in Makefiles or sources

2019-08-28 Thread Matthias Maennich
On Wed, Aug 28, 2019 at 12:49:51PM +0200, Jessica Yu wrote: +++ Matthias Maennich [21/08/19 12:49 +0100]: To avoid excessive usage of EXPORT_SYMBOL_NS(sym, MY_NAMESPACE), where MY_NAMESPACE will always be the namespace we are exporting to, allow exporting all definitions of EXPORT_SYMBOL() and

Re: [PATCH] mmc: sunxi: fix unusuable eMMC on some H6 boards by disabling DDR

2019-08-28 Thread Alejandro González
El 27/8/19 a las 15:24, Ulf Hansson escribió:> Assuming this should go stable as well? Perhaps you can find a > relevant commit that we can put as a fixes tag as well? > > Kind regards > Uffe The most relevant commit I've found that is related to enabling DDR speeds on H6 boards is this one:

Re: [PATCH V6 4/5] mmc: sdhci: Export sdhci_abort_tuning function symbol

2019-08-28 Thread Adrian Hunter
On 27/08/19 3:33 AM, Ben Chuang wrote: > From: Ben Chuang > > Export sdhci_abort_tuning() function symbols which are used by other SD Host > controller driver modules. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson Acked-by: Adrian

Re: [PATCH v3 06/11] export: allow definition default namespaces in Makefiles or sources

2019-08-28 Thread Jessica Yu
+++ Matthias Maennich [21/08/19 12:49 +0100]: To avoid excessive usage of EXPORT_SYMBOL_NS(sym, MY_NAMESPACE), where MY_NAMESPACE will always be the namespace we are exporting to, allow exporting all definitions of EXPORT_SYMBOL() and friends by defining DEFAULT_SYMBOL_NAMESPACE. For example,

Re: 5.3.0-rc6: i915 fails at typec_displayport 5120x1440

2019-08-28 Thread Leho Kraav
On Tue, Aug 27, 2019 at 11:20:44AM +0300, Leho Kraav wrote: > On Tue, Aug 27, 2019 at 11:08:34AM +0300, Leho Kraav wrote: > > Hardware: Dell Latitude 7400 2-in-1, Whiskey Lake, Intel 620 > > > > 5120x1440 fails to display. > > Looks like I'm not alone, either > >

Re: [PATCH v5 07/10] regulator: mt6358: Add support for MT6358 regulator

2019-08-28 Thread Mark Brown
On Fri, Aug 23, 2019 at 11:45:28AM +0800, Hsin-Hsiung Wang wrote: > The MT6358 is a regulator found on boards based on MediaTek MT8183 and > probably other SoCs. It is a so called pmic and connects as a slave to > SoC using SPI, wrapped inside the pmic-wrapper. This looks good - since there was

Re: [PATCH v5 05/10] regulator: Add document for MT6358 regulator

2019-08-28 Thread Mark Brown
On Fri, Aug 23, 2019 at 11:45:26AM +0800, Hsin-Hsiung Wang wrote: > + pmic { > + compatible = "mediatek,mt6358"; > + > + mt6358regulator: mt6358regulator { > + compatible = "mediatek,mt6358-regulator"; This still lists the subnode compatible string

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-08-28 Thread Brad Campbell
On 28/8/19 6:23 pm, Mika Westerberg wrote: On Wed, Aug 28, 2019 at 05:12:00PM +0800, Brad Campbell wrote: Apart from the warning in the log (which is not fatal, I'll look into it) to me the second path setup looks fine. Can you do one more experiment? Boot the system up without anything

Re: [PATCH 4/5] misc: fastrpc: fix double refcounting on dmabuf

2019-08-28 Thread Jorge Ramirez
On 8/28/19 10:48, Srinivas Kandagatla wrote: > > > On 28/08/2019 08:50, Jorge Ramirez wrote: >> On 8/27/19 23:45, Srinivas Kandagatla wrote: >>> On 23/08/2019 16:23, Jorge Ramirez-Ortiz wrote: can you add me as a co-author to this patch please? >>> No problem I can do that if you feel so!

[PATCH] mtd: spi-nor: remove superfluous pass of nor->info->sector_size

2019-08-28 Thread Tudor.Ambarus
From: Tudor Ambarus We already pass a pointer to nor, we can obtain the sector_size by dereferencing it. Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/spi-nor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c

Re: Continuous SD IO causes hung task messages

2019-08-28 Thread Ulf Hansson
On Tue, 27 Aug 2019 at 17:06, Russell King - ARM Linux admin wrote: > > On Tue, Aug 27, 2019 at 03:52:17PM +0100, Russell King - ARM Linux admin > wrote: > > On Tue, Aug 27, 2019 at 03:36:34PM +0100, Russell King - ARM Linux admin > > wrote: > > > On Tue, Aug 27, 2019 at 03:55:23PM +0200, Ulf

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-28 Thread Michal Hocko
On Wed 28-08-19 19:12:41, Tetsuo Handa wrote: > On 2019/08/28 16:08, Michal Hocko wrote: > > On Tue 27-08-19 19:47:22, Edward Chron wrote: > >> For production systems installing and updating EBPF scripts may someday > >> be very common, but I wonder how data center managers feel about it now? > >>

Re: [PATCH] x86/PCI: Add missing SPDX license header.

2019-08-28 Thread Krzysztof Wilczynski
Hello Bjorn, Thank you for the feedback. [...] +// SPDX-License-Identifier: GPL-2.0 /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive You can remove this license text at the same

Re: [PATCH 4.19 72/98] x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h

2019-08-28 Thread Pavel Machek
On Tue 2019-08-27 15:30:30, Thomas Gleixner wrote: > On Tue, 27 Aug 2019, Pavel Machek wrote: > > > On Tue 2019-08-27 09:50:51, Greg Kroah-Hartman wrote: > > > From: Tom Lendacky > > > > > > commit c49a0a80137c7ca7d6ced4c812c9e07a949f6f24 upstream. > > > > > > There have been reports of RDRAND

[PATCH v2 4/4] powerpc/64: Disable COMPAT if littleendian.

2019-08-28 Thread Michal Suchanek
ppc32le was never really a thing. Endian swap is already disabled by default so this 32bit support is kind of useless on ppc64le. Signed-off-by: Michal Suchanek --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig

[PATCH v2 2/4] powerpc: move common register copy functions from signal_32.c to signal.c

2019-08-28 Thread Michal Suchanek
These functions are required for 64bit as well. Signed-off-by: Michal Suchanek --- arch/powerpc/kernel/signal.c| 141 arch/powerpc/kernel/signal_32.c | 140 --- 2 files changed, 141 insertions(+), 140 deletions(-) diff --git

[PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Michal Suchanek
With endian switch disabled by default the ppc64le compat supports ppc32le only which is something next to nobody has binaries for. Less code means less bugs so drop the compat stuff. I am not particularly sure about the best way to resolve the llseek situation. I don't see anything in the

[PATCH v2 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-28 Thread Michal Suchanek
There are numerous references to 32bit functions in generic and 64bit code so ifdef them out. Signed-off-by: Michal Suchanek --- v2: - fix 32bit ifdef condition in signal.c - simplify the compat ifdef condition in vdso.c - 64bit is redundant - simplify the compat ifdef condition in callchain.c -

[PATCH v2 1/4] fs: always build llseek.

2019-08-28 Thread Michal Suchanek
64bit !COMPAT does not build because the llseek syscall is in the tables. Signed-off-by: Michal Suchanek --- fs/read_write.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index 5bbf587f5bc1..9db56931eb26 100644 --- a/fs/read_write.c +++ b/fs/read_write.c

[tip: timers/core] x86/hyperv: Hide pv_ops access for CONFIG_PARAVIRT=n

2019-08-28 Thread tip-bot2 for Tianyu Lan
The following commit has been merged into the timers/core branch of tip: Commit-ID: 41cfe2a2a7f4fad5647031ad3a1da166452b5437 Gitweb: https://git.kernel.org/tip/41cfe2a2a7f4fad5647031ad3a1da166452b5437 Author:Tianyu Lan AuthorDate:Wed, 28 Aug 2019 16:07:47 +08:00

Re: [PATCH v7 07/13] soc: mediatek: Refactor bus protection control

2019-08-28 Thread Matthias Brugger
On 28/08/2019 11:11, Weiyi Lu wrote: > Put bus protection enable and disable control in separate functions. > > Signed-off-by: Weiyi Lu Applied to v5.4-next/soc Thanks! > --- > drivers/soc/mediatek/mtk-scpsys.c | 44 > ++- > 1 file changed, 30

Re: [PATCH v2 4/8] sched/fair: rework load_balance

2019-08-28 Thread Valentin Schneider
On 26/08/2019 10:26, Vincent Guittot wrote: [...] >>> busiest group. >>> - calculate_imbalance() decides what have to be moved. >> >> That's nothing new, isn't it? I think what you mean there is that the > > There is 2 things: > -part of the algorithm is new and fixes wrong task placement >

[PATCH v4 3/4] watchdog/aspeed: add support for dual boot

2019-08-28 Thread Ivan Mikhaylov
Set WDT_CLEAR_TIMEOUT_AND_BOOT_CODE_SELECTION into WDT_CLEAR_TIMEOUT_STATUS to clear out boot code source and re-enable access to the primary SPI flash chip while booted via wdt2 from the alternate chip. AST2400 datasheet says: "In the 2nd flash booting mode, all the address mapping to CS0# would

Re: numlist_push() barriers Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-28 Thread John Ogness
On 2019-08-27, Petr Mladek wrote: >> --- /dev/null >> +++ b/kernel/printk/numlist.c >> +void numlist_push(struct numlist *nl, struct nl_node *n, unsigned long >> id) >> +{ >> > [...] >> + >> +/* bB: #1 */ >> +head_id = atomic_long_read(>head_id);

[PATCH v4 1/4] vesnin: add wdt2 section with alt-boot option

2019-08-28 Thread Ivan Mikhaylov
Adds wdt2 section with 'alt-boot' option into dts for vesnin. Signed-off-by: Ivan Mikhaylov --- arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts b/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts index

[PATCH v4 4/4] aspeed/watchdog: Add access_cs0 option for alt-boot

2019-08-28 Thread Ivan Mikhaylov
The option for the ast2400/2500 to get access to CS0 at runtime. Signed-off-by: Ivan Mikhaylov --- .../ABI/testing/sysfs-class-watchdog | 34 +++ 1 file changed, 34 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-watchdog

[PATCH v4 2/4] vesnin: add secondary SPI flash chip

2019-08-28 Thread Ivan Mikhaylov
Adds secondary SPI flash chip into dts for vesnin. Signed-off-by: Ivan Mikhaylov --- arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts b/arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts index

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-08-28 Thread Mika Westerberg
On Wed, Aug 28, 2019 at 05:12:00PM +0800, Brad Campbell wrote: > On 28/8/19 3:33 pm, Mika Westerberg wrote: > > On Wed, Aug 28, 2019 at 03:09:07PM +0800, Brad Campbell wrote: > > > G'day All, > > > > Hi, > > > > > 5.2 is the first kernel that ha/thunderbolt > > s allowed me to use 2 Apple

[PATCH v4 0/4] add dual-boot support

2019-08-28 Thread Ivan Mikhaylov
ASPEED SoCs support dual-boot feature for SPI Flash. When strapped appropriately, the SoC starts wdt2 (/dev/watchdog1) and if within a minute it is not disabled, it goes off and reboots the SoC from an alternate SPI Flash chip by changing CS0 controls to actually drive CS1 line. When booted from

Re: [PATCH] PCI: Move static keyword to the front of declarations in pci-bridge-emul.c

2019-08-28 Thread Krzysztof Wilczynski
Hello Bjorn and Thomas, Thank you for the feedback. [...] Move the static keyword to the front of declarations of pci_regs_behavior and pcie_cap_regs_behavior, and resolve compiler warning that can be seen when building with warnings enabled (W=1). It would be useful to include the

Re: [PATCH v7 06/13] soc: mediatek: Refactor sram control

2019-08-28 Thread Matthias Brugger
On 28/08/2019 11:11, Weiyi Lu wrote: > Put sram enable and disable control in separate functions. > > Signed-off-by: Weiyi Lu > Reviewed-by: Nicolas Boichat Applied with the following changes made to your patch: diff --git a/drivers/soc/mediatek/mtk-scpsys.c

[tip: irq/core] genirq/affinity: Remove const qualifier from node_to_cpumask argument

2019-08-28 Thread tip-bot2 for Ming Lei
The following commit has been merged into the irq/core branch of tip: Commit-ID: 101f85b56d03b36418bbf867f67d81710839b0ec Gitweb: https://git.kernel.org/tip/101f85b56d03b36418bbf867f67d81710839b0ec Author:Ming Lei AuthorDate:Wed, 28 Aug 2019 16:58:15 +08:00 Committer:

Re: [PATCH 3/3] KVM: x86: always stop emulation on page fault

2019-08-28 Thread Jan Dakinevich
On Tue, 27 Aug 2019 07:50:30 -0700 Sean Christopherson wrote: > +Cc Peng Hao and Yi Wang > > On Tue, Aug 27, 2019 at 01:07:09PM +, Jan Dakinevich wrote: > > inject_emulated_exception() returns true if and only if nested page > > fault happens. However, page fault can come from guest page

Re: [PATCH trivial] mtd: spi-nor: Remove unused macro

2019-08-28 Thread Tudor.Ambarus
On 08/23/2019 06:39 PM, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > Remove leftover from nor->cmd_buf. > > Signed-off-by: Tudor Ambarus > --- > include/linux/mtd/spi-nor.h | 1 - > 1 file changed, 1 deletion(-) > Applied to

Re: [PATCH 2/3] KVM: x86: set ctxt->have_exception in x86_decode_insn()

2019-08-28 Thread Jan Dakinevich
On Tue, 27 Aug 2019 07:53:58 -0700 Sean Christopherson wrote: > On Tue, Aug 27, 2019 at 01:07:08PM +, Jan Dakinevich wrote: > > x86_emulate_instruction() takes into account ctxt->have_exception flag > > during instruction decoding, but in practice this flag is never set in > >

Re: [RESEND PATCH v3 00/20] mtd: spi-nor: move manuf out of the core

2019-08-28 Thread Tudor.Ambarus
On 08/26/2019 03:08 PM, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > v3: > - Drop patches: > "mtd: spi-nor: Move clear_sr_bp() to 'struct spi_nor_flash_parameter'" > "mtd: spi-nor: Rework the disabling of block write protection" > and replace them with the RFC patch: > "mtd:

[tip: timers/core] posix-cpu-timers: Use common permission check in posix_cpu_clock_get()

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: bfcf3e92c6c07cd1084624bad5622f3dad96328c Gitweb: https://git.kernel.org/tip/bfcf3e92c6c07cd1084624bad5622f3dad96328c Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:49 +02:00

[tip: timers/core] itimers: Use quick sample function

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: a34360d42434bbf28c0f375444c52c154ae3e6cf Gitweb: https://git.kernel.org/tip/a34360d42434bbf28c0f375444c52c154ae3e6cf Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:52 +02:00

[tip: timers/core] posix-cpu-timers: Provide quick sample function for itimer

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 19298fbf453c90a6cf72288155f80c6f55e9139d Gitweb: https://git.kernel.org/tip/19298fbf453c90a6cf72288155f80c6f55e9139d Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:51 +02:00

[tip: timers/core] posix-cpu-timers: Use clock ID in posix_cpu_timer_set()

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: c7a37c6f4c651a531101c5721814333bae2804ec Gitweb: https://git.kernel.org/tip/c7a37c6f4c651a531101c5721814333bae2804ec Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:56 +02:00

[tip: timers/core] posix-cpu-timers: Switch check_*_timers() to array cache

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: c02b078e63a6f42029cb655d0aa3c991271637ac Gitweb: https://git.kernel.org/tip/c02b078e63a6f42029cb655d0aa3c991271637ac Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:10 +02:00

[tip: timers/core] posix-cpu-timers: Use clock ID in posix_cpu_timer_get()

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 99093c5b81f58815fbfc1fe301c87206c6f5f730 Gitweb: https://git.kernel.org/tip/99093c5b81f58815fbfc1fe301c87206c6f5f730 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:57 +02:00

[tip: timers/core] posix-cpu-timers: Rename thread_group_cputimer() and make it static

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: c506bef424ca282f2ad357e86fee940c69018974 Gitweb: https://git.kernel.org/tip/c506bef424ca282f2ad357e86fee940c69018974 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:54 +02:00

[tip: timers/core] posix-cpu-timers: Sample task times once in expiry check

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 0476ff2c151ee35bda2f938e8828b6f6113ebf55 Gitweb: https://git.kernel.org/tip/0476ff2c151ee35bda2f938e8828b6f6113ebf55 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:02 +02:00

[tip: timers/core] posix-cpu-timers: Use clock ID in posix_cpu_timer_rearm()

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: da020ce406b2a9b714b82de9123a4c5a4848647b Gitweb: https://git.kernel.org/tip/da020ce406b2a9b714b82de9123a4c5a4848647b Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:08:58 +02:00

[tip: timers/core] posix-cpu-timers: Get rid of pointer indirection

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 8c2d74f03705c2c993a57673bae8fd535eabede6 Gitweb: https://git.kernel.org/tip/8c2d74f03705c2c993a57673bae8fd535eabede6 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:01 +02:00

[tip: timers/core] posix-cpu-timers: Move expiry cache into struct posix_cputimers

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 3a245c0f110e2bfcf7f2cd2248a29005c78999e3 Gitweb: https://git.kernel.org/tip/3a245c0f110e2bfcf7f2cd2248a29005c78999e3 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:06 +02:00

[tip: timers/core] posix-cpu-timers: Remove the odd field rename defines

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: bbc9bae1e49bee9862c7f24101a728e73cd9f589 Gitweb: https://git.kernel.org/tip/bbc9bae1e49bee9862c7f24101a728e73cd9f589 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:11 +02:00

[tip: timers/core] posix-cpu-timers: Make expiry checks array based

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 001f7971433a53bb76443cd8f5827ca27b0bc8ca Gitweb: https://git.kernel.org/tip/001f7971433a53bb76443cd8f5827ca27b0bc8ca Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:13 +02:00

[tip: timers/core] posix-cpu-timers: Restructure expiry array

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 87dc64480fb19a6a0fedbdff1e2557be50673287 Gitweb: https://git.kernel.org/tip/87dc64480fb19a6a0fedbdff1e2557be50673287 Author:Thomas Gleixner AuthorDate:Mon, 26 Aug 2019 20:22:24 +02:00

[tip: timers/core] posix-cpu-timers: Respect INFINITY for hard RTTIME limit

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: fe0517f893d36636de20d0a809fc0c788ca0cade Gitweb: https://git.kernel.org/tip/fe0517f893d36636de20d0a809fc0c788ca0cade Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:17 +02:00

[tip: timers/core] posix-cpu-timers: Provide array based access to expiry cache

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 11b8462f7e1d25f639c88949a2746a9c2667a766 Gitweb: https://git.kernel.org/tip/11b8462f7e1d25f639c88949a2746a9c2667a766 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:07 +02:00

[tip: timers/core] posix-cpu-timers: Move prof/virt_ticks into caller

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: ab693c5a5e3107f035d5162e6ada9aaf7dd76a1d Gitweb: https://git.kernel.org/tip/ab693c5a5e3107f035d5162e6ada9aaf7dd76a1d Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:03 +02:00

[tip: timers/core] posix-cpu-timers: Simplify sample functions

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 2092c1d4fed9f279d10600b4c1b5167dd8486a2a Gitweb: https://git.kernel.org/tip/2092c1d4fed9f279d10600b4c1b5167dd8486a2a Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:00 +02:00

[tip: timers/core] posix-cpu-timers: Provide array based sample functions

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: b0d524f77956eec887b30732af1f5f98cbf62b9f Gitweb: https://git.kernel.org/tip/b0d524f77956eec887b30732af1f5f98cbf62b9f Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:12 +02:00

[tip: timers/core] rlimit: Rewrite non-sensical RLIMIT_CPU comment

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 24db4dd90dd53ad6e3331b6f01cb985e466cface Gitweb: https://git.kernel.org/tip/24db4dd90dd53ad6e3331b6f01cb985e466cface Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:18 +02:00

[tip: timers/core] posix-cpu-timers: Move state tracking to struct posix_cputimers

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 244d49e30653658d4e7e9b2b842cbbc5affe Gitweb: https://git.kernel.org/tip/244d49e30653658d4e7e9b2b842cbbc5affe Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:24 +02:00

[tip: timers/core] sched: Move struct task_cputime to types.h

2019-08-28 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/core branch of tip: Commit-ID: 9eacb5c7e6607aba00a7322b21cad83fc8b101c8 Gitweb: https://git.kernel.org/tip/9eacb5c7e6607aba00a7322b21cad83fc8b101c8 Author:Thomas Gleixner AuthorDate:Wed, 21 Aug 2019 21:09:05 +02:00

<    4   5   6   7   8   9   10   11   12   >