Re: [RFC] regmap-irq: add "main register" and level-irq support

2018-12-05 Thread Mark Brown
On Wed, Dec 05, 2018 at 10:22:51AM +0200, Matti Vaittinen wrote: > On Tue, Dec 04, 2018 at 05:21:37PM +, Mark Brown wrote: > > On Fri, Nov 30, 2018 at 10:59:08AM +0200, Matti Vaittinen wrote: > > This sounds exactly like the wm831x which uses cascaded irqchips for > > this, though not regmap-i

Re: [PATCH v6 00/14] block: always associate blkg and refcount cleanup

2018-12-05 Thread Jens Axboe
On 12/5/18 10:10 AM, Dennis Zhou wrote: > Hi everyone, > > This is a minor update addressing the feedback from Mike and Josef. > > v6: > 0005: Address Mike's feedback for the flush bio comment. > 0006: Add a WARN_ONCE() for blkg fallback suggested by Josef. Thanks Dennis, applied for 4.21. --

[driver-core PATCH v8 0/9] Add NUMA aware async_schedule calls

2018-12-05 Thread Alexander Duyck
This patch set provides functionality that will help to improve the locality of the async_schedule calls used to provide deferred initialization. This patch set originally started out focused on just the one call to async_schedule_domain in the nvdimm tree that was being used to defer the device_a

Re: [PATCH v6 07/10] clk: rk808: use managed version of of_provider registration

2018-12-05 Thread Stephen Boyd
Quoting Matti Vaittinen (2018-12-04 03:38:03) > Simplify clean-up for rk808 by using managed version of of_provider > registration. > > Signed-off-by: Matti Vaittinen > --- Applied to clk-next

[driver-core PATCH v8 1/9] driver core: Move async_synchronize_full call

2018-12-05 Thread Alexander Duyck
Move the async_synchronize_full call out of __device_release_driver and into driver_detach. The idea behind this is that the async_synchronize_full call will only guarantee that any existing async operations are flushed. This doesn't do anything to guarantee that a hotplug event that may occur whi

[driver-core PATCH v8 8/9] PM core: Use new async_schedule_dev command

2018-12-05 Thread Alexander Duyck
Use the device specific version of the async_schedule commands to defer various tasks related to power management. By doing this we should see a slight improvement in performance as any device that is sensitive to latency/locality in the setup will now be initializing on the node closest to the dev

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

2018-12-05 Thread Sylwester Nawrocki
On 12/5/18 17:08, Stephen Boyd wrote: > 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 = { [...] +}; + +static const struct

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-12-05 Thread Mathieu Desnoyers
- On Nov 26, 2018, at 12:07 PM, Rich Felker dal...@libc.org wrote: > On Mon, Nov 26, 2018 at 11:30:51AM -0500, Mathieu Desnoyers wrote: >> - On Nov 26, 2018, at 10:51 AM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> >> > - On Nov 26, 2018, at 3:28 AM, Florian Weime

Re: [PATCH -next] coresight: stm: remove set but not used variable 'res_size'

2018-12-05 Thread Mathieu Poirier
On Sat, 1 Dec 2018 at 01:31, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/hwtracing/coresight/coresight-stm.c: In function 'stm_probe': > drivers/hwtracing/coresight/coresight-stm.c:796:9: warning: > variable 'res_size' set but not used [-Wunused-but-set-variab

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

2018-12-05 Thread Jiri Olsa
On Wed, Dec 05, 2018 at 12:03:34PM -0500, Steven Rostedt wrote: > 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,

Re: [PATCH] Revert "clk: fix __clk_init_parent() for single parent clocks"

2018-12-05 Thread Jerome Brunet
On Tue, 2018-12-04 at 23:54 -0800, Stephen Boyd wrote: > Quoting Jerome Brunet (2018-12-04 11:51:17) > > On Tue, 2018-12-04 at 10:05 -0800, Stephen Boyd wrote: > > > Quoting Jerome Brunet (2018-12-04 08:32:57) > > > > This reverts commit 2430a94d1e719b7b4af2a65b781a4c036eb22e64. > > > > > > > > Fr

[PATCH v1] perf record: fix memory leak on AIO objects deallocation

2018-12-05 Thread Alexey Budankov
Sending a part which was missed between v12 and v13 of the patch set introducing AIO trace streaming for perf record mode. The part is essential to avoid memory leakage during deallocation of AIO related trace data buffers. It is applied on top of acme perf/core repo. Signed-off-by: Alexey Bu

Re: [PATCH 4/5] ARC: perf: fix description comment

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > Fix description comment as this code doesn't belong only to > ARC700 anymore. > > Also while I'm at it, use SPDX License Identifier. > > Signed-off-by: Eugeniy Paltsev Maybe squash this into trivial cleanups 1/5 ? Acked-by: Vineet Gupta Thx, -Vineet

Re: [PATCH v2 1/7] arm64: capabilities: Merge entries for ARM64_WORKAROUND_CLEAN_CACHE

2018-12-05 Thread Suzuki K Poulose
On 05/12/2018 15:02, Will Deacon wrote: On Fri, Nov 30, 2018 at 05:18:00PM +, Suzuki K Poulose wrote: We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : 1) ARM Errata 826319, 827319, 824069, 819472 on A53 r0p[012] 2) ARM Errata 819472 on A53 r0p[01] Both have the same wor

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

2018-12-05 Thread Borislav Petkov
On Wed, Dec 05, 2018 at 05:25:26PM +0100, Ingo Molnar wrote: > Also, preferably the prototype should be eliminated via proper ordering > of functions from lower level to higher levels. Well, that trampoline_handler() is special as we call it from inline asm and I see Masami has marked it __visibl

Re: edac driver injection of uncorrected errors & utils

2018-12-05 Thread Borislav Petkov
On Wed, Dec 05, 2018 at 10:37:52AM -0600, Tracy Smith wrote: > This was very helpful. I'm glad. Can you do me a favor pls and not top-post when replying on a mailing list? Thx. > Tracing through the code, it doesn't do a panic > before Linux crashes from multi-bit errors because as York has > i

Re: perf: perf_fuzzer triggers GPF in perf_prepare_sample

2018-12-05 Thread Vince Weaver
On Wed, 5 Dec 2018, Jiri Olsa wrote: > 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 afte

[PATCH 12/14] blkcg: remove bio_disassociate_task()

2018-12-05 Thread Dennis Zhou
Now that a bio only holds a blkg reference, so clean up is simply putting back that reference. Remove bio_disassociate_task() as it just calls bio_disassociate_blkg() and call the latter directly. Signed-off-by: Dennis Zhou Acked-by: Tejun Heo Reviewed-by: Josef Bacik --- block/bio.c |

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 >

[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 chang

[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 a/drivers/staging/rtl8188eu/core

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 tre

[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 a/dr

[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 a/drivers/staging/rtl8188eu/core/rtw_wl

[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 +- drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c

[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 b/drivers/staging/rtl8

[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 a/drivers/staging/rtl8188eu/core

[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 e3e46f7ac834..f9cdd1d

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 a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c

[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 a/drivers/staging/rtl8188

[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 deletions(

[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 file

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

2018-12-05 Thread Borislav Petkov
On Wed, Dec 05, 2018 at 05:30:37PM +0100, Ingo Molnar wrote: > Would it make sense to organize it a bit more and separate out vendor > specific functionality: > > mce/cpu/intel.c > mce/cpu/intel-p5.c > mce/cpu/amd.c > mce/cpu/winchip.c That's too fine-grained IMO and look at the path we'

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

2018-12-05 Thread Stephen Boyd
Quoting Viresh Kumar (2018-12-04 22:16:00) > On 05-12-18, 09:07, Taniya Das wrote: > > Hello Stephen, Viresh > > > > Thanks for the code and suggestions. > > > > Having a NR_DOMAINS '2' makes the driver not scalable for re-use. > > Sure, I didn't like it either and that wasn't really what I was

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 hel

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 in

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 >> +++ b/arch/arm64/in

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 p

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 removi

[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. I

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 shoul

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.: > identic

Re: [PATCH] ARM: dts: Provide support for reading ID code from MVB device (BK4)

2018-12-05 Thread Lukasz Majewski
Hi Fabio, > Hi Lukasz, > > On Mon, Dec 3, 2018 at 7:33 AM Lukasz Majewski wrote: > > > > > + 72xx165@0 { > > > > > > Please use a generic name for the node. > > > > This is a bit tricky. > > What about using 'gpio@0' like described in > Documentation/devicetree/bindings/gpio/gp

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 c

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 syn

[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: 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 single

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 2.

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 b21c386e6a46..28bf8bfb091

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 9c2

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 linux.bin.u

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. > > > > This

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 case

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 'kernel

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 func

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 2018-12

[PATCH 2/4] dmaengine: mic_x100_dma: 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/dma/mic_x100_dma.c | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/drivers/dma/mic_x100_dma.c b/drivers/dma/mic_x100_dma.c index adfd316db1a8..6a91e28d537d 1006

[PATCH 1/4] dmaengine: amba-pl08x: 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/dma/amba-pl08x.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 97483df1f82e..fc8c2bab563c 100644 --- a/drive

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

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 > > >

[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 a/

[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 b/drivers/dma/qcom/hidma_dbg.

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 be

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 overla

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 oth

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 inter

[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 #

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: > > > > >

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] 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 operati

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, > >> + ENABL

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 Zha

Re: [RFC PATCH 00/14] Heterogeneous Memory System (HMS) and hbind()

2018-12-05 Thread Jerome Glisse
On Wed, Dec 05, 2018 at 04:57:17PM +0530, Aneesh Kumar K.V wrote: > On 12/5/18 12:19 AM, Jerome Glisse wrote: > > > Above example is for migrate. Here is an example for how the > > topology is use today: > > > > Application knows that the platform is running on have 16 > > GPU split int

[RFC 1/8] perf: Block perf calls for system call tracepoints

2018-12-05 Thread Jiri Olsa
hi, Steven asked for possibility to block traced process in case the tracer can't keep up and we would loose events. This (RFC) patchset tries to implement this by adding 'block' bool in struct perf_event_attr to be set only for syscalls tracepoints and adding code to block the traced process,

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

2018-12-05 Thread Yuchung Cheng
On Wed, Dec 5, 2018 at 4:08 AM Rafael David Tinoco wrote: > > On 12/5/18 4:58 AM, Greg Kroah-Hartman wrote: > > On Tue, Dec 04, 2018 at 07:09:46PM -0200, Rafael David Tinoco wrote: > >> 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

[PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-05 Thread Jiri Olsa
Adding support to specify 'block' bool in struct perf_event_attr for syscalls tracepoints, allowing the event to block the process, if there's no space in the ring buffer. The blocking code will poll/periodically check for the space and continue if the event was successfully written. It's allowed

[PATCH 4/8] perf trace: Add --block option

2018-12-05 Thread Jiri Olsa
Adding --block option to allow trace command pass along the --block option for record command or to set it for trace run session, like: # perf trace --block kill # perf trace --block -p ... # perf trace -e raw_syscalls:sys_enter --block -p ... It's allowed only for syscall tracepoint events

[PATCH 3/8] perf record: Add --block option

2018-12-05 Thread Jiri Olsa
Adding --block option to allow record command set block bool in struct perf_event_attr for event, like: # perf record -e raw_syscalls:sys_enter --block ls # perf record -e raw_syscalls:sys_enter --block -p ... It's allowed only for syscall tracepoint events attached to process. Link: http://

[PATCH 6/8] perf tools: Add ordered_events__flush_time interface

2018-12-05 Thread Jiri Olsa
Adding OE_FLUSH__TIME flush type, to be able to flush only certain amount of the queue based on the provided timestamp. It will be used in following patches. Link: http://lkml.kernel.org/n/tip-a3na77vemwr1g92lfhlrz...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/ordered-events.c |

[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 -

[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: http:

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 avoid

Re: [PATCH v10 5/7] interconnect: qcom: Add sdm845 interconnect provider driver

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:39, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> From: David Dai >> >> Introduce Qualcomm SDM845 specific provider driver using the >> interconnect framework. >> >> Signed-off-by: David Dai >> Signed-off-by: Georgi Djakov >> --- >>

Re: [PATCH v10 6/7] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:39, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> From: David Dai >> >> Add RSC (Resource State Coordinator) provider >> dictating network-on-chip interconnect bus performance >> found on SDM845-based platforms. >> >> Signed-off-by: Dav

Re: [PATCHv2 2/4] PCI: dwc: fix 4GiB outbound window size truncated to zero issue

2018-12-05 Thread Lorenzo Pieralisi
On Wed, Nov 07, 2018 at 10:09:10AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > The current type of mem_size is 'u32', so when resource_size() > return 4G it will be truncated to zero. This patch fix it by > changing its type to 'u64'. > > Signed-off-by: Hou Zhiqiang > Acked-by: Gustavo Pime

Re: [PATCH V2 1/2] mmc: mmci: send stop command if sbc error issue

2018-12-05 Thread Ludovic BARRE
On 12/5/18 3:23 PM, Ulf Hansson wrote: On Tue, 20 Nov 2018 at 10:42, Ulf Hansson wrote: On 7 November 2018 at 10:30, Ludovic Barre wrote: From: Ludovic Barre Refer to "4.15 set block count command" of sd specification: Host needs to issue CMD12 if any error is detected in the CMD18 and

Re: [Letux-kernel] [PATCH 0/5] gnss: sirf: add support for w2sg0004 + lna

2018-12-05 Thread Johan Hovold
On Wed, Dec 05, 2018 at 04:19:16PM +0100, Johan Hovold wrote: > On Mon, Nov 19, 2018 at 07:44:14PM +0100, Andreas Kemnade wrote: > > > On Mon, 19 Nov 2018 09:22:59 +0100 > > "H. Nikolaus Schaller" wrote: > > > > > Am 18.11.2018 um 22:57 schrieb Andreas Kemnade : > > > > > > > > Here is another

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 later

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 eq

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

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. > > mak

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

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:38, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:03 AM 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/

Re: [PATCH v10 3/7] interconnect: Allow endpoints translation via DT

2018-12-05 Thread Georgi Djakov
Hi Evan, On 12/1/18 02:38, Evan Green wrote: > On Tue, Nov 27, 2018 at 10:04 AM Georgi Djakov > wrote: >> >> Currently we support only platform data for specifying the interconnect >> endpoints. As now the endpoints are hard-coded into the consumer driver >> this may lead to complications when a

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