Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 12:00 PM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: >> On 08/10/2018 11:48 AM, James Bottomley wrote: >>> On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: and the feedback I got from Jason was: "I wonder if it is worth

[PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-10 Thread Matthias Kaehlcke
Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of rev2 ADC channels. Signed-off-by: Matthias Kaehlcke --- drivers/iio/adc/qcom-spmi-adc5.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index

Warning splat on x86_32 during perf stress

2018-08-10 Thread Steven Rostedt
I sometimes trigger this splat in my tests (which cause them to fail), but it's not always hit. Note, this is on x86_32 arch. [ cut here ] IRQs not enabled as expected WARNING: CPU: 0 PID: 0 at /work/build/trace/nobackup/linux-test.git/kernel/time/tick-sched.c:982

[PATCH v8 0/8] Introduce on-chip interconnect API

2018-08-10 Thread Georgi Djakov
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 could form different topologies such as crossbar, point to point

[PATCH v8 2/8] dt-bindings: Introduce interconnect binding

2018-08-10 Thread Georgi Djakov
This binding is intended to represent the relations between the interconnect controllers (providers) and consumer device nodes. It will allow creating links between consumers and interconnect paths (exposed by interconnect providers). Signed-off-by: Georgi Djakov ---

[PATCH v8 1/8] interconnect: Add generic on-chip interconnect API

2018-08-10 Thread Georgi Djakov
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 interconnect buses and the consumers could be various drivers. The

[PATCH v8 4/8] interconnect: Add debugfs support

2018-08-10 Thread Georgi Djakov
Add a functionality to provide information about the current constraints per each node and provider. Signed-off-by: Georgi Djakov Reviewed-by: Evan Green --- drivers/interconnect/core.c | 78 + 1 file changed, 78 insertions(+) diff --git

[PATCH v8 8/8] MAINTAINERS: add a maintainer for the interconnect API

2018-08-10 Thread Georgi Djakov
Add myself as the maintainer of the interconnect API. Signed-off-by: Georgi Djakov --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 32fbc6f732d4..ed1b534c901b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7420,6 +7420,16 @@ L:

[PATCH v8 6/8] dt-bindings: interconnect: Document qcom,msm8916 NoC bindings

2018-08-10 Thread Georgi Djakov
Document the device-tree bindings of the Network-On-Chip interconnect hardware found on Qualcomm msm8916 platforms. Signed-off-by: Georgi Djakov Reviewed-by: Evan Green --- .../bindings/interconnect/qcom-msm8916.txt| 41 include/dt-bindings/interconnect/qcom.h | 98

[PATCH v8 7/8] interconnect: qcom: Add msm8916 interconnect provider driver

2018-08-10 Thread Georgi Djakov
Add driver for the Qualcomm interconnect buses found in msm8916 based platforms. Signed-off-by: Georgi Djakov --- drivers/interconnect/Kconfig| 5 + drivers/interconnect/Makefile | 1 + drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 +

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-10 Thread Baolin Wang
Hi Jacek, On 9 August 2018 at 21:21, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/09/2018 07:48 AM, Baolin Wang wrote: > [...] >> +static int pattern_trig_start_pattern(struct pattern_trig_data *data, >> + struct led_classdev *led_cdev) >> +{

Re: [PATCH v12 2/3] tracepoint: Make rcuidle tracepoint callers use SRCU

2018-08-10 Thread Steven Rostedt
On Mon, 30 Jul 2018 15:24:22 -0700 Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > In recent tests with IRQ on/off tracepoints, a large performance > overhead ~10% is noticed when running hackbench. This is root caused to > calls to rcu_irq_enter_irqson and rcu_irq_exit_irqson from

Re: [PATCH 0/5 - V2] locks: avoid thundering-herd wake-ups

2018-08-10 Thread J. Bruce Fields
On Fri, Aug 10, 2018 at 01:17:14PM +1000, NeilBrown wrote: > On Thu, Aug 09 2018, J. Bruce Fields wrote: > > > On Fri, Aug 10, 2018 at 11:50:58AM +1000, NeilBrown wrote: > >> You're good at this game! > > > > Everybody's got to have a hobby, mine is pathological posix locking > > cases > > >

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Mark Brown
On Fri, Aug 10, 2018 at 09:27:05AM -0700, Doug Anderson wrote: > On Fri, Aug 10, 2018 at 9:13 AM, Mark Brown wrote: > > On Fri, Aug 10, 2018 at 08:40:17AM -0700, Doug Anderson wrote: > >> The clock framework should be able to accomplish what you want. If > >> you just request the rate it will

Re: [RFC][PATCH] tracepoints: Free early tracepoints after RCU is initialized

2018-08-10 Thread Joel Fernandes
On Fri, Aug 10, 2018 at 9:30 AM, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > When enabling trace events via the kernel command line, I hit this warning: > > WARNING: CPU: 0 PID: 13 at kernel/rcu/srcutree.c:236 > check_init_srcu_struct+0xe/0x61 > Modules linked in: > CPU: 0

Re: [PATCH v4 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-10 Thread Jarkko Sakkinen
On Tue, Aug 07, 2018 at 01:27:44PM -0700, Tadeusz Struk wrote: > Add a ptr to struct tpm_space to the file_priv to have an easy > access to it in the async job without the need to allocate memory. > This also allows to consolidate of the write operations for > the two interfaces. I think the 2nd

Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference

2018-08-10 Thread Mike Galbraith
On Fri, 2018-08-10 at 18:28 +0800, Dave Young wrote: > > > @@ -250,8 +253,10 @@ setup_boot_parameters(struct kimage *image, struct > > boot_params *params, > > > > #ifdef CONFIG_EFI > > /* Setup EFI state */ > > - setup_efi_state(params, params_load_addr, efi_map_offset, efi_map_sz, > >

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Trent Piepho
On Fri, 2018-08-10 at 21:59 +0530, dk...@codeaurora.org wrote: > > Here are my couple of cents: > SPI controller maximum frequency can be lesser than or equal to Clock > framework's maximum > frequency, so should not rely on the Clock framework. But there is probably some means, via the

Re: [PATCH v3 1/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_security.c

2018-08-10 Thread Michael Straube
On 08/10/18 13:31, Dan Carpenter wrote: No no... I only gave it a Reviewed-by tag because I didn't want you to resend again... :P Ah, sorry. So I shouldn't have added the tag? Should I remove it again? I guess not.. How are those tags (reviewed, acked, etc.) handled normaly? I'm a bit

[PATCH] RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt

2018-08-10 Thread Joe Perches
Consistently use the "QPLIB: " prefix for dev_ logging. Miscellanea: o Add missing newlines to avoid possible message interleaving o Coalesce consecutive dev_ uses that emit a message header to avoid < 80 column lengths and mistakenly output on multiple lines o Reflow modified lines to use 80

Re: [PATCH v4 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 11:05:17AM -0700, Tadeusz Struk wrote: > On 08/10/2018 10:27 AM, Jarkko Sakkinen wrote: > > On Tue, Aug 07, 2018 at 01:27:44PM -0700, Tadeusz Struk wrote: > >> Add a ptr to struct tpm_space to the file_priv to have an easy > >> access to it in the async job without the need

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Trent Piepho
On Thu, 2018-08-09 at 12:37 -0700, Doug Anderson wrote: > On Thu, Aug 9, 2018 at 11:24 AM, Trent Piepho wrote: > > > I think we're in agreement but perhaps there's a miscommunication here? > > I'm saying that we _shouldn't_ put the max-speed of the master in the > device tree. The max speed

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: > On 08/10/2018 11:48 AM, James Bottomley wrote: > > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > > > and the feedback I got from Jason was: > > > > > > "I wonder if it is worth creating this when the first file is > > >

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

Re: [PATCH v3] resource: Merge resources on a node when hot-adding memory

2018-08-10 Thread Oscar Salvador
On Sat, Aug 11, 2018 at 12:25:39AM +1000, Rashmica Gupta wrote: > On Fri, Aug 10, 2018 at 11:00 PM, Michal Hocko wrote: > > On Fri 10-08-18 16:55:40, Rashmica Gupta wrote: > > [...] > >> Most memory hotplug/hotremove seems to be block or section based, and > >> always adds and removes memory at

[PATCH] platform/x86: asus-wmi: Add keymap entry for lid flip action on Asus UX360

2018-08-10 Thread Aleh Filipovich
Add entry to WMI keymap for lid flip event on Asus UX360. On Asus Zenbook ux360 flipping lid from/to tablet mode triggers keyscan code 0xfa which cannot be handled and results in kernel log message "Unknown key fa pressed". Signed-off-by: Aleh Filipovich --- drivers/platform/x86/asus-nb-wmi.c

Re: BUG: Mount ignores mount options

2018-08-10 Thread Andy Lutomirski
On Fri, Aug 10, 2018 at 9:14 AM, Theodore Y. Ts'o wrote: > And I'm not really sure it helps the container use > case, since the whole point is they want their "guest" to be able to > blithely run "mount /dev/sda1 -o noxattr /mnt" and not worry about the > fact that in some other container,

Re: [PATCH v9 2/2] regulator: add QCOM RPMh regulator driver

2018-08-10 Thread Doug Anderson
Hi, On Fri, Aug 10, 2018 at 9:29 AM, Mark Brown wrote: > On Fri, Jul 13, 2018 at 06:50:59PM -0700, David Collins wrote: > >> + switch (rpmh_mode) { > >> + default: >> + mode = REGULATOR_MODE_INVALID; >> + } > > I'm not sure why the break statements are being omitted in

Re: [PATCH 3/3] arm64: reliable stacktraces

2018-08-10 Thread Josh Poimboeuf
On Fri, Aug 10, 2018 at 06:03:11PM +0200, Torsten Duwe wrote: > This is more an RFC in the original sense: is this basically > the correct approach? (as I had to tweak the API a bit). > > In particular the code does not detect interrupts and exception > frames, and does not yet check whether the

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:31:08 PDT (-0700), atish.pa...@wdc.com wrote: On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:47:15 PDT (-0700), li...@roeck-us.net wrote: On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: >>This would be necessary to

Re: [PATCH] gpio: it87: Add support for IT8613

2018-08-10 Thread Linus Walleij
On Thu, Aug 9, 2018 at 12:27 AM Leonid Bloch wrote: > This was tested on actual hardware and found to work fine, but currently > the official specifications of this chip could not be obtained to > confirm the numbers. > > Signed-off-by: Leonid Bloch Patch applied. Yours, Linus Walleij

Re: Fwd: PROBLEM: tpm_cpg can't request region with AMD/Dell fTPM

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 07:57:35PM +0300, Jarkko Sakkinen wrote: > On Tue, Aug 07, 2018 at 02:43:10PM -0400, Harlan Lieberman-Berg wrote: > > (Resending as it seems to have been spamfiltered out from the ml; > > sorry Peter, Jarkko for the duplicate) > > I came on Monday from four week leave and

Re: [PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread David Collins
On 08/10/2018 01:05 PM, Douglas Anderson wrote: > No functional change here but it can make the code more readable to > have breaks in the "default" case even though it's the last case. > Let's add them. > > Signed-off-by: Douglas Anderson > --- > > drivers/regulator/qcom-rpmh-regulator.c | 3

Re: [PATCH v1 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-10 Thread vnkgutta
On 2018-08-09 20:59, Borislav Petkov wrote: On Wed, Aug 01, 2018 at 01:33:34PM -0700, Venkata Narendra Kumar Gutta wrote: From: Channagoud Kadabi Add error reporting driver for SBEs and DBEs. As of now, this driver Please write out those abbreviations. Done, I just followed the other

Re: [PATCH v1 2/4] drivers: soc: Add support to register LLCC EDAC driver

2018-08-10 Thread vnkgutta
On 2018-08-10 10:21, Evan Green wrote: On Wed, Aug 1, 2018 at 1:33 PM Venkata Narendra Kumar Gutta wrote: Cache error reporting controller is to detect and report single and double bit errors on Last Level Cache Controller (LLCC) cache. Add required support to register LLCC EDAC driver as

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 11:48 AM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: >> and the feedback I got from Jason was: >> >> "I wonder if it is worth creating this when the first file is >> opened.. Lots of systems have TPMs but few use the userspace.." >> >> so I

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:46PM +0300, Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-10 Thread Steven Rostedt
On Thu, 9 Aug 2018 16:38:28 +0200 Oleg Nesterov wrote: > I need to read this (hopefully final) version carefully. I'll try to do > this before next Monday. > Monday may be the opening of the merge window (more likely Sunday). Do you think this is good enough for pushing it in this late in the

Our Company Beijing Shougang Company Ltd., based in China is in search of a competent individual or firm that will be responsible in handling funds as our ''Representative Manager'' in the United Stat

2018-08-10 Thread Beijing Shougang Company Ltd
Note: It is a part time job that won't interrupt your present work or business. Looking forward to your response. Best Regards, Liu Nianzu HR(Representative Manager) Beijing Shougang Company Ltd. No 15,Pingguoyuan Road,Shijingshan District,Beijing Website: www.sggf.com.cn

[PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread Douglas Anderson
No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson --- drivers/regulator/qcom-rpmh-regulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread efremov
From: Denis Efremov If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the

Re: [RFC v7 PATCH 1/4] mm: refactor do_munmap() to extract the common part

2018-08-10 Thread Yang Shi
On 8/10/18 10:41 AM, Matthew Wilcox wrote: On Fri, Aug 10, 2018 at 07:36:00AM +0800, Yang Shi wrote: +static inline bool addr_ok(unsigned long start, size_t len) Maybe munmap_range_ok()? Otherwise some of the conditions here don't make sense for such a generic sounding function. I don't

Re: [PATCH] coccicheck: return proper error code on check fail

2018-08-10 Thread Himanshu Jha
On Fri, Aug 10, 2018 at 05:45:46PM +0300, Denis Efremov wrote: > My mistake. Initially, I thought that this line signals about errors > in the code, but now I see that this is about the tool's internal > error. However, this doesn't change the fact that coccicheck returns > the improper error

[tip:x86/pti] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-10 Thread tip-bot for Joerg Roedel
Commit-ID: d878efce73fe86db34ddb2013260adf571a701a7 Gitweb: https://git.kernel.org/tip/d878efce73fe86db34ddb2013260adf571a701a7 Author: Joerg Roedel AuthorDate: Wed, 8 Aug 2018 13:16:40 +0200 Committer: Thomas Gleixner CommitDate: Fri, 10 Aug 2018 21:12:45 +0200 x86/mm/pti: Move user

Re: [PATCH 1/2] phy: qcom-qmp: Quiet -EPROBE_DEFER from qcom_qmp_phy_probe()

2018-08-10 Thread Doug Anderson
Kishon, On Mon, May 14, 2018 at 3:42 PM, Douglas Anderson wrote: > The -EPROBE_DEFER virus demands special case code to avoid printing > error messages when the error is only -EPROBE_DEFER. Spread the virus > to a new host: qcom_qmp_phy_probe(). Specifically handle when our > regulators might

Details des Kreditantrags

2018-08-10 Thread Adams John
Hallo Diese Adams-Darlehen sind wir hier, um Darlehen an diejenigen, die finanzielle Schwierigkeiten haben. Brauchen Sie einen Kredit, um die Rechnungen zu bezahlen? Oder möchten Sie ein Unternehmen gründen, haben aber nicht die Hauptstadt zur Hand? Wenn Sie finanzielle Unterstützung benötigen,

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread Julia Lawall
On Fri, 10 Aug 2018, efre...@linux.com wrote: > From: Denis Efremov > > If coccicheck fails, it should return an error code distinct from zero > to signal about an internal problem. Current code instead of exiting with > the tool's error code returns the error code of 'echo "coccicheck

Re: [PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 4:50 AM Masahiro Yamada wrote: > The pin 327 was supposed to be used as a voltage control line for the > SD card regulator, but the SD card port1 does not support UHS-I. It > only supports 3.3V signaling, hence this pin is pointless. > > Just a note about the background.

[PATCH 0/3] arm64: dts: sdm845: Add RPMh-regulators and usb

2018-08-10 Thread Douglas Anderson
This series adds device tree nodes for the RPMh regulators and USB. These patches are based on patches in various downstream kernels from Manu Gautam, David Collins, and Vivek Gautam. This series was tested on SDM845-MTP (with no-AC firmware) atop Andy Gross's current "for-next" branch at

Re: [PATCH 3/3] mm/memory_hotplug: Cleanup unregister_mem_sect_under_nodes

2018-08-10 Thread Andrew Morton
On Fri, 10 Aug 2018 17:29:31 +0200 osalva...@techadventures.net wrote: > From: Oscar Salvador > > With the assumption that the relationship between > memory_block <-> node is 1:1, we can refactor this function a bit. > > This assumption is being taken from register_mem_sect_under_node() >

[PATCH v3] checkpatch: DT bindings should be a separate patch

2018-08-10 Thread Rob Herring
Devicetree bindings should be their own patch as documented in Documentation/devicetree/bindings/submitting-patches.txt section I.1. This is because bindings are logically independent from a driver implementation, they have a different maintainer (even though they often are applied via the same

[PATCH 0/5] Miscellaneous fixes/enhancements

2018-08-10 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes/enhancements. K. Y. Srinivasan (1): Tools: hv: Fix a bug in the key delete code Michael Kelley (1): Drivers: hv: vmbus: Fix synic per-cpu context initialization Stephen Hemminger (3): vmbus: add driver_override support uio_hv_generic:

[PATCH 5/5] Drivers: hv: vmbus: Fix synic per-cpu context initialization

2018-08-10 Thread kys
From: Michael Kelley If hv_synic_alloc() errors out, the state of the per-cpu context for some CPUs is unknown since the zero'ing is done as each CPU is iterated over. In such case, hv_synic_cleanup() may try to free memory based on uninitialized values. Fix this by zero'ing the per-cpu

[PATCH 1/5] Tools: hv: Fix a bug in the key delete code

2018-08-10 Thread kys
From: "K. Y. Srinivasan" Fix a bug in the key delete code - the num_records range from 0 to num_records-1. Signed-off-by: K. Y. Srinivasan Reported-by: David Binderman Cc: --- tools/hv/hv_kvp_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] uio_hv_generic: drop #ifdef DEBUG

2018-08-10 Thread kys
From: Stephen Hemminger DEBUG is leftover from the development phase, remove it. Signed-off-by: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/uio/uio_hv_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/uio/uio_hv_generic.c b/drivers/uio/uio_hv_generic.c

[PATCH 3/5] uio_hv_generic: increase size of receive and send buffers

2018-08-10 Thread kys
From: Stephen Hemminger When using DPDK there is significant performance boost by using the largest possible send and receive buffer area. Unfortunately, with UIO model there is not a good way to configure this at run time. But it is okay to have a bigger buffer available even if application

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Atish Patra
On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before 'irqreturn_t' irqreturn_t (*handle_irq)(int irq_num, void *dev);

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > and the feedback I got from Jason was: > > "I wonder if it is worth creating this when the first file is > opened.. Lots of systems have TPMs but few use the userspace.." > > so I changed this to allocate the WQ on first open. I think it

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: > On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: > >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: > >>This would be necessary to make non-SMP builds work, but there is > >>another error in the

Re: [PATCH v3 1/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_security.c

2018-08-10 Thread Dan Carpenter
On Fri, Aug 10, 2018 at 08:21:23PM +0200, Michael Straube wrote: > On 08/10/18 13:31, Dan Carpenter wrote: > > No no... I only gave it a Reviewed-by tag because I didn't want you to > > resend again... :P > > Ah, sorry. So I shouldn't have added the tag? > Should I remove it again? I guess

Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new

[Regression] libata: sata_down_spd_limit should return if driver has not recorded sstatus speed

2018-08-10 Thread Joseph Salisbury
Hi David, A kernel bug report was opened against Ubuntu [0].  This bug is a regression introduced in v4.15-rc4.  The following commit was identified as the cause of the regression:     2dc0b46b5ea3 ("libata: sata_down_spd_limit should return if driver has not recorded sstatus speed") I was

Re: [PATCH 1/3] pinctrl: madera: Set is_generic

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 11:32 AM Richard Fitzgerald wrote: > We are using the generic pin configuration interface so > we can set is_generic. > > Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij For these patches. This is not yet in my tree, but I can apply this and the others after

[PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-10 Thread Douglas Anderson
From: Manu Gautam This adds nodes for USB and related PHYs. Signed-off-by: Manu Gautam [dianders: reworked quite a bit] Signed-off-by: Douglas Anderson --- Changes in v2: - Use "0x784000" for qfprom rather than "0x78" as per docs. - Add calibration for 2nd USB port too

[PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-10 Thread Douglas Anderson
Add regulator devices for PMIC regulators managed via VRM and XOB RPMh accelerators. A few notes here: - Regulators are added directly to the board file. While it's true that this will mean a bunch of copy/pasting for other boards that are very similar to MTP, this is probably the right call

[PATCH v1] dd: Invoke one probe retry cycle after some initcall levels

2018-08-10 Thread Rishabh Bhatnagar
Drivers that are registered at an initcall level may have to wait until late_init before the probe deferral mechanism can retry their probe functions. It is possible that their dependencies were resolved much earlier, in some cases even before the next initcall level. Invoke one probe retry cycle

[PATCH 3/3] arm64: dts: qcom: sdm845-mtp: Add nodes for USB

2018-08-10 Thread Douglas Anderson
Set the various nodes to "okay" and hook up the regulators. NOTE: For now the main USB port (the one that goes out the Type C connector) is forced to host. Eventually someone will need to get the Type C detection hooked up and get this all integrated with the PMI8998 PMIC. The reason for

[PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-10 Thread Kim Phillips
The auxtrace init variable 'err' was not being initialized, leading perf to abort early in an SPE record command when there was no explicit error, rather only based whatever memory contents were on the stack. Initialize it explicitly on getting an SPE successfully, the same way cs-etm does.

Re: [PATCH v1 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-10 Thread vnkgutta
On 2018-08-10 10:23, Evan Green wrote: On Wed, Aug 1, 2018 at 1:34 PM Venkata Narendra Kumar Gutta wrote: From: Channagoud Kadabi Add error reporting driver for SBEs and DBEs. As of now, this driver supports erp for Last Level Cache Controller (LLCC). This driver takes care of dumping

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:42PM +0300, Stefan Popa wrote: > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > Three-Axis Digital Accelerometer. > > The device is probed and configured the with some initial default > values. With this basic driver, it is possible

[PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-10 Thread Michael Jin
Add support for ECC error decoding for F17h M11h (Great Horned Owl) processors. Signed-off-by: Michael Jin --- drivers/edac/amd64_edac.c | 14 ++ drivers/edac/amd64_edac.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 09:57:03 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 9, 2018 at 12:29 AM Palmer Dabbelt wrote: On Wed, 08 Aug 2018 16:32:07 PDT (-0700), robh...@kernel.org wrote: > On Wed, Aug 8, 2018 at 1:38 PM Palmer Dabbelt wrote: >> >> On Wed, 08 Aug 2018 07:16:14 PDT (-0700),

[PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-10 Thread Craig Tatlor
Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 +

Re: [PATCH] pinctrl: samsung: Remove duplicated "wakeup" in printk

2018-08-10 Thread Linus Walleij
On Mon, Aug 6, 2018 at 6:33 PM Krzysztof Kozlowski wrote: > Double "wakeup" appears in printed message. > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

[PATCH 2/5] vmbus: add driver_override support

2018-08-10 Thread kys
From: Stephen Hemminger Add support for overriding the default driver for a VMBus device in the same way that it can be done for PCI devices. This patch adds the /sys/bus/vmbus/devices/.../driver_override file and the logic for matching. This is used by driverctl tool to do driver override.

Re: [PATCH v3] checkpatch: DT bindings should be a separate patch

2018-08-10 Thread Joe Perches
On Fri, 2018-08-10 at 16:50 -0600, Rob Herring wrote: > Devicetree bindings should be their own patch as documented in > Documentation/devicetree/bindings/submitting-patches.txt section I.1. > This is because bindings are logically independent from a driver > implementation, they have a different

Re: [PATCH v3 7/7] firmware: coreboot: Request table region for exclusive access

2018-08-10 Thread Stephen Boyd
Quoting Stephen Boyd (2018-08-09 19:54:27) > What's with the top posting? ;-) > > Quoting Julius Werner (2018-08-09 16:44:43) > > Actually, looking at what IO_STRICT_DEVMEM really does, would it > > really prevent userspace accesses to these areas? Because it seems > > that it only prevents

general protection fault in finish_task_switch (2)

2018-08-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8c8399e0a3fb Add linux-next specific files for 20180806 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16c6b8e240 kernel config: https://syzkaller.appspot.com/x/.config?x=1b6bc1781e49e93e

Re: [PATCH RESEND RFC 1/4] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-10 Thread Stephen Boyd
Quoting Marc Zyngier (2018-08-10 00:45:12) > On Thu, 09 Aug 2018 18:30:53 +0100, > Stephen Boyd wrote: > > > > Quoting Marc Zyngier (2018-08-07 23:26:32) > > > > > > Level interrupts should be taken care of without doing anything, by the > > > very nature of being a level signal. > > > >

[PATCH 3/3] mm/memory_hotplug: Cleanup unregister_mem_sect_under_nodes

2018-08-10 Thread osalvador
From: Oscar Salvador With the assumption that the relationship between memory_block <-> node is 1:1, we can refactor this function a bit. This assumption is being taken from register_mem_sect_under_node() code. register_mem_sect_under_node() takes the mem_blk's nid, and compares it to the

[PATCH 2/3] mm/memory_hotplug: Drop unneeded check from unregister_mem_sect_under_nodes

2018-08-10 Thread osalvador
From: Oscar Salvador Before calling to unregister_mem_sect_under_nodes(), remove_memory_section() already checks if we got a valid memory_block. No need to check that again in unregister_mem_sect_under_nodes(). Signed-off-by: Oscar Salvador --- drivers/base/node.c | 4 1 file changed, 4

[PATCH 1/3] mm/memory_hotplug: Drop unused args from remove_memory_section

2018-08-10 Thread osalvador
From: Oscar Salvador unregister_memory_section() calls remove_memory_section() with three arguments: * node_id * section * phys_device Neither node_id nor phys_device are used. Let us drop them from the function. Signed-off-by: Oscar Salvador --- drivers/base/memory.c | 5 ++--- 1 file

[PATCH 0/3] Refactor/cleanup for remove_memory_section/unregister_mem_sect_under_nodes

2018-08-10 Thread osalvador
From: Oscar Salvador This patchset is about cleaning up/refactoring a few functions from the memory-hotplug code. The first and the second patch are pretty straightforward, as they only remove unused arguments/checks. The third one change the layout of the unregister_mem_sect_under_nodes a bit.

[PATCH 0/4] Add support to register platform service IRQ

2018-08-10 Thread Bharat Kumar Gogada
Some platforms have dedicated IRQ lines for PCIe services like AER/PME etc. The root complex on these platform will use these seperate IRQ lines to report AER/PME etc., interrupts and will not generate MSI/MSI-X/INTx interrupts for these services. These patches will add new method for these kind

[PATCH 1/4] PCI: Add setup_platform_service_irq hook to struct pci_host_bridge

2018-08-10 Thread Bharat Kumar Gogada
Add setup_platform_service_irq hook to struct pci_host_bridge. Some platforms have dedicated interrupt line from root complex to interrupt controller for PCIe services like AER/PME etc. This hook is to register platform IRQ's to PCIe port services. Signed-off-by: Bharat Kumar Gogada ---

[PATCH 4/4] PCI: xilinx-nwl: Add method to setup_platform_service_irq hook

2018-08-10 Thread Bharat Kumar Gogada
Add nwl_setup_service_irqs hook to setup_platform_service_irq IRQs to register platform provided IRQ number to kernel AER service. Signed-off-by: Bharat Kumar Gogada --- drivers/pci/controller/pcie-xilinx-nwl.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff

[PATCH 3/4] PCI/portdrv: Check platform supported service IRQ's

2018-08-10 Thread Bharat Kumar Gogada
Platforms may have dedicated IRQ lines for PCIe services like AER/PME etc., check for such IRQ lines. Check mask and fill legacy irq line for services other than platform supported service IRQ number. Signed-off-by: Bharat Kumar Gogada --- drivers/pci/pcie/portdrv_core.c | 19

[PATCH 2/4] PCI: Add pci_check_platform_service_irqs

2018-08-10 Thread Bharat Kumar Gogada
Adding method pci_check_platform_service_irqs to check if platform has registered method to proivde dedicated IRQ lines for PCIe services like AER/PME etc. Signed-off-by: Bharat Kumar Gogada --- include/linux/pci.h | 24 1 files changed, 24 insertions(+), 0

Re: [PATCH v8 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-10 Thread Tony Krowiak
On 08/10/2018 04:49 AM, Cornelia Huck wrote: On Thu, 9 Aug 2018 12:06:56 -0400 Tony Krowiak wrote: On 08/09/2018 05:17 AM, Harald Freudenberger wrote: On 09.08.2018 11:06, Cornelia Huck wrote: On Wed, 8 Aug 2018 10:44:14 -0400 Tony Krowiak wrote: From: Harald Freudenberger Move all

[PATCH 2/3] arm64: implement live patching

2018-08-10 Thread Torsten Duwe
Based on ftrace with regs, do the usual thing. Also allocate a task flag for whatever consistency handling is implemented. Watch out for interactions with the graph tracer. This code has been compile-tested, but has not yet seen any heavy livepatching. Signed-off-by: Torsten Duwe diff --git

[PATCH 3/3] arm64: reliable stacktraces

2018-08-10 Thread Torsten Duwe
This is more an RFC in the original sense: is this basically the correct approach? (as I had to tweak the API a bit). In particular the code does not detect interrupts and exception frames, and does not yet check whether the code address is valid. The latter check would also have to be omitted

[PATCH v2] checkpatch: DT bindings should be a separate patch

2018-08-10 Thread Rob Herring
Devicetree bindings should be their own patch as documented in Documentation/devicetree/bindings/submitting-patches.txt section I.1. This is because bindings are logically independent from a driver implementation, they have a different maintainer (even though they often are applied via the same

Re: [RFC] serial: sc16is7xx: Use DT sub-nodes for UART ports

2018-08-10 Thread Rob Herring
On Fri, Aug 10, 2018 at 11:45 AM Andreas Färber wrote: > > Am 10.08.2018 um 19:34 schrieb Rob Herring: > > On Sun, Aug 5, 2018 at 5:27 PM Andreas Färber wrote: > >> > >> This is to allow using serdev. > >> > >> Signed-off-by: Andreas Färber > >> --- > >> drivers/tty/serial/sc16is7xx.c | 25

Re: [PATCH] coccicheck: return proper error code on check fail

2018-08-10 Thread Denis Efremov
> Do you mean that there is an error in the behavior of coccicheck or that > coccicheck finds an error in the source code? An error in the source code. Here is an example of how the patch changes the behavior of 'make coccicheck' (my comments after the ###): Current behavior: $ make M=mymodule

Re: [PATCH] coccicheck: return proper error code on check fail

2018-08-10 Thread Denis Efremov
My mistake. Initially, I thought that this line signals about errors in the code, but now I see that this is about the tool's internal error. However, this doesn't change the fact that coccicheck returns the improper error code. I will reformulate the commit message and send the v2 patch with the

Re: [PATCH v3 0/2] PCI: imx: Initial imx7d pm support

2018-08-10 Thread Lorenzo Pieralisi
On Fri, Aug 10, 2018 at 11:11:55AM +, Leonard Crestez wrote: [...] > This needs further clarification: without the reset patch this will > hang on imx7 suspend/resume but this is the current behavior anyway. > > Both patches are required for imx7 pci suspend and including them out > of

Re: mmotm 2018-08-09-20-10 uploaded (mtd/nand/raw/atmel/)

2018-08-10 Thread Randy Dunlap
On 08/09/2018 08:11 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2018-08-09-20-10 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of

Applied "regulator: dt-bindings: add QCOM RPMh regulator bindings" to the regulator tree

2018-08-10 Thread Mark Brown
The patch regulator: dt-bindings: add QCOM RPMh regulator bindings has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

  1   2   3   4   5   6   7   8   9   >