Re: [PATCH v11 perf, bpf-next 7/9] perf tools: synthesize PERF_RECORD_* for loaded BPF programs

2019-01-22 Thread Song Liu
> On Jan 22, 2019, at 11:15 AM, Jiri Olsa wrote: > > On Tue, Jan 22, 2019 at 06:38:56PM +, Song Liu wrote: > > SNIP > in perf_session__process_event, this happens right when processing buildids in 'perf record', and also in 'perf report', so that is something badly

Re: [PATCH v3 04/10] dt-bindings: soc: qcom: Add AOSS QMP binding

2019-01-22 Thread Bjorn Andersson
On Tue 22 Jan 11:04 PST 2019, Stephen Boyd wrote: > Quoting Bjorn Andersson (2019-01-21 21:51:06) > > Add binding for the QMP based side-channel communication mechanism to > > the AOSS, which is used to control resources not exposed through the > > RPMh interface. > > > > Reviewed-by: Rob

Re: [PATCH] regulator: qcom-smd: Batch up requests for disabled regulators

2019-01-22 Thread Jeffrey Hugo
Hi Bjorn, This seems intresting, but I'm not sure I fully understand it yet. On 1/22/2019 12:01 PM, Bjorn Andersson wrote: In some scenarios the early stages of the boot chain has configured regulators to be in a required state, but the later stages has skipped to inform the RPM about it's

Re: [PATCH 4.20 000/111] 4.20.4-stable review

2019-01-22 Thread Guenter Roeck
On Mon, Jan 21, 2019 at 02:41:54PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.20.4 release. > There are 111 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

Re: [PATCH v3 01/10] arm64: dts: qcom: sdm845: Update PIL region memory map

2019-01-22 Thread Bjorn Andersson
On Tue 22 Jan 10:58 PST 2019, Stephen Boyd wrote: > Quoting Bjorn Andersson (2019-01-21 21:51:03) > > @@ -103,10 +138,30 @@ > > no-map; > > }; > > > > + venus_mem: memory@9580 { > > + reg = <0 0x9580 0

Re: [PATCH 4.19 00/99] 4.19.17-stable review

2019-01-22 Thread Guenter Roeck
On Mon, Jan 21, 2019 at 02:47:52PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.17 release. > There are 99 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

Re: [PATCH 4.14 00/59] 4.14.95-stable review

2019-01-22 Thread Guenter Roeck
On Mon, Jan 21, 2019 at 02:43:25PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.95 release. > There are 59 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

Re: [PATCH 1/5] mips: cavium: no need to check return value of debugfs_create functions

2019-01-22 Thread Paul Burton
Hello, On Tue, Jan 22, 2019 at 08:48:56PM +0200, Aaro Koskinen wrote: > On Tue, Jan 22, 2019 at 03:57:38PM +0100, Greg Kroah-Hartman wrote: > > -static int init_debufs(void) > > +static void init_debugfs(void) > > { > > - struct dentry *show_dentry; > > dir = debugfs_create_dir("oct_ilm",

Re: [PATCH] net: sun: cassini: Cleanup license conflict

2019-01-22 Thread David Miller
From: Thomas Gleixner Date: Fri, 18 Jan 2019 11:49:58 +0100 (CET) > The recent addition of SPDX license identifiers to the files in > drivers/net/ethernet/sun created a licensing conflict. > > The cassini driver files contain a proper license notice: > > * This program is free software; you

INFO: rcu detected stall in gc_worker

2019-01-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:133bbb18ab1a virtio-net: per-queue RPS config git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16c98130c0 kernel config: https://syzkaller.appspot.com/x/.config?x=8a4dffabfb4e36f9 dashboard link:

Re: ipmi_msghandler crashes in 4.19

2019-01-22 Thread Ivan Babrou
We're going to try this, but crashes are really infrequent and our stack is slightly different: * We have RIP = __srcu_read_unlock on x86_64 * Patch mentions PC = __srcu_read_lock on aarch64 On Wed, Jan 16, 2019 at 7:49 AM Greg KH wrote: > > On Tue, Jan 15, 2019 at 10:36:42AM -0800, Ivan

Re: [PATCH v11 perf, bpf-next 7/9] perf tools: synthesize PERF_RECORD_* for loaded BPF programs

2019-01-22 Thread Jiri Olsa
On Tue, Jan 22, 2019 at 06:38:56PM +, Song Liu wrote: SNIP > >> in perf_session__process_event, this happens right when processing > >> buildids in 'perf record', and also in 'perf report', so that is > >> something badly synthesized that hits perf.data for PERF_RECORD_KSYMBOL. > > > > it's

Re: [PATCH] drm/armada: add mmp2 support

2019-01-22 Thread Russell King - ARM Linux admin
On Mon, Jan 21, 2019 at 07:03:49AM +0100, Lubomir Rintel wrote: > Heavily based on the Armada 510 (Dove) support. Like with 510 support, this > also just supports a single source clock -- the "Display 1" clock as > generated by the APMU. This one was chosen because the OLPC XO 1.75 laptop > uses

Re: [PATCH v3 04/10] dt-bindings: soc: qcom: Add AOSS QMP binding

2019-01-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-01-21 21:51:06) > Add binding for the QMP based side-channel communication mechanism to > the AOSS, which is used to control resources not exposed through the > RPMh interface. > > Reviewed-by: Rob Herring > Reviewed-by: Stephen Boyd > Signed-off-by: Bjorn

Re: [PATCH] drm/armada: replace the simple-framebuffer

2019-01-22 Thread Russell King - ARM Linux admin
On Mon, Jan 21, 2019 at 07:01:57AM +0100, Lubomir Rintel wrote: > If there's a simple-framebuffer carried over from boot firmware, it's going > to stop working once we setup the LCDC for use via DRM. Kick it off from > the hardware. Applied, thanks. > > Signed-off-by: Lubomir Rintel > --- >

[PATCH] PCI: Probe bridge window attributes once at enumeration-time

2019-01-22 Thread Bjorn Helgaas
From: Bjorn Helgaas pci_bridge_check_ranges() determines whether a bridge supports the optional I/O and prefetchable memory windows and sets the flag bits in the bridge resources. This *could* be done once during enumeration except that the resource allocation code completely clears the flag

[PATCH-next] reset: brcmstb: make it explicitly non-modular

2019-01-22 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/reset/Kconfig: bool "Broadcom STB reset controller" if COMPILE_TEST drivers/reset/Kconfig: default ARCH_BRCMSTB ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of

[PATCH] regulator: qcom-smd: Batch up requests for disabled regulators

2019-01-22 Thread Bjorn Andersson
In some scenarios the early stages of the boot chain has configured regulators to be in a required state, but the later stages has skipped to inform the RPM about it's requirements. But as the SMD RPM regulators are being initialized voltage change requests will be issued to align the voltage

Re: [PATCH] drm/msm/dpu: Convert to a chained irq chip

2019-01-22 Thread Sean Paul
On Thu, Jan 03, 2019 at 11:06:02AM -0800, Stephen Boyd wrote: > Devices that make up DPU, i.e. graphics card, request their interrupts > from this "virtual" interrupt chip. The interrupt chip builds upon a GIC > SPI interrupt that raises high when any of the interrupts in the DPU's > irq status

Re: [PATCH] RISC-V: Add _TIF_NEED_RESCHED check for kernel thread when CONFIG_PREEMPT=y

2019-01-22 Thread Palmer Dabbelt
On Wed, 02 Jan 2019 21:45:55 PST (-0800), li...@roeck-us.net wrote: On Thu, Jan 03, 2019 at 11:32:33AM +0800, Vincent Chen wrote: The cond_resched() can be used to yield the CPU resource if CONFIG_PREEMPT is not defined. Otherwise, cond_resched() is a dummy function. In order to avoid kernel

Re: [PATCH v3] PCI: avoid bridge feature re-probing on hotplug

2019-01-22 Thread Bjorn Helgaas
On Tue, Jan 22, 2019 at 05:31:10AM +, xuyandong wrote: > Hi Bjorn and Michael > > After trying to reproduce the problem for a whole day, the bug did not show up > any more. So I think the new patch does solve this problem. Thank you very much for testing this! I'd like to give you the

Re: [PATCH v3 01/10] arm64: dts: qcom: sdm845: Update PIL region memory map

2019-01-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-01-21 21:51:03) > @@ -103,10 +138,30 @@ > no-map; > }; > > + venus_mem: memory@9580 { > + reg = <0 0x9580 0 0x50>; > + no-map; > + }; > + > +

Re: [GIT PULL] HID fixes

2019-01-22 Thread pr-tracker-bot
The pull request you sent on Tue, 22 Jan 2019 10:46:24 +0100 (CET): > git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/787a3b4322763284a594a5dd3680508c0bfb20b0 Thank you! -- Deet-doot-dot, I am a

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

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 06:12:31PM +0100, Andreas Färber wrote: > Am 22.01.19 um 17:56 schrieb Paul Gortmaker: > > [[PATCH v7 1/6] fieldbus_dev: add Fieldbus Device subsystem.] On 22/01/2019 > > (Tue 10:21) Sven Van Asbroeck wrote: > > > >> Fieldbus device (client) adapters allow data exchange

Re: [PATCH v5 4/8] ASoC: wcd9335: add basic controls

2019-01-22 Thread Mark Brown
On Thu, Jan 10, 2019 at 03:06:12PM +, Srinivas Kandagatla wrote: > +static const char * const wcd9335_ear_pa_gain_text[] = { > + "G_6_DB", "G_4P5_DB", "G_3_DB", "G_1P5_DB", > + "G_0_DB", "G_M2P5_DB", "UNDEFINED", "G_M12_DB" > +}; Gains should be controlled with Volume controls, not

Re: possible deadlock in shmem_fallocate (2)

2019-01-22 Thread Joel Fernandes
On Tue, Jan 22, 2019 at 04:40:57PM +0100, Dmitry Vyukov wrote: > On Tue, Jan 22, 2019 at 4:34 PM Joel Fernandes wrote: > > > > On Tue, Jan 22, 2019 at 02:59:29PM +0100, Dmitry Vyukov wrote: > > > On Fri, Aug 10, 2018 at 6:18 PM Matthew Wilcox > > > wrote: > > > > > > > > > > > > This is another

Re: [PATCH 1/5] mips: cavium: no need to check return value of debugfs_create functions

2019-01-22 Thread Aaro Koskinen
Hi, On Tue, Jan 22, 2019 at 03:57:38PM +0100, Greg Kroah-Hartman wrote: > -static int init_debufs(void) > +static void init_debugfs(void) > { > - struct dentry *show_dentry; > dir = debugfs_create_dir("oct_ilm", 0); > - if (!dir) { > - pr_err("oct_ilm: failed to create

Re: [PATCH 10/13] arm64: dts: qcom: qcs404: Add HFPLL node

2019-01-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-01-16 22:38:04) > On Mon 17 Dec 11:39 PST 2018, Stephen Boyd wrote: > > > Quoting Jorge Ramirez-Ortiz (2018-12-17 01:46:27) > > > The high frequency pll functionality is required to enable CPU > > > frequency scaling operation. > > > > > > Co-developed-by: Niklas

Re: [PATCH] dma: debug: no need to check return value of debugfs_create functions

2019-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2019 at 06:44:38PM +, Robin Murphy wrote: > Hi Greg, > > On 22/01/2019 15:21, Greg Kroah-Hartman wrote: > > When calling debugfs functions, there is no need to ever check the > > return value. The function can work or not, but the code logic should > > never do something

Re: [PATCH 08/13] clk: qcom: hfpll: CLK_IGNORE_UNUSED

2019-01-22 Thread Stephen Boyd
Quoting Jorge Ramirez (2019-01-17 02:46:21) > On 1/17/19 11:08, Viresh Kumar wrote: > > On 17-01-19, 09:38, Jorge Ramirez wrote: > >> COMMON_CLK_DISABLED_UNUSED relies on the enable_count reference counter > >> to disable the clocks that were enabled by the firwmare and not by the > >> drivers. >

[PATCH] stable-kernel-rules.rst: add link to networking patch queue

2019-01-22 Thread Greg Kroah-Hartman
The networking maintainer keeps a public list of the patches being queued up for the next round of stable releases. Be sure to check there before asking for a patch to be applied so that you do not waste people's time. Signed-off-by: Greg Kroah-Hartman Acked-by: David S. Miller --- Jon, I can

Re: [PATCH] backing-dev: no need to check return value of debugfs_create functions

2019-01-22 Thread Qian Cai
On 1/22/19 1:33 PM, Greg Kroah-Hartman wrote: > On Tue, Jan 22, 2019 at 06:19:08PM +0100, Sebastian Andrzej Siewior wrote: >> On 2019-01-22 17:25:03 [+0100], Greg Kroah-Hartman wrote: > } > > static void bdi_debug_unregister(struct backing_dev_info *bdi) > { > -

Re: [PATCH v11 perf, bpf-next 7/9] perf tools: synthesize PERF_RECORD_* for loaded BPF programs

2019-01-22 Thread Song Liu
> On Jan 22, 2019, at 7:21 AM, Jiri Olsa wrote: > > On Tue, Jan 22, 2019 at 12:58:05PM -0200, Arnaldo Carvalho de Melo wrote: >> Em Tue, Jan 22, 2019 at 03:51:19PM +0100, Jiri Olsa escreveu: >>> On Tue, Jan 22, 2019 at 12:31:17PM -0200, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 22,

Re: [PATCH] dma: debug: no need to check return value of debugfs_create functions

2019-01-22 Thread Robin Murphy
Hi Greg, On 22/01/2019 15:21, Greg Kroah-Hartman wrote: When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Also delete the variables for the file dentries for the

Re: [PATCH v2] PM / EM: Expose the Energy Model in debugfs

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 04:42:47PM +, Quentin Perret wrote: > The recently introduced Energy Model (EM) framework manages power cost > tables of CPUs. These tables are currently only visible from kernel > space. However, in order to debug the behaviour of subsystems that use > the EM (EAS for

Re: [PATCH v5 2/8] ASoC: wcd9335: add support to wcd9335 codec

2019-01-22 Thread Mark Brown
On Thu, Jan 10, 2019 at 03:06:10PM +, Srinivas Kandagatla wrote: This all looks good apart from a couple of small things that should be easy to fix: > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > index 62bdb7e333b8..1c4904940621 100644 > --- a/sound/soc/codecs/Kconfig >

RE: [PATCH] Drivers: hv: vmbus: Add mutex lock to channel show functions

2019-01-22 Thread Dexuan Cui
> From: Kimberly Brown > Sent: Monday, January 21, 2019 10:43 PM > > > @@ -1421,7 +1422,10 @@ static ssize_t vmbus_chan_attr_show(struct > > > kobject *kobj, > > > if (chan->state != CHANNEL_OPENED_STATE) > > > return -EINVAL; > > > > > > - return attribute->show(chan, buf); > > > +

Re: [PATCH] kvm: no need to check return value of debugfs_create functions

2019-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2019 at 09:29:07AM -0800, Sean Christopherson wrote: > On Tue, Jan 22, 2019 at 09:21:02AM -0800, Sean Christopherson wrote: > > On Tue, Jan 22, 2019 at 04:21:50PM +0100, Greg Kroah-Hartman wrote: > > > When calling debugfs functions, there is no need to ever check the > > > return

[driver-core PATCH v10 8/9] libnvdimm: Schedule device registration on node local to the device

2019-01-22 Thread Alexander Duyck
Force the device registration for nvdimm devices to be closer to the actual device. This is achieved by using either the NUMA node ID of the region, or of the parent. By doing this we can have everything above the region based on the region, and everything below the region based on the nvdimm bus.

[driver-core PATCH v10 3/9] driver core: Probe devices asynchronously instead of the driver

2019-01-22 Thread Alexander Duyck
Probe devices asynchronously instead of the driver. This results in us seeing the same behavior if the device is registered before the driver or after. This way we can avoid serializing the initialization should the driver not be loaded until after the devices have already been added. The

[driver-core PATCH v10 2/9] device core: Consolidate locking and unlocking of parent and device

2019-01-22 Thread Alexander Duyck
Try to consolidate all of the locking and unlocking of both the parent and device when attaching or removing a driver from a given device. To do that I first consolidated the lock pattern into two functions __device_driver_lock and __device_driver_unlock. After doing that I then created functions

[driver-core PATCH v10 7/9] PM core: Use new async_schedule_dev command

2019-01-22 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

[driver-core PATCH v10 9/9] driver core: Rewrite test_async_driver_probe to cover serialization and NUMA affinity

2019-01-22 Thread Alexander Duyck
The current async_probe test code is only testing one device allocated prior to driver load and only loading one device afterwards. Instead of doing things this way it makes much more sense to load one device per CPU in order to actually stress the async infrastructure. By doing this we should see

[driver-core PATCH v10 6/9] driver core: Attach devices on CPU local to device node

2019-01-22 Thread Alexander Duyck
Call the asynchronous probe routines on a CPU local to the device node. By doing this we should be able to improve our initialization time significantly as we can avoid having to access the device from a remote node which may introduce higher latency. For example, in the case of initializing

[driver-core PATCH v10 4/9] workqueue: Provide queue_work_node to queue work near a given NUMA node

2019-01-22 Thread Alexander Duyck
Provide a new function, queue_work_node, which is meant to schedule work on a "random" CPU of the requested NUMA node. The main motivation for this is to help assist asynchronous init to better improve boot times for devices that are local to a specific node. For now we just default to the first

Re: [PATCH net-next 02/12] net: hns3: add rx multicast packets statistic

2019-01-22 Thread Eric Dumazet
On 01/22/2019 08:39 AM, Huazhong Tan wrote: > From: Jian Shen > > This patch adds rx multicast packets statistic for each ring. > > Signed-off-by: Jian Shen > Signed-off-by: Peng Li > Signed-off-by: Huazhong Tan > --- > drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 9 + >

[driver-core PATCH v10 5/9] async: Add support for queueing on specific NUMA node

2019-01-22 Thread Alexander Duyck
Introduce four new variants of the async_schedule_ functions that allow scheduling on a specific NUMA node. The first two functions are async_schedule_near and async_schedule_near_domain end up mapping to async_schedule and async_schedule_domain, but provide NUMA node specific functionality. They

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

2019-01-22 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

[driver-core PATCH v10 1/9] driver core: Establish order of operations for device_add and device_del via bitflag

2019-01-22 Thread Alexander Duyck
Add an additional bit flag to the device_private struct named "dead". This additional flag provides a guarantee that when a device_del is executed on a given interface an async worker will not attempt to attach the driver following the earlier device_del call. Previously this guarantee was not

Re: [PATCH v1 2/8] dt-bindings: phy: qcom-ufs: Add resets property

2019-01-22 Thread Evan Green
On Wed, Jan 16, 2019 at 1:29 PM Stephen Boyd wrote: > > Quoting Evan Green (2019-01-11 15:01:23) > > diff --git a/Documentation/devicetree/bindings/ufs/ufs-qcom.txt > > b/Documentation/devicetree/bindings/ufs/ufs-qcom.txt > > index 21d9a93db2e97..985f5e99ab332 100644 > > ---

Re: [PATCH] backing-dev: no need to check return value of debugfs_create functions

2019-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2019 at 06:19:08PM +0100, Sebastian Andrzej Siewior wrote: > On 2019-01-22 17:25:03 [+0100], Greg Kroah-Hartman wrote: > > > > } > > > > > > > > static void bdi_debug_unregister(struct backing_dev_info *bdi) > > > > { > > > > - debugfs_remove(bdi->debug_stats); > > > > -

Verificação de e-mail

2019-01-22 Thread Administração de Webmail
Notificação de email do Web Admin Esta mensagem é do nosso centro de mensagens do Web Admin para todos os nossos proprietários de contas de e-mail. Estamos eliminando o acesso a todos os nossos clientes de webmail. Sua conta de e-mail será atualizada para uma interface de usuário de webmail

Re: Getting weird TPM error after rebasing my tree to security/next-general

2019-01-22 Thread Linus Torvalds
On Wed, Jan 23, 2019 at 2:29 AM Jarkko Sakkinen wrote: > > > > > > > Fails on commit 170d13ca3a2fdaaa0283399247631b76b441cca2. Still works on > > > preceding commit a959dc88f9c8900296ccf13e2f3e1cbc555a8917. > > > > This changes the IO access pattern in memcpy_to/fromio.. Presumably > > CRB HW

Verificação de e-mail

2019-01-22 Thread Administração de Webmail
Notificação de email do Web Admin Esta mensagem é do nosso centro de mensagens do Web Admin para todos os nossos proprietários de contas de e-mail. Estamos eliminando o acesso a todos os nossos clientes de webmail. Sua conta de e-mail será atualizada para uma interface de usuário de webmail

general protection fault in __bfs (2)

2019-01-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:133bbb18ab1a virtio-net: per-queue RPS config git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=130be6cf40 kernel config: https://syzkaller.appspot.com/x/.config?x=8a4dffabfb4e36f9 dashboard link:

Re: [PATCH v3 0/2] rtc: Add a driver for Cadence RTC

2019-01-22 Thread Alexandre Belloni
On 22/01/2019 10:42:14+, Jan Kotas wrote: > This patchset adds a driver support for Cadence RTC IP. > It supports time, date and wakeups from sleep. > > Changes since v2: > Fixed a typo in the bindings documentation. > > Changes since v1: > Added devm_rtc_allocate_device before

Re: [PATCH v2 8/9] arm64: dts: sdm845: wireup the thermal trip points to cpufreq

2019-01-22 Thread Matthias Kaehlcke
On Mon, Jan 21, 2019 at 11:40:45PM +0530, Amit Kucheria wrote: > On Tue, Jan 15, 2019 at 3:31 AM Matthias Kaehlcke wrote: > > > > On Mon, Jan 14, 2019 at 03:51:10PM +0530, Amit Kucheria wrote: > > > Since all cpus in the big and little clusters, respectively, are in the > > > same frequency

Re: [PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-22 Thread Patrick Bellasi
On 22-Jan 18:13, Peter Zijlstra wrote: > On Tue, Jan 15, 2019 at 10:15:05AM +, Patrick Bellasi wrote: > > @@ -342,11 +350,24 @@ static void sugov_iowait_boost(struct sugov_cpu > > *sg_cpu, u64 time, > > return; > > sg_cpu->iowait_boost_pending = true; > > > > + /* > > +

Re: [RFC PATCH v1 13/13] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-01-22 Thread Matti Vaittinen
On Tue, Jan 22, 2019 at 09:40:56AM -0800, Guenter Roeck wrote: > On Tue, Jan 22, 2019 at 07:10:23PM +0200, Matti Vaittinen wrote: > > On Tue, Jan 22, 2019 at 07:47:50AM -0800, Guenter Roeck wrote: > > > On Tue, Jan 22, 2019 at 11:48:36AM +0200, Matti Vaittinen wrote: > > > > Initial support for

RE: [PATCH 3/7] scsi: fnic: no need to check return value of debugfs_create functions

2019-01-22 Thread Satish Kharat (satishkh)
Looks good to me. Acked-by: Satish Kharat Satish Kharat TECHNICAL LEADER.ENGINEERING satis...@cisco.com -Original Message- From: Greg Kroah-Hartman Sent: Tuesday, January 22, 2019 7:09 AM To: James Bottomley ; Martin Petersen Cc: linux-kernel@vger.kernel.org;

Re: [PATCH v1 3/8] arm64: dts: sdm845: Add UFS PHY reset

2019-01-22 Thread Evan Green
On Mon, Jan 21, 2019 at 4:25 PM Rob Herring wrote: > > On Fri, Jan 11, 2019 at 03:01:24PM -0800, Evan Green wrote: > > Wire up the reset controller in the Qcom UFS controller for the PHY. > > This will be used to toggle PHY reset during initialization of the PHY. > > > > Signed-off-by: Evan Green

[PATCH v2 2/7] coresight: perf: Add "sinks" group to PMU directory

2019-01-22 Thread Mathieu Poirier
Add a "sinks" directory entry so that users can see all the sinks available in the system in a single place. Individual sink are added as they are registered with the coresight bus. Signed-off-by: Mathieu Poirier --- .../hwtracing/coresight/coresight-etm-perf.c | 76 +++

[PATCH v2 4/7] perf pmu: Moving EVENT_SOURCE_DEVICE_PATH to PMU header file

2019-01-22 Thread Mathieu Poirier
Moving definition of EVENT_SOURCE_DEVICE_PATH to pmu.h so that it can be used by other files than pmu.c Signed-off-by: Mathieu Poirier --- tools/perf/util/pmu.c | 2 -- tools/perf/util/pmu.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/pmu.c

[PATCH v2 7/7] perf tools: Remove PMU::set_drv_config API

2019-01-22 Thread Mathieu Poirier
CoreSight was the only client of the PMU's set_drv_config() API. Now that it is no longer needed by CoreSight remove it from the code base. Signed-off-by: Mathieu Poirier --- tools/perf/builtin-record.c | 10 - tools/perf/builtin-stat.c | 9 tools/perf/builtin-top.c | 13

[PATCH v2 1/7] perf/aux: Make perf_event accessible to setup_aux()

2019-01-22 Thread Mathieu Poirier
When pmu::setup_aux() is called the coresight PMU needs to know which sink to use for the session by looking up the information in the event's attr::config2 field. As such simply replace the cpu information by the complete perf_event structure and change all affected customers. Signed-off-by:

[PATCH v2 5/7] perf tools: Use event attributes to send sink information to kernel

2019-01-22 Thread Mathieu Poirier
The communication of sink information for a trace session doesn't work when more than one CPU is involved in the scenario due to the static nature of sysfs. As such communicate the sink information to each event by using the perf_event::attr:config2 attribute. The information sent to the kernel

[PATCH v2 3/7] coresight: Use event attributes for sink selection

2019-01-22 Thread Mathieu Poirier
This patch uses the information conveyed by perf_event::attr::config2 to select a sink to use for the session. That way a sink can easily be selected to be used by more than one source, something that isn't currently possible with the sysfs implementation. Signed-off-by: Mathieu Poirier ---

[PATCH v2 6/7] perf tools: Removing CoreSight set_drv_config() API

2019-01-22 Thread Mathieu Poirier
Now that event's config2 attribute is used to communicate sink selection to the kernel, remove the old set_drv_config() implementation since it is no longer needed. Signed-off-by: Mathieu Poirier --- tools/perf/arch/arm/util/cs-etm.c | 54 ---

[PATCH v2 0/7] perf: Communicate sink via event::attr:config2

2019-01-22 Thread Mathieu Poirier
This is the second revision of a patchset allowing multiple sources to select the same sink for a session which is a prerequisite for the support of CoreSight CPU-wide trace scenarios. The sink ID is communicated to the kernel by way of the event's configuration attribute (event::attr:config2).

{GIT PULL] Kselftest update for Linux 5.0-rc4

2019-01-22 Thread shuah
Hi Linus, Please pull the following Kselftest update for Linux 5.0-rc4 This Kselftest update for Linux 5.0-rc4 consists of fixes to rtc, seccomp and other tests. diff is attached. thanks, -- Shuah The following changes since

Re: [PATCH v3 6/6] dt-bindings: gnss: add lna-supply property

2019-01-22 Thread Johan Hovold
On Wed, Jan 16, 2019 at 10:18:12PM +0100, Andreas Kemnade wrote: > Add lna-supply property. > > Signed-off-by: Andreas Kemnade > --- > Changes in v3: > - moved to gnss.txt > > Documentation/devicetree/bindings/gnss/gnss.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[PATCH v2 lora-next 0/4] net: lora: Add documentation for SX130x and SX125x parts

2019-01-22 Thread Ben Whitten
Hello, This series adds documentation for the SX130x and SX125x chips. We are using the yaml binding format and this series builds with 'make dt_binding_check'. Thanks, Ben Whitten Ben Whitten (4): dt-bindings: lora: sx130x: add basic documentation dt-bindings: lora: sx125x: add basic

[PATCH v2 lora-next 1/4] dt-bindings: lora: sx130x: add basic documentation

2019-01-22 Thread Ben Whitten
From: Ben Whitten Add basic documentation in YAML format for the SX130x series concentrators from Semtech. Required is; the location on the SPI bus and the compatible string. Signed-off-by: Ben Whitten --- v1 -> v2: * Dropped reset-gpios, radio-spi from required. * Dropped spi-max-frequency

[PATCH v2 lora-next 2/4] dt-bindings: lora: sx125x: add basic documentation

2019-01-22 Thread Ben Whitten
From: Ben Whitten The SX125x family are IQ radio transceivers from Semtech configured over SPI, they are typically connected to an SX130x series concentrator however may be connected to a host directly. Required properties include the radio number of the host or concentrator bus.

[PATCH v2 lora-next 3/4] dt-bindings: lora: sx125x: add clock bindings

2019-01-22 Thread Ben Whitten
From: Ben Whitten The SX125x consumes a clock (FXOSC) ranging from 32 to 36 MHz. If the radio is coupled with an SX130x the radio is therefor operating in master mode and it may also provide a gated version of this clock for the concentrator. In this case the concentrator is expecting a 32 MHz

[PATCH v2 lora-next 4/4] dt-bindings: lora: sx130x: add clock bindings

2019-01-22 Thread Ben Whitten
From: Ben Whitten The SX130x family consumes two clocks, a 32 MHz clock provided by a connected IQ transceiver, and a 133 MHz high speed clock. In the example we connect the concentrator to a fixed clock providing the 133 MHz high speed clock, and we connect to a connected transceiver 32 MHz

Re: [PATCH] rtc: cmos: ignore bogus century byte

2019-01-22 Thread Alexandre Belloni
On 06/01/2019 08:21:03+, Eric Wong wrote: > Older versions of Libreboot and Coreboot had an invalid value > (`3' in my case) in the century byte affecting the GM45 in > the Thinkpad X200. Not everybody's updated their firmwares, > and Linux <= 4.2 was able to read the RTC without problems, >

Re: [PATCH] rtc: fix a missing check of block data read

2019-01-22 Thread Alexandre Belloni
On 25/12/2018 21:09:11-0600, Kangjie Lu wrote: > When i2c_smbus_read_i2c_block_data() fails, the read data in "buf" could > be incorrect and should not be used. The fix checks if > i2c_smbus_read_i2c_block_data fails, and if so, return its error code > upstream. > > Signed-off-by: Kangjie Lu >

Re: [PATCH v3 5/6] gnss: sirf: add a separate supply for a lna

2019-01-22 Thread Johan Hovold
On Wed, Jan 16, 2019 at 10:18:11PM +0100, Andreas Kemnade wrote: > Devices might have a separate lna between antenna input of the gps > chip and the antenna which might have a separate supply. > > Signed-off-by: Andreas Kemnade > --- > Changes in v3: > - improved error checking > - style

Re: [PATCH] rtc: fix a missing check of clk_prepare

2019-01-22 Thread Alexandre Belloni
On 25/12/2018 20:43:33-0600, Kangjie Lu wrote: > clk_prepare() could fail, so let's check its status and if it fails > return its error code upstream. > > Signed-off-by: Kangjie Lu > --- > drivers/rtc/rtc-coh901331.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > Applied,

Re: [PATCH v3 0/6] add quartz load support to NXP rtc drivers

2019-01-22 Thread Alexandre Belloni
On 19/01/2019 10:00:25+0100, Sam Ravnborg wrote: > Respin of patchset on top of v5.0-rc2 with feedback addressed (thanks!) > > Introduce a new generic property "quartz-load-femtofarad" > to specify the quartz load. > The default value is selected to match the current Linux > drivers, so there are

Re: [PATCH v1] iommu/s390: Declare s390 iommu reserved regions

2019-01-22 Thread Alex Williamson
On Mon, 21 Jan 2019 12:51:14 +0100 Pierre Morel wrote: > On 18/01/2019 14:51, Jean-Philippe Brucker wrote: > > Hi Pierre, > > > > On 18/01/2019 13:29, Pierre Morel wrote: > >> On 17/01/2019 14:02, Robin Murphy wrote: > >>> On 15/01/2019 17:37, Pierre Morel wrote: > The s390 iommu can

[PATCH 3/3] ARM: dts: Configure clock parent for pwm vibra

2019-01-22 Thread Tony Lindgren
Commit 84badc5ec5fc ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc") moved some omap4 timers to probe with ti-sysc interconnect target module. Turns out this broke pwm-omap-dmtimer for reparenting of the timer clock. With ti-sysc, we can now configure the clock sources in the

[PATCH 1/3] clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting

2019-01-22 Thread Tony Lindgren
Commit 84badc5ec5fc ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc") moved some omap4 timers to probe with ti-sysc interconnect target module. Turns out this broke pwm-omap-dmtimer where we now try to reparent the clock to itself with the following:

[PATCH 2/3] bus: ti-sysc: Fix timer handling with drop pm_runtime_irq_safe()

2019-01-22 Thread Tony Lindgren
Commit 84badc5ec5fc ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc") started producing a warning for pwm-omap-dmtimer: WARNING: CPU: 0 PID: 77 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x2f8/0x388 4400.ocp:L3 Custom Error: MASTER MPU TARGET L4PER2 (Idle): Data

[PATCH 0/3] pwm-omap-dmtimer regression fixes

2019-01-22 Thread Tony Lindgren
Hi all, The Pyra handheld PWM LCD regression in v5.0-rc1 reported by Nikolaus goes back to v4.19 for pwm-omap-dmtimer. Here are patches against v4.19 to fix the issue that also makes pwm-vibra working again for droid 4. Regards, Tony Tony Lindgren (3): clocksource: timer-ti-dm: Fix pwm

Re: [PATCH v3 3/6] gnss: sirf: add support for configurations without wakeup signal

2019-01-22 Thread Johan Hovold
On Wed, Jan 16, 2019 at 10:18:09PM +0100, Andreas Kemnade wrote: > Some Wi2Wi devices do not have a wakeup output, so device state can > only be indirectly detected by looking whether there is communitcation communication > over the serial lines. > This approach requires a report cycle set to a

[PATCH v5 4/4] perf record: implement --affinity=node|cpu option

2019-01-22 Thread Alexey Budankov
Implement --affinity=node|cpu option for the record mode defaulting to system affinity mask bouncing. Signed-off-by: Alexey Budankov --- Changes in v5: - reduced indentation at record__parse_affinity() Changes in v3: - adjusted indentation at record__parse_affinity() ---

[PATCH v5 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-22 Thread Alexey Budankov
Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov --- Changes in v5: - avoided multiple allocations of online cpu maps by implementing it once in cpu_map__online()

Re: [PATCH 1/3] drivers: base: Add frequency constraint infrastructure

2019-01-22 Thread Matthias Kaehlcke
On Tue, Jan 22, 2019 at 12:39:36PM +0530, Viresh Kumar wrote: > On 18-01-19, 14:45, Matthias Kaehlcke wrote: > > On Fri, Jan 18, 2019 at 03:32:34PM +0530, Viresh Kumar wrote: > > > On 17-01-19, 17:03, Matthias Kaehlcke wrote: > > > > On Fri, Jan 11, 2019 at 02:48:34PM +0530, Viresh Kumar wrote: >

[PATCH v5 2/4] perf record: bind the AIO user space buffers to nodes

2019-01-22 Thread Alexey Budankov
Allocate and bind AIO user space buffers to the memory nodes that mmap kernel buffers are bound to. Signed-off-by: Alexey Budankov --- Changes in v4: - fixed compilation issue converting pr_warn() to pr_warning() - implemented stop if mbind() fails Changes in v3: - corrected code style issues

Re: [PATCH] opp: no need to check return value of debugfs_create functions

2019-01-22 Thread Rafael J. Wysocki
On Tue, Jan 22, 2019 at 4:28 PM Greg Kroah-Hartman wrote: > > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Viresh Kumar > Cc: Nishanth Menon > Cc:

[PATCH v5 1/4] perf record: allocate affinity masks

2019-01-22 Thread Alexey Budankov
Allocate affinity option and masks for mmap data buffers and record thread as well as initialize allocated objects. Signed-off-by: Alexey Budankov --- Changes in v3: - converted PERF_AFFINITY_EOF to PERF_AFFINITY_MAX Changes in v2: - made debug affinity mode message user friendly - converted

[PATCH v5 0/4] Reduce NUMA related overhead in perf record profiling on large server systems

2019-01-22 Thread Alexey Budankov
It has been observed that trace reading thread runs on the same hw thread most of the time during perf record sampling collection. This scheduling layout leads up to 30% profiling overhead in case when some cpu intensive workload fully utilizes a large server system with NUMA. Overhead usually

Re: [PATCH 5/8] infiniband: mlx5: no need to check return value of debugfs_create functions

2019-01-22 Thread Leon Romanovsky
On Tue, Jan 22, 2019 at 04:17:57PM +0100, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Leon Romanovsky > Cc: Doug

Re: [RFC PATCH v1 13/13] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-01-22 Thread Guenter Roeck
On Tue, Jan 22, 2019 at 07:10:23PM +0200, Matti Vaittinen wrote: > On Tue, Jan 22, 2019 at 07:47:50AM -0800, Guenter Roeck wrote: > > On Tue, Jan 22, 2019 at 11:48:36AM +0200, Matti Vaittinen wrote: > > > Initial support for watchdog block included in ROHM BD70528 > > > power management IC. > > >

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-22 Thread Sumit Semwal
Hello everyone, Sincere apologies for chiming in a bit late here, but was off due to some health issues. Also, adding Daniel Vetter to the mix, since he has been one of the core guys who shaped up dma-buf as it is today. On Tue, 22 Jan 2019 at 02:51, Andrew F. Davis wrote: On 1/21/19 5:22

DONATION

2019-01-22 Thread cfonturportuguesa
$1,000,000.00 dollars has been donated to you by Maureen David Kaltschmidt who won the Powerball Jackpot of $758.7 million Dollars. Contact her via Email: maureendavidkaltschmidt...@gmail.com for more details

Re: [PATCH v9 1/3] watchdog: introduce watchdog.open_timeout commandline parameter

2019-01-22 Thread Guenter Roeck
On Mon, Jan 21, 2019 at 08:45:39PM +, Rasmus Villemoes wrote: > The watchdog framework takes care of feeding a hardware watchdog until > userspace opens /dev/watchdogN. If that never happens for some reason > (buggy init script, corrupt root filesystem or whatnot) but the kernel > itself is

Re: [PATCH] mm: no need to check return value of debugfs_create functions

2019-01-22 Thread Michal Hocko
On Tue 22-01-19 17:27:49, Greg KH wrote: > On Tue, Jan 22, 2019 at 05:07:01PM +0100, Michal Hocko wrote: [...] > > sounds like a poor design goal to me but not mine code to maintain so... > > The design goal was to make it as simple as possible to use, and that > includes "you do not care about

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