Re: [PATCH v4 2/2] drm/qxl: remove conflicting framebuffers earlier

2019-02-22 Thread Daniel Vetter
On Fri, Feb 22, 2019 at 08:16:04AM +0100, Gerd Hoffmann wrote: > Add error checking while being at it. > > Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/qxl/qxl_drv.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/dr

Re: powerpc: drop unused GENERIC_CSUM Kconfig item

2019-02-22 Thread Michael Ellerman
On Fri, 2019-02-15 at 10:32:02 UTC, Christophe Leroy wrote: > Commit d4fde568a34a ("powerpc/64: Use optimized checksum routines on > little-endian") converted last powerpc user of GENERIC_CSUM. > > This patch does a final cleanup dropping the Kconfig GENERIC_CSUM > option which is always 'n', and

Re: tools/selftest/vm: allow choosing mem size and page size in map_hugetlb

2019-02-22 Thread Michael Ellerman
On Fri, 2019-02-08 at 15:02:55 UTC, Christophe Leroy wrote: > map_hugetlb maps 256Mbytes of memory with default hugepage size. > > This patch allows the user to pass the size and page shift as an > argument in order to use different size and page size. > > Signed-off-by: Christophe Leroy Applie

Re: powerpc/83xx: Also save/restore SPRG4-7 during suspend

2019-02-22 Thread Michael Ellerman
On Fri, 2019-01-25 at 12:03:55 UTC, Christophe Leroy wrote: > The 83xx has 8 SPRG registers and uses at least SPRG4 > for DTLB handling LRU. > > Fixes: 2319f1239592 ("powerpc/mm: e300c2/c3/c4 TLB errata workaround") > Cc: sta...@vger.kernel.org > Signed-off-by: Christophe Leroy Applied to powerp

Re: [v2,01/10] powerpc: simplify BDI switch

2019-02-22 Thread Michael Ellerman
On Thu, 2019-02-21 at 10:37:53 UTC, Christophe Leroy wrote: > There is no reason to re-read each time the pointer at > location 0xf0 as it is fixed and known. > > Signed-off-by: Christophe Leroy Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/40058337f23f79212f92ed5ef06

Re: [10/10] powerpc/book3s32: Reorder _PAGE_XXX flags to simplify TLB handling

2019-02-22 Thread Michael Ellerman
On Fri, 2019-01-25 at 12:34:20 UTC, Christophe Leroy wrote: > For pages without _PAGE_USER, PP field is 00 > For pages with _PAGE_USER, PP field is 10 for RW and 11 for RO. > > This patch sets _PAGE_USER to 0x002 and _PAGE_RW to 0x001 > is order to simplify TLB handling by reducing amount of shift

Re: powerpc/setup: display reason for not booting

2019-02-22 Thread Michael Ellerman
On Tue, 2018-12-18 at 06:53:41 UTC, Christophe Leroy wrote: > When no machine description matches, display it clearly > before looping forever. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e995265252fad3cf10cec6821ff0870c cheers

Re: [PATCH 5/6] perf thread-stack: Improve thread_stack__no_call_return()

2019-02-22 Thread Adrian Hunter
On 9/01/19 11:18 AM, Adrian Hunter wrote: > Improve thread_stack__no_call_return() to better handle 'returns' that do > not match the stack i.e. 'no call'. See code comments for details. This patch and patch 6 of the series do not seem to have been applied. Can they be applied?

Re: [PATCH v2 3/5] soc: qcom: socinfo: Expose custom attributes

2019-02-22 Thread Laurent Pinchart
Hi Greg, On Fri, Feb 22, 2019 at 08:16:16AM +0100, Greg KH wrote: > On Fri, Feb 22, 2019 at 12:13:59AM +0200, Laurent Pinchart wrote: > > On Thu, Feb 21, 2019 at 07:57:42AM -0800, Bjorn Andersson wrote: > > > On Thu 21 Feb 04:18 PST 2019, Laurent Pinchart wrote: > > > > On Wed, Feb 20, 2019 at 10:

Re: [v2] powerpc/8xx: hide itlbie and dtlbie symbols

2019-02-22 Thread Michael Ellerman
On Thu, 2018-12-13 at 08:08:11 UTC, Christophe Leroy wrote: > When disassembling InstructionTLBError we get the following messy code: > > c000138c: 7d 84 63 78 mr r4,r12 > c0001390: 75 25 58 00 andis. r5,r9,22528 > c0001394: 75 2a 40 00 andis. r10,r9,16384 > c0

[PATCH v4 1/2] gpio: AMD G-Series PCH gpio driver

2019-02-22 Thread Enrico Weigelt, metux IT consult
GPIO platform driver for the AMD G-series PCH (eg. on GX-412TC) This driver doesn't registers itself automatically, as it needs to be provided with platform specific configuration, provided by some board driver setup code. Didn't implement oftree probing yet, as it's rarely found on x86. Cc: lin

[PATCH v4 2/2] x86: pcengines apuv2 gpio/leds/keys platform driver

2019-02-22 Thread Enrico Weigelt, metux IT consult
Driver for PCengines APUv2 board's front LEDs and Button, which are attached to AMD PCH GPIOs. Due to lack of dedicated ACPI entry, detecting the board via DMI. Cc: linux-g...@vger.kernel.org Cc: linus.wall...@linaro.org Cc: bgolaszew...@baylibre.com Cc: dvh...@infradead.org Cc: a...@infradead.org

APUv2/v3 board support v4

2019-02-22 Thread Enrico Weigelt, metux IT consult
Hi folks, this is version 4 of my APUv2/APUv3 series. changes in v4: * fixed spinlocks (using own field instead of gc.bgpio_lock) * dropped superflous dependency on GPIO_GENERIC * initialize gc.base = -1 * added Reviewed-By tags changes in v3: * gpio driver * drop unncessary gpio id c

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-22 Thread Ludovic Desroches
On Wed, Jan 30, 2019 at 02:42:02PM +0100, g.ottin...@abatec.at wrote: > From: Georg Ottinger > > Having a brief look at at91_adc_read_raw() it is obvious that in the case > of a timeout the setting of AT91_ADC_CHDR and AT91_ADC_IDR registers is > omitted. If 2 different channels are queried we ca

Re: [RFC PATCH v1 07/25] printk-rb: add functionality required by printk

2019-02-22 Thread Petr Mladek
On Tue 2019-02-19 23:08:20, John Ogness wrote: > On 2019-02-18, Petr Mladek wrote: > >> The printk subsystem needs to be able to query the size of the ring > >> buffer, seek to specific entries within the ring buffer, and track > >> if records could not be stored in the ring buffer. > >> > >> dif

[PATCH] printk: Remove no longer used LOG_PREFIX.

2019-02-22 Thread Tetsuo Handa
When commit 5becfb1df5ac8e49 ("kmsg: merge continuation records while printing") introduced LOG_PREFIX, we used KERN_DEFAULT etc. as a flag for setting LOG_PREFIX in order to tell whether to call cont_add() (i.e. whether to append the message to "struct cont"). But since commit 4bcc595ccd80decb ("

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-22 Thread Ludovic Desroches
On Mon, Feb 04, 2019 at 11:03:18AM +, Georg Ottinger wrote: > I don't know how the race condition is triggered in detail. All I know is > that if Touch Acquisition is enabled the adc_demo_error2 will provoke a > systemhang. If Touch is disabled the issue goes away. The architecture of > at9

[PATCH] arm64: dts: renesas: r8a77965: add SSIU support for sound

2019-02-22 Thread twischer
From: Jiada Wang rsnd driver supports SSIU now, let's use it. Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are no longer needed. Applies commit 8d14bfa074db ("arm64: dts: renesas: r8a7796: add SSIU support for sound") for r8a77965. Signed-off-by: Jiada Wang Signed-off-by: Timo Wische

RE: [PATCH 1/3] clk: imx8mq: initialize clock tree earlier

2019-02-22 Thread Aisheng Dong
Hi Anson, > From: Anson Huang > Sent: Friday, February 22, 2019 5:42 PM > > Currently on i.MX8MQ platform, clock driver is probed later than GPIO driver, > and GPIO driver does NOT have defer probe mechanism since the GPIO clock is > optional, some platforms have GPIO clocks and some are NOT. So

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-22 Thread Peter Ujfalusi
On 18/02/2019 16.35, Tony Lindgren wrote: > * Lokesh Vutla [190216 03:30]: >> On 2/12/2019 1:12 PM, Lokesh Vutla wrote: >>> +TISCI Interrupt Router Node: >>> + >>> +- compatible: Must be "ti,sci-intr". >>> +- interrupt-controller:Identifies the node

Re: [PATCHv6 06/10] node: Add memory-side caching attributes

2019-02-22 Thread Brice Goglin
Le 14/02/2019 à 18:10, Keith Busch a écrit : > System memory may have caches to help improve access speed to frequently > requested address ranges. While the system provided cache is transparent > to the software accessing these memory ranges, applications can optimize > their own access based on c

Re: BUG: unable to handle kernel paging request in do_mount

2019-02-22 Thread syzbot
This bug is marked as fixed by commit: vfs: namespace: error pointer dereference in do_remount() But I can't find it in any tested tree for more than 90 days. Is it a correct commit? Please update it by replying: #syz fix: exact-commit-title Until then the bug is still considered open and new cras

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Benjamin Tissoires
On Fri, Feb 22, 2019 at 12:26 AM Wolfram Sang wrote: > > On Tue, Feb 19, 2019 at 11:30:27AM -0800, Jim Broadus wrote: > > A previous change allowed I2C client devices to discover new IRQs upon > > reprobe by clearing the IRQ in i2c_device_remove. However, if an IRQ was > > assigned in i2c_new_devi

[PATCH] ARM: dts: exynos: Add pin configuration for read strobe for Odroid XU3/XU4 eMMC

2019-02-22 Thread Anand Moon
Add Read Strobe RDQS pin configuration for eMMC to support higher data rate read/write. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 6 ++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff -

Re: [PATCH v2 03/13] mm: Add generic p?d_large() macros

2019-02-22 Thread Steven Price
On 21/02/2019 21:06, Kirill A. Shutemov wrote: > On Thu, Feb 21, 2019 at 05:16:46PM +, Steven Price wrote: Note that in terms of the new page walking code, these new defines are only used when walking a page table without a VMA (which isn't currently done), so architectures which

Re: [PATCHv6 06/10] node: Add memory-side caching attributes

2019-02-22 Thread Brice Goglin
Le 14/02/2019 à 18:10, Keith Busch a écrit : > System memory may have caches to help improve access speed to frequently > requested address ranges. While the system provided cache is transparent > to the software accessing these memory ranges, applications can optimize > their own access based on c

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Wolfram Sang
On Fri, Feb 22, 2019 at 11:15:59AM +0100, Benjamin Tissoires wrote: > On Fri, Feb 22, 2019 at 12:26 AM Wolfram Sang wrote: > > > > On Tue, Feb 19, 2019 at 11:30:27AM -0800, Jim Broadus wrote: > > > A previous change allowed I2C client devices to discover new IRQs upon > > > reprobe by clearing the

Re: [PATCH] drivers: depend on HAS_IOMEM for devm_platform_ioremap_resource()

2019-02-22 Thread Andy Shevchenko
On Fri, Feb 22, 2019 at 11:04 AM Bartosz Golaszewski wrote: > > czw., 21 lut 2019 o 20:56 Andy Shevchenko > napisał(a): > > > > On Thu, Feb 21, 2019 at 9:55 PM Andy Shevchenko > > wrote: > > > > > > On Thu, Feb 21, 2019 at 6:27 PM Bartosz Golaszewski wrote: > > > > > > > > From: Bartosz Golasze

Re: [PATCH] iio: cros_ec: Fix gyro scale calculation

2019-02-22 Thread Enric Balletbo i Serra
Hi Jonathan, On 20/2/19 17:01, Jonathan Cameron wrote: > On Wed, 20 Feb 2019 16:03:00 +0100 > Enric Balletbo i Serra wrote: > >> From: Gwendal Grignou >> >> Calculation was copied from IIO_DEGREE_TO_RAD, but offset added to avoid >> rounding error is wrong. It should be only half of the divider

ATM VISA CARD

2019-02-22 Thread ATM VISA
ATTENTION: WE RECEIVE YOUR CONTENT OF YOUR EMAIL FORM THIS DHL MASTER CARD OFFICES FUND OF $USD.8 MILLION AFTER THE BOARD OF DIRECTORS MEETING,WE DECIDED TO ISSUE YOU AN ATM VISA CARD VALUED AT 8 MILLION DOLLAR. THIS IS TO BRING TO YOUR NOTICE THAT YOUR VALUED SUM OF 8 MILLION DOLLAR HAS BEIN

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Charles Keepax
On Fri, Feb 22, 2019 at 11:15:59AM +0100, Benjamin Tissoires wrote: > On Fri, Feb 22, 2019 at 12:26 AM Wolfram Sang wrote: > > On Tue, Feb 19, 2019 at 11:30:27AM -0800, Jim Broadus wrote: > > > A previous change allowed I2C client devices to discover new IRQs upon > > > reprobe by clearing the IRQ

Re: [PATCH] ARM: dts: exynos: Add pin configuration for read strobe for Odroid XU3/XU4 eMMC

2019-02-22 Thread Marek Szyprowski
Hi Anand, On 2019-02-22 11:19, Anand Moon wrote: > Add Read Strobe RDQS pin configuration for eMMC to support higher data rate > read/write. > > Signed-off-by: Anand Moon > --- > arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 6 ++ > arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Charles Keepax
On Fri, Feb 22, 2019 at 11:23:35AM +0100, Wolfram Sang wrote: > On Fri, Feb 22, 2019 at 11:15:59AM +0100, Benjamin Tissoires wrote: > > On Fri, Feb 22, 2019 at 12:26 AM Wolfram Sang wrote: > > > On Tue, Feb 19, 2019 at 11:30:27AM -0800, Jim Broadus wrote: > > > > A previous change allowed I2C clie

Re: [PATCH v1 2/2] drm/mediatek: add mipi_tx driver for mt8183

2019-02-22 Thread kbuild test robot
/commits/Jitao-Shi/drm-mediatek-separate-mipi_tx-to-different-file/20190222-053659 config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH] ARM: dts: exynos: Add pin configuration for read strobe for Odroid XU3/XU4 eMMC

2019-02-22 Thread Anand Moon
Hi Marek, On Fri, 22 Feb 2019 at 15:59, Marek Szyprowski wrote: > > Hi Anand, > > On 2019-02-22 11:19, Anand Moon wrote: > > Add Read Strobe RDQS pin configuration for eMMC to support higher data rate > > read/write. > > > > Signed-off-by: Anand Moon > > --- > > arch/arm/boot/dts/exynos5420-pi

Re: [PATCH] cpuidle: Add a predict callback for the governors

2019-02-22 Thread Rafael J. Wysocki
On Thu, Feb 21, 2019 at 6:40 PM Daniel Lezcano wrote: > > On 21/02/2019 17:18, Rafael J. Wysocki wrote: > > On Thu, Feb 21, 2019 at 3:56 PM Daniel Lezcano > > wrote: > >> > >> Predicting the next event on the current CPU is implemented in the > >> idle state selection function, thus the selection

Re: [RFC PATCH v1 11/25] printk_safe: remove printk safe code

2019-02-22 Thread Petr Mladek
On Tue 2019-02-12 15:29:49, John Ogness wrote: > vprintk variants are now NMI-safe so there is no longer a need for > the "safe" calls. > > NOTE: This also removes printk flushing functionality. > > Signed-off-by: John Ogness > --- > include/linux/hardirq.h | 2 - > include/linux/printk.h

Re: [PATCH 1/5] net: dsa: fix a leaked reference by adding a missing of_node_put

2019-02-22 Thread Linus Walleij
On Fri, Feb 22, 2019 at 8:15 AM Wen Yang wrote: > The call to of_get_child_by_name returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: > ./drivers/net/dsa/rtl8366rb.c:510:2-8: ERR

[PATCH V4] sched/cpufreq: initialize iowait_boost_max and iowait_boost with cpu capacity

2019-02-22 Thread Chunyan Zhang
From: Vincent Wang When a task that is in_iowait state is enqueued, cpufreq_update_util() will be invoked with SCHED_CPUFREQ_IOWAIT flag. In this case,the value of util and cap, which are parameters used in map_util_freq(), may be cpu frequency, instead of cpu util and capactiy. For some 32bit a

Re: [PATCH] rpmsg: virtio_rpmsg_bus: acknowledge the received creation message

2019-02-22 Thread Arnaud Pouliquen
Hello Xiang, On 2/12/19 8:13 AM, Xiang Xiao wrote: > From: QianWenfa > > the two phase handsake make the client could initiate the transfer > immediately without the server side send any dummy message first. As discussed on OpenAMP mailing list, the first point (from my pov) is to figure out i

[PATCH] x86/Hyper-V: Fix definition HV_MAX_FLUSH_REP_COUNT

2019-02-22 Thread lantianyu1986
From: Lan Tianyu The max flush rep count of HvFlushGuestPhysicalAddressList hypercall is equal with how many entries of union hv_gpa_page_range can be populated into the input parameter page. The origin code lacks parenthesis around PAGE_SIZE - 2 * sizeof(u64). This patch is to fix it. Cc: Fixs

Re: [PATCH v2 3/5] soc: qcom: socinfo: Expose custom attributes

2019-02-22 Thread Greg KH
On Fri, Feb 22, 2019 at 11:51:45AM +0200, Laurent Pinchart wrote: > Hi Greg, > > On Fri, Feb 22, 2019 at 08:16:16AM +0100, Greg KH wrote: > > On Fri, Feb 22, 2019 at 12:13:59AM +0200, Laurent Pinchart wrote: > > > On Thu, Feb 21, 2019 at 07:57:42AM -0800, Bjorn Andersson wrote: > > > > On Thu 21 F

Re: [PATCH 1/3] clk: imx8mq: initialize clock tree earlier

2019-02-22 Thread Lucas Stach
Am Freitag, den 22.02.2019, 09:42 + schrieb Anson Huang: > Currently on i.MX8MQ platform, clock driver is probed > later than GPIO driver, and GPIO driver does NOT have > defer probe mechanism since the GPIO clock is optional, So this is what should be fixed. If there is a clock reference in t

recalibrating x86 TSC during suspend/resume

2019-02-22 Thread Olaf Hering
Is there a way to recalibrate the x86 TSC during a suspend/resume cycle? While the frequency will remain the same on a Laptop, it may (or rather: it definitly will) differ if a VM is migrated from one host to another. The hypervisor may choose to emulate the expected TSC frequency on the destinati

Re: [PATCH V4] sched/cpufreq: initialize iowait_boost_max and iowait_boost with cpu capacity

2019-02-22 Thread Quentin Perret
On Friday 22 Feb 2019 at 18:37:46 (+0800), Chunyan Zhang wrote: > @@ -823,6 +823,8 @@ static int sugov_start(struct cpufreq_policy *policy) > { > struct sugov_policy *sg_policy = policy->governor_data; > unsigned int cpu; > + unsigned long max_cap = arch_scale_cpu_capacity(NULL, po

[PATCH v5 1/3] drm: move i915_kick_out_vgacon to vgaarb

2019-02-22 Thread Gerd Hoffmann
Also rename it to vga_remove_vgacon and add kerneldoc text. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter --- include/linux/vgaarb.h | 2 ++ drivers/gpu/drm/i915/i915_drv.c | 35 +- drivers/gpu/vga/vgaarb.c| 48

[PATCH v5 2/3] drm/fb-helper: call vga_remove_vgacon automatically.

2019-02-22 Thread Gerd Hoffmann
Add vga_remove_vgacon() call to drm_fb_helper_remove_conflicting_pci_framebuffers(). Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter --- include/drm/drm_fb_helper.h | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/include/drm/drm_fb_helper.h b/include/

[PATCH v5 3/3] drm/qxl: remove conflicting framebuffers earlier

2019-02-22 Thread Gerd Hoffmann
Add error checking while being at it. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter --- drivers/gpu/drm/qxl/qxl_drv.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c index bb81e310eb6d..578d867a81d5

[PATCH net-next] net: dsa: add missing of_node_put

2019-02-22 Thread Himadri Pandya
Decrement the reference count on port while returning out of the loop. Issue identified by Coccinelle. Signed-off-by: Himadri Pandya --- net/dsa/dsa2.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index a1917025e155..396e7433

Re: [RFC PATCH] tools/memory-model: Remove (dep ; rfi) from ppo

2019-02-22 Thread Andrea Parri
> What I do object to is a model that's weaker than any possible sane > hardware. Not the first time I hear you calling this out. And inevitably, every time, other slogans come to my mind: "C is not an assembly language", "No features (ordering) without users", ... For the record, I won't try t

device tree binding for poly-phased regulators

2019-02-22 Thread Torsten Duwe
Hi! Documentation/devicetree/bindings/mfd/axp20x.txt nicely describes the capabilities of the X-powers PMICs; however, it seems polyphasing is left to comments only. May I suggest to add a property "poly-phased", just to get the discussion started? It could be a simple property in the current cas

Re: linux-next: build failure after merge of the powerpc tree

2019-02-22 Thread Michael Ellerman
Christophe Leroy writes: > Le 22/02/2019 à 08:14, Stephen Rothwell a écrit : >> Hi all, >> >> After merging the powerpc tree, today's linux-next build (powerpc >> allyesconfig) failed like this: >> >> make[4]: *** No rule to make target 'arch/powerpc/mm/ptdump/core.o', needed >> by 'arch/powerp

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Wolfram Sang
> > > But I still have the feeling that the problem is not solved at the > > > right place. In i2c_new_device() we are storing parts of the fields of > > > struct i2c_board_info, and when resetting the irq we are losing > > > information. This patch solves that, but I wonder if the IRQ should > >

Re: [RESEND PATCH 1/1] headers_install.sh: Support __aligned(x) for uAPI headers

2019-02-22 Thread Sakari Ailus
Hi Yamada-san, On Fri, Feb 22, 2019 at 01:36:03PM +0900, Masahiro Yamada wrote: > On Thu, Feb 21, 2019 at 10:29 PM Sakari Ailus > wrote: > > > > The headers-install.sh already supports __packed conversion to > > __attribute__((packed)) for uAPI headers but it does not support similar > > __aligne

Re: [PATCH v1 1/4] KVM: arm64: Use macro to replace hard number

2019-02-22 Thread Mark Rutland
On Fri, Feb 22, 2019 at 04:23:23PM +0800, Leo Yan wrote: > Use macro for ID_AA64MMFR1_EL1.VH bits shift instead of 8 directly. > > Signed-off-by: Leo Yan It's always nice to get rid of magic numbers, and this is correct AFAICT. FWIW: Reviewed-by: Mark Rutland Mark. > --- > arch/arm64/kernel

Re: xen/evtchn and forced threaded irq

2019-02-22 Thread Jan Beulich
>>> On 20.02.19 at 23:03, wrote: > On 2/20/19 9:46 PM, Boris Ostrovsky wrote: >> On 2/20/19 3:46 PM, Julien Grall wrote: >>> On 2/20/19 8:04 PM, Boris Ostrovsky wrote: On 2/20/19 1:05 PM, Julien Grall wrote: Some sort of a FIFO that stores {irq, data} tuple. It could obviously be im

Re: [PATCH v1 3/4] KVM: arm/arm64: Define TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK

2019-02-22 Thread Mark Rutland
On Fri, Feb 22, 2019 at 04:23:25PM +0800, Leo Yan wrote: > Define macro TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK, so can remove the hard > number 0x3f. > > Signed-off-by: Leo Yan Given we do this for the other TCR fields, and the value is correct AFAICT, this makes sense to me. FWIW: Reviewed-by: Mar

Re: recalibrating x86 TSC during suspend/resume

2019-02-22 Thread Thomas Gleixner
On Fri, 22 Feb 2019, Olaf Hering wrote: > Is there a way to recalibrate the x86 TSC during a suspend/resume cycle? No. > While the frequency will remain the same on a Laptop, it may (or rather: > it definitly will) differ if a VM is migrated from one host to another. > The hypervisor may choose t

Re: [PATCH V2 4/5] cpufreq: Register notifiers with the PM QoS framework

2019-02-22 Thread Qais Yousef
Hi Verish On 02/21/19 16:59, Viresh Kumar wrote: [...] > @@ -2239,6 +2314,8 @@ static int cpufreq_set_policy(struct cpufreq_policy > *policy, > struct cpufreq_policy *new_policy) > { > struct cpufreq_governor *old_gov; > + struct device *cpu_dev = get_cpu_

Re: [PATCH v2 2/2] loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()

2019-02-22 Thread Jan Kara
On Thu 21-02-19 23:33:43, Dongli Zhang wrote: > Commit 0da03cab87e6 > ("loop: Fix deadlock when calling blkdev_reread_part()") moves > blkdev_reread_part() out of the loop_ctl_mutex. However, > GENHD_FL_NO_PART_SCAN is set before __blkdev_reread_part(). As a result, > __blkdev_reread_part() will fa

Re: [PATCH RFC 01/39] KVM: x86: fix Xen hypercall page msr handling

2019-02-22 Thread Joao Martins
On 2/22/19 1:30 AM, Sean Christopherson wrote: > On Wed, Feb 20, 2019 at 08:15:31PM +, Joao Martins wrote: >> Xen usually places its MSR at 0x400 or 0x4000200 depending on >> whether it is running in viridian mode or not. Note that this is not >> ABI guaranteed, so it is possible for Xen to

Re: recalibrating x86 TSC during suspend/resume

2019-02-22 Thread Olaf Hering
Am Fri, 22 Feb 2019 12:44:39 +0100 (CET) schrieb Thomas Gleixner : > Whether that is accurate enough or not to make NTP happy, I can't tell, but > it's definitely worth a try. Thanks Thomas, I will look into the suggestions. Olaf pgpKvKEGb9vSF.pgp Description: Digitale Signatur von OpenPGP

Re: [PATCH v2 3/5] soc: qcom: socinfo: Expose custom attributes

2019-02-22 Thread Marc Gonzalez
On 21/02/2019 16:57, Bjorn Andersson wrote: > On Thu 21 Feb 04:18 PST 2019, Laurent Pinchart wrote: > >> On Wed, Feb 20, 2019 at 10:28:29AM +0530, Vaishali Thakkar wrote: >> >>> The Qualcomm socinfo provides a number of additional attributes, >>> add these to the socinfo driver and expose them v

Re: [PATCH] crypto: ccree: add missing inline qualifier

2019-02-22 Thread Herbert Xu
On Mon, Feb 11, 2019 at 04:27:58PM +0200, Gilad Ben-Yossef wrote: > Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init") > was missing a "inline" qualifier for stub function used when CONFIG_PM > is not set causing a build warning. > > Fixes: 1358c13a48c4 ("crypto: ccree - fix

Re: [PATCH] crypto: ccree - fix missing break in switch statement

2019-02-22 Thread Herbert Xu
On Mon, Feb 11, 2019 at 12:31:31PM -0600, Gustavo A. R. Silva wrote: > Add missing break statement in order to prevent the code from falling > through to case S_DIN_to_DES. > > This bug was found thanks to the ongoing efforts to enable > -Wimplicit-fallthrough. > > Fixes: 63ee04c8b491 ("crypto: c

Re: [PATCH v5 5/6] mfd: add EC host command support using rpmsg.

2019-02-22 Thread Enric Balletbo i Serra
Hi, Only some few comments, most of them nits that I'd be happy if you can apply as you should probably send another version because the documentation of the binding is missing. On 21/2/19 9:47, Pi-Hsun Shih wrote: > Add EC host command support through rpmsg. > > Signed-off-by: Pi-Hsun Shih > -

RE: [PATCH v3 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-02-22 Thread Vishal Sagar
Hi Luca, Apologies for the delayed response. > -Original Message- > From: Luca Ceresoli [mailto:l...@lucaceresoli.net] > Sent: Monday, February 11, 2019 8:01 PM > To: Vishal Sagar ; Vishal Sagar ; > Hyun Kwon ; laurent.pinch...@ideasonboard.com; > mche...@kernel.org; robh...@kernel.org;

RE: [v3,2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-02-22 Thread Vishal Sagar
Hi Hyun, Thanks for reviewing. Apologies for the delayed response. > -Original Message- > From: Hyun Kwon [mailto:hyun.k...@xilinx.com] > Sent: Thursday, February 14, 2019 1:16 AM > To: Vishal Sagar > Cc: laurent.pinch...@ideasonboard.com; mche...@kernel.org; > robh...@kernel.org; mark.r

RE: [PATCH V4 2/3] HYPERV/IOMMU: Add Hyper-V stub IOMMU driver

2019-02-22 Thread Tianyu Lan
Hi Michael: Thanks for your review. -Original Message- From: Michael Kelley Sent: Friday, February 22, 2019 1:28 AM To: lantianyu1...@gmail.com Cc: Tianyu Lan ; j...@8bytes.org; mchehab+sams...@kernel.org; da...@davemloft.net; gre...@linuxfoundation.org; nicolas.fe...@mi

Re: [PATCH -next] scsi: megaraid_sas: Remove a bunch of set but not used variables

2019-02-22 Thread Sumit Saxena
On Fri, Feb 22, 2019 at 7:30 AM Yue Haibing wrote: > > From: YueHaibing > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/megaraid/megaraid_sas_fusion.c: In function 'wait_and_poll': > drivers/scsi/megaraid/megaraid_sas_fusion.c:936:25: warning: > variable 'fusion' set but not

Re: [PATCH v3 3/3] pwm: hibvt: Add hi3559v100 support

2019-02-22 Thread Mathieu Othacehe
Hi Uwe, > The patch looks fine now. (If you have to do another round: > s/again/twice/ in the commit log and s/once more/twice/ in the comment > below.) Ok. > > I wonder if this behaviour is a bug or a feature of the hardware. Is > this additional enable needed to apply changes to both period an

Re: [RFC][PATCH 00/16] sched: Core scheduling

2019-02-22 Thread Paolo Bonzini
On 18/02/19 21:40, Peter Zijlstra wrote: > On Mon, Feb 18, 2019 at 09:49:10AM -0800, Linus Torvalds wrote: >> On Mon, Feb 18, 2019 at 9:40 AM Peter Zijlstra wrote: >>> >>> However; whichever way around you turn this cookie; it is expensive and >>> nasty. >> >> Do you (or anybody else) have number

Re: [PATCH] btrfs: zstd ensure reclaim timer is properly cleaned up

2019-02-22 Thread Nikolay Borisov
On 21.02.19 г. 22:25 ч., Dennis Zhou wrote: > The timer function, zstd_reclaim_timer_fn(), reschedules itself under > certain conditions. Switch to del_timer_sync() to ensure that the timer > function hasn't rescheduled itself. According to del_timer_sync it just waits for any concurrent invoca

Re: [PATCH v2] regulator: tps65218: Add support for LS2

2019-02-22 Thread Mark Brown
On Fri, Feb 22, 2019 at 09:38:54AM +0100, Christian Hohnstaedt wrote: > Re-use the "tps65218_pmic_*_current_limit()" functions of LS3 > and calculate the different required bit-shift by counting the > trailing 0s in "struct regulator_desc.csel_mask" Can you please also resend the DT bindings chang

[PATCH v4 0/3] add AES support for Exynos5433

2019-02-22 Thread Kamil Konieczny
Add slimSSS node to DT and crypto AES support for Exynos5433. Tested on Exynos5433 board with crypto run-time self tests and with tcrypt with command insmod tcrypt.ko mode=500 sec=1 Changes since v3: - moved bindings documentation out from samsung-sss.txt into separate file samsung-slimsss.txt

[PATCH v4 1/3] arm64: dts: exynos: add SlimSSS for Exynos5433

2019-02-22 Thread Kamil Konieczny
Add DT node for SlimSSS (aka Slim SecuritySubSystem) in Exynos5433 SoC. The users can use compatibility "samsung,exynos5433-slim-sss". Signed-off-by: Kamil Konieczny --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ex

[PATCH v4 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS

2019-02-22 Thread Kamil Konieczny
Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security SubSystem) IP. Signed-off-by: Kamil Konieczny --- .../bindings/crypto/samsung-slimsss.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/samsun

[PATCH v4 3/3] crypto: s5p: add AES support for Exynos5433

2019-02-22 Thread Kamil Konieczny
Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kamil Konieczny --- drivers/crypto/s5p-sss.c | 50 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/s

[PATCH] ARM: socfpga_defconfig: enable support for large block devices

2019-02-22 Thread Andrey Zhizhikin
Enable CONFIG_LBDAF, which is required by ext4 fs. This option could hanle both ext3 and ext4, and ex4 requires this option to be enabled, otherwise the filesystem is mounted RO mode. Signed-off-by: Andrey Zhizhikin --- arch/arm/configs/socfpga_defconfig | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 04/17] perf data: Fail check_backup in case of error

2019-02-22 Thread Jiri Olsa
On Thu, Feb 21, 2019 at 02:23:30PM -0800, Andi Kleen wrote: > On Thu, Feb 21, 2019 at 10:41:32AM +0100, Jiri Olsa wrote: > > And display the error message from removing > > the old data file: > > > > $ perf record ls > > Can't remove old data: Permission denied (perf.data.old) > > Perf sessi

Re: [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs

2019-02-22 Thread Laurent Pinchart
Hi Jonas, Thank you for the patch. On Wed, Feb 20, 2019 at 07:52:31AM +, Jonas Karlman wrote: > The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have > also been identified as needing this workaround with a single iteration. > > Fixes: be41fc55f1aa ("drm: bridge: dw-hdmi: Han

in stock for clearance

2019-02-22 Thread Stacy
Hi, We wanted to check to see if you received my last email. We have following items in stock for clearance, pricing is at an all time low. Most popular items right now: - 12 pcs Black Waterproof Long Lasting Makeup Cosmetics Eyeliner - HUAWEI Honor Band 3 Smartband Heart Rate Monitor Calories

Re: recalibrating x86 TSC during suspend/resume

2019-02-22 Thread Paolo Bonzini
On 22/02/19 12:44, Thomas Gleixner wrote: >> The specific usecase I have is a workload within VMs that makes heavy >> use of TSC. The kernel is booted with 'clocksource=tsc highres=off nohz=off' >> because only this clocksource gives enough granularity. The default >> paravirtualized clock will ret

Re: [Xen-devel] xen/evtchn and forced threaded irq

2019-02-22 Thread Oleksandr Andrushchenko
On 2/20/19 10:46 PM, Julien Grall wrote: (+ Andrew and Jan for feedback on the event channel interrupt) Hi Boris, Thank you for the your feedback. On 2/20/19 8:04 PM, Boris Ostrovsky wrote: On 2/20/19 1:05 PM, Julien Grall wrote: Hi, On 20/02/2019 17:07, Boris Ostrovsky wrote: On 2/20/19 9

Re: [PATCH v2 2/2] loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()

2019-02-22 Thread Dongli Zhang
On 02/22/2019 07:47 PM, Jan Kara wrote: > On Thu 21-02-19 23:33:43, Dongli Zhang wrote: >> Commit 0da03cab87e6 >> ("loop: Fix deadlock when calling blkdev_reread_part()") moves >> blkdev_reread_part() out of the loop_ctl_mutex. However, >> GENHD_FL_NO_PART_SCAN is set before __blkdev_reread_part

Re: [RFC][PATCH 00/16] sched: Core scheduling

2019-02-22 Thread Mel Gorman
On Mon, Feb 18, 2019 at 09:49:10AM -0800, Linus Torvalds wrote: > On Mon, Feb 18, 2019 at 9:40 AM Peter Zijlstra wrote: > > > > However; whichever way around you turn this cookie; it is expensive and > > nasty. > > Do you (or anybody else) have numbers for real loads? > > Because performance is

Re: [PATCH] drm/amd/display: Pass app_tf by value rather than by reference

2019-02-22 Thread Nathan Chancellor
On Mon, Dec 10, 2018 at 04:42:01PM -0700, Nathan Chancellor wrote: > Clang warns when an expression that equals zero is used as a null > pointer constant (in lieu of NULL): > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4435:3: > warning: expression which evaluates to zero treated

Re: [PATCH v1 2/4] KVM: arm/arm64: vgic: Improve comment on kvm_vgic_inject_irq

2019-02-22 Thread Leo Yan
On Fri, Feb 22, 2019 at 09:39:23AM +, Marc Zyngier wrote: [...] > > > > diff --git a/virt/kvm/arm/vgic/vgic.c b/virt/kvm/arm/vgic/vgic.c > > > > index 7cfdfbc910e0..79fe64c15051 100644 > > > > --- a/virt/kvm/arm/vgic/vgic.c > > > > +++ b/virt/kvm/arm/vgic/vgic.c > > > > @@ -394,7 +394,7 @@ bo

Re: linux-next: manual merge of the powerpc tree with the dma-mapping tree

2019-02-22 Thread Christoph Hellwig
On Fri, Feb 22, 2019 at 02:43:41PM +1100, Michael Ellerman wrote: > Stephen Rothwell writes: > > > Hi all, > > > > Today's linux-next merge of the powerpc tree got a conflict in: > > > > arch/powerpc/kernel/dma-swiotlb.c > > > > between commit: > > > > cfced786969c ("dma-mapping: remove the d

Re: [PATCH RFC 02/39] KVM: x86/xen: intercept xen hypercalls if enabled

2019-02-22 Thread Paolo Bonzini
On 22/02/19 01:30, Sean Christopherson wrote: > On Thu, Feb 21, 2019 at 08:56:06PM +, Joao Martins wrote: >> The Xen addition follows the same structure as Hyper-V in kvm (what you >> suggest >> here is probably applicable for both). i.e. there's some Xen specific >> routines >> for vm/vcpu i

Re: linux-next: build failure after merge of the rpmsg tree

2019-02-22 Thread Christoph Hellwig
FYI, can I please get an explanation for the remoteproc changes? We really should avoid adding new callers of dma_declare_coherent_memory, which is a rather badly designed interface.

Re: [PATCH v5 0/5] M_CAN Framework re-write

2019-02-22 Thread Dan Murphy
Wolfgang On 2/22/19 3:38 AM, Wolfgang Grandegger wrote: > Hello Dan, > > what kernel version is that patch series for. I have problems to apply it! > It is based off of Master commit 2137397c92aec3713fa10be3c9b830f9a1674e60 (linux_master/master) And I successfully rebased on top of commit 8a

Re: [PATCH RFC 01/39] KVM: x86: fix Xen hypercall page msr handling

2019-02-22 Thread Paolo Bonzini
On 22/02/19 02:30, Sean Christopherson wrote: > if (kvm_advertise_kvm()) { > if () > return ...; > } else if (kvm_advertise_hyperv()) { > if () > return ...; > } else if (kvm_advertise_xen()) { >

[PATCH v10 10/12] tracing, arm64: untag user pointers in seq_print_user_ip

2019-02-22 Thread Andrey Konovalov
seq_print_user_ip() uses provided user pointers for vma lookups, which can only by done with untagged pointers. Untag user pointers in this function. Signed-off-by: Andrey Konovalov --- kernel/trace/trace_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/

[PATCH v10 12/12] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-02-22 Thread Andrey Konovalov
This patch adds a simple test, that calls the uname syscall with a tagged user pointer as an argument. Without the kernel accepting tagged user pointers the test fails with EFAULT. Signed-off-by: Andrey Konovalov --- tools/testing/selftests/arm64/.gitignore | 1 + tools/testing/selftests/a

[PATCH v10 00/12] arm64: untag user pointers passed to the kernel

2019-02-22 Thread Andrey Konovalov
This patchset is meant to be merged together with "arm64 relaxed ABI" [1]. arm64 has a feature called Top Byte Ignore, which allows to embed pointer tags into the top byte of each pointer. Userspace programs (such as HWASan, a memory debugging tool [2]) might use this feature and pass tagged user

[PATCH v10 09/12] kernel, arm64: untag user pointers in prctl_set_mm*

2019-02-22 Thread Andrey Konovalov
prctl_set_mm() and prctl_set_mm_map() use provided user pointers for vma lookups, which can only by done with untagged pointers. Untag user pointers in these functions. Signed-off-by: Andrey Konovalov --- kernel/sys.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/kernel/sy

[PATCH v10 07/12] fs, arm64: untag user pointers in fs/userfaultfd.c

2019-02-22 Thread Andrey Konovalov
userfaultfd_register() and userfaultfd_unregister() use provided user pointers for vma lookups, which can only by done with untagged pointers. Untag user pointers in these functions. Signed-off-by: Andrey Konovalov --- fs/userfaultfd.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs

[PATCH v10 04/12] mm, arm64: untag user pointers passed to memory syscalls

2019-02-22 Thread Andrey Konovalov
This commit allows tagged pointers to be passed to the following memory syscalls: madvise, mbind, get_mempolicy, mincore, mlock, mlock2, brk, mmap_pgoff, old_mmap, munmap, remap_file_pages, mprotect, pkey_mprotect, mremap, msync and shmdt. Signed-off-by: Andrey Konovalov --- ipc/shm.c | 2 +

[PATCH v10 11/12] arm64: update Documentation/arm64/tagged-pointers.txt

2019-02-22 Thread Andrey Konovalov
Document the changes in Documentation/arm64/tagged-pointers.txt. Signed-off-by: Andrey Konovalov --- Documentation/arm64/tagged-pointers.txt | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Documentation/arm64/tagged-pointers.txt b/Documentation/ar

<    1   2   3   4   5   6   7   8   9   >