Re: linux-next: manual merge of the selinux tree with the vfs tree

2018-12-05 Thread Al Viro
On Wed, Dec 05, 2018 at 10:37:56AM +0100, Ondrej Mosnacek wrote: > I just tested the Q28 branch rebased onto a recent Fedora rawhide > kernel (4.20.0-0.rc5.git0.1) and that code seems to be working fine. > The submount test failed with Q28 and succeeds with Q28+fix, as > expected. Also, the

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Frank Lee
On Wed, Dec 5, 2018 at 11:59 PM Vinod Koul wrote: > > On 05-12-18, 23:49, Frank Lee wrote: > > On Wed, Dec 5, 2018 at 4:27 PM Vinod Koul wrote: > > > > > > On 30-11-18, 10:42, Yangtao Li wrote: > > > > We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define > > > > such a macro,so

Re: [PATCH 0/2] Fix return code and improve feature check for synthetic uevents

2018-12-05 Thread Greg KH
On Wed, Dec 05, 2018 at 12:27:43PM +0100, Peter Rajnoha wrote: > Two small patches to aid handling of synthetic uevents back in userspace: > > - Return error code back to userspace on /sys/.../uevent file write > failure so userspace knows and it can act accordingly. > > - Add new

Re: [PATCH] x86/mce: Streamline MCE subsystem's naming

2018-12-05 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > Rename the containing folder to "mce" which is the most widespread name. > Drop the "mce[-_]" filename prefix of some compilation units (while > others don't have it). > > This unifies the file naming in the MCE subsystem: > > mce/ > |--

Re: [PATCH] binder: fix sparse warnings on locking context

2018-12-05 Thread Greg Kroah-Hartman
On Wed, Dec 05, 2018 at 06:02:22AM -0800, Todd Kjos wrote: > On Wed, Dec 5, 2018 at 2:57 AM Greg KH wrote: > > > On Mon, Dec 03, 2018 at 12:24:54PM -0800, Todd Kjos wrote: > > > Add __acquire()/__release() annnotations to fix warnings > > > in sparse context checking > > > > > > There is one

Re: [PATCH 6/7] microblaze: fix race condition in building boot images

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > I fixed a race condition in the parallel building of ARM in commit > 3939f3345050 ("ARM: 8418/1: add boot image dependencies to not > generate invalid images"). > > I see the same problem for MicroBlaze too. > > "make -j ARCH=microblaze all

Re: [PATCH v2 0/4] add uart DMA function

2018-12-05 Thread Vinod Koul
Hi Greg, On 05-12-18, 11:03, Greg Kroah-Hartman wrote: > On Wed, Dec 05, 2018 at 04:42:56PM +0800, Long Cheng wrote: > > In Mediatek SOCs, the uart can support DMA function. > > Base on DMA engine formwork, we add the DMA code to support uart. And put > > the code under drivers/dma. > > > >

Re: [PATCH] perf, tools: Support srccode output

2018-12-05 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 05, 2018 at 01:28:38PM +0100, Jiri Olsa escreveu: > On Mon, Dec 03, 2018 at 04:18:48PM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > When looking at PT or brstackinsn traces with perf script > > it can be very useful to see the source code. This adds a simple > > facility to

Re: [PATCHv2 1/4] PCI: dwc: fix potential memory leak

2018-12-05 Thread Lorenzo Pieralisi
On Wed, Nov 07, 2018 at 10:09:04AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > Free the allocated pci_host_bridge struct when failed to get > host bridge resources, and free the resource windows before > free the bridge. > > Signed-off-by: Hou Zhiqiang > Acked-by: Gustavo Pimentel > --- >

[PATCH 4/4] soc: renesas: rcar-sysc: Fix power domain control after system resume

2018-12-05 Thread Geert Uytterhoeven
To control power to a power domain, the System Controller (SYSC) needs the corresponding interrupt source to be enabled, but masked, to prevent the CPU from receiving it. Currently this is handled in the driver's probe() routine, and set up for every domain present, even if it will not be

Re: [PATCH v5 1/6] fieldbus_dev: add Fieldbus Device subsystem.

2018-12-05 Thread Sven Van Asbroeck
Hello Greg, thanks for the feedback! On Wed, Dec 5, 2018 at 5:17 AM Greg KH wrote: > And why is this a class and not just a "normal" device and bus? Devices > live on busses, not generally as a class. Can your devices live on > different types of busses (USB, PCI, etc.)? This patchset can be

Re: [PATCH 4/7] microblaze: fix multiple bugs in arch/microblaze/boot/Makefile

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > This Makefile is wrong in multiple ways. > > The first issue is the breakage of 'linux.bin.ub' target since commit > ece97f3a5fb5 ("microblaze: Fix simpleImage format generation") > because the addition of UIMAGE_{IN,OUT} obviously affected it. > >

Re: [PATCH AUTOSEL 4.19 40/68] ALSA: hda/ca0132 - Add new ZxR quirk

2018-12-05 Thread Sasha Levin
On Thu, Nov 29, 2018 at 09:51:55AM -0500, Connor McAdams wrote: This patch won't break anything, but it also won't fix anything either. Not sure if that matters or not. I'll remove it then, thank you. -- Thanks, Sasha

[PATCH 5/8] perf tools: Add block term support for tracepoints

2018-12-05 Thread Jiri Olsa
Allow to specify 'block' term for tracepoint in the -e command line option, like: # perf record -e raw_syscalls:sys_enter/block/ -p ... # perf trace -e raw_syscalls:sys_enter/block/ -p ... to set this tracepoint as blocking (sets struct perf_event_attr::block) It's allowed only for syscall

[PATCH 8/8] perf trace: Add ordered processing for --block option

2018-12-05 Thread Jiri Olsa
Adding support to sort the trace events if --block option is set. In this mode we don't loose events, and we are potentionally slow by definition, because the traced process could be blocked. In this case it makes sense to sort events and provide the precise outcome of ordered events. Link:

Re: [PATCH v2 1/1] arm64: Early boot time stamps

2018-12-05 Thread Pavel Tatashin
On 18-11-22 14:14:29, Marc Zyngier wrote: > On Wed, 21 Nov 2018 17:58:41 +, > Pavel Tatashin wrote: > > > > On 18-11-21 17:47:07, Will Deacon wrote: > > > > + /* > > > > +* The arm64 boot protocol mandates that CNTFRQ_EL0 reflects > > > > +* the timer frequency. To

Re: [PATCH v3 5/5] clk: samsung: exynos5433: add imem clocks

2018-12-05 Thread Stephen Boyd
Quoting Sylwester Nawrocki (2018-12-05 02:57:32) > On 12/4/18 19:40, Stephen Boyd wrote: > > Quoting Kamil Konieczny (2018-12-04 08:52:48) > >> + > >> +static const unsigned long imem_clk_regs[] __initconst = { > >> + ENABLE_ACLK_IMEM, > >> + ENABLE_ACLK_IMEM_INT_MEM, > >> +

Re: [PATCH] iommu: fix amd_iommu=force_isolation

2018-12-05 Thread Joerg Roedel
On Tue, Dec 04, 2018 at 03:37:16PM -0700, Yu Zhao wrote: > The parameter is still there but it's ignored. We need to check its > value before deciding to go into passthrough mode for AMD IOMMU. > > Fixes: aafd8ba0ca74 ("iommu/amd: Implement add_device and remove_device") > > Signed-off-by: Yu

Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops

2018-12-05 Thread Miquel Raynal
Hi Krzysztof, Krzysztof Kozlowski wrote on Wed, 5 Dec 2018 17:10:38 +0100: > On Tue, 20 Nov 2018 at 13:15, Krzysztof Kozlowski wrote: > > > > On Tue, 20 Nov 2018 at 13:09, Boris Brezillon > > wrote: > > > > > > On Tue, 20 Nov 2018 12:48:46 +0100 > > > Krzysztof Kozlowski wrote: > > > > >

[PATCH] staging: mt7621-mmc: Remove missed lines of the #if 0 block in sd.c

2018-12-05 Thread Nishad Kamdar
The below patch https://lore.kernel.org/patchwork/patch/995533/ does not completely remove an #if 0 block in sd.c. This causes the function msdc_select_clksrc() which was earler not compiled, to be compiled. That causes an error - MSDC_CLKSRC_REG is not defined. This patch completely removes the

[PATCH 4/4] dmaengine: qcom_hidma: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-05 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li Acked-by: Sinan Kaya --- drivers/dma/qcom/hidma_dbg.c | 33 ++--- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/drivers/dma/qcom/hidma_dbg.c

[PATCH 3/4] dmaengine: pxa: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Yangtao Li
We already have the DEFINE_SHOW_ATTRIBUTE, There is no need to define such a macro, so remove DBGFS_FUNC_DECL. Signed-off-by: Yangtao Li Acked-by: Robert Jarzmik --- drivers/dma/pxa_dma.c | 36 1 file changed, 12 insertions(+), 24 deletions(-) diff --git

Re: [PATCH] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2018-12-05 Thread Krzysztof Kozlowski
On Wed, 5 Dec 2018 at 17:11, Anand Moon wrote: > > Hi Krzysztof, > > Thanks for your review. > . > On Wed, 5 Dec 2018 at 19:36, Krzysztof Kozlowski wrote: > > > > On Tue, 4 Dec 2018 at 20:40, Anand Moon wrote: > > > > > > Add suspend-to-mem node to regulator core to be enabled or disabled > > >

Re: [PATCH 00/19] mailbox: Device-managed registration

2018-12-05 Thread Thierry Reding
On Wed, Nov 28, 2018 at 10:39:50AM +0100, Thierry Reding wrote: > On Wed, Nov 21, 2018 at 03:54:10PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > Hi, > > > > This series of patches adds device-managed registration functions for > > mailbox controllers. A number of drivers can

Re: [PATCH] x86/kernel: Fix more -Wmissing-prototypes warnings

2018-12-05 Thread Ingo Molnar
* Borislav Petkov wrote: > On Wed, Dec 05, 2018 at 10:49:06PM +0900, Masami Hiramatsu wrote: > > I would like to put this prototype inside arch/x86/kernel/kprobes/core.c, > > since that is locally used. > > Done. Also, preferably the prototype should be eliminated via proper ordering of

Re: edac driver injection of uncorrected errors & utils

2018-12-05 Thread Tracy Smith
This was very helpful. Tracing through the code, it doesn't do a panic before Linux crashes from multi-bit errors because as York has indicated, this type of memory controller doesn't limit the number of errors. I do have a general question about single bit errors. The EDAC driver corrects

[PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Sean Christopherson
...instead of manually handling the case where error_code=0, e.g. to display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". This makes the zero case consistent with all other messages and also provides additional information for other error code combinations, e.g. error_code==1 will

Re: [PATCH 1/2] ARM: Remove '-p' from LDFLAGS

2018-12-05 Thread Nicolas Pitre
On Tue, 4 Dec 2018, Nathan Chancellor wrote: > This option is not supported by lld: > > ld.lld: error: unknown argument: -p > > This has been a no-op in binutils since 2004 (see commit dea514f51da1 in > that tree). Given that the lowest officially supported of binutils for > the kernel is

Re: [PATCH 4.14 121/146] x86/fpu: Disable bottom halves while loading FPU registers

2018-12-05 Thread Jari Ruusu
Greg Kroah-Hartman wrote: > commit 68239654acafe6aad5a3c1dc7237e60accfebc03 upstream. > > The sequence > > fpu->initialized = 1; /* step A */ > preempt_disable();/* step B */ > fpu__restore(fpu); > preempt_enable(); > > in __fpu__restore_sig() is racy in regard to a

Re: perf: perf_fuzzer triggers GPF in perf_prepare_sample

2018-12-05 Thread Jiri Olsa
On Wed, Dec 05, 2018 at 01:45:38PM +0100, Jiri Olsa wrote: > On Tue, Dec 04, 2018 at 10:54:55AM -0500, Vince Weaver wrote: > > Hello, > > > > I was able to trigger another oops with the perf_fuzzer with current git. > > > > This is 4.20-rc5 after the fix for the very similar oops I previously >

Re: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-05 Thread Jason Baron
On 12/5/18 6:16 AM, Roman Penyaev wrote: > On 2018-12-04 18:23, Jason Baron wrote: >> On 12/3/18 6:02 AM, Roman Penyaev wrote: > > [...] > >>> >>> ep_set_busy_poll_napi_id(epi); >>> >>> @@ -1156,8 +1187,8 @@ static int ep_poll_callback(wait_queue_entry_t *wait, >>> unsigned mode, int

Re: [PATCH] auxdisplay: charlcd: fix x/y command parsing

2018-12-05 Thread Miguel Ojeda
Hi Mans, [CC'ing a few people involved previously on this] On Wed, Dec 5, 2018 at 2:53 PM Mans Rullgard wrote: > > Commit b34050fadb86 ("auxdisplay: charlcd: Fix and clean up handling of > x/y commands") fixed some problems by rewriting the parsing code, > but also broke things further by

[PATCH 02/12] staging: rtl8188eu: refactor cckratesonly_included()

2018-12-05 Thread Michael Straube
Refactor cckratesonly_included() to improve readability and slightly reduce object file size. Also change the return type to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 10 +- drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +- 2

[PATCH 09/12] staging: rtl8188eu: write out multiplying in wifirate2_ratetbl_inx()

2018-12-05 Thread Michael Straube
Write out multiplying in wifirate2_ratetbl_inx() to improve readabilitiy and clear checkpatch issues with missing spaces around '*' operator. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/core/rtw_wlan_util.c| 22 +-- 1 file changed, 11 insertions(+), 11

Re: [PATCH] clk: rockchip: add clock gate of ACODEC for rk3328

2018-12-05 Thread Heiko Stuebner
Am 5. Dezember 2018 15:18:40 MEZ schrieb kbuild test robot : >Hi Katsuhiro, > >Thank you for the patch! Yet something to improve: > >[auto build test ERROR on rockchip/for-next] >[also build test ERROR on v4.20-rc5] >[cannot apply to next-20181204] >[if your patch is applied to the wrong git

[PATCH 01/12] staging: rtl8188eu: refactor cckrates_included()

2018-12-05 Thread Michael Straube
Refactor cckrates_included() to improve readability and slightly reduce object file size. Also change the return type to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 9 + drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +- 2 files

[PATCH 06/12] staging: rtl8188eu: cleanup block comment in rtw_wlan_util.c

2018-12-05 Thread Michael Straube
Cleanup a block comment to clear a checkpatch warning. WARNING: Block comments use * on subsequent lines Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 2/7] microblaze: adjust the help to the real behavior

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > "make ARCH=microblaze help" mentions simpleImage..unstrip, > but it never works because Makefile assumes "system.unstrip" is > the name of DT. > > $ make ARCH=microblaze CROSS_COMPILE=microblaze-linux- > simpleImage.system.unstrip > [ snip ] >

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Frank Lee
On Wed, Dec 5, 2018 at 4:27 PM Vinod Koul wrote: > > On 30-11-18, 10:42, Yangtao Li wrote: > > We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define > > such a macro,so remove DBGFS_FUNC_DECL.Also use macro to simplify some > > code. > > Spaces after full stop and comma please > >

Re: [PATCH v5 02/12] iommu/vt-d: Manage scalalble mode PASID tables

2018-12-05 Thread Joerg Roedel
On Tue, Dec 04, 2018 at 01:58:06PM +0800, Lu Baolu wrote: > This function is called in an unsleepable context. > > spin_lock() > [...] > if (pasid_table_is_necessary) > allocate_pasid_table(dev) > [...] > spin_unlock() > > We can move it out of the lock range. > > How about > > if

Re: [PATCH 3/7] microblaze: move "... is ready" message to arch/microblaze/Makefile

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > To prepare for more fixes, move this to arch/microblaze/Makefile. > Otherwise, the same "... is ready" would be printed multiple times. > > (Another solution would be, to remove these messages entirely unless > people persist with them.) > >

Re: [PATCH] clk: qcom: Remove LPASS_CC config for GCC lpass clocks

2018-12-05 Thread Stephen Boyd
Quoting Taniya Das (2018-12-05 00:02:00) > The GCC lpass clocks are updated as protected, so clean up the ifdefers. > > Signed-off-by: Taniya Das > --- Ok. But this will have to wait for a few months until everything is merged together. Was that the intention of sending this now instead of

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Vinod Koul
On 05-12-18, 23:49, Frank Lee wrote: > On Wed, Dec 5, 2018 at 4:27 PM Vinod Koul wrote: > > > > On 30-11-18, 10:42, Yangtao Li wrote: > > > We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define > > > such a macro,so remove DBGFS_FUNC_DECL.Also use macro to simplify some > > > code.

Re: [PATCH 5/7] microblaze: add linux.bin* and simpleImage.* to PHONY

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > linux.bin, linux.bin.gz, and linux.bin.ub are phony targets to > generate a corresponding image under arch/microblaze/boot/. > > simpleImage.% also works like a PHONY target, but a pattern that > contains '%' cannot be a PHONY target. I renamed it to

[PATCH 2/8] perf tools: Sync uapi perf_event.h

2018-12-05 Thread Jiri Olsa
Link: http://lkml.kernel.org/n/tip-lh4vrg3t3sjhvue16i5f3...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/include/uapi/linux/perf_event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h index

[PATCH 7/8] perf trace: Move event delivery to deliver_event function

2018-12-05 Thread Jiri Olsa
Moving event delivery code to deliver_event function, so it's easier to add conditional ordered delivery coming in following patches. Link: http://lkml.kernel.org/n/tip-qz9wzti2cw6q7swja0h2x...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-trace.c | 25 -

Re: [PATCH] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2018-12-05 Thread Anand Moon
Hi Krzysztof, Thanks for your review. . On Wed, 5 Dec 2018 at 19:36, Krzysztof Kozlowski wrote: > > On Tue, 4 Dec 2018 at 20:40, Anand Moon wrote: > > > > Add suspend-to-mem node to regulator core to be enabled or disabled > > during system suspend and also support changing the regulator

Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops

2018-12-05 Thread Krzysztof Kozlowski
On Tue, 20 Nov 2018 at 13:15, Krzysztof Kozlowski wrote: > > On Tue, 20 Nov 2018 at 13:09, Boris Brezillon > wrote: > > > > On Tue, 20 Nov 2018 12:48:46 +0100 > > Krzysztof Kozlowski wrote: > > > > > On Tue, 20 Nov 2018 at 11:33, Miquel Raynal > > > wrote: > > > > > > > > Hi Krzysztof, > > >

Re: [PATCH v10 1/7] interconnect: Add generic on-chip interconnect API

2018-12-05 Thread Rob Herring
On Tue, Nov 27, 2018 at 12:03 PM Georgi Djakov wrote: > > This patch introduces a new API to get requirements and configure the > interconnect buses across the entire chipset to fit with the current > demand. > > The API is using a consumer/provider-based model, where the providers are > the

Re: [PATCH v6 1/3] staging: mt7621-mmc: Remove #if 0 blocks in sd.c

2018-12-05 Thread Nishad Kamdar
On Sun, Nov 18, 2018 at 08:33:03AM +1100, NeilBrown wrote: > On Thu, Oct 04 2018, Nishad Kamdar wrote: > > > This patch removes #if 0 code blocks and usages of > > functions defined in the #if 0 blocks in sd.c. > > > > Signed-off-by: Nishad Kamdar > > Hi Nishad, > thanks for this patch (and

Re: [PATCH 0/4] x86/mm/cpa: Fix cpa-array TLB invalidation

2018-12-05 Thread StDenis, Tom
Hi Peter, Good news is that I got our opengl test running on your x86/mm branch. The commit a2b4306c50b5de2ca955cd73ac57c2ac6426ee15 (current tip of x86/mm) is good. For sanity I jumped back and found this commit a2aa52ab16efbee40ad118ebac4a5e438f5b43ee doesn't work. Thanks, Tom On

Re: [PATCH v2] tracing: add cond_resched to ftrace_replace_code()

2018-12-05 Thread Steven Rostedt
On Wed, 5 Dec 2018 11:43:12 +0100 Anders Roxell wrote: > > > + schedulable = !irqs_disabled() && !preempt_count(); > > > > Is there a reason not to use preemptible() here? > > As I understand it preemptible() is defined to 0 if > CONFIG_PREEMPT_COUNT is disabled. > Thats no good right ?

[PATCH] usb: host: isp1362-hcd: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-05 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/usb/host/isp1362-hcd.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index

Re: [PATCH 7/7] microblaze: remove the unneeded code just in case file copy fails

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > I guess > > || (rm -f $@ && echo false) > > ... should be > > || (rm -f $@ && false) > > since printing the string "false" on the console has no point. > > Moreover, no Makefile needs to delete a target on error explicitly > since commit

Re: [PATCH 0/7] microblaze: fix various problems in building boot images

2018-12-05 Thread Michal Simek
On 03. 12. 18 8:50, Masahiro Yamada wrote: > This patch set fixes various issues in microblaze Makefiles. > > BTW, "simpleImage." works like a phony target to generate the > following four images, where the first three are just aliases. > > - arch/microblaze/boot/simpleImage.: >

Re: [PATCH 4.19 000/139] 4.19.7-stable review

2018-12-05 Thread Rafael David Tinoco
On 12/4/18 8:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.7 release. > There are 139 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[GIT PULL] x86: remove Intel MPX

2018-12-05 Thread Dave Hansen
Hi x86 maintainers, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-mpx.git mpx-remove There is only one commit, removing the Intel MPX implementation from the tree. The benefits of keeping the feature in the tree are not worth the ongoing maintenance cost.

Re: [PATCH v6 10/24] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2018-12-05 Thread Julien Thierry
On 04/12/18 17:36, Catalin Marinas wrote: > On Mon, Nov 12, 2018 at 11:57:01AM +, Julien Thierry wrote: >> diff --git a/arch/arm64/include/asm/irqflags.h >> b/arch/arm64/include/asm/irqflags.h >> index 24692ed..e0a32e4 100644 >> --- a/arch/arm64/include/asm/irqflags.h >> +++

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-05 Thread Michal Hocko
On Wed 05-12-18 13:29:18, Michal Hocko wrote: [...] > After some more thinking I am not really sure the above reasoning is > still true with the current upstream kernel. Maybe I just managed to > confuse myself so please hold off on this patch for now. Testing by > Oscar has shown this patch is

Re: [PATCH] x86/mce: Streamline MCE subsystem's naming

2018-12-05 Thread Luck, Tony
On Wed, Dec 05, 2018 at 03:13:23PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > Rename the containing folder to "mce" which is the most widespread name. > Drop the "mce[-_]" filename prefix of some compilation units (while > others don't have it). > > This unifies the file naming

[PATCH 08/12] staging: rtl8188eu: add spaces around operators in rtw_wlan_util.c

2018-12-05 Thread Michael Straube
Add spaces around '+', '-', '&' and '>>' to follow kernel coding style. Reported by checkpatch. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/core/rtw_wlan_util.c| 21 +++ 1 file changed, 12 insertions(+), 9 deletions(-) diff --git

[PATCH 12/12] staging: rtl8188eu: remove unused code in rtw_cmd.c

2018-12-05 Thread Michael Straube
Remove unused/commented code in rtw_cmd.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index

Re: [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header file

2018-12-05 Thread Steven Rostedt
On Wed, 5 Dec 2018 13:25:17 +0100 Jiri Olsa wrote: > On Tue, Dec 04, 2018 at 02:41:45PM -0500, Steven Rostedt wrote: > > On Tue, 4 Dec 2018 16:47:39 +0900 > > Namhyung Kim wrote: > > > > > > > > @@ -302,6 +302,7 @@ install_headers: > > > > $(call QUIET_INSTALL, headers) \ > > > >

[PATCH 03/12] staging: rtl8188eu: simplify array initializations

2018-12-05 Thread Michael Straube
Simplfy initialization of arrays with zero only values to improve readability and save a line. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 05/12] staging: rtl8188eu: cleanup declarations in rtw_wlan_util.c

2018-12-05 Thread Michael Straube
Replace tabs with spaces and/or remove spaces in declarations to cleanup whitespace. Remove unused/commented declarations. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/core/rtw_wlan_util.c| 175 +- 1 file changed, 86 insertions(+), 89 deletions(-) diff --git

[PATCH 07/12] staging: rtl8188eu: cleanup long lines in rtw_wlan_util.c

2018-12-05 Thread Michael Straube
Cleanup some lines over 80 characters by adding appropriate line breaks and removing commented code. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 04/12] staging: rtl8188eu: remove unnecessary parentheses in rtw_wlan_util.c

2018-12-05 Thread Michael Straube
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/core/rtw_wlan_util.c| 64 +-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c

[PATCH 11/12] staging: rtl8188eu: rename struct field Wifi_Error_Status

2018-12-05 Thread Michael Straube
Rename struct field Wifi_Error_Status to avoid CamelCase. Wifi_Error_Status -> wifi_error_status Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sreset.c | 4 ++-- drivers/staging/rtl8188eu/include/rtw_sreset.h | 2 +-

[PATCH 10/12] staging: rtl8188eu: correct indentation in update_wireless_mode()

2018-12-05 Thread Michael Straube
Correct indentation in update_wireless_mode() to clear a checkpatch warning. WARNING: Statements should start on a tabstop Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] perf, tools: Support srccode output

2018-12-05 Thread Jiri Olsa
On Wed, Dec 05, 2018 at 01:54:30PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 05, 2018 at 01:28:38PM +0100, Jiri Olsa escreveu: > > On Mon, Dec 03, 2018 at 04:18:48PM -0800, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > When looking at PT or brstackinsn traces with perf script >

Re: [PATCH v6 4/7] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm

2018-12-05 Thread Mimi Zohar
On Tue, 2018-12-04 at 15:40 -0800, Jarkko Sakkinen wrote: > On Tue, Dec 04, 2018 at 09:21:35AM +0100, Roberto Sassu wrote: > > Currently the TPM driver allows other kernel subsystems to read only the > > SHA1 PCR bank. This patch modifies the parameters of tpm_pcr_read() and > > tpm2_pcr_read() to

Re: [PATCH] clk: mediatek: fix the PCIe MAC clock parent

2018-12-05 Thread Stephen Boyd
Quoting Ryder Lee (2018-12-04 22:41:10) > The PCIe function doesn't work as the clock tree of MAC layer is wrong. > Hence fix the clock table. > > Fixes: 3b5e748615e7 ("clk: mediatek: add clock support for MT7629 SoC") > Signed-off-by: Ryder Lee > --- Applied to clk-next

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-05 Thread Andrea Arcangeli
Hello, Sorry, it has been challenging to keep up with all fast replies, so I'll start by answering to the critical result below: On Tue, Dec 04, 2018 at 10:45:58AM +, Mel Gorman wrote: > thpscale Percentage Faults Huge >4.20.0-rc4 4.20.0-rc4 >

Re: [PATCH v3] signal: add procfd_send_signal() syscall

2018-12-05 Thread Christian Brauner
On Wed, Dec 05, 2018 at 12:20:43PM -0600, Eric W. Biederman wrote: > Christian Brauner writes: > > > The kill() syscall operates on process identifiers (pid). After a process > > has exited its pid can be reused by another process. If a caller sends a > > signal to a reused pid it will end up

Re: [PATCH v2 11/17] dt-bindings: olpc_battery: Add XO-1.5 battery

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:23:57PM +0100, Lubomir Rintel wrote: > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > Acked-by: Pavel Machek > > --- Reviewed-by: Sebastian Reichel

Re: [PATCH v2 01/17] power: supply: olpc_battery: correct the temperature units

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:23:47PM +0100, Lubomir Rintel wrote: > According to [1] and [2], the temperature values are in tenths of degree > Celsius. Exposing the Celsius value makes the battery appear on fire: > > $ upower -i /org/freedesktop/UPower/devices/battery_olpc_battery > ... >

Re: [PATCH] power: reset: ocelot: switch the SI to boot mode

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 09, 2018 at 08:57:00PM +0100, Alexandre Belloni wrote: > Switch the SI to boot mode so on a warm reboot, the SI is able to access > the flash. > > Signed-off-by: Alexandre Belloni > --- Thanks, queued. -- Sebastian > drivers/power/reset/ocelot-reset.c | 12 > 1

Re: [PATCH 2/4] filemap: kill page_cache_read usage in filemap_fault

2018-12-05 Thread Johannes Weiner
On Fri, Nov 30, 2018 at 02:58:10PM -0500, Josef Bacik wrote: > If we do not have a page at filemap_fault time we'll do this weird > forced page_cache_read thing to populate the page, and then drop it > again and loop around and find it. This makes for 2 ways we can read a > page in filemap_fault,

Re: [PATCH v3 7/8] HID: logitech: Enable high-resolution scrolling on Logitech mice

2018-12-05 Thread Harry Cutts
Hi Peter, On Tue, 4 Dec 2018 at 16:43, Peter Hutterer wrote: > Changes to v2: > - m560 now has REL_HWHEEL_HI_RES (untested, I don't have the device) I just tested with my M560, and it now reports REL_HWHEEL_HI_RES correctly. Verified-by: Harry Cutts Thanks, Harry Cutts Chrome OS Touch/Input

Re: [patch 1/2 for-4.20] mm, thp: restore node-local hugepage allocations

2018-12-05 Thread Andrea Arcangeli
On Wed, Dec 05, 2018 at 09:15:28PM +0100, Michal Hocko wrote: > If the __GFP_THISNODE should be really used then it should be applied to > all other types of pages. Not only THP. And as such done in a separate > patch. Not a part of the revert. The cleanup was meant to unify THP > allocations and

Re: [PATCH] firmware: qcom: scm: fix compilation error when disabled

2018-12-05 Thread Andy Gross
On Wed, Dec 05, 2018 at 09:37:21AM -0800, Bjorn Andersson wrote: > + linux-arm-msm > > On Wed 21 Nov 18:32 PST 2018, Jonathan Marek wrote: > > > This fixes the case when CONFIG_QCOM_SCM is not enabled, and linux/errno.h > > has not been included previously. > > > > Signed-off-by: Jonathan Marek

RE: [RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-12-05 Thread Doug Smythies
On 2018.12.03 03:48 Rafael J. Wysocki wrote: >>> There is an additional issue where if idle state 0 is disabled (with the >>> above suggested code patch), >>> idle state usage seems to fall to deeper states than idle state 1. >>> This is not the expected behaviour. >> >> No, it isn't. >> >>>

[PATCH] Input: restore EV_ABS ABS_RESERVED

2018-12-05 Thread Peter Hutterer
ABS_RESERVED was added in d9ca1c990a7 and accidentally removed as part of ffe0e7cf290f5c9 when the high-resolution scrolling code was removed. Signed-off-by: Peter Hutterer --- include/uapi/linux/input-event-codes.h | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH] selftests: gpio: Find libmount with pkg-config if available

2018-12-05 Thread Anders Roxell
On Wed, 5 Dec 2018 at 22:50, Linus Walleij wrote: > > Sorry for top-posting, > > I don't understand the selftest environment very well so I do not know > if this is the right thing to do. > > I can merge the patch through the GPIO tree but I need a nod from > someone wise, like Shuah Khan or

Re: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-05 Thread Eric Wong
Roman Penyaev wrote: > Hi all, > > The goal of this patch is to reduce contention of ep_poll_callback() which > can be called concurrently from different CPUs in case of high events > rates and many fds per epoll. Problem can be very well reproduced by > generating events (write to pipe or

Re: [patch 0/2 for-4.20] mm, thp: fix remote access and allocation regressions

2018-12-05 Thread Andrea Arcangeli
On Wed, Dec 05, 2018 at 02:10:47PM -0800, David Rientjes wrote: > I've must have said this at least six or seven times: fault latency is In your original regression report in this thread to Linus: https://lkml.kernel.org/r/alpine.deb.2.21.1811281504030.231...@chino.kir.corp.google.com you said

Re: [PATCH] power: supply: cpcap-charger: clean an indentation issue, remove tab

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 06:48:41PM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to clean up indentation issue, remove an extraneous tab > > Signed-off-by: Colin Ian King > --- Thanks, queued. -- Sebastian > drivers/power/supply/cpcap-charger.c | 2 +- > 1 file

Re: [PATCH] binder: implement binderfs

2018-12-05 Thread Greg KH
On Tue, Dec 04, 2018 at 02:12:39PM +0100, Christian Brauner wrote: > As discussed at Linux Plumbers Conference 2018 in Vancouver [1] this is the > implementation of binderfs. If you want to skip reading and just see how it > works, please go to [2]. First off, thanks for doing this so quickly. I

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-05 Thread Evan Green
On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov wrote: > > Modern SoCs have multiple processors and various dedicated cores (video, gpu, > graphics, modem). These cores are talking to each other and can generate a > lot of data flowing through the on-chip interconnects. These interconnect > buses

Re: [PATCH v14 00/11] livepatch: Atomic replace feature

2018-12-05 Thread Joe Lawrence
On 11/29/2018 04:44 AM, Petr Mladek wrote: > Hi, > > I have an updated present for your mailboxes. > > The atomic replace allows to create cumulative patches. They > are useful when you maintain many livepatches and want to remove > one that is lower on the stack. In addition it is very useful

Re: [PATCH v2 2/4] dmaengine: mtk_uart_dma: add Mediatek uart DMA support

2018-12-05 Thread Sean Wang
. On Wed, Dec 5, 2018 at 1:31 AM Long Cheng wrote: > > In DMA engine framework, add 8250 mtk dma to support it. > > Signed-off-by: Long Cheng > --- > drivers/dma/mediatek/8250_mtk_dma.c | 894 > +++ > drivers/dma/mediatek/Kconfig| 11 + >

Re: [PATCH v1 2/3] arm64: dts: qcom: sdm845: Add SD nodes

2018-12-05 Thread Doug Anderson
Hi, On Wed, Nov 28, 2018 at 2:34 PM Evan Green wrote: > > Add the SD controller to SDM845. > > Signed-off-by: Evan Green > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 15 +++ > 1 file changed, 15 insertions(+) Looks right to me. Possibly you might want to make it known in the

Re: [PATCH] staging: mt7621-mmc: Remove missed lines of the #if 0 block in sd.c

2018-12-05 Thread NeilBrown
On Wed, Dec 05 2018, Nishad Kamdar wrote: > The below patch > https://lore.kernel.org/patchwork/patch/995533/ > does not completely remove an #if 0 block in sd.c. Standard practice is to identify patches by their commit id. In this case you could git log --oneline

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-05 Thread Peter Korsgaard
> "Peter" == Peter Korsgaard writes: > This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7. > The output of dmi_save_uuid() is exposed to user space as > /sys/devices/virtual/dmi/id/*_uuid, so this breaks backwards compatibility, > E.G. I have systems that include the content

Re: [PATCH v2 3/7] power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 08:11:45PM -0400, Brian Masney wrote: > From: Jonathan Marek > > This patch adds an of_match for the usb-otg-vbus regulator to > bq24190_charger. > > Signed-off-by: Jonathan Marek > Signed-off-by: Brian Masney > --- Thanks, queued. -- Sebastian >

Layerscape UE detected and no EDAC panic

2018-12-05 Thread Tracy Smith
> I can't help you on that. I never tried to force errors by grounding the > signals. You have read the driver. Do you see panic? The idea is to > report the error and let upper layer to decide what to do. Sometimes > limping forward is better than reset or panic. Again, it is not driver's >

Re: [RFC PATCH 4/4] x86/vdso: Add __vdso_sgx_eenter() to wrap SGX enclave transitions

2018-12-05 Thread Andy Lutomirski
On Wed, Dec 5, 2018 at 3:20 PM Sean Christopherson wrote: > > Intel Software Guard Extensions (SGX) SGX introduces a new CPL3-only > enclave mode that runs as a sort of black box shared object that is > hosted by an untrusted normal CPL3 process. > > Enclave transitions have semantics that are a

Re: [PATCH v7 08/14] x86/ftrace: Use text_poke_*() infrastructure

2018-12-05 Thread Nadav Amit
> On Dec 4, 2018, at 5:34 PM, Nadav Amit wrote: > > A following patch is going to make module allocated memory > non-executable. This requires to modify ftrace and make the memory > executable again after it is configured. > > In addition, this patch makes ftrace use the general text poking >

[PATCH v2 3/3] watchdog/hpwdt: Update driver version.

2018-12-05 Thread Jerry Hoemann
Bump version number to reflect recent minor changes. Signed-off-by: Jerry Hoemann --- drivers/watchdog/hpwdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index c8e8055..ef30c7e 100644 --- a/drivers/watchdog/hpwdt.c +++

Re: [PATCH v2] Fonts: New Terminus large console font

2018-12-05 Thread Randy Dunlap
On 12/5/18 3:56 PM, Amanoel Dawod wrote: > This patch adds an option to compile-in a high resolution > and large Terminus (ter16x32) bitmap console font for use with > HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf converted Where does

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