Re: [PATCH v1 5/6] KEYS: measure queued keys

2019-10-23 Thread Mimi Zohar
On Tue, 2019-10-22 at 17:18 -0700, Lakshmi Ramasubramanian wrote: > Call process_buffer_measurement to measure keys that > are added and updated in the system. This patch description doesn't describe what the patch actually does (eg. it not only calls process_buffer_measurement, but defines the

Re: [PATCH 15/36] ARM: s3c: adc: move header to linux/soc/samsung

2019-10-23 Thread Arnd Bergmann
On Wed, Oct 23, 2019 at 2:41 PM Krzysztof Kozlowski wrote: > > diff --git a/arch/arm/plat-samsung/include/plat/adc.h > > b/include/linux/soc/samsung/s3c-adc.h > > similarity index 100% > > rename from arch/arm/plat-samsung/include/plat/adc.h > > rename to include/linux/soc/samsung/s3c-adc.h > >

Re: [PATCH v6] taskstats: fix data-race

2019-10-23 Thread Christian Brauner
On Wed, Oct 23, 2019 at 02:39:55PM +0200, Dmitry Vyukov wrote: > On Wed, Oct 23, 2019 at 2:16 PM Andrea Parri wrote: > > > > On Mon, Oct 21, 2019 at 01:33:27PM +0200, Christian Brauner wrote: > > > When assiging and testing taskstats in taskstats_exit() there's a race > > > when writing and

Re: [PATCH v4] coresight: Serialize enabling/disabling a link device.

2019-10-23 Thread Suzuki K Poulose
On 10/18/2019 07:14 PM, Yabin Cui wrote: When tracing etm data of multiple threads on multiple cpus through perf interface, some link devices are shared between paths of different cpus. It creates race conditions when different cpus wants to enable/disable the same link device at the same time.

Re: [PATCH v3 3/5] perf report: Sort by sampled cycles percent per block for stdio

2019-10-23 Thread Jin, Yao
On 10/23/2019 7:36 PM, Jiri Olsa wrote: On Tue, Oct 22, 2019 at 04:07:08PM +0800, Jin Yao wrote: SNIP diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 43d1d410854a..eb286700a8a9 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c @@ -492,6 +492,10 @@ struct

Re: [PATCH v6 1/2] dt-bindings: edac: arm-dmc520.txt

2019-10-23 Thread James Morse
Hi Lei, On 21/10/2019 18:36, Lei Wang wrote: >> It looks like your patches didn't make it to the mailing list: >> https://lore.kernel.org/r/by5pr04mb6599eaa659a53b2331cb812586...@by5pr04mb6599.namprd04.prod.outlook.com >> >> You can search on https://lore.kernel.org/linux-edac/, I can only see

Re: [PATCH RFC 2/2] irqchip/gic: Allow the use of SGI interrupts

2019-10-23 Thread Marc Zyngier
Hi Florian, Needless to say, I mostly have questions... On 2019-10-23 01:05, Florian Fainelli wrote: SGI interrupts are a convenient way for trusted firmware to target a specific set of CPUs. Update the ARM GIC code to allow the translation and mapping of SGI interrupts. Since the kernel

Re: [PATCH v1 3/6] KEYS: ima hook to measure builtin_trusted_keys

2019-10-23 Thread Mimi Zohar
On Tue, 2019-10-22 at 17:18 -0700, Lakshmi Ramasubramanian wrote: > Add a new ima hook to measure keys added to builtin_trusted_keys > keyring. There is no IMA hook in this patch. > > Updated ima_match_rules function to handle the new ima hook. > This is used to determine if ima policy requires

20 of your incoming messages has been suspended

2019-10-23 Thread Nussbaum Susanne
MICROSOFT URGENT NOTICE 20 of your incoming messages has been suspended because your email box account needs to be verify now.Do click on the verify below to verify your email box account now. VERIFY Microsoft Verification Team Copyright © 2019 Microsoft

Re: [PATCH 4.4 1/2] x86/vdso: Remove direct HPET mapping into userspace

2019-10-23 Thread Konstantin Khlebnikov
On 23/10/2019 15.07, Konstantin Khlebnikov wrote: commit 1ed95e52d902035e39a715ff3a314a893a96e5b7 upstream. Commit d96d87834d5b870402a4a5b565706a4869ebc020 in v4.4.190 which is backport of upstream commit 1ed95e52d902035e39a715ff3a314a893a96e5b7 removed only HPET access from vdso but leaved

Re: [PATCH v6] taskstats: fix data-race

2019-10-23 Thread Dmitry Vyukov
On Wed, Oct 23, 2019 at 3:11 PM Christian Brauner wrote: > > On Wed, Oct 23, 2019 at 02:39:55PM +0200, Dmitry Vyukov wrote: > > On Wed, Oct 23, 2019 at 2:16 PM Andrea Parri wrote: > > > > > > On Mon, Oct 21, 2019 at 01:33:27PM +0200, Christian Brauner wrote: > > > > When assiging and testing

[PATCH V5 3/6] mdev: introduce device specific ops

2019-10-23 Thread Jason Wang
Currently, except for the create and remove, the rest of mdev_parent_ops is designed for vfio-mdev driver only and may not help for kernel mdev driver. With the help of class id, this patch introduces device specific callbacks inside mdev_device structure. This allows different set of callback to

Re: [PATCH v2 1/1] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-10-23 Thread mika.westerb...@linux.intel.com
On Wed, Oct 23, 2019 at 12:12:29PM +, Nicholas Johnson wrote: > Add kernel parameter pci=hpmmiosize=nn[KMG] to set MMIO bridge window > size for hotplug bridges. > > Add kernel parameter pci=hpmmioprefsize=nn[KMG] to set MMIO_PREF bridge > window size for hotplug bridges. > > Leave

Re: [PATCH] drm/virtio: print a single line with device features

2019-10-23 Thread Jani Nikula
On Tue, 22 Oct 2019, Daniel Vetter wrote: > On Fri, Oct 18, 2019 at 01:38:32PM +0200, Gerd Hoffmann wrote: >> Signed-off-by: Gerd Hoffmann >> --- >> drivers/gpu/drm/virtio/virtgpu_kms.c | 9 - >> 1 file changed, 4 insertions(+), 5 deletions(-) >> >> diff --git

Re: [PATCH 11/36] ARM: s5pv210: split from plat-samsung

2019-10-23 Thread Arnd Bergmann
On Wed, Oct 23, 2019 at 2:15 PM Krzysztof Kozlowski wrote: > On Thu, Oct 10, 2019 at 10:29:55PM +0200, Arnd Bergmann wrote: > > These can be build completely independently, so split > > the two Kconfig symbols. > > config DEBUG_S3C_UART0 > > - depends on PLAT_SAMSUNG ||

[PATCH V5 1/6] mdev: class id support

2019-10-23 Thread Jason Wang
Mdev bus only supports vfio driver right now, so it doesn't implement match method. But in the future, we may add drivers other than vfio, the first driver could be virtio-mdev. This means we need to add device class id support in bus match method to pair the mdev device and mdev driver correctly.

Re: [RFC PATCH 2/2] mm, vmstat: reduce zone->lock holding time by /proc/pagetypeinfo

2019-10-23 Thread Mel Gorman
On Wed, Oct 23, 2019 at 12:27:37PM +0200, Michal Hocko wrote: > From: Michal Hocko > > pagetypeinfo_showfree_print is called by zone->lock held in irq mode. > This is not really nice because it blocks both any interrupts on that > cpu and the page allocator. On large machines this might even

[PATCH v2] staging: sm750fb: format description of parameters the to kernel doc format

2019-10-23 Thread Gabriela Bittencourt
Cluster comments that describes parameters of functions and create one single comment before the function in kernel doc format. Signed-off-by: Gabriela Bittencourt --- Changes v2: - Add name of function at the begining of comment - Separate each parameter in individuals lines Here are the

Re: [RFC PATCH 1/2] mm, vmstat: hide /proc/pagetypeinfo from normal users

2019-10-23 Thread Mel Gorman
On Wed, Oct 23, 2019 at 12:27:36PM +0200, Michal Hocko wrote: > From: Michal Hocko > > /proc/pagetypeinfo is a debugging tool to examine internal page > allocator state wrt to fragmentation. It is not very useful for > any other use so normal users really do not need to read this file. > >

Re: [PATCH v3 3/5] perf report: Sort by sampled cycles percent per block for stdio

2019-10-23 Thread Jin, Yao
On 10/23/2019 7:36 PM, Jiri Olsa wrote: On Tue, Oct 22, 2019 at 04:07:08PM +0800, Jin Yao wrote: SNIP +static void get_block_hists(struct hists *hists, struct block_hist *bh, + struct report *rep) +{ + struct rb_node *next = rb_first_cached(>entries); +

[PATCH v4] string-choice: add yesno(), onoff(), enableddisabled(), plural() helpers

2019-10-23 Thread Jani Nikula
The kernel has plenty of ternary operators to choose between constant strings, such as condition ? "yes" : "no", as well as value == 1 ? "" : "s": $ git grep '? "yes" : "no"' | wc -l 258 $ git grep '? "on" : "off"' | wc -l 204 $ git grep '? "enabled" : "disabled"' | wc -l 196 $ git grep '? "" :

Re: [PATCH 10/36] ARM: s5pv210: use private pm save/restore

2019-10-23 Thread Arnd Bergmann
> > diff --git a/arch/arm/mach-s5pv210/regs-clock.h > > b/arch/arm/mach-s5pv210/regs-clock.h > > index 2a35c831a9b0..8c7530614e37 100644 > > --- a/arch/arm/mach-s5pv210/regs-clock.h > > +++ b/arch/arm/mach-s5pv210/regs-clock.h > > @@ -9,7 +9,7 @@ > > #ifndef __ASM_ARCH_REGS_CLOCK_H > > #define

[PATCH v2] staging: sm750fb: Format description of parameters the to kernel doc format

2019-10-23 Thread Gabriela Bittencourt
Cluster comments that describes parameters of functions and create one single comment before the function in kernel doc format. Signed-off-by: Gabriela Bittencourt --- Changes v2: - Add name of function at the begining of comment - Separate each parameter in individuals lines Here are the

Re: [PATCH v2 4/9] perf affinity: Add infrastructure to save/restore affinity

2019-10-23 Thread Andi Kleen
On Wed, Oct 23, 2019 at 11:59:11AM +0200, Jiri Olsa wrote: > On Sun, Oct 20, 2019 at 10:51:57AM -0700, Andi Kleen wrote: > > SNIP > > > +} > > diff --git a/tools/perf/util/affinity.h b/tools/perf/util/affinity.h > > new file mode 100644 > > index ..e56148607e33 > > --- /dev/null > >

[PATCH v2 01/14] dt-bindings: phy: Sierra: Add bindings for Sierra in TI's J721E

2019-10-23 Thread Kishon Vijay Abraham I
Add DT binding documentation for Sierra PHY IP used in TI's J721E SoC. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/phy-cadence-sierra.txt | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 0/5] Enable per-file/directory DAX operations

2019-10-23 Thread Boaz Harrosh
On 22/10/2019 14:21, Boaz Harrosh wrote: > On 20/10/2019 18:59, ira.we...@intel.com wrote: <> >> At LSF/MM we discussed the difficulties of switching the mode of a file with >> active mappings / page cache. Rather than solve those races the decision was >> to >> just limit mode flips to 0-length

[PATCH v2 14/14] phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC

2019-10-23 Thread Kishon Vijay Abraham I
Add support for WIZ module present in TI's J721E SoC. WIZ is a SERDES wrapper used to configure some of the input signals to the SERDES. It is used with both Sierra(16G) and Torrent(10G) SERDES. This driver configures three clock selects (pll0, pll1, dig), two divider clocks and supports resets

[PATCH v2 06/14] phy: cadence: Sierra: Modify register macro names to be in sync with Sierra user guide

2019-10-23 Thread Kishon Vijay Abraham I
No functional change. Modify register offset macro names to be in sync with Sierra user guide. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 173 --- 1 file changed, 87 insertions(+), 86 deletions(-) diff --git

[PATCH v2 12/14] phy: cadence: Sierra: Use correct dev pointer in cdns_sierra_phy_remove()

2019-10-23 Thread Kishon Vijay Abraham I
commit 44d30d622821d3b ("phy: cadence: Add driver for Sierra PHY"), incorrectly used parent device pointer to get driver data. Fix it here. Fixes: 44d30d622821d3b ("phy: cadence: Add driver for Sierra PHY") Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 2

[PATCH v2 13/14] dt-bindings: phy: Document WIZ (SERDES wrapper) bindings

2019-10-23 Thread Kishon Vijay Abraham I
Add DT binding documentation for WIZ (SERDES wrapper). WIZ is *NOT* a PHY but a wrapper used to configure some of the input signals to the SERDES. It is used with both Sierra(16G) and Torrent(10G) serdes. Signed-off-by: Kishon Vijay Abraham I [jsa...@ti.com: Add separate compatible for

[PATCH v2 02/14] phy: cadence: Sierra: Make "phy_clk" and "sierra_apb" optional resources

2019-10-23 Thread Kishon Vijay Abraham I
Certain platforms like TI J721E using Cadence Sierra Serdes doesn't provide explicit phy_clk and reset (APB reset) control. Make them optional here. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 3/3] perf kvm: Use evlist layer api when possible

2019-10-23 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 22, 2019 at 09:54:53PM -0400, Igor Lubashev escreveu: > No need for layer violations when a proper evlist api is available. Thanks, applied. - Arnaldo > Signed-off-by: Igor Lubashev > --- > tools/perf/builtin-kvm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[PATCH v2 09/14] phy: cadence: Sierra: Check for PLL lock during PHY power on

2019-10-23 Thread Kishon Vijay Abraham I
Check for PLL lock during PHY power on. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 33 +++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c

[PATCH v2 03/14] phy: cadence: Sierra: Use "regmap" for read and write to Sierra registers

2019-10-23 Thread Kishon Vijay Abraham I
Use "regmap" for read and write to Sierra registers. This is in perparation for adding SERDES_16G support present in TI's J721E SoC. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 289 ++- 1 file changed, 235 insertions(+), 54

[PATCH v2 04/14] phy: cadence: Sierra: Add support for SERDES_16G used in J721E SoC

2019-10-23 Thread Kishon Vijay Abraham I
SERDES_16G in TI's J721E SoC uses Cadence Sierra PHY. Add support to use Cadence Sierra driver in J721E SoC. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

Re: [PATCH v2 9/9] perf stat: Use affinity for enabling/disabling events

2019-10-23 Thread Andi Kleen
On Wed, Oct 23, 2019 at 12:30:48PM +0200, Jiri Olsa wrote: > On Sun, Oct 20, 2019 at 10:52:02AM -0700, Andi Kleen wrote: > > SNIP > > > > > void evlist__enable(struct evlist *evlist) > > { > > struct evsel *pos; > > + struct affinity affinity; > > + struct perf_cpu_map *cpus; > > +

[PATCH v2 05/14] phy: cadence: Sierra: Make cdns_sierra_phy_init() as phy_ops

2019-10-23 Thread Kishon Vijay Abraham I
Instead of invoking cdns_sierra_phy_init() from probe, add it in phy_ops so that it's initialized when the PHY consumer invokes phy_init() Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-)

Re: [PATCH v3 2/4] pinctrl: meson: add a new dt parse callback for Meson-A series SoCs

2019-10-23 Thread Jerome Brunet
On Wed 23 Oct 2019 at 14:33, Qianggui Song wrote: > On 2019/10/23 17:01, Jerome Brunet wrote: >> >> On Mon 14 Oct 2019 at 12:54, Qianggui Song wrote: >> >>> >>> diff --git a/drivers/pinctrl/meson/pinctrl-meson.c >>> b/drivers/pinctrl/meson/pinctrl-meson.c >>> index

[PATCH v2 11/14] phy: cadence: Sierra: Set cmn_refclk/cmn_refclk1 frequency to 25MHz

2019-10-23 Thread Kishon Vijay Abraham I
Set cmn_refclk/cmn_refclk1 frequency to 25MHz as specified in "Common Module Clock Configurations" of the Cadence Sierra 16FFC Multi-Protocol PHYPMA Specification. It is set to 25MHz since the only user of Cadence Sierra SERDES, TI J721E SoC provides input clock frequency of 100MHz. For other

[PATCH v2 10/14] phy: cadence: Sierra: Change MAX_LANES of Sierra to 16

2019-10-23 Thread Kishon Vijay Abraham I
Sierra SERDES IP supports upto 16 lanes (though not all of it will be enabled in a platform). Allow Sierra driver to support a maximum of upto 16 lanes. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 22 +- 1 file changed, 21

[PATCH v2 07/14] phy: cadence: Sierra: Configure both lane cdb and common cdb registers for external SSC

2019-10-23 Thread Kishon Vijay Abraham I
From: Anil Varughese The existing configuration done in Cadence Sierra driver is only for reference and is not used in any platforms. Remove them and configure both lane cdb and common cdb registers to be used with external SSC configuration. This is validated in TI J721E platform.

[PATCH v2 00/14] PHY: Add support for SERDES in TI's J721E SoC

2019-10-23 Thread Kishon Vijay Abraham I
TI's J721E SoC uses Cadence Sierra SERDES for USB, PCIe and SGMII. TI has a wrapper named WIZ to control input signals to Sierra and Torrent SERDES. This patch series: 1) Add support to WIZ module present in TI's J721E SoC 2) Adapt Cadence Sierra PHY driver to be used for J721E SoC Changes

Re: [PATCH v2 2/3] dt-bindings: phy: ti,phy-j721e-wiz: Add Type-C dir GPIO

2019-10-23 Thread Kishon Vijay Abraham I
Roger, On 23/10/19 2:19 PM, Roger Quadros wrote: > This is an optional GPIO, if specified will be used to > swap lane 0 and lane 1 based on GPIO status. This is required > to achieve plug flip support for USB Type-C. > > Type-C companions typically need some time after the cable is > plugged

[PATCH v2 08/14] phy: cadence: Sierra: Get reset control "array" for each link

2019-10-23 Thread Kishon Vijay Abraham I
A link may have multiple lanes each with a separate reset. Get reset control "array" in order to reset all the lanes associated with the link. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/8] Fix cdrom autoclose.

2019-10-23 Thread Michal Suchanek
Link: https://lore.kernel.org/lkml/cover.1513263482.git.msucha...@suse.de/ Hello, there is cdrom autoclose feature that is supposed to close the tray, wait for the disc to become ready, and then open the device. This used to work in ancient times. Then in old times there was a hack in

Re: [PATCH 21/36] ARM: s3c: move iis pinctrl config into boards

2019-10-23 Thread Krzysztof Kozlowski
On Thu, Oct 10, 2019 at 10:30:05PM +0200, Arnd Bergmann wrote: > The s3c_gpio_cfgall_range() function is an internal interface of > the samsung gpio driver and should not be called directly by drivers, > so move the iis pin initialization into the boards. > > Note that the s3c2412-i2s driver has

[PATCH] powerpc/85xx: remove mostly pointless mpc85xx_qe_init()

2019-10-23 Thread Rasmus Villemoes
Since commit 302c059f2e7b (QE: use subsys_initcall to init qe), mpc85xx_qe_init() has done nothing apart from possibly emitting a pr_err(). As part of reducing the amount of QE-related code in arch/powerpc/ (and eventually support QE on other architectures), remove this low-hanging fruit.

[PATCH 5/8] ARC: HAPS: cleanup defconfigs from unused ETH drivers

2019-10-23 Thread Eugeniy Paltsev
We have multiple vendors ethernet drivers enabled in haps_hs and haps_hs_smp defconfig. The only one we possibly require is VIRTIO_NET. So disable unused ones via disabling entire CONFIG_ETHERNET which controls all vendor-specific ethernet drivers. Signed-off-by: Eugeniy Paltsev ---

[PATCH 7/8] ARC: nSIM_700: switch to DW UART usage

2019-10-23 Thread Eugeniy Paltsev
Switch nsim_700_defconfig to dwuart for consistent uart settings for all nSIM configurations. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/nsim_700.dts | 20 +++- arch/arc/configs/nsim_700_defconfig | 8 ++-- 2 files changed, 17 insertions(+), 11 deletions(-)

[PATCH 4/8] ARC: HAPS: add HIGHMEM memory zone to DTS

2019-10-23 Thread Eugeniy Paltsev
This is required as a preparation of merging nSIM and HASP defonfig and device tree. As we have HIGHMEM disabled in both HAPS and nSIM defconfigs this doesn't lead to any functional change. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/haps_hs.dts | 13 - 1 file changed, 8

[PATCH 0/8] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-23 Thread Eugeniy Paltsev
Starting from nSIM 2019.06 is possible to use DW UART instead of ARC UART. That allows us to merge "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" with some minor changes. We eliminate nsim_hs_defconfig and nsim_hs_smp_defconfig and leave haps_hs_defconfig and haps_hs_smp_defconfig

[PATCH 8/8] ARC: nSIM_700: remove unused network options

2019-10-23 Thread Eugeniy Paltsev
We have snps,arc-emac enabled in nSIM_700. It's obsolete and it's not used anymore so remove its device tree node and disable unused network options in defconfig. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/nsim_700.dts | 16 arch/arc/configs/nsim_700_defconfig |

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-23 Thread Mike Rapoport
On Wed, Oct 23, 2019 at 10:29:20AM +0300, Cyrill Gorcunov wrote: > On Tue, Oct 22, 2019 at 09:11:04PM -0700, Andy Lutomirski wrote: > > Trying again. It looks like I used the wrong address for Pavel. > > Thanks for CC Andy! I must confess I didn't dive into userfaultfd engine > personally but

[PATCH 3/8] ARC: HAPS: use same UART configuration everywhere

2019-10-23 Thread Eugeniy Paltsev
For some reason we use ns8250 UART compatible on UP HAPS configuration and ns16550a (which is ns8250 with FIFO support) on SMP HAPS configuration. Given that we have same UART IP with same IP configuration on both HAPS configuration use ns16550a compatible everywhere. Signed-off-by: Eugeniy

[PATCH 2/8] ARC: HAPS: cleanup defconfigs from unused IO-related options

2019-10-23 Thread Eugeniy Paltsev
We don't have any peripherals on HAPS which may require FB or input_devices support. So get rid of them. Signed-off-by: Eugeniy Paltsev --- arch/arc/configs/haps_hs_defconfig | 9 +++-- arch/arc/configs/haps_hs_smp_defconfig | 9 +++-- 2 files changed, 6 insertions(+), 12

Re: [PATCH] Revert "Bluetooth: hci_ll: set operational frequency earlier"

2019-10-23 Thread Marcel Holtmann
Hi Adam, As nice as it would be to update firmware faster, that patch broke at least two different boards, an OMAP4+WL1285 based Motorola Droid 4, as reported by Sebasian Reichel and the Logic PD i.MX6Q + WL1837MOD. This reverts commit

[PATCH v2 6/8] bdev: add open_finish.

2019-10-23 Thread Michal Suchanek
Opening a block device may require a long operation such as waiting for the cdrom tray to close. Performing this operation with locks held locks out other attempts to open the device. These processes waiting to open the device are not killable. To avoid this issue and still be able to perform

[PATCH v2 8/8] scsi: sr: wait for the medium to become ready

2019-10-23 Thread Michal Suchanek
Use the autoclose IOCLT provided by cdrom driver to wait for drive to close in open_finish, and attempt to open once more after the door closes. Signed-off-by: Michal Suchanek --- drivers/scsi/sr.c | 54 --- 1 file changed, 42 insertions(+), 12

[PATCH v2 5/8] docs: cdrom: Add autoclose IOCTL

2019-10-23 Thread Michal Suchanek
This IOCTL will be used internally by the sr driver but there is no reason to not document it for userspace. Signed-off-by: Michal Suchanek --- Documentation/ioctl/cdrom.rst | 25 + 1 file changed, 25 insertions(+) diff --git a/Documentation/ioctl/cdrom.rst

Re: [PATCH v3 5/5] perf report: Sort by sampled cycles percent per block for tui

2019-10-23 Thread Jin, Yao
On 10/23/2019 7:36 PM, Jiri Olsa wrote: On Tue, Oct 22, 2019 at 04:07:10PM +0800, Jin Yao wrote: Previous patch has implemented a new sort option "total_cycles". But there was only stdio mode supported. This patch supports the tui mode and support '--percent-limit'. For example, perf

[PATCH 6/8] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-23 Thread Eugeniy Paltsev
Starting from nSIM 2019.06 is possible to use DW UART instead of ARC UART. That allows us to merge "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" with minor changes which were done in previous commits. We eliminate nsim_hs_defconfig and nsim_hs_smp_defconfig and leave

[tip: timers/urgent] timers/sched_clock: Include local timekeeping.h for missing declarations

2019-10-23 Thread tip-bot2 for Ben Dooks (Codethink)
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 086ee46b08634a999bcd1707eabe3b0dc1806674 Gitweb: https://git.kernel.org/tip/086ee46b08634a999bcd1707eabe3b0dc1806674 Author:Ben Dooks (Codethink) AuthorDate:Tue, 22 Oct 2019 14:12:26

[tip: timers/urgent] posix-cpu-timers: Fix two trivial comments

2019-10-23 Thread tip-bot2 for Yi Wang
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 7f2cbcbcafbca5360efbd175b3320852b8f7c637 Gitweb: https://git.kernel.org/tip/7f2cbcbcafbca5360efbd175b3320852b8f7c637 Author:Yi Wang AuthorDate:Mon, 21 Oct 2019 15:44:12 +08:00 Committer:

[tip: timers/urgent] lib/vdso: Make clock_getres() POSIX compliant again

2019-10-23 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 1638b8f096ca165965189b9626564c933c79fe63 Gitweb: https://git.kernel.org/tip/1638b8f096ca165965189b9626564c933c79fe63 Author:Thomas Gleixner AuthorDate:Mon, 21 Oct 2019 12:07:15 +02:00

Re: [PATCH v3 1/5] perf util: Cleanup and refactor block info functions

2019-10-23 Thread Jin, Yao
On 10/23/2019 7:37 PM, Jiri Olsa wrote: On Tue, Oct 22, 2019 at 04:07:06PM +0800, Jin Yao wrote: SNIP -static int filter_cb(struct hist_entry *he, void *arg __maybe_unused) -{ - /* Skip the calculation of column length in output_resort */ - he->filtered = true; -

Re: [PATCH 5/5] ARM: dts: qcom: msm8974: add interconnect nodes

2019-10-23 Thread Brian Masney
On Wed, Oct 23, 2019 at 02:50:19PM +0300, Georgi Djakov wrote: > On 13.10.19 г. 11:08 ч., Brian Masney wrote: > > Add interconnect nodes that's needed to support bus scaling. > > > > Signed-off-by: Brian Masney > > --- > > arch/arm/boot/dts/qcom-msm8974.dtsi | 60 + >

Re: [PATCH 03/36] usb: gadget: s3c: use platform resources

2019-10-23 Thread Krzysztof Kozlowski
On Thu, Oct 10, 2019 at 10:29:47PM +0200, Arnd Bergmann wrote: > The resources are correctly initialized, so just use them > instead of relying on hardcoded data from platform headers. Generic comment to all patches - you seem to break commit msg lines slightly too early. In certain cases it

Re: [PATCH 09/36] ARM: samsung: move pm check code to drivers/soc

2019-10-23 Thread Arnd Bergmann
On Wed, Oct 23, 2019 at 1:33 PM Krzysztof Kozlowski wrote: > > On Thu, Oct 10, 2019 at 10:29:53PM +0200, Arnd Bergmann wrote: > > This is the only part of plat-samsung that is really > > shared between the s3c and s5p ports. Moving it to > > drivers/soc/ lets us make them completely independent.

[PATCH 1/8] ARC: regenerate nSIM and HAPS defconfigs

2019-10-23 Thread Eugeniy Paltsev
No functional change intended. Signed-off-by: Eugeniy Paltsev --- arch/arc/configs/haps_hs_defconfig | 10 ++ arch/arc/configs/haps_hs_smp_defconfig | 12 +++- arch/arc/configs/nsim_700_defconfig| 7 ++- arch/arc/configs/nsim_hs_defconfig | 8 ++--

Re: [PATCH 08/36] ARM: exynos: stop selecting PLAT_SAMSUNG

2019-10-23 Thread Arnd Bergmann
On Wed, Oct 23, 2019 at 12:57 PM Krzysztof Kozlowski wrote: > On Thu, Oct 10, 2019 at 10:29:52PM +0200, Arnd Bergmann wrote: > > @@ -1022,7 +1022,7 @@ choice > > by the boot-loader before use. > > > > config DEBUG_S3C_UART2 > > - depends on PLAT_SAMSUNG > > +

Re: [PATCHv2 4/4] Bluetooth: btwilink: drop superseded driver

2019-10-23 Thread Marcel Holtmann
Hi Sebastian, > All users of this driver have been converted to the serdev based > hci_ll driver. The unused driver can be safely dropped now. > > Signed-off-by: Sebastian Reichel > --- > drivers/bluetooth/Kconfig| 11 -- > drivers/bluetooth/Makefile | 1 -

Re: [PATCH] mm/vmstat: Reduce zone lock hold time when reading /proc/pagetypeinfo

2019-10-23 Thread Qian Cai
> On Oct 23, 2019, at 5:56 AM, Mel Gorman wrote: > > Again, the cost is when reading a proc file. From what Andrew said, > the lock is necessary to safely walk the list but if anything. I would > be ok with limiting the length of the walk but honestly, I would also > be ok with simply

[PATCH 1/1] spi: mediatek: add power control when set_cs

2019-10-23 Thread Luhua Xu
From: "luhua.xu" Use runtime PM to power spi when set_cs As set_cs may be called from interrupt context, set runtime PM IRQ safe for spi. Signed-off-by: luhua.xu --- drivers/spi/spi-mt65xx.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/spi/spi-mt65xx.c

[PATCH] watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading

2019-10-23 Thread Matti Vaittinen
The bd70528 watchdog driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for watchdog is added. Fixes: bbc88a0ec9f37 ("watchdog: bd70528: Initial support for ROHM BD70528 watchdog block") Signed-off-by: Matti Vaittinen --- I'm not

[PATCH 0/1] Add spi power control when set cs

2019-10-23 Thread Luhua Xu
This patch add power control when set spi cs to fix register access violation. luhua.xu (1): spi: mediatek: add power control when set_cs drivers/spi/spi-mt65xx.c | 12 1 file changed, 12 insertions(+)

Re: [PATCH] mmc: block: remove unused variable

2019-10-23 Thread Ulf Hansson
On Tue, 22 Oct 2019 at 15:00, Sudip Mukherjee wrote: > > The use of 'status' was removed but the variable itself was not > removed and thus adding a build warning. > > Fixes: 05224f7e4975 ("mmc: block: Add CMD13 polling for MMC IOCTLS with R1B > response") > Signed-off-by: Sudip Mukherjee This

[PATCH v6 3/9] i2c: add support for filters optional properties

2019-10-23 Thread Eugen.Hristev
From: Eugen Hristev i2c-digital-filter-width-ns: This optional timing property specifies the width of the spikes on the i2c lines (in ns) that can be filtered out by built-in digital filters which are embedded in some i2c controllers. i2c-analog-filter-cutoff-frequency: This optional timing

Re: [PATCH v6] taskstats: fix data-race

2019-10-23 Thread Dmitry Vyukov
On Wed, Oct 23, 2019 at 2:16 PM Andrea Parri wrote: > > On Mon, Oct 21, 2019 at 01:33:27PM +0200, Christian Brauner wrote: > > When assiging and testing taskstats in taskstats_exit() there's a race > > when writing and reading sig->stats when a thread-group with more than > > one thread exits: >

Re: [PATCH] Revert "Bluetooth: hci_ll: set operational frequency earlier"

2019-10-23 Thread Adam Ford
On Thu, Oct 17, 2019 at 12:57 PM Adam Ford wrote: > > On Wed, Oct 16, 2019 at 1:36 PM Marcel Holtmann wrote: > > > > Hi Adam, > > > > > As nice as it would be to update firmware faster, that patch broke > > > at least two different boards, an OMAP4+WL1285 based Motorola Droid > > > 4, as

Re: [PATCH v2 5/9] perf tools: avoid a malloc for array events

2019-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 23, 2019 at 10:58:30AM +0200, Jiri Olsa escreveu: > On Tue, Oct 22, 2019 at 05:53:33PM -0700, Ian Rogers wrote: > > Use realloc rather than malloc+memcpy to possibly avoid a memory > > allocation when appending array elements. > > > > Signed-off-by: Ian Rogers > > Acked-by: Jiri

Re: [PATCH 07/36] ARM: exynos: use private samsung_cpu_id copy

2019-10-23 Thread Arnd Bergmann
On Wed, Oct 23, 2019 at 12:56 PM Krzysztof Kozlowski wrote: > On Thu, Oct 10, 2019 at 10:29:51PM +0200, Arnd Bergmann wrote: > > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c > > index 9aa483366ebc..da9300d655c6 100644 > > --- a/arch/arm/mach-exynos/exynos.c > > +++

Re: [PATCH 15/36] ARM: s3c: adc: move header to linux/soc/samsung

2019-10-23 Thread Krzysztof Kozlowski
On Thu, Oct 10, 2019 at 10:29:59PM +0200, Arnd Bergmann wrote: > There are multiple drivers using the private adc interface. > It seems unlikely that they would ever get converted to iio, > so make the current state official by making the header file > global. > > The s3c2410_ts driver needs a

Re: [PATCH v2 4/9] perf tools: move ALLOC_LIST into a function

2019-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 23, 2019 at 10:55:59AM +0200, Jiri Olsa escreveu: > On Tue, Oct 22, 2019 at 05:53:32PM -0700, Ian Rogers wrote: > > Having a YYABORT in a macro makes it hard to free memory for components > > of a rule. Separate the logic out. > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo

[PATCH] power: supply: bd70528: Add MODULE_ALIAS to allow module auto loading

2019-10-23 Thread Matti Vaittinen
The bd70528 charger driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for charger is added. Fixes: f8c7f7ddd8ef0 ("power: supply: Initial support for ROHM BD70528 PMIC charger block") Signed-off-by: Matti Vaittinen --- Not sure

Re: Module loading problem since 5.3

2019-10-23 Thread Luis Chamberlain
On Wed, Oct 23, 2019 at 11:49:40AM +0100, Matthias Maennich wrote: > On Fri, Oct 18, 2019 at 12:18:48PM +, Luis Chamberlain wrote: > > On Wed, Oct 16, 2019 at 02:37:10PM +0100, Matthias Maennich wrote: > > > On Wed, Oct 16, 2019 at 12:50:30PM +, Luis Chamberlain wrote: > > > > On Mon, Oct

Re: [PATCH 1/3] perf: Optimize perf_install_in_event()

2019-10-23 Thread Alexander Shishkin
Peter Zijlstra writes: > + /* > + * perf_event_attr::disabled events will not run and can be initialized > + * without IPI. Except when this is the first event for the context, in > + * that case we need the magic of the IPI to set ctx->is_active. > + * > + * The

Re: [PATCH v2] sched: rt: Make RT capacity aware

2019-10-23 Thread Qais Yousef
Adding some Android folks who might be interested. Steven/Peter, in case this has dropped off your queue; it'd be great to get some feedback when you get a chance to look at it. Thanks -- Qais Yousef On 10/09/19 11:46, Qais Yousef wrote: > Capacity Awareness refers to the fact that on

Re: [PATCH v3 2/4] pinctrl: meson: add a new dt parse callback for Meson-A series SoCs

2019-10-23 Thread Qianggui Song
On 2019/10/23 17:01, Jerome Brunet wrote: > > On Mon 14 Oct 2019 at 12:54, Qianggui Song wrote: > >> Meson A1 Soc share the same register layout of pinmux with previous >> Meson-G12A, however there is difference for gpio and pin config register >> in A1. The main difference is that registers

[patch V2 03/17] x86/traps: Remove pointless irq enable from do_spurious_interrupt_bug()

2019-10-23 Thread Thomas Gleixner
That function returns immediately after conditionally reenabling interrupts which is more than pointless and requires the ASM code to disable interrupts again. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/traps.c |1 - 1 file changed, 1 deletion(-) --- a/arch/x86/kernel/traps.c +++

[patch V2 02/17] x86/entry/64: Remove pointless jump in paranoid_exit

2019-10-23 Thread Thomas Gleixner
Jump directly to restore_regs_and_return_to_kernel instead of making a pointless extra jump through .Lparanoid_exit_restore Signed-off-by: Thomas Gleixner --- arch/x86/entry/entry_64.S |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/x86/entry/entry_64.S +++

[patch V2 04/17] x86/entry: Make DEBUG_ENTRY_ASSERT_IRQS_OFF available for 32bit

2019-10-23 Thread Thomas Gleixner
Move the interrupt state verification debug macro to common code and fixup the irqflags and paravirt components so it can be used in 32bit code later. Signed-off-by: Thomas Gleixner --- arch/x86/entry/calling.h| 12 arch/x86/entry/entry_64.S | 12

[patch V2 01/17] x86/entry/32: Remove unused resume_userspace label

2019-10-23 Thread Thomas Gleixner
The C reimplementation of SYSENTER left that unused ENTRY() label around. Remove it. Fixes: 5f310f739b4c ("x86/entry/32: Re-implement SYSENTER using the new C path") Originally-by: Peter Zijlstra Signed-off-by: Thomas Gleixner --- arch/x86/entry/entry_32.S |1 - 1 file changed, 1

[patch V2 05/17] x86/traps: Make interrupt enable/disable symmetric in C code

2019-10-23 Thread Thomas Gleixner
Traps enable interrupts conditionally but rely on the ASM return code to disable them again. That results in redundant interrupt disable and trace calls. Make the trap handlers disable interrupts before returning to avoid that, which allows simplification of the ASM entry code. Originally-by:

[patch V2 08/17] x86/entry: Move syscall irq tracing to C code

2019-10-23 Thread Thomas Gleixner
Interrupt state tracing can be safely done in C code. The few stack operations in assembly do not need to be covered. Remove the now pointless indirection via .Lsyscall_32_done and jump to swapgs_restore_regs_and_return_to_usermode directly. Signed-off-by: Thomas Gleixner ---

[patch V2 00/17] entry: Provide generic implementation for host and guest entry/exit work

2019-10-23 Thread Thomas Gleixner
When working on a way to move out the posix cpu timer expiry out of the timer interrupt context, I noticed that KVM is not handling pending task work before entering a guest. A quick hack was to add that to the x86 KVM handling loop. The discussion ended with a request to make this a generic

Re: [PATCH v2 1/8] kcsan: Add Kernel Concurrency Sanitizer infrastructure

2019-10-23 Thread Dmitry Vyukov
On Thu, Oct 17, 2019 at 4:13 PM Marco Elver wrote: > > Kernel Concurrency Sanitizer (KCSAN) is a dynamic data-race detector for > kernel space. KCSAN is a sampling watchpoint-based data-race detector. > See the included Documentation/dev-tools/kcsan.rst for more details. I think there is some

Re: [PATCH v2 0/3] phy: cadence: j721e-wiz: Add Type-C plug flip support

2019-10-23 Thread Jyri Sarha
On 23/10/2019 11:49, Roger Quadros wrote: > Hi, > > On J721e platform, the 2 lanes of SERDES PHY are used to achieve > USB Type-C plug flip support without any additional MUX component > by using a lane swap feature. > > However, the driver needs to know the Type-C plug orientation before > it

[patch V2 06/17] x86/entry/32: Remove redundant interrupt disable

2019-10-23 Thread Thomas Gleixner
Now that the trap handlers return with interrupts disabled, the unconditional disabling of interrupts in the low level entry code can be removed along with the trace calls and the misnomed preempt_stop macro. As a consequence ret_from_exception and ret_from_intr collapse. Add a debug check to

[patch V2 10/17] entry: Provide generic syscall entry functionality

2019-10-23 Thread Thomas Gleixner
From: Thomas Gleixner On syscall entry certain work needs to be done conditionally like tracing, seccomp etc. This code is duplicated in all architectures. Provide a generic version. Signed-off-by: Thomas Gleixner --- V2: Fix function documentation (Mike) Add comment about return value

[patch V2 15/17] x86/entry: Use generic exit to usermode

2019-10-23 Thread Thomas Gleixner
From: Thomas Gleixner Replace the x86 specific exit to usermode code with the generic implementation. Signed-off-by: Thomas Gleixner --- arch/x86/entry/common.c | 110 arch/x86/entry/entry_32.S |2 arch/x86/entry/entry_64.S

<    1   2   3   4   5   6   7   8   >