Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-12-10 Thread Miquel Raynal
Hi Liang, Liang Yang wrote on Tue, 11 Dec 2018 09:56:25 +0800: > Hi Miquel, > > On 2018/12/10 22:50, Miquel Raynal wrote: > > Hi Liang, > > > > Liang Yang wrote on Mon, 10 Dec 2018 20:12:39 > > +0800: > > > >> On 2018/12/10 19:38, Boris Brezillon wrote: > >>> On Mon, 10 Dec 2018

[PATCH v2 1/2] dt-bindings: cadence-quadspi: Add new compatible for AM654 SoC

2018-12-10 Thread Vignesh R
AM654 SoC has Cadence Octal SPI controller, which is similar to Cadence QSPI controller but supports Octal IO(x8 data lines) and Double Data Rate(DDR) mode. Add new compatible to support OSPI controller on TI's AM654 SoCs. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- v2 Collect

[PATCH v2 0/2] cadence-quadspi: Add Octal mode support

2018-12-10 Thread Vignesh R
This series adds support for OSPI version of Cadence QSPI controller IP. Based on top of [1][2] that add Octal mode support in spi-nor core: [1] https://patchwork.ozlabs.org/patch/1006717/ [2] https://patchwork.ozlabs.org/patch/1006715/ Changes: v2: spi-nor core patches dropped, are now part of

[PATCH v2 2/2] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2018-12-10 Thread Vignesh R
Cadence OSPI controller IP supports Octal IO (x8 IO lines), It also has an integrated PHY. IP register layout is very similar to existing QSPI IP except for additional bits to support Octal and Octal DDR mode. Therefore, extend current driver to support Octal mode. Signed-off-by: Vignesh R ---

Re: [PATCH v16 16/16] arm64: kexec_file: add kaslr support

2018-12-10 Thread AKASHI Takahiro
On Tue, Dec 11, 2018 at 02:50:02PM +0900, AKASHI Takahiro wrote: > On Fri, Nov 30, 2018 at 01:19:44PM +, Will Deacon wrote: > > On Thu, Nov 15, 2018 at 02:52:55PM +0900, AKASHI Takahiro wrote: > > > Adding "kaslr-seed" to dtb enables triggering kaslr, or kernel virtual > > > address

Re: [PATCH] sched/fair: move capacity_margin definition into #ifdef

2018-12-10 Thread Vincent Guittot
Hi Arnd, On Mon, 10 Dec 2018 at 22:01, Arnd Bergmann wrote: > > Marking the variable static showed that it's only used for > SMP builds, as seen from this warning: > > kernel/sched/fair.c:119:21: error: 'capacity_margin' defined but not used > [-Werror=unused-variable] > static unsigned int

Re: [linux-sunxi] [PATCH 0/8] This is a second edition of a series that implements voltage

2018-12-10 Thread Lee Jones
On Tue, 11 Dec 2018, Priit Laes wrote: > On Mon, Dec 10, 2018 at 08:42:11PM +0200, Priit Laes wrote: > > ramping for AXP209 DCDC2 and LDO3 regulators and software > > based soft-start for AXP209 LDO3 regulator. > > Ugh.. managed to botch this series. I'll send a fixed one > today. While you're

Re: [PATCH 1/2] scsi: aacraid: change wait_sem to a completion

2018-12-10 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH 2/2] scsi: aacraid: change event_wait to a completion

2018-12-10 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

[PATCH v4 2/2] proc: add AVX-512 usage to /proc/pid/status

2018-12-10 Thread Aubrey Li
AVX-512 components usage could cause core turbo frequency drop. So it's useful to expose AVX-512 components usage as a heuristic hint for the user space job scheduler to cluster the AVX-512 using tasks together. Example: $ cat /proc/pid/status | grep AVX512_hint AVX512_hint: 1 The hint number

[PATCH v4 1/2] x86/fpu: track AVX-512 usage of tasks

2018-12-10 Thread Aubrey Li
User space tools which do automated task placement need information about AVX-512 usage of tasks, because AVX-512 usage could cause core turbo frequency drop and impact the running task on the sibling CPU. The XSAVE hardware structure has bits that indicate when valid state is present in

[PATCH v3 2/8] perf cs-etm: Avoid stale branch samples when flush packet

2018-12-10 Thread Leo Yan
At the end of trace buffer handling, function cs_etm__flush() is invoked to flush any remaining branch stack entries. As a side effect, it also generates branch sample, because the 'etmq->packet' doesn't contains any new coming packet but point to one stale packet after packets swapping, so it

[PATCH v3 7/8] perf cs-etm: Treat EO_TRACE element as trace discontinuity

2018-12-10 Thread Leo Yan
If decoder outputs EO_TRACE element, it means the end of the trace buffer; this is a discontinuity and in this case the end of trace data needs to be saved. This patch generates CS_ETM_DISCONTINUITY packet for EO_TRACE element hereby flushing the end of trace data in cs-etm.c. Signed-off-by: Leo

[PATCH v3 4/8] perf cs-etm: Refactor enumeration cs_etm_sample_type

2018-12-10 Thread Leo Yan
The values in enumeration cs_etm_sample_type are defined with setting bit N for each packet type, this is not suggested in the usual case. This patch refactor cs_etm_sample_type by converting from bit shifting values to continuous numbers. Signed-off-by: Leo Yan Cc: Mathieu Poirier Cc: Mike

[PATCH v3 0/8] perf cs-etm: Correct packets handling

2018-12-10 Thread Leo Yan
perf cs-etm module converts decoder elements to packets and then we have more context crossing packets to generate synthenize samples, finally perf tool can faciliate samples for statistics and report the results. This patch series is to address several issues found related with packets handling

[PATCH v3 1/8] perf cs-etm: Correct packets swapping in cs_etm__flush()

2018-12-10 Thread Leo Yan
The structure cs_etm_queue uses 'prev_packet' to point to previous packet, this can be used to combine with new coming packet to generate samples. In function cs_etm__flush() it swaps packets only when the flag 'etm->synth_opts.last_branch' is true, this means that it will not swap packets if

[PATCH v3 8/8] perf cs-etm: Generate branch sample for exception packet

2018-12-10 Thread Leo Yan
The exception packet appears as one element with 'elem_type' == OCSD_GEN_TRC_ELEM_EXCEPTION or OCSD_GEN_TRC_ELEM_EXCEPTION_RET, which present for exception entry and exit respectively. The decoder set packet fields 'packet->exc' and 'packet->exc_ret' to indicate the exception packets; but

[PATCH v3 3/8] perf cs-etm: Remove unused 'trace_on' in cs_etm_decoder

2018-12-10 Thread Leo Yan
cs_etm_decoder::trace_on is being assigned when TRACE_ON or NO_SYNC element is coming, but it is never used hence it is redundant and can be removed. So let's remove 'trace_on' field from cs_etm_decoder struct. Suggested-by: Mathieu Poirier Signed-off-by: Leo Yan Cc: Mike Leach Cc: Robert

[PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-10 Thread Leo Yan
CoreSight tracer driver might insert barrier packet between different buffers, thus the decoder can spot the boundaries based on the barrier packet; the decoder is possible to hit a barrier packet and emit a NO_SYNC element, then the decoder will find a periodic synchronisation point inside that

[PATCH v3 5/8] perf cs-etm: Rename CS_ETM_TRACE_ON to CS_ETM_DISCONTINUITY

2018-12-10 Thread Leo Yan
TRACE_ON element is used at the beginning of trace, it also can be appeared in the middle of trace data to indicate discontinuity; for example, it's possible to see multiple TRACE_ON elements in the trace stream if the trace is being limited by address range filtering. Furthermore, except

Re: [PATCH] test_rhashtable: remove semaphore usage

2018-12-10 Thread Phil Sutter
Hi, On Tue, Dec 11, 2018 at 01:45:52PM +0800, Herbert Xu wrote: > On Mon, Dec 10, 2018 at 10:17:20PM +0100, Arnd Bergmann wrote: > > This is one of only two files that initialize a semaphore to a negative > > value. We don't really need the two semaphores here at all, but can do > > the same

Re: [PATCH] mmc: sdhci-msm: avoid unused function warning

2018-12-10 Thread Adrian Hunter
On 10/12/18 10:45 PM, Arnd Bergmann wrote: > The newly added sdhci_msm_restore_sdr_dll_config() function is only > called if CONFIG_PM is enabled: > > drivers/mmc/host/sdhci-msm.c:1050:12: error: > 'sdhci_msm_restore_sdr_dll_config' defined but not used > [-Werror=unused-function] > > Better

Re: [PATCH] crypto/testmgr: fix skcipher test with CONFIG_VMAP_STACK

2018-12-10 Thread Christophe Leroy
Le 11/12/2018 à 06:07, Herbert Xu a écrit : On Fri, Dec 07, 2018 at 09:26:15PM +0100, Ard Biesheuvel wrote: On Fri, 7 Dec 2018 at 18:33, Christophe Leroy wrote: [2.364486] WARNING: CPU: 0 PID: 60 at ./arch/powerpc/include/asm/io.h:837 dma_nommu_map_page+0x44/0xd4 [2.373579] CPU:

[PATCH] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2018-12-10 Thread Christophe Leroy
[2.364486] WARNING: CPU: 0 PID: 60 at ./arch/powerpc/include/asm/io.h:837 dma_nommu_map_page+0x44/0xd4 [2.373579] CPU: 0 PID: 60 Comm: cryptomgr_test Tainted: GW 4.20.0-rc5-00560-g6bfb52e23a00-dirty #531 [2.384740] NIP: c000c540 LR: c000c584 CTR: [

RE: [PATCH v2] cpuidle: Add 'above' and 'below' idle state metrics

2018-12-10 Thread Doug Smythies
On 2018.12.10 02:52 Peter Zijlstra wrote: >On Mon, Dec 10, 2018 at 10:36:40PM +0100, Rafael J. Wysocki wrote: >> On Mon, Dec 10, 2018 at 1:21 PM Peter Zijlstra wrote: >>> Would not a tracepoint be better?; then there is no overhead in the >>> normal case where nobody gives a crap about these

linux-next: Tree for Dec 11

2018-12-10 Thread Stephen Rothwell
Hi all, Changes since 20181210: The arm64 tree gained a conflict against Linus' tree. The f2fs tree gained a conflict against the fscrypt tree. The ubifs tree gained a conflict against the fscrypt tree. The rdma tree still had its build failure so I used the version from next-20181203

RE: [PATCH v6 1/2] mailbox: ZynqMP IPI mailbox controller

2018-12-10 Thread Jiaying Liang
> -Original Message- > From: Wendy Liang [mailto:wendy.li...@xilinx.com] > Sent: Monday, November 19, 2018 1:26 PM > To: jassisinghb...@gmail.com; Michal Simek ; > robh...@kernel.org; mark.rutl...@arm.com > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; >

RE: Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2018-12-10 Thread MyungJoo Ham
> Hi Saravana, > > The devfreq git repo is maintained by Myungjoo Ham. > you can check it on MAINTAINERS file. > > I think that you better to resend mail to mainline > with my reviewed tag because the devfreq core could be modified > and then merge conflict might be happen when apply this patch.

Re: [linux-sunxi] [PATCH 0/8] This is a second edition of a series that implements voltage

2018-12-10 Thread Priit Laes
On Mon, Dec 10, 2018 at 08:42:11PM +0200, Priit Laes wrote: > ramping for AXP209 DCDC2 and LDO3 regulators and software > based soft-start for AXP209 LDO3 regulator. Ugh.. managed to botch this series. I'll send a fixed one today. > > Both features are needed to work around a PMIC shutdown when

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Greg Kroah-Hartman
On Mon, Dec 10, 2018 at 04:50:00PM +0200, Georgi Djakov wrote: > On 12/10/18 13:00, Rafael J. Wysocki wrote: > > On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov > > wrote: > >> > >> Hi Rafael, > >> > >> On 12/10/18 11:04, Rafael J. Wysocki wrote: > >>> On Thu, Dec 6, 2018 at 3:55 PM Greg KH

Re: *powersave* governor shown despite disabled in configuration

2018-12-10 Thread Dominik Brodowski
On Mon, Dec 10, 2018 at 04:30:05PM +0100, Paul Menzel wrote: > Dear Linux folks, > > > With Linux 4.14.76, the scaling governor *powersave* is shown as > being available despite being disabled in the configuration. Which cpufreq driver do you use? Presumably intel_pstate? That driver exposes

Re: [RFC] avoid indirect calls for DMA direct mappings v2

2018-12-10 Thread Christoph Hellwig
On Mon, Dec 10, 2018 at 01:51:13PM -0800, Luck, Tony wrote: > But the ia64 build fails with: Yes, I just got the same complaint form the buildbot, unfortunately I don't have a good ia64 cross compiler locally given that Debian is lacking one, and the one provided by the buildbot doesn't build on

Re: [PATCHv2 12/12] doc/mm: New documentation for memory performance

2018-12-10 Thread Mike Rapoport
Hi Keith, Thanks for the docs! :) Some nits below... On Mon, Dec 10, 2018 at 06:03:10PM -0700, Keith Busch wrote: > Platforms may provide system memory where some physical address ranges > perform differently than others, or is side cached by the system. > > Add documentation describing a high

Re: [PATCH] Linux: Implement membarrier function

2018-12-10 Thread David Goldblatt
Hi Paul, thank you for thinking about all this. I think the modelling you suggest captures most of the algorithms I would want to write. I think it's slightly too weak, though, to implement the model suggested in P1202R0[1], which permits the SC outcome to be recovered in C-Goldblat-memb-2[2] by

Re: [PATCH] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-10 Thread Matti Vaittinen
Hello Vladimir, Thanks for the review. On Mon, Dec 10, 2018 at 05:16:28PM +0200, Vladimir Zapolskiy wrote: > On 12/10/2018 10:14 AM, Matti Vaittinen wrote: > > Add level active IRQ support to regmap-irq irqchip. Change breaks > > existing regmap-irq type setting. Convert the existing drivers

RE: Fwd: [Bug 201647] New: Intel Wireless card 3165 does not get detected but bluetooth works

2018-12-10 Thread Grumbach, Emmanuel
> > > > > > > > https://bugzilla.kernel.org/show_bug.cgi?id=201647 > > > > > > > > Bug ID: 201647 > > > >Summary: Intel Wireless card 3165 does not get detected but > > > > bluetooth works > > > >Product: Drivers > > > >Version:

Re: [PATCH 1/5] dt-bindings: i2c: Add Mediatek MT7629 i2c binding

2018-12-10 Thread mtk15107
On Tue, 2018-12-04 at 12:19 -0800, Sean Wang wrote: > 於 2018年12月3日 週一 上午5:34寫道: > > > > From: qii wang > > > > Add MT7629 i2c binding to i2c-mt2712.txt and there is no need to > > where's i2c-mt2712.txt mentioned here? > Sorry, I will rewrite this commit. Such as: Add MT7629 i2c binding to

Re: [PATCH 28/52] Do fallocate() to grow file before mapping for file growing writes

2018-12-10 Thread kbuild test robot
Hi Vivek, I love your patch! Perhaps something to improve: [auto build test WARNING on fuse/for-next] [also build test WARNING on v4.20-rc6] [cannot apply to next-20181210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v3 3/3] bus: imx-weim: guard against timing configuration conflicts

2018-12-10 Thread Shawn Guo
On Thu, Dec 06, 2018 at 02:26:33PM -0500, Sven Van Asbroeck wrote: > When specifying weim child devices, there is a risk that more than > one timing setting is specified for the same chip select. > > The driver cannot support such a configuration. > > In case of conflict, this patch will print a

Re: [PATCH] thermal: tegra: add get_trend ops

2018-12-10 Thread Wei Ni
Hi Rui & Eduardo, Could you please take this patch? Thanks. Wei. On 5/12/2018 4:30 PM, Wei Ni wrote: > Hi Daniel, > It seems no more comments, could this patch be approved? > > Thanks. > Wei. > > On 30/11/2018 11:07 AM, Wei Ni wrote: >> >> >> On 30/11/2018 1:01 AM, Eduardo Valentin wrote: >>>

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-10 Thread Dave Chinner
On Sat, Dec 08, 2018 at 10:09:26AM -0800, Dan Williams wrote: > On Sat, Dec 8, 2018 at 8:48 AM Christoph Hellwig wrote: > > > > On Sat, Dec 08, 2018 at 11:33:53AM -0500, Jerome Glisse wrote: > > > Patchset to use HMM inside nouveau have already been posted, some > > > of the bits have already

[PATCH] nbd:clear NBD_BOUND flag when NBD connection is closed

2018-12-10 Thread medadyoung
From: Medad If we do NOT clear NBD_BOUND flag when NBD connection is closed, then the original NBD device could not be used again. Signed-off-by: Medad --- drivers/block/nbd.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/block/nbd.c

Re: [PATCH 28/52] Do fallocate() to grow file before mapping for file growing writes

2018-12-10 Thread kbuild test robot
Hi Vivek, I love your patch! Perhaps something to improve: [auto build test WARNING on fuse/for-next] [also build test WARNING on v4.20-rc6] [cannot apply to next-20181210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Kuninori Morimoto
Hi Tony > > And, your [2/2] patch, > > I guess you are misunderstanding about "port" vs "endpoint", > > or omap-mcbsp driver side need to update ? > > Yes omap-mcbsp driver needs to be updated for multiple endpoints. > > Adding Jarkko and Peter also to Cc, below is the WIP patch that I'm >

Re: [PATCH v16 06/16] lib: fdt: add a helper function for handling memory range property

2018-12-10 Thread AKASHI, Takahiro
James, On Fri, Dec 07, 2018 at 10:12:47AM +, James Morse wrote: > Hi Akashi, Will, > > On 06/12/2018 15:54, Will Deacon wrote: > > On Thu, Dec 06, 2018 at 08:47:04AM -0600, Rob Herring wrote: > >> On Wed, Nov 14, 2018 at 11:52 PM AKASHI Takahiro > >> wrote: > >>> > >>> Added function,

Re: linux-next: manual merge of the akpm-current tree with the arm64 tree

2018-12-10 Thread Stephen Rothwell
Hi all, [Sent to early with people missing ...] On Tue, 11 Dec 2018 17:11:02 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > arch/arm64/mm/proc.S > > between commits: > > 67e7fdfcc682 ("arm64: mm: introduce 52-bit userspace

Re: [PATCH 31/52] dax: Pass dax_dev to dax_writeback_mapping_range()

2018-12-10 Thread kbuild test robot
Hi Vivek, I love your patch! Yet something to improve: [auto build test ERROR on fuse/for-next] [also build test ERROR on v4.20-rc6] [cannot apply to next-20181210] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH] mfd: cros_ec_dev: Add missing mfd_remove_devices() call in remove

2018-12-10 Thread Lee Jones
On Mon, 10 Dec 2018, Enric Balletbo i Serra wrote: > The driver adds different MFD child devices via mfd_add_devices() and > hence it is required to call mfd_remove_devices() to remove MFD child > devices. > > Fixes: 5e0115581bbc ("cros_ec: Move cros_ec_dev module to drivers/mfd") > Cc:

linux-next: manual merge of the akpm-current tree with the FIXME tree

2018-12-10 Thread Stephen Rothwell
Hi Andrew, FIXME: Add owner of second tree to To: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/mm/proc.S between commits: 67e7fdfcc682 ("arm64: mm: introduce 52-bit userspace support") 68d23da4373a

Re: [PATCH v3 2/3] dt-bindings: bus: imx-weim: document multiple address ranges per child node

2018-12-10 Thread Shawn Guo
On Thu, Dec 06, 2018 at 02:26:32PM -0500, Sven Van Asbroeck wrote: > The imx-weim driver was patched to allow correct WEIM configuration > when multiple address ranges are used in a child node. > Update the dt-bindings to reflect this. > > Signed-off-by: Sven Van Asbroeck The bindings patch

Re: [PATCH v3 1/3] bus: imx-weim: support multiple address ranges per child node

2018-12-10 Thread Shawn Guo
On Thu, Dec 06, 2018 at 02:26:31PM -0500, Sven Van Asbroeck wrote: > Ensure that timing values for the child node are applied to > all chip selects in the child's address ranges. > > Note that this does not support multiple timing settings per > child; this can be added in the future if required.

Re: [PATCHv2 02/12] acpi/hmat: Parse and report heterogeneous memory

2018-12-10 Thread Dan Williams
On Mon, Dec 10, 2018 at 5:05 PM Keith Busch wrote: > > Systems may provide different memory types and export this information > in the ACPI Heterogeneous Memory Attribute Table (HMAT). Parse these > tables provided by the platform and report the memory access and caching > attributes. > >

linux-next: manual merge of the akpm-current tree with the arm64 tree

2018-12-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/include/asm/memory.h between commit: 6e8830674ea7 ("arm64: kasan: Increase stack size for KASAN_EXTRA") from the arm64 tree and commit: 2a4689e7f69c ("kasan, arm64: adjust shadow size for tag-based

[PATCH v10 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-12-10 Thread Ayman Bagabas
Some of Huawei laptops come with a LED in the micmute key. This patch enables the use of micmute LED for these devices: 1. Matebook X (19e5:3200), (19e5:3201) 2. Matebook X Pro (19e5:3204) Reviewed-by: Takashi Iwai Signed-off-by: Ayman Bagabas --- sound/pci/hda/patch_realtek.c | 6 +- 1

[PATCH v10 2/3] x86: add support for Huawei WMI hotkeys.

2018-12-10 Thread Ayman Bagabas
This driver adds support for missing hotkeys on some Huawei laptops. Laptops such as the Matebook X have non functioning hotkeys. Whereas newer laptops such as the Matebook X Pro come with working hotkeys out of the box. Old laptops, such as the Matebook X, report hotkey events through ACPI

[PATCH v10 1/3] ALSA: hda: fix front speakers on Huawei MBXP.

2018-12-10 Thread Ayman Bagabas
This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' https://bugzilla.kernel.org/show_bug.cgi?id=200501 It enables the front speakers on Huawei Matebook X Pro laptops. These laptops come with Dolby Atmos sound system and these pins configuration enables the front speakers.

[PATCH v10 0/3] Huawei laptops

2018-12-10 Thread Ayman Bagabas
This patch set is based on the new audio LED triggers in topic/leds-trigger branch from git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git Changes in v10: * Use ec_get_handle instead of acpi_get_handle since we are using the ec device * Switch to WMI0_EXPENSIVE_GUID and

Re: [PATCH net-next] ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done

2018-12-10 Thread David Miller
From: YueHaibing Date: Tue, 11 Dec 2018 11:13:39 +0800 > gcc warning this: > > drivers/net/ieee802154/ca8210.c:730:10: warning: > comparison is always false due to limited range of data type [-Wtype-limits] > > 'len' is u8 type, we get it from buf[1] adding 2, which can overflow. > This patch

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Vignesh R
On 07/12/18 2:12 PM, Faiz Abbas wrote: > On the am654x-evm, sdhci0 node is connected to an eMMC while sdhci1 > is connected to an SD card slot. Add nodes and pinmuxes for the same. > > Signed-off-by: Faiz Abbas > --- > .../arm64/boot/dts/ti/k3-am654-base-board.dts | 46 +++ >

Re: [PATCH v5 0/3] Fixes for Tegra soctherm

2018-12-10 Thread Wei Ni
Hi Rui & Eduardo, It looks no more comments on this version, could you please take this serial? Thanks. Wei. On 5/12/2018 4:31 PM, Wei Ni wrote: > Hi, > Does there have any comments on this serial? > > Thanks. > Wei. > > On 3/12/2018 1:55 PM, Wei Ni wrote: >> This series fixed some issues for

Re: [PATCH v1] binder: implement binderfs(Internet mail)

2018-12-10 Thread Christian Brauner
On Tue, Dec 11, 2018 at 03:44:48AM +, chouryzhou(周威) wrote: > > chouryzhou@, can you confirm that this implementation works for your > > android-in-container use-case? > > > > -Todd > > > We are running Android Pie in container now. If it works for later Android > release, it will works for

Re: [PATCH 00/18] my generic mmu_gather patches

2018-12-10 Thread Aneesh Kumar K.V
Peter Zijlstra writes: > Hi, > > Here is my current stash of generic mmu_gather patches that goes on top of > Will's > tlb patches: > > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git > tlb/asm-generic > > And they include the s390 patches done by Heiko. At the end of this,

Re: [PATCH] test_rhashtable: remove semaphore usage

2018-12-10 Thread Herbert Xu
On Mon, Dec 10, 2018 at 10:17:20PM +0100, Arnd Bergmann wrote: > This is one of only two files that initialize a semaphore to a negative > value. We don't really need the two semaphores here at all, but can do > the same thing in more conventional and more effient way, by using a > single

Re: [PATCH v16 16/16] arm64: kexec_file: add kaslr support

2018-12-10 Thread AKASHI Takahiro
On Fri, Nov 30, 2018 at 01:19:44PM +, Will Deacon wrote: > On Thu, Nov 15, 2018 at 02:52:55PM +0900, AKASHI Takahiro wrote: > > Adding "kaslr-seed" to dtb enables triggering kaslr, or kernel virtual > > address randomization, at secondary kernel boot. We always do this as > > it will have no

Re: Can we drop upstream Linux x32 support?

2018-12-10 Thread Christian Brauner
On Mon, Dec 10, 2018 at 05:23:39PM -0800, Andy Lutomirski wrote: > Hi all- > > I'm seriously considering sending a patch to remove x32 support from > upstream Linux. Here are some problems with it: > > 1. It's not entirely clear that it has users. As far as I know, it's > supported on Gentoo

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Tony Lindgren
* Kuninori Morimoto [181211 05:30]: > > Hi Tony, again > > > > mcbsp3_port: port { > > > - cpu_dai3: endpoint { > > > + cpu_dai3: endpoint@0 { > > > dai-format = "dsp_a"; > > > frame-master = <_audio_codec1>; > > >

Re: [PATCH 13/18] asm-generic/tlb: Introduce HAVE_MMU_GATHER_NO_GATHER

2018-12-10 Thread Aneesh Kumar K.V
Peter Zijlstra writes: > From: Martin Schwidefsky > > Add the Kconfig option HAVE_MMU_GATHER_NO_GATHER to the generic > mmu_gather code. If the option is set the mmu_gather will not > track individual pages for delayed page free anymore. A platform > that enables the option needs to provide its

Re: [PATCH v16 15/16] arm64: kexec_file: add kernel signature verification support

2018-12-10 Thread AKASHI Takahiro
On Fri, Nov 30, 2018 at 01:21:14PM +, Will Deacon wrote: > On Thu, Nov 15, 2018 at 02:52:54PM +0900, AKASHI Takahiro wrote: > > With this patch, kernel verification can be done without IMA security > > subsystem enabled. Turn on CONFIG_KEXEC_VERIFY_SIG instead. > > > > On x86, a signature is

[PATCH v5 2/2] arm: dts: mt2712: add uart APDMA to device tree

2018-12-10 Thread Long Cheng
1. add uart APDMA controller device node 2. add uart 0/1/2/3/4/5 DMA function Signed-off-by: Long Cheng --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 50 + 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH v5 0/2] add uart DMA function

2018-12-10 Thread Long Cheng
In Mediatek SOCs, the uart can support DMA function. Base on DMA engine formwork, we add the DMA code to support uart. And put the code under drivers/dma. This series contains document bindings, Kconfig to control the function enable or not, device tree including interrupt and dma device node,

[PATCH v5 1/2] dmaengine: 8250_mtk_dma: add Mediatek uart DMA support

2018-12-10 Thread Long Cheng
In DMA engine framework, add 8250 mtk dma to support it. Signed-off-by: Long Cheng --- drivers/dma/mediatek/8250_mtk_dma.c | 830 +++ drivers/dma/mediatek/Kconfig| 11 + drivers/dma/mediatek/Makefile |1 + 3 files changed, 842 insertions(+)

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Tony Lindgren
* Kuninori Morimoto [181211 05:16]: > > Hi Tony > > > > This looks a little bit strange for me. > > > Can you show me your DT for it ? > > > > Sure, adding also Sebastian to Cc. Here's what I currently have for droid 4 > > dts with two codecs on I2S. Please just ignore the GNSS parts there.. >

Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2018-12-10 Thread Chanwoo Choi
Hi Saravana, The devfreq git repo is maintained by Myungjoo Ham. you can check it on MAINTAINERS file. I think that you better to resend mail to mainline with my reviewed tag because the devfreq core could be modified and then merge conflict might be happen when apply this patch. Regards,

Re: Can we drop upstream Linux x32 support?

2018-12-10 Thread Andy Lutomirski
On Mon, Dec 10, 2018 at 7:15 PM H.J. Lu wrote: > > On Mon, Dec 10, 2018 at 5:23 PM Andy Lutomirski wrote: > > > > Hi all- > > > > I'm seriously considering sending a patch to remove x32 support from > > upstream Linux. Here are some problems with it: > > > > 1. It's not entirely clear that it

[PATCH v2] userfaultfd: clear flag if remap event not enabled

2018-12-10 Thread Peter Xu
When the process being tracked do mremap() without UFFD_FEATURE_EVENT_REMAP on the corresponding tracking uffd file handle, we should not generate the remap event, and at the same time we should clear all the uffd flags on the new VMA. Without this patch, we can still have the

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Kuninori Morimoto
Hi Tony, again > > mcbsp3_port: port { > > - cpu_dai3: endpoint { > > + cpu_dai3: endpoint@0 { > > dai-format = "dsp_a"; > > frame-master = <_audio_codec1>; > > bitclock-master = <_audio_codec1>; > >

RE: rcu_preempt caused oom

2018-12-10 Thread He, Bo
sure, we will update the new patch to run the test. -Original Message- From: Paul E. McKenney Sent: Tuesday, December 11, 2018 12:47 PM To: He, Bo Cc: Steven Rostedt ; linux-kernel@vger.kernel.org; j...@joshtriplett.org; mathieu.desnoy...@efficios.com; jiangshan...@gmail.com; Zhang,

[GIT PULL] extcon next for v4.21

2018-12-10 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.21. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04

Re: [RFC PATCH v2 11/11] powerpc/book3s32: Implement Kernel Userspace Access Protection

2018-12-10 Thread Russell Currey
On Wed, 2018-11-28 at 09:27 +, Christophe Leroy wrote: > This patch implements Kernel Userspace Access Protection for > book3s/32. > > Due to limitations of the processor page protection capabilities, > the protection is only against writing. read protection cannot be > achieved using page

Re: [PATCH net-next] rhashtable: further improve stability of rhashtable_walk

2018-12-10 Thread Herbert Xu
Hi Neil: On Mon, Dec 10, 2018 at 09:50:43AM +1100, NeilBrown wrote: > I think it was agreed that I would not pursue features that were only > of use to out-of-tree code, but I don't think that applies here. This > is not a feature, this is a quality-of-implementation improvement. > There are

Re: [PATCH] userfaultfd: clear flag if remap event not enabled

2018-12-10 Thread Peter Xu
On Mon, Dec 10, 2018 at 03:09:25PM -0500, Andrea Arcangeli wrote: > Hello, > > On Mon, Dec 10, 2018 at 07:51:16PM +0200, Mike Rapoport wrote: > > On Mon, Dec 10, 2018 at 02:51:21PM +0800, Peter Xu wrote: > > > When the process being tracked do mremap() without > > > UFFD_FEATURE_EVENT_REMAP on

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Kuninori Morimoto
Hi Tony > > This looks a little bit strange for me. > > Can you show me your DT for it ? > > Sure, adding also Sebastian to Cc. Here's what I currently have for droid 4 > dts with two codecs on I2S. Please just ignore the GNSS parts there.. > > The TDM configuration is all done in the

[PATCH V4 2/2] iio: accell: mma8452: add optional vdd/vddio regulator operation support

2018-12-10 Thread Anson Huang
The accelerometer's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the mma8451's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any communication with mma8451, this patch adds optional

[PATCH V4 1/2] dt-bindings: iio: accel: mma8452: add optional power supply property

2018-12-10 Thread Anson Huang
The accelerometer's power supply could be controlled by regulator on some platforms, add optional property "vdd/vddio" power supply to let device tree to pass phandles to the regulators to driver. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/iio/accel/mma8452.txt | 4 1

Re: [PATCH] crypto/testmgr: fix skcipher test with CONFIG_VMAP_STACK

2018-12-10 Thread Herbert Xu
On Fri, Dec 07, 2018 at 09:26:15PM +0100, Ard Biesheuvel wrote: > On Fri, 7 Dec 2018 at 18:33, Christophe Leroy wrote: > > > > [2.364486] WARNING: CPU: 0 PID: 60 at > > ./arch/powerpc/include/asm/io.h:837 dma_nommu_map_page+0x44/0xd4 > > [2.373579] CPU: 0 PID: 60 Comm: cryptomgr_test

[PATCH V4] iio: magnetometer: mag3110: add optional vdd/vddio regulator operation support

2018-12-10 Thread Anson Huang
The magnetometer's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the mag3110's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any communication with mag3110, this patch adds optional vdd/vddio

[PATCH V5 1/2] dt-bindings: iio: light: isl29018: update power supply name

2018-12-10 Thread Anson Huang
According to datasheet, the isl29018 has "vddd/vdda" power supply, the "vdda" and "vddd" MUST be shorted externally, and isl29023/isl29035 ONLY has "vdd" power supply, so just one regulator is needed for the driver, update the power supply name with "vdd" according to datasheet to avoid confusion.

[PATCH V5 2/2] iio: light: isl29018: add optional vdd regulator operation support

2018-12-10 Thread Anson Huang
The light sensor's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the light sensor isl29023's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any operation of sensor, this patch adds optional

Re: [PATCH] Add linux-unisoc mailing list to Spreadtrum SoC support

2018-12-10 Thread Baolin Wang
On Tue, 11 Dec 2018 at 11:57, Manivannan Sadhasivam wrote: > > Since Spreadtrum is now merged into Unisoc Communications, let's use the > newly created linux-unisoc mailing list for all discussions around the > Spreadtrum SoCs. > > Signed-off-by: Manivannan Sadhasivam Thanks. Acked-by: Baolin

Re: [PATCH V4 2/2] iio: light: isl29018: add optional vdd/vdda regulator operation support

2018-12-10 Thread Phil Reid
On 11/12/2018 12:29 pm, Anson Huang wrote: G'day Anson, Just pulled up the datasheet for this chip. The absolute max for Vdda is speced as Vddd ±0.5 With a note that Vdda should be externally shorted to Vddd. The data sheet says vdda should be connected to vdd externally, then I think we

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: tudor.amba...@microchip.com [mailto:tudor.amba...@microchip.com] > Sent: Monday, December 10, 2018 4:15 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va...@gmail.com;

Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

2018-12-10 Thread Tony Lindgren
* Kuninori Morimoto [181211 03:31]: > > Hi Tony > > > Here are two fixes that allow me to have multiple endpoints defined in > > the dts file for audio-graph-card. To do that, we need to fix up few > > issues as the graph binding Documentation/devicetree/bindings/graph.txt > > allows multiple

Re: [PATCH] mm: thp: fix soft dirty for migration when split

2018-12-10 Thread Peter Xu
On Mon, Dec 10, 2018 at 07:50:52PM +0300, Konstantin Khlebnikov wrote: > On Fri, Dec 7, 2018 at 6:34 AM Peter Xu wrote: > > > > On Thu, Dec 06, 2018 at 04:46:04PM +0800, Peter Xu wrote: > > > When splitting a huge migrating PMD, we'll transfer the soft dirty bit > > > from the huge page to the

Re: rcu_preempt caused oom

2018-12-10 Thread Paul E. McKenney
On Mon, Dec 10, 2018 at 04:38:38PM -0800, Paul E. McKenney wrote: > On Mon, Dec 10, 2018 at 06:56:18AM +, He, Bo wrote: > > Hi, > >We have start the test with the CONFIG_PROVE_RCU=y, and also add one 2s > > to detect the preempt rcu hang, hope we can get more useful logs tomorrow. > >

Re: [PATCH v3] kbuild: Add support for DT binding schema checks

2018-12-10 Thread Masahiro Yamada
Hi Rob, On Tue, Dec 11, 2018 at 5:50 AM Rob Herring wrote: > > This adds the build infrastructure for checking DT binding schema > documents and validating dts files using the binding schema. > > Check DT binding schema documents: > make dt_binding_check > > Build dts files and check using DT

RE: [PATCH V4 2/2] iio: light: isl29018: add optional vdd/vdda regulator operation support

2018-12-10 Thread Anson Huang
Hi, Phil Best Regards! Anson Huang > -Original Message- > From: Phil Reid [mailto:pr...@electromag.com.au] > Sent: 2018年12月11日 11:56 > To: Anson Huang ; ji...@kernel.org; > knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; > robh...@kernel.org; mark.rutl...@arm.com;

[PATCH] net/ibmvnic: Remove tests of member address

2018-12-10 Thread Wen Yang
The driver was checking for non-NULL address. - adapter->napi[i] This is pointless as these will be always non-NULL, since the 'dapter->napi' is allocated in init_napi(). It is safe to get rid of useless checks for addresses to fix the coccinelle warning: >>drivers/net/ethernet/ibm/ibmvnic.c:

[PATCH] drivers: net: xgene: Remove unnecessary forward declarations

2018-12-10 Thread Nathan Chancellor
Clang warns: drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning: tentative array definition assumed to have one element static const struct acpi_device_id xgene_enet_acpi_match[]; ^ 1 warning generated. Both xgene_enet_acpi_match and

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

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 02:45:44AM +, xuyandong wrote: > > > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: Tuesday, December 11, 2018 10:19 AM > > To: linux-kernel@vger.kernel.org > > Cc: xuyandong ; sta...@vger.kernel.org; Yinghai > > Lu ;

Re: [PATCH net 2/4] vhost_net: rework on the lock ordering for busy polling

2018-12-10 Thread Michael S. Tsirkin
On Tue, Dec 11, 2018 at 11:06:43AM +0800, Jason Wang wrote: > > On 2018/12/11 上午9:34, Michael S. Tsirkin wrote: > > On Mon, Dec 10, 2018 at 05:44:52PM +0800, Jason Wang wrote: > > > When we try to do rx busy polling in tx path in commit 441abde4cd84 > > > ("net: vhost: add rx busy polling in tx

  1   2   3   4   5   6   7   8   9   10   >