[PATCH 26/32] ARM: dts: omap3-gta04a5: fix whitepsace and tab style

2018-07-24 Thread H. Nikolaus Schaller
in node sound / property ti,jack-det-gpio. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index c01b4715fb83..d408eb05cdfa 1

[PATCH 29/32] ARM: dts: omap3-gta04a5: add support for ti,wl1837 module

2018-07-24 Thread H. Nikolaus Schaller
GTA04A5 uses a ti,wl1837 WiFi/Bluetooth module. Overwrite the mmc2 node and child. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 58 + 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/ar

[PATCH 31/32] ARM: dts: omap3-gta04a5: define pinmux for bluetooth enable of ti,wl1837 module

2018-07-24 Thread H. Nikolaus Schaller
Properly pinmux the bluetooth enable so that it is not floating. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index 973d07d0b4c8..bd

[PATCH 00/32] Device Tree Updates for GTA04 (A3/A4/A5 variants)

2018-07-24 Thread H. Nikolaus Schaller
We have not upstreamed significant improvements collected in the GTA04 vendor kernel tree for some years. The result is that distribution kernels derived from upstream (e.g. Debian) lag behind and miss significant features and fixes. H. Nikolaus Schaller (32): ARM: dts: omap3-gta04: fix typo in

[PATCH 30/32] ARM: dts: omap3-gta04a5: uses different sensors than gta04a4

2018-07-24 Thread H. Nikolaus Schaller
Sensors for acceleration, rotation, magnetic heading and barometer have been replaced in the A5 variant. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dt

[PATCH 06/32] ARM: dts: omap3-gta04: tvout: enable as display1 alias

2018-07-24 Thread H. Nikolaus Schaller
The omap dss susbystem takes the display aliases to find out which displays exist. To enable tv-out we must define an alias. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/a

Re: [PATCH 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845

2018-07-24 Thread Stephen Boyd
Quoting Amit Nischal (2018-07-12 05:30:21) > On 2018-07-09 11:45, Stephen Boyd wrote: > > Quoting Amit Nischal (2018-06-06 04:41:46) > >> To turn on the gpu_gx_gdsc, there is a hardware requirement to > >> turn on the root clock (GFX3D RCG) first which would be the turn > >> on signal for the gdsc

[PATCH 32/32] ARM: dts: omap3-gta04a5one: define GTA04A5 variant with OneNAND

2018-07-24 Thread H. Nikolaus Schaller
GTA04A5 has been produced with MCP chips either with 512MB RAM + 512MB NAND 512MB RAM + 1024MB NAND 1024MB RAM + 512MB OneNAND RAM setup is done by U-Boot (MLO/SPL) but OneNAND needs a different setup of the GPMC. So we need to derive a DTB variant that modifies the gpmc and nand setup. Signe

Re: [PATCH 7/7] arm64: dts: tegra210-p2597: Remove no-1-8-v from sdmmc1

2018-07-24 Thread Mikko Perttunen
Looks like patch 6 will probably cause tegra-sdhci to start advertising faster modes (see " if (!IS_ERR(host->mmc->supply.vqmmc))" in sdhci-tegra.c). With that patch and this, will the SDHCI core start to try putting us into these higher modes? Clearly that won't work yet before the upcoming pa

[PATCH 04/32] ARM: dts: omap3-gta04: fixes for tvout / venc

2018-07-24 Thread H. Nikolaus Schaller
* fix connector compatibility (composite) * add comment for gpio1 23 * fix port reg number * add proper #address-cells * we use only one venc_out channel * fix invert-polarity for the VENC since we have an inverting OPA362 Amplifier Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3

Re: [PATCH 4/4] mm: proc/pid/smaps_rollup: convert to single value seq_file

2018-07-24 Thread Vlastimil Babka
I moved the reply to this thread since the "added to -mm tree" notification Alexey replied to in <20180724182908.GD27053@avx2> has reduced CC list and is not linked to the patch postings. On 07/24/2018 08:29 PM, Alexey Dobriyan wrote: > On Mon, Jul 23, 2018 at 04:55:48PM -0700, a...@linux-foundati

Re: [PATCH 6/7] arm64: dts: tegra210-p2180: Correct sdmmc4 vqmmc-supply

2018-07-24 Thread Mikko Perttunen
Technically this shouldn't be required since VDD_1V8 is always on anyway, but I think it's nicer to specify regulators anyway, so +1! Reviewed-by: Mikko Perttunen On 20.07.2018 15:45, Aapo Vienamo wrote: On p2180 sdmmc4 is powered from a fixed 1.8 V regulator. Signed-off-by: Aapo Vienamo --

Re: [PATCH 1/4] clk: qcom: gdsc: Add support to enable/disable the clocks with GDSC

2018-07-24 Thread Stephen Boyd
Quoting Amit Nischal (2018-07-12 05:23:48) > On 2018-07-09 11:04, Stephen Boyd wrote: > > Quoting Amit Nischal (2018-06-06 04:41:45) > >> For some of the GDSCs, there is a requirement to enable/disable the > >> few clocks before turning on/off the gdsc power domain. Add support > > > > Why is ther

Re: [PATCH 5/7] arm64: dts: tegra210-p2180: Allow ldo2 to go down to 1.8 V

2018-07-24 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 20.07.2018 15:45, Aapo Vienamo wrote: Set regulator-min-microvolt property of ldo2 to 1.8 V in tegra210-p2180.dtsi. ldo2 is used by the sdmmc1 SDHCI controller and its voltage needs to be adjusted down to 1.8 V to support faster signaling modes. It appears that t

Re: [PATCH 4/7] arm64: dts: Add Tegra186 sdmmc pinctrl voltage states

2018-07-24 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 20.07.2018 15:45, Aapo Vienamo wrote: Add pad voltage configuration nodes for sdmmc pads with configurable voltages on Tegra186. Signed-off-by: Aapo Vienamo --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 40 1 file changed, 4

Re: [PATCH 3/7] arm64: dts: Add Tegra210 sdmmc pinctrl voltage states

2018-07-24 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 20.07.2018 15:45, Aapo Vienamo wrote: Add pad voltage configuration nodes for sdmmc pads with configurable voltages on Tegra210. Signed-off-by: Aapo Vienamo --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 27 +++ 1 file changed, 27 ins

Re: [PATCH v7 4/4] kexec_file: Load kernel at top of system RAM if required

2018-07-24 Thread Baoquan He
On 07/23/18 at 04:34pm, Michal Hocko wrote: > On Thu 19-07-18 23:17:53, Baoquan He wrote: > > Kexec has been a formal feature in our distro, and customers owning > > those kind of very large machine can make use of this feature to speed > > up the reboot process. On uefi machine, the kexec_file loa

Re: [PATCH 1/7] dt-bindings: Document Tegra SDHCI pinctrl bindings

2018-07-24 Thread Mikko Perttunen
I would maybe say "dt-bindings: mmc: tegra: Add pad voltage control properties" or similar for the subject - the current kind of looks like the SDHCI controller is a pinctrl device :) Reviewed-by: Mikko Perttunen On 20.07.2018 15:45, Aapo Vienamo wrote: Document the pinctrl bindings used by

linux-next: Tree for Jul 25

2018-07-24 Thread Stephen Rothwell
Hi all, Changes since 20180724: Dropped trees: xarray, ida (complex conflicts) The xarray tree still had its complex conflicts against the nvdimm tree so I have dropped it again for today (along with the ida tree that is built on top of it). The akpm-current tree still had its build failure

Re: [PATCH 2/7] mmc: tegra: Reconfigure pad voltages during voltage switching

2018-07-24 Thread Mikko Perttunen
On 20.07.2018 15:45, Aapo Vienamo wrote: Parse the pinctrl states from the device tree and implement pad voltage state reconfiguration in the mmc start_signal_voltage_switch() callback. This is done in the mmc callback because the order of pad reconfiguration and sdhci voltage switch depend on th

Re: [PATCH] drivers: net: wlcore: remove duplicate \n for some warnings

2018-07-24 Thread Kalle Valo
"H. Nikolaus Schaller" writes: > wl1271_warning() already appends a \n to the format, > so adding one to the warning string gives empty lines in the log. > > Signed-off-by: H. Nikolaus Schaller "drivers: net:" in the title is unnecessary, but I can remove that. -- Kalle Valo

[PATCH v2 bpf-next] tools/bpftool: ignore build products

2018-07-24 Thread Taeung Song
For untracked things of tools/bpf, add this. Reviewed-by: Jakub Kicinski Signed-off-by: Taeung Song --- tools/bpf/.gitignore | 5 + tools/bpf/bpftool/.gitignore | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 tools/bpf/.gitignore diff --git a/tools/bpf/.gitignore b/too

Re: [PATCH v13 1/4] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-07-24 Thread Tomasz Figa
On Wed, Jul 25, 2018 at 12:21 AM Robin Murphy wrote: > > On 19/07/18 11:15, Vivek Gautam wrote: > > From: Sricharan R > > > > The smmu needs to be functional only when the respective > > master's using it are active. The device_link feature > > helps to track such functional dependencies, so that

[PATCH bpf-next] tools/bpftool: ignore build products

2018-07-24 Thread Taeung Song
For untracked things of tools/bpf, add this. Reviewed-by: Quentin Monnet Signed-off-by: Taeung Song --- tools/bpf/.gitignore | 5 + tools/bpf/bpftool/.gitignore | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 tools/bpf/.gitignore diff --git a/tools/bpf/.gitignore b/too

Re: [PATCH] mtd: spi-nor: cadence-quadspi: make return type fit wait_for_completion_timeout

2018-07-24 Thread Nicholas Mc Guire
On Tue, Jul 24, 2018 at 10:46:26PM +0200, Boris Brezillon wrote: > On Sat, 21 Jul 2018 18:08:13 +0200 > Nicholas Mc Guire wrote: > > > wait_for_completion_timeout returns an unsigned long not int. declare a > > suitably type timeout and fix up assignment and check. > > > > Signed-off-by: Nichola

Re: [PATCH] KVM/MMU: Combine flushing remote tlb in mmu_set_spte()

2018-07-24 Thread Xiao Guangrong
On 07/24/2018 10:35 PM, Paolo Bonzini wrote: On 24/07/2018 10:17, Tianyu Lan wrote: mmu_set_spte() flushes remote tlbs for drop_parent_pte/drop_spte() and set_spte() separately. This may introduce redundant flush. This patch is to combine these flushes and check flush request after calling se

Re: [PATCH v1 01/04] clk: actions: Add Actions Semi S500 SoC clock support

2018-07-24 Thread Stephen Boyd
Quoting Edgar Bernardi Righi (2018-07-18 08:32:34) > Add Actions Semi S500 SoC clock support. > Basic clock support for S500 SoC was implemented using the Actions > Semi Owl clock driver. > Tested on a Lemaker Guitar board. > > This patch depends on patch "[PATCH v6 1/5] clk: actions: Add missing

RE: [RFC PATCH 03/10] iommu/vt-d: Allocate groups for mediated devices

2018-07-24 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Wednesday, July 25, 2018 10:16 AM > [...] > > > > There is another way: as we're planning to add a generic pasid_alloc() > > function to the IOMMU API, the mdev module itself could allocate a > > default PASID for each mdev by calling pasid_alloc() on the mdev's > > par

Re: [PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-24 Thread Michal Hocko
On Tue 24-07-18 12:53:07, Andrew Morton wrote: [...] > > On top of that the proposed cleanup looks as follows: > > > > Looks good to me. Seems a bit strange that we omit the pr_info() > output if the mm was partially reaped - people would still want to know > this? Not very important though.

Re: [PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-24 Thread Michal Hocko
On Tue 24-07-18 14:07:49, David Rientjes wrote: [...] > mm/oom_kill.c: clean up oom_reap_task_mm() fix > > indicate reaping has been partially skipped so we can expect future skips > or another start before finish. But we are not skipping. This is essentially the same case as mmap_sem trylock fa

[PATCH] arm: dts: am4372: setup rtc as system-power-controller

2018-07-24 Thread Keerthy
RTC alarm2 is connected to pmic_en line and hence can be used to control the pmic enabling/disabling. Hence add the system-power-controller for rtc node. Signed-off-by: Keerthy --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/a

[PATCH] drivers: net: wlcore: remove duplicate \n for some warnings

2018-07-24 Thread H. Nikolaus Schaller
wl1271_warning() already appends a \n to the format, so adding one to the warning string gives empty lines in the log. Signed-off-by: H. Nikolaus Schaller --- drivers/net/wireless/ti/wlcore/main.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless

Re: [PATCH v2] ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()

2018-07-24 Thread Julian Anastasov
Hello, On Wed, 25 Jul 2018, Tan Hu wrote: > We came across infinite loop in ipvs when using ipvs in docker > env. > > When ipvs receives new packets and cannot find an ipvs connection, > it will create a new connection, then if the dest is unavailable > (i.e. IP_VS_DEST_F_AVAILABLE), t

Re: [PATCH v2] bpf: Add Python 3 support to selftests scripts for bpf

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 09:53 PM, Jeremy Cline wrote: > Adjust tcp_client.py and tcp_server.py to work with Python 3 by using > the print function, marking string literals as bytes, and using the > newer exception syntax. This should be functionally equivalent and > supports Python 3+. > > Signed-off-by: Je

[PATCH] dmaengine: add a new helper dmam_async_device_register

2018-07-24 Thread Huang Shijie
This patch adds the dmam_async_device_register for DMA code. Use the Devres to call the release for the DMA engine driver. Signed-off-by: Huang Shijie --- Documentation/driver-model/devres.txt | 1 + drivers/dma/dmaengine.c | 35 +++ include/linux/dmaengine

[PATCH v5 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-07-24 Thread Keerthy
Use of_device_is_system_power_controller instead of manually reading the system-power-controller property from the device tree node. Reviewed-by: Johan Hovold Signed-off-by: Keerthy --- Changes in v5: * Added Johan's Reviewed-by drivers/rtc/rtc-omap.c | 3 +-- 1 file changed, 1 insertion(+

[PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-24 Thread Keerthy
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll over try again. Signed-off-by: Keerthy --- Changes in v5: * Added an additional check to see if ALARM2 status is not set before retrying. * Cleaned up comments * Also reduced mdelay to 1S lesser as per this commit d

Re: [PATCH bpf-next] samples/bpf: xdpsock: order memory on AArch64

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 03:33 PM, Brian Brooks wrote: > Signed-off-by: Brian Brooks Please respin with proper commit message instead of empty one. Thanks, Daniel

Re: [PATCH bpf-next] bpf: btf: fix inconsistent IS_ERR and PTR_ERR

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 04:55 AM, YueHaibing wrote: > Fix inconsistent IS_ERR and PTR_ERR in get_btf, > the proper pointer to be passed as argument is '*btf' > > This issue was detected with the help of Coccinelle. > > Fixes: 2d3feca8c44f ("bpf: btf: print map dump and lookup with btf info") > Signed-off-b

Re: [PATCH v1 11/15] drm/mediatek: add dummy buffer for RDMA memory mode

2018-07-24 Thread CK Hu
Hi, Stu: On Tue, 2018-07-24 at 16:17 +0800, Stu Hsieh wrote: > This patch add dummy buffer for RDMA memory mode > > When display power on, the drm frame work would modeset and > set up the display HW. > > In this time, the RDMA would start wroking and read the data from memory. > But, user space

[PATCH 1/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document

2018-07-24 Thread John Crispin
This patch adds the binding documentation for the HS/SS USB PHY found inside Qualcom Dakota SoCs. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: John Crispin --- .../bindings/phy/phy-qcom-ipq4019-usb.txt | 21 + 1 file changed, 21 insertions(+) crea

[PATCH 3/3] qcom: ipq4019: add USB devicetree nodes

2018-07-24 Thread John Crispin
This patch makes USB work on the Dakota EVB. Signed-off-by: John Crispin --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 20 +++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 76 +++ 2 files changed, 96 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019-

[PATCH 2/3] phy: qcom-ipq4019-usb: add driver for QCOM/IPQ4019

2018-07-24 Thread John Crispin
Add a driver to setup the USB phy on Qualcom Dakota SoCs. The driver sets up HS and SS phys. In case of HS some magic values need to be written to magic offsets. These were taken from the SDK driver. Signed-off-by: John Crispin --- drivers/phy/qualcomm/Kconfig| 7 + drivers/phy

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-24 Thread Ian Kent
On Tue, 2018-07-24 at 11:57 -0700, Casey Schaufler wrote: > On 7/24/2018 9:00 AM, David Howells wrote: > > Casey Schaufler wrote: > > > > > > (1) Mount topology and reconfiguration change events. > > > > > > With the possibility of unprivileged mounting you're going to have to > > > address acc

Re: [PATCH] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 05:10 PM, Thomas Richter wrote: > commit a5b8bd47dcc57 ("bpf tools: Collect eBPF programs from their own > sections") > > cause a compiler error when building the perf tool in the linux-next tree. > I compile it using a FEDORA 28 installation, my gcc compiler version: > gcc (GCC) 8.

[PATCH v2] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
This patch adds registration of the system memory with memblock, eliminates bootmem initialization and converts early memory reservations from bootmem to memblock. Signed-off-by: Mike Rapoport --- v2: fix calculation of the reserved memory size arch/hexagon/Kconfig | 3 +++ arch/hexagon/mm/i

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
On Tue, Jul 24, 2018 at 09:12:55PM -0500, Richard Kuo wrote: > On Tue, Jul 24, 2018 at 08:47:04AM +0300, Mike Rapoport wrote: > > On Mon, Jul 23, 2018 at 04:23:39PM -0500, Richard Kuo wrote: > > > > > > On Mon, Jul 16, 2018 at 10:43:18AM +0300, Mike Rapoport wrote: > > > > This patch adds registra

[RESEND PATCH] drm/bridge/synopsys: remove commented-out flag in Makefile

2018-07-24 Thread Masahiro Yamada
Please do not comment out unneeded code. Remove. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/bridge/synopsys/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/Makefile b/drivers/gpu/drm/bridge/synopsys/Makefile index 5dad97d..3e1b1e3 100644 -

Re: [PATCH v1 09/10] Input: atmel_mxt_ts - tool type is ignored when slot is closed

2018-07-24 Thread Peter Hutterer
On Tue, Jul 24, 2018 at 10:23:27AM +0200, Benjamin Tissoires wrote: > On Tue, Jul 24, 2018 at 12:34 AM Dmitry Torokhov > wrote: > > > > On Fri, Jul 20, 2018 at 10:51:21PM +0100, Nick Dyer wrote: > > > From: Nick Dyer > > > > > > input_mt_report_slot_state() ignores the tool when the slot is close

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-07-24 Thread Lee Jones
On Tue, 24 Jul 2018, Vignesh R wrote: > On Monday 23 July 2018 11:07 AM, Lee Jones wrote: > > On Wed, 18 Jul 2018, Dmitry Torokhov wrote: > > > >> On Wed, Jul 18, 2018 at 08:47:36AM +0100, Lee Jones wrote: > >>> On Tue, 17 Jul 2018, Vignesh R wrote: > >>> > Hi Dmitry, > > On Saturda

Re: [PATCH v3] backlight: pwm_bl: Fix uninitialized variable

2018-07-24 Thread Lee Jones
On Tue, 24 Jul 2018, Daniel Thompson wrote: > Currently, if the DT does not define num-interpolated-steps then > num_steps is undefined and the interpolation code will deploy randomly. > Fix with a simple initialize to zero. > > Fixes: 573fe6d1c25c ("backlight: pwm_bl: Linear interpolation betwee

[PATCH 1/2] ARM: at91: remove unused duplicated filechk_offsets

2018-07-24 Thread Masahiro Yamada
The filechk_offsets in arch/arm/mach-at91/Makefile is never used because it is always overridden by the equivalent one in scripts/Makefile.lib Signed-off-by: Masahiro Yamada --- I will queue this to my kbuild tree. arch/arm/mach-at91/Makefile | 25 - 1 file changed, 25

[PATCH 2/2] kbuild: do not redirect the first prerequisite for filechk

2018-07-24 Thread Masahiro Yamada
Currently, filechk unconditionally opens the first prerequisite and redirects it as the stdin of a filechk_* rule. Hence, every target using $(call filechk,...) must list something as the first prerequisite even if it is unneeded. '< $<' is actually unneeded in most cases. Each rule can explicit

Re: [PATCH v1 14/15] drm/mediatek: fixed the error value for add DSI1 in mutex

2018-07-24 Thread CK Hu
Hi, Stu: On Tue, 2018-07-24 at 16:17 +0800, Stu Hsieh wrote: > This patch fixed the error value for add DSI1 in mutex > English is not my mother language, but should it be 'fix' rather than 'fixed'? Regards, CK > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 2 +-

RE: [PATCH v2] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Cannon Matthews > Sent: Tuesday, July 24, 2018 9:37 PM > Subject: Re: [PATCH v2] RFC: clear 1G pages with streaming stores on > x86 > > Reimplement clear_gigantic_page() to clear gigabyte

Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device

2018-07-24 Thread Pankaj Gupta
Hi Eric, > > On 07/13/2018 02:52 AM, Pankaj Gupta wrote: > > This patch adds virtio-pmem Qemu device. > > > > This device presents memory address range information to guest > > which is backed by file backend type. It acts like persistent > > memory device for KVM guest. Guest can perf

Re: [PATCH 2/5] rhashtable: don't hold lock on first table throughout insertion.

2018-07-24 Thread NeilBrown
On Tue, Jul 24 2018, Paul E. McKenney wrote: > On Tue, Jul 24, 2018 at 07:52:03AM +1000, NeilBrown wrote: >> On Mon, Jul 23 2018, Paul E. McKenney wrote: >> >> > On Mon, Jul 23, 2018 at 09:13:43AM +1000, NeilBrown wrote: >> >> On Sun, Jul 22 2018, Paul E. McKenney wrote: >> >> > >> >> > One issue

Attractive interest rate @ (2.75%) for project funding/Loan/finance from Coutts & Co U.K !!

2018-07-24 Thread COUTTS & CO
Coutts & Co Ltd 440 Strand, London, WC2R 0QS Website: https://www.coutts.com Telephone:+4420 3389 7785 & +4420 7753 1000 Fax:+44 872 110 3479 OUR REF: Coutts/UK/2018/LOANAPP YOUR REF:LOANAPPT/Coutts/JULY/2018 TO WHOM IT MAY CONCERN We give out both Local/International Loan starting from 2.75%* r

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Christoph Hellwig
On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > Patch series looks good. Definitely appreciate the cleanup. > > I can take it through my tree, or if not: > > Acked-by: Richard Kuo Please take it through your tree, thanks!

Re: include architecture Kconfig files from top-level Kconfig v3

2018-07-24 Thread Masahiro Yamada
2018-07-25 2:56 GMT+09:00 Christoph Hellwig : > Hi Masahiro, > > what do you think about the series below, which moves the includes > of all the architecture independ Kconfig files to the top-level > Kconfig instead of duplicating the includes in all architectures? > > Note that this only handles t

Re: [RFC 4/4] virtio: Add platform specific DMA API translation for virito devices

2018-07-24 Thread Anshuman Khandual
On 07/23/2018 07:46 AM, Anshuman Khandual wrote: > On 07/20/2018 06:45 PM, Michael S. Tsirkin wrote: >> On Fri, Jul 20, 2018 at 09:29:41AM +0530, Anshuman Khandual wrote: >>> Subject: Re: [RFC 4/4] virtio: Add platform specific DMA API translation for >>> virito devices >> >> s/virito/virtio/ > >

Re: [PATCH 1/4] treewide: convert ISO_8859-1 text comments to utf-8

2018-07-24 Thread Michael Ellerman
Arnd Bergmann writes: > Almost all files in the kernel are either plain text or UTF-8 > encoded. A couple however are ISO_8859-1, usually just a few > characters in a C comments, for historic reasons. > > This converts them all to UTF-8 for consistency. > > Signed-off-by: Arnd Bergmann > --- ...

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-24 Thread isaacm
Hi Sebastian, Thanks for the response. "I haven't look in detail at this but your new preempt_disable() makes things unbalanced for the err != 0 case." This cannot happen. The only possible return values of this function are -ENOENT or 0. In the case where we return -ENOENT, we'll go straight

Re: [PATCH] 9p: validate PDU length

2018-07-24 Thread Dominique Martinet
Tomas Bortoli wrote on Mon, Jul 23, 2018: > diff --git a/net/9p/client.c b/net/9p/client.c > index 18c5271910dc..92240ccf476b 100644 > --- a/net/9p/client.c > +++ b/net/9p/client.c > @@ -524,6 +525,12 @@ static int p9_check_errors(struct p9_client *c, struct > p9_req_t *req) > int ecode; >

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Sergey Senozhatsky
On (07/24/18 19:51), Matthew Wilcox wrote: > > Also note that this is in the allocation path; this flag isn't checked > at free. But it is cleared on free, so someone's stomping on page->flags > after they're freed. I suggest enabling more debugging code. Would be lovely if Tino could bisect it

Re: [PATCH v4 3/3] lib/test_crc: Add test cases for crc calculation

2018-07-24 Thread Coly Li
On 2018/7/25 1:39 AM, Eric Biggers wrote: > On Wed, Jul 25, 2018 at 12:28:15AM +0800, Coly Li wrote: >> On 2018/7/24 12:44 PM, Eric Biggers wrote: >>> On Thu, Jul 19, 2018 at 12:55:45AM +0800, Coly Li wrote: This patch adds a kernel module to test the consistency of multiple crc calculati

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
> integrator_defconfig+CONFIG_DEVTMPFS=y+CONFIG_DEVTMPFS_MOUNT=y > > Qemu command line is > qemu-system-arm -M integratorcp -m 128 \ > -kernel arch/arm/boot/zImage -no-reboot \ > -initrd busybox-armv4.cpio \ > --append "rdinit=/sbin/init console=ttyAMA0,115200" \ >

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread Dominique Martinet
piaojun wrote on Wed, Jul 25, 2018: > On 2018/7/25 11:32, Dominique Martinet wrote: > >>p9_client_write(fid, 0, &from, &retval); > > > > I'm not sure what to do about this but it's also possible for > > p9_client_write to not write the full length without setting and error. > > > > We

Re: [PATCH v0] arm64: dts: rockchip: add support for ROC-RK3399-PC board

2018-07-24 Thread djw
Enric Balletbo Serra writes: > Hi Levin, > > Missatge de Heiko Stuebner del dia dt., 24 de jul. > 2018 a les 11:29: >> >> Hi Levin, >> >> Am Samstag, 21. Juli 2018, 10:30:26 CEST schrieb d...@t-chip.com.cn: >> > From: Levin Du >> > >> > ROC-RK3399-PC is the first power efficient 4GB DDR4 single

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread piaojun
Hi Dominique, On 2018/7/25 11:32, Dominique Martinet wrote: > piaojun wrote on Wed, Jul 25, 2018: >> In my testing, v9fs_fid_xattr_set will return successfully even if the >> backend ext4 filesystem has no space to store xattr key-value. That will >> cause inconsistent behavior between front end a

Re: [PATCH v0] arm64: dts: rockchip: add support for ROC-RK3399-PC board

2018-07-24 Thread djw
Hi Heiko, Heiko Stuebner writes: > Hi Levin, > > Am Samstag, 21. Juli 2018, 10:30:26 CEST schrieb d...@t-chip.com.cn: >> From: Levin Du >> >> ROC-RK3399-PC is the first power efficient 4GB DDR4 single board > > maybe "is a power efficient" instead of "the first" ;-) > > [...] > ok :) >> diff -

Re: general protection fault in rds_ib_get_mr

2018-07-24 Thread santosh.shilim...@oracle.com
On 7/6/18 1:11 AM, Johannes Thumshirn wrote: On Thu, Jul 05, 2018 at 09:09:44AM -0700, Santosh Shilimkar wrote: OK. we will look into it if an interim fix can be made Thanks a lot. Intermediate fix is posted here [1] Regards, Santosh [1] https://patchwork.ozlabs.org/patch/949010/

[PATCH v3 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Wen Yang and majiang report that a periodic signal received during fork can cause fork to continually restart preventing an application from making progress. The code was being overly pesimistic. Fork needs to guarantee that a signal sent to multiple processes is logically delivered before th

[PATCH] drm/bridge/synopsys: dw-hdmi: re-run dw_hdmi_setup when setting mode

2018-07-24 Thread Icenowy Zheng
Currently dw_hdmi_setup is only run when the dw-hdmi bridge is enabled, with the mode set last time. When the bridge is enabled before any mode is set (this may happen when booting), the mode won't be set at all, some setup steps will be skipped or fail, and the HDMI output may not work. Re-run d

Re: [PATCH v3] cpufreq: trace frequency limits change

2018-07-24 Thread Viresh Kumar
On 24 July 2018 at 23:05, Joel Fernandes wrote: > From: Ruchi Kandoi > > systrace used for tracing for Android systems has carried a patch for > many years in the Android tree that traces when the cpufreq limits > change. With the help of this information, systrace can know when the > policy lim

[PATCH] RDS: RDMA: Fix the NULL-ptr deref in rds_ib_get_mr

2018-07-24 Thread Avinash Repaka
Registration of a memory region(MR) through FRMR/fastreg(unlike FMR) needs a connection/qp. With a proxy qp, this dependency on connection will be removed, but that needs more infrastructure patches, which is a work in progress. As an intermediate fix, the get_mr returns EOPNOTSUPP when connection

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread Dominique Martinet
piaojun wrote on Wed, Jul 25, 2018: > In my testing, v9fs_fid_xattr_set will return successfully even if the > backend ext4 filesystem has no space to store xattr key-value. That will > cause inconsistent behavior between front end and back end. The reason is > that lsetxattr will be triggered by p

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Richard Kuo
On Thu, Jul 19, 2018 at 05:56:33AM -0700, Christoph Hellwig wrote: > hexagon does all the required cache maintainance at dma map time, and none > at unmap time. It thus has to implement sync_single_for_device to match > the map cace for buffer reuse, but there is no point in doing another > invali

Re: [PATCH net-next 0/2] docs: net: Convert netdev-FAQ to RST

2018-07-24 Thread Tobin C. Harding
On Wed, Jul 25, 2018 at 12:50:03PM +1000, Tobin C. Harding wrote: Please drop this. I've forgotten to deal with the links from Documentation/*.rst to Documentation/networking/netdev-FAQ.txt Since I've already botched it can I ask for guidance here. The problem is updating the links means makin

Re: [PATCH/RFT 1/6] i2c: designware: use open drain for recovery GPIO

2018-07-24 Thread Phil Reid
On 24/07/2018 15:26, Wolfram Sang wrote: Hi Phil, So, it is not possible to read SCL status then? Hmm, currently a working get_scl is required... ... Well, I don't know much about this IP core and how/where it is used. I just wonder what happens if another user comes along using an open-drain

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-07-24 Thread Anshuman Khandual
On 07/23/2018 02:38 PM, Michael S. Tsirkin wrote: > On Mon, Jul 23, 2018 at 11:58:23AM +0530, Anshuman Khandual wrote: >> On 07/20/2018 06:46 PM, Michael S. Tsirkin wrote: >>> On Fri, Jul 20, 2018 at 09:29:37AM +0530, Anshuman Khandual wrote: This patch series is the follow up on the discussio

[PATCH] f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gc

2018-07-24 Thread Jaegeuk Kim
The f2fs_gc() called by f2fs_balance_fs() requires to be called outside of fi->i_gc_rwsem[WRITE], since f2fs_gc() can try to grab it in a loop. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c| 2 ++ fs/f2fs/segment.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/

[RESEND PATCH v4 2/2] eeprom: at24: Add support for address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- drivers/misc/eeprom/at24.c | 17 + 1 file changed, 17 insertions(+) d

[RESEND PATCH v4 1/2] dt-bindings: at24: Add address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Currently the only way to use a variant of a supported model with a different address with a different address width is to define a new compatible string and the corresponding chip data structure. Provide a flexible way to specify the size of the address pointer by defining a n

[RESEND PATCH v4 0/2] Add aproperty in at24.c

2018-07-24 Thread alanx . chiang
From: Alan Chiang The RESEND PATCH modifies the commit message and adds the Reviewed-by. In at24.c, it uses 8-bit addressing by default. In this patch add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add ad

[PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread piaojun
In my testing, v9fs_fid_xattr_set will return successfully even if the backend ext4 filesystem has no space to store xattr key-value. That will cause inconsistent behavior between front end and back end. The reason is that lsetxattr will be triggered by p9_client_clunk, and unfortunately we did not

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
Peter, The problem is in this stack start_kernel local_irq_enable late_time_init sched_clock_init generic_sched_clock_init sched_clock_register WARN_ON(!irqs_disabled()); Before this work, sched_clock_init() was called prior to enabling interrupts, but now after. So, we h

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 07:55:25PM -0700, Matthew Wilcox wrote: > On Wed, Jul 25, 2018 at 11:51:06AM +0900, Minchan Kim wrote: > > On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > > > There is NOTHING in a union with _refcount. > > > > Confusing. Matthew, what am I missing? > > >

[PATCH] selftests: kselftest: Remove outdated comment

2018-07-24 Thread Thiago Jung Bauermann
Commit 3c07aaef6598 ("selftests: kselftest: change KSFT_SKIP=4 instead of KSFT_PASS") reverted commit 11867a77eb85 ("selftests: kselftest framework: change skip exit code to 0") but missed removing the comment which that commit added, so do that now. Signed-off-by: Thiago Jung Bauermann --- tool

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 11:51:06AM +0900, Minchan Kim wrote: > On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > > There is NOTHING in a union with _refcount. > > Confusing. Matthew, what am I missing? > > Before: > > counters consumes 8 bytes > units and _refcount consumes each

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > [ 804.485321] BUG: Bad page state in process qemu-system-x86 pfn:1c4b08e > > [ 804.485403] page:e809312c2380 count:0 mapcount:0 > > mapping: index:0x1 > > [ 804.485483] flags: 0x17fffc8(uptodate) > > [

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > On Wed, Jul 25, 2018 at 11:16:57AM +0900, Minchan Kim wrote: > > On Tue, Jul 24, 2018 at 06:55:02PM -0700, Matthew Wilcox wrote: > > > On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > > > Hi Tino, > > > > > > > > On

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
On Tue, Jul 24, 2018 at 1:53 PM Andrew Morton wrote: > > On Tue, 24 Jul 2018 13:46:39 -0700 Cannon Matthews > wrote: > > > Reimplement clear_gigantic_page() to clear gigabytes pages using the > > non-temporal streaming store instructions that bypass the cache > > (movnti), since an entire 1GiB r

[PATCH 1/3] userfaultfd: selftest: Fix checking of userfaultfd_open() result

2018-07-24 Thread Thiago Jung Bauermann
If the userfaultfd test is run on a kernel with CONFIG_USERFAULTFD=n, it will report that the system call is not available yet go ahead and continue anyway: # ./userfaultfd anon 30 1 nr_pages: 480, nr_pages_per_cpu: 120 userfaultfd syscall not available in this kernel bounces: 0, mode:, re

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
On Tue, Jul 24, 2018 at 2:09 PM Matthew Wilcox wrote: > > On Tue, Jul 24, 2018 at 01:46:39PM -0700, Cannon Matthews wrote: > > Reimplement clear_gigantic_page() to clear gigabytes pages using the > > non-temporal streaming store instructions that bypass the cache > > (movnti), since an entire 1GiB

hello

2018-07-24 Thread MR.MUSA AHMED
-- DEAR FRIEND I am MR.MUSA AHMED With the business proposal deal of US(US$18.5 mllion US Dollars) to transfer into your account, if you are interested get back to me for more detail.at my E-mail (mr.musa.ahme...@gmail.com) Best Regard MR.MUSA AHMED --

[PATCH 3/3] userfaultfd: selftest: Report XFAIL if shmem doesn't support zeropage

2018-07-24 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support UFFDIO_ZEROPAGE for shared memory, it currently ends with error code 1 which indicates test failure: # ./userfaultfd shmem 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, unexpected missing ioctl for anon memory # e

[PATCH 0/3] userfaultfd: selftest: Improve behavior with older kernels

2018-07-24 Thread Thiago Jung Bauermann
Hello, A tester ran the upstream selftest on a distro kernel and sounded the alarm when it reported failures for features which aren't included in that kernel. This patch set improves the test behavior in that scenario. Thiago Jung Bauermann (3): userfaultfd: selftest: Fix checking of userfaul

[PATCH 2/3] userfaultfd: selftest: Skip test if a feature isn't supported

2018-07-24 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support some feature it is trying to test, it currently ends with error code 1 which indicates test failure: # ./userfaultfd anon 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, userfaults: 7 59 bounces: 8, mode: poll, user

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Steven Rostedt
On Wed, 25 Jul 2018 10:16:53 +0900 Masami Hiramatsu wrote: > Hm, as far as I can see, when register_trigger() returns >= 0, it already > calls ->init the trigger_data. This means its refcount++, and in that > case, below patch will miss to free the trigger_data. > How about below for tentative fi

  1   2   3   4   5   6   7   8   >