Re: [PATCH 1/2] arm64: dts: imx8mq: Correct OPP table according to latest datasheet

2019-06-27 Thread Leonard Crestez
On 28.06.2019 06:37, anson.hu...@nxp.com wrote: > From: Anson Huang > > According to latest datasheet (Rev.1, 10/2018) from below links, > in the consumer datasheet, 1.5GHz is mentioned as highest opp but > depends on speed grading fuse, and in the industrial datasheet, > 1.3GHz is mentioned as

Re: [PATCH 1/2] lib/genalloc.c: Add algorithm, align and zeroed family of DMA allocators

2019-06-27 Thread Christoph Hellwig
Thanks, I've added both patches to the dma-mapping for-next tree.

Re: [PATCH 07/13] xfs: allow merging ioends over append boundaries

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 11:23:09AM -0700, Darrick J. Wong wrote: > On Thu, Jun 27, 2019 at 12:48:30PM +0200, Christoph Hellwig wrote: > > There is no real problem merging ioends that go beyond i_size into an > > ioend that doesn't. We just need to move the append transaction to the > > base

Re: [PATCH v3 1/3] x86: Move DEBUG_TLBFLUSH option.

2019-06-27 Thread Paul Walmsley
On Mon, 29 Apr 2019, Atish Patra wrote: > CONFIG_DEBUG_TLBFLUSH was added in > > 'commit 3df3212f9722 ("x86/tlb: add tlb_flushall_shift knob into debugfs")' > to support tlb_flushall_shift knob. The knob was removed in > > 'commit e9f4e0a9fe27 ("x86/mm: Rip out complicated, out-of-date, buggy >

Re: [PATCH v3 3/3] RISC-V: Update tlb flush counters

2019-06-27 Thread Paul Walmsley
On Mon, 29 Apr 2019, Atish Patra wrote: > The TLB flush counters under vmstat seems to be very helpful while > debugging TLB flush performance in RISC-V. > > Update the counters in every TLB flush methods respectively. > > Signed-off-by: Atish Patra This one doesn't apply any longer. Care to

Re: [RFC PATCH v3 0/4] Deliver vGPU display vblank event to userspace

2019-06-27 Thread Gerd Hoffmann
On Fri, Jun 28, 2019 at 11:21:49AM +0800, Zhenyu Wang wrote: > On 2019.06.27 12:31:33 +0200, Gerd Hoffmann wrote: > > > > Hi, > > > > > > > > > Instead of delivering page flip events, we choose to post display > > > > > vblank event. Handling page flip events for both primary plane and > > > >

Re: [PATCH V2] soc: imx-scu: Add SoC UID(unique identifier) support

2019-06-27 Thread Daniel Baluta
On Fri, Jun 28, 2019 at 6:36 AM wrote: > > From: Anson Huang > > Add i.MX SCU SoC's UID(unique identifier) support, user > can read it from sysfs: > > root@imx8qxpmek:~# cat /sys/devices/soc0/soc_uid > 7B64280B57AC1898 > > Signed-off-by: Anson Huang Reviewed-by: Daniel Baluta

Re: lift the xfs writepage code into iomap v2

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 06:32:56PM -0700, Darrick J. Wong wrote: > I think Dave has voiced some valid concerns about our ability to support > this code over the long term once we start sharing it with other fses. > XFS has a longish history of sailing away from generic code so that we > can remove

Re: [PATCH v2 19/27] staging: rtl8*: use zeroing allocator rather than allocator followed with memset 0

2019-06-27 Thread Julia Lawall
On Fri, 28 Jun 2019, Fuqian Huang wrote: > Use zeroing allocator rather than allocator followed with memset 0. Maybe it would be better to just change these to the appropriate kmalloc and kzalloc calls. You will need to check on whether locks are held to know whether the secon argument

Re: [PATCH 1/4] tracing: Simplify assignment parsing for hist triggers

2019-06-27 Thread Masami Hiramatsu
On Thu, 27 Jun 2019 10:35:16 -0500 Tom Zanussi wrote: > In the process of adding better error messages for sorting, I realized > that strsep was being used incorrectly and some of the error paths I > was expecting to be hit weren't and just fell through to the common > invalid key error case.

Re: [PATCH 2/2] drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver.

2019-06-27 Thread Ganapatrao Kulkarni
Hi will, On Thu, Jun 27, 2019 at 3:27 PM Will Deacon wrote: > > Hi Ganapat, > > On Fri, Jun 14, 2019 at 05:42:46PM +, Ganapatrao Kulkarni wrote: > > CCPI2 is a low-latency high-bandwidth serial interface for connecting > > ThunderX2 processors. This patch adds support to capture CCPI2 perf

Re: [PATCH 06/13] xfs: remove XFS_TRANS_NOFS

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 03:30:30PM -0700, Darrick J. Wong wrote: > I think the wording of this is too indirect. The reason we need to set > NOFS is because we could be doing writeback as part of reclaiming > memory, which means that we cannot recurse back into filesystems to > satisfy the memory

Re: [PATCH 11/12] iomap: move the xfs writeback code to iomap.c

2019-06-27 Thread Christoph Hellwig
On Fri, Jun 28, 2019 at 10:45:42AM +1000, Dave Chinner wrote: > You've already mentioned two new users you want to add. I don't even > have zone capable hardware here to test one of the users you are > indicating will use this code, and I suspect that very few people > do. That's a non-trivial

[tip:x86/cpu] x86/mtrr: Skip cache flushes on CPUs with cache self-snooping

2019-06-27 Thread tip-bot for Ricardo Neri
Commit-ID: fd329f276ecaad7a371d6f91b9bbea031d0c3440 Gitweb: https://git.kernel.org/tip/fd329f276ecaad7a371d6f91b9bbea031d0c3440 Author: Ricardo Neri AuthorDate: Thu, 27 Jun 2019 19:35:37 -0700 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2019 07:21:00 +0200 x86/mtrr: Skip cache

[tip:x86/cpu] x86/cpu/intel: Clear cache self-snoop capability in CPUs with known errata

2019-06-27 Thread tip-bot for Ricardo Neri
Commit-ID: 1e03bff3600101bd9158d005e4313132e55bdec8 Gitweb: https://git.kernel.org/tip/1e03bff3600101bd9158d005e4313132e55bdec8 Author: Ricardo Neri AuthorDate: Thu, 27 Jun 2019 19:35:36 -0700 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2019 07:20:48 +0200 x86/cpu/intel: Clear

[tip:x86/boot] x86/kdump/64: Restrict kdump kernel reservation to <64TB

2019-06-27 Thread tip-bot for Baoquan He
Commit-ID: 8ff80fbe7e9870078b1cc3c2cdd8f3f223b333a9 Gitweb: https://git.kernel.org/tip/8ff80fbe7e9870078b1cc3c2cdd8f3f223b333a9 Author: Baoquan He AuthorDate: Fri, 24 May 2019 15:38:10 +0800 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2019 07:14:59 +0200 x86/kdump/64: Restrict

[tip:x86/boot] x86/kexec/64: Prevent kexec from 5-level paging to a 4-level only kernel

2019-06-27 Thread tip-bot for Baoquan He
Commit-ID: ee338b9ee2822e65a85750da6129946c14962410 Gitweb: https://git.kernel.org/tip/ee338b9ee2822e65a85750da6129946c14962410 Author: Baoquan He AuthorDate: Fri, 24 May 2019 15:38:09 +0800 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2019 07:14:59 +0200 x86/kexec/64: Prevent

[tip:x86/boot] x86/boot: Add xloadflags bits to check for 5-level paging support

2019-06-27 Thread tip-bot for Baoquan He
Commit-ID: f2d08c5d3bcf3f7ef788af122b57a919efa1e9d0 Gitweb: https://git.kernel.org/tip/f2d08c5d3bcf3f7ef788af122b57a919efa1e9d0 Author: Baoquan He AuthorDate: Fri, 24 May 2019 15:38:08 +0800 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2019 07:14:59 +0200 x86/boot: Add

[PATCH V3 2/5] cpufreq: Don't skip frequency validation for has_target() drivers

2019-06-27 Thread Viresh Kumar
CPUFREQ_CONST_LOOPS was introduced in a very old commit from pre-2.6 kernel release by commit 6a4a93f9c0d5 ("[CPUFREQ] Fix 'out of sync' issue"). If we you look at that commit, it does two things: - It adds the frequency verification code (which is quite similar to what we have today as well).

[PATCH] kbuild: use -E instead of -c for __cc-option

2019-06-27 Thread Masahiro Yamada
Use -E instead of -c like scripts/Kconfig.include This makes the compiler flag evaluation slightly faster. Signed-off-by: Masahiro Yamada --- scripts/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index

Re: No 8254 PIT & no HPET on new Intel N3350 platforms causes kernel panic during early boot

2019-06-27 Thread Thomas Gleixner
On Fri, 28 Jun 2019, Daniel Drake wrote: > On Thu, Jun 27, 2019 at 10:07 PM Thomas Gleixner wrote: > > Nah. That extra timer works thing is just another bandaid. > > > > What I had in mind is something like the below. That's on top of > > > >

Re: [PATCH v4 0/2] Use NVMEM as reboot-mode write interface

2019-06-27 Thread Nandor Han
Hi, Changes since v3: - documentation updated according to the comments Thanks, queued. Please fix your git/mail setup, I had to fix the line endings (\r\n -> \n) to apply this. -- Sebastian Ok. Thanks Sebastian. -- Nandor

[PATCH RFC] mtd: ubi: Add fastmap sysfs attribute

2019-06-27 Thread Zhihao
From: Zhihao Cheng The UBI device can be attached to a MTD device via fastmap by set CONFIG_MTD_UBI_FASTMAP to 'y' (If there already exists a fastmap on the UBI device). To support some debugging scenarios, attaching process by fastmap can be confirmed in dmesg. If the UBI device is attached by

Re: [PATCH] riscv: ccache: Remove unused variable

2019-06-27 Thread Yash Shah
On Thu, Jun 27, 2019 at 9:43 PM Paul Walmsley wrote: > > On Thu, 27 Jun 2019, Yash Shah wrote: > > > Reading the count register clears the interrupt signal. Currently, the > > count registers are read into 'regval' variable but the variable is > > never used. Therefore remove it. > > > >

Re: [RFC PATCH 00/28] Removing struct page from P2PDMA

2019-06-27 Thread Jason Gunthorpe
On Thu, Jun 27, 2019 at 10:49:43AM -0600, Logan Gunthorpe wrote: > > I don't think a GPU/FPGA driver will be involved, this would enter the > > block layer through the O_DIRECT path or something generic.. This the > > general flow I was suggesting to Dan earlier > > I would say the O_DIRECT path

linux-next: manual merge of the devicetree tree with the net-next tree

2019-06-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/net/ethernet.txt between commit: 79b647a0c0d5 ("dt-bindings: net: document new usxgmii phy mode") from the net-next tree and commit: 4e7a33bff7d7 ("dt-bindings: net: Add YAML

[PATCH] rbtree: avoid generating code twice for the cached versions

2019-06-27 Thread Michel Lespinasse
As was already noted in rbtree.h, the logic to cache rb_first (or rb_last) can easily be implemented externally to the core rbtree api. Change the implementation to do just that. Previously the update of rb_leftmost was wired deeper into the implemntation, but there were some disadvantages to

[RFC 2/2] arm64/mm: Enable device memory allocation and free for vmemmap mapping

2019-06-27 Thread Anshuman Khandual
This enables vmemmap_populate() and vmemmap_free() functions to incorporate struct vmem_altmap based device memory allocation and free requests. With this device memory with specific atlmap configuration can be hot plugged and hot removed as ZONE_DEVICE memory on arm64 platforms. Cc: Catalin

[RFC 0/2] arm64: Enable vmemmap from device memory

2019-06-27 Thread Anshuman Khandual
This series enables vmemmap mapping allocation from device memory ranges on arm64. Before that it enables vmemmap_populate_basepages() to accommodate struct vmem_altmap based requests. This series is based on linux next (next-20190613) along with v6 arm64 hot-remove series [1]. [1]

[RFC 1/2] mm/sparsemem: Add vmem_altmap support in vmemmap_populate_basepages()

2019-06-27 Thread Anshuman Khandual
Generic vmemmap_populate_basepages() is used across platforms for vmemmap as standard or as fallback when huge pages mapping fails. On arm64 it is used for configs with ARM64_SWAPPER_USES_SECTION_MAPS applicable both for ARM64_16K_PAGES and ARM64_64K_PAGES which cannot use huge pages because of

RE: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2019-06-27 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal > Sent: Thursday, June 27, 2019 9:58 PM > To: Naga Sureshkumar Relli > Cc: Naga Sureshkumar Relli ; r...@kernel.org; > martin.lund@keep-it- > simple.com; rich...@nod.at; linux-kernel@vger.kernel.org; Boris Brezillon > ;

Re: [PATCH] crypto: asymmetric_keys - select CRYPTO_HASH where needed

2019-06-27 Thread Herbert Xu
On Tue, Jun 18, 2019 at 02:13:47PM +0200, Arnd Bergmann wrote: > Build testing with some core crypto options disabled revealed > a few modules that are missing CRYPTO_HASH: > > crypto/asymmetric_keys/x509_public_key.o: In function `x509_get_sig_params': > x509_public_key.c:(.text+0x4c7):

Re: [PATCH 00/10] crypto: k3: Add sa2ul driver

2019-06-27 Thread Keerthy
On 28/06/19 9:49 AM, Herbert Xu wrote: On Tue, Jun 18, 2019 at 05:38:33PM +0530, Keerthy wrote: The series adds Crypto hardware accelerator support for SA2UL. SA2UL stands for security accelerator ultra lite. Please cc linux-cry...@vger.kernel.org. Okay. I will do that. Thanks,

Re: [PATCH 00/10] crypto: k3: Add sa2ul driver

2019-06-27 Thread Herbert Xu
On Tue, Jun 18, 2019 at 05:38:33PM +0530, Keerthy wrote: > The series adds Crypto hardware accelerator support for SA2UL. > SA2UL stands for security accelerator ultra lite. Please cc linux-cry...@vger.kernel.org. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

[PATCH -next] bus: ti-sysc: remove set but not used variable 'quirks'

2019-06-27 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/bus/ti-sysc.c: In function sysc_reset: drivers/bus/ti-sysc.c:1452:50: warning: variable quirks set but not used [-Wunused-but-set-variable] It is never used since commit e0db94fe87da ("bus: ti-sysc: Make OCP reset work for sysstatus and

[PATCH v3] mtd: spinand: read return badly if the last page has bitflips

2019-06-27 Thread liaoweixiong
In case of the last page containing bitflips (ret > 0), spinand_mtd_read() will return that number of bitflips for the last page. But to me it looks like it should instead return max_bitflips like it does when the last page read returns with 0. Signed-off-by: Weixiong Liao Reviewed-by: Boris

Re: [PATCH] net: stmmac: add sanity check to device_property_read_u32_array call

2019-06-27 Thread Martin Blumenstingl
On Tue, Jun 25, 2019 at 9:58 AM Colin Ian King wrote: > > On 25/06/2019 05:44, Martin Blumenstingl wrote: > > Hi Colin, > > > > On Thu, Jun 20, 2019 at 3:34 AM Martin Blumenstingl > > wrote: > >> > >> Hi Colin, > >> > >> On Wed, Jun 19, 2019 at 8:55 AM Colin Ian King > >> wrote: > >>> > >>> On

Re: [PATCH] powerpc/64s/radix: Define arch_ioremap_p4d_supported()

2019-06-27 Thread Stephen Rothwell
Hi Anshuman, On Fri, 28 Jun 2019 09:14:46 +0530 Anshuman Khandual wrote: > > On linux-next (next-20190627) this change has already been applied though a > merge commit 153083a99fe431 ("Merge branch 'akpm-current/current'"). So we > are good on this ? Or shall I send out

[PATCH -next] mmc: sdhci_am654: Make some symbols static

2019-06-27 Thread YueHaibing
Fix sparse warnings: drivers/mmc/host/sdhci_am654.c:192:6: warning: symbol 'sdhci_j721e_4bit_set_clock' was not declared. Should it be static? drivers/mmc/host/sdhci_am654.c:261:18: warning: symbol 'sdhci_j721e_8bit_ops' was not declared. Should it be static?

Re: [PATCH] selftests/powerpc: ppc_asm.h: typo in the header guard

2019-06-27 Thread Michael Ellerman
Denis Efremov writes: > The guard macro __PPC_ASM_H in the header ppc_asm.h > doesn't match the #ifndef macro _PPC_ASM_H. The patch > makes them the same. > > Signed-off-by: Denis Efremov > --- > tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h | 2 +- > 1 file changed, 1 insertion(+),

linux-next: build failure after merge of the battery tree

2019-06-27 Thread Stephen Rothwell
Hi all, After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/power/supply/wilco-charger.c: In function 'wilco_charge_get_property': drivers/power/supply/wilco-charger.c:104:8: error: implicit declaration of function

Re: [PATCHv5] mm/gup: speed up check_and_migrate_cma_pages() on huge page

2019-06-27 Thread Pingfan Liu
On Fri, Jun 28, 2019 at 7:25 AM Andrew Morton wrote: > > On Thu, 27 Jun 2019 13:15:45 +0800 Pingfan Liu wrote: > > > Both hugetlb and thp locate on the same migration type of pageblock, since > > they are allocated from a free_list[]. Based on this fact, it is enough to > > check on a single

Re: [PATCH 08/16] nfsd: escape high characters in binary data

2019-06-27 Thread Kees Cook
On Thu, Jun 27, 2019 at 04:21:24PM -0400, J. Bruce Fields wrote: > No, I was confused: "\n" is non-printable according to isprint(), so > ESCAPE_ANY_NP *will* escape it. So this isn't quite so bad. SSIDs are > usually printed as '%*pE', so arguably we should be escaping the single > quote

linux-next: manual merge of the battery tree with the pci tree

2019-06-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the battery tree got a conflict in: Documentation/power/power_supply_class.txt between commit: 151f4e2bdc7a ("docs: power: convert docs to ReST and rename to *.rst") from the pci tree and commit: 49c9cd95bb6d ("power: supply: add input power and

Re: [RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-27 Thread liaoweixiong
Hi Miquel, On 2019/6/28 AM2:17, Miquel Raynal wrote: > Hi Miquel, > > Miquel Raynal wrote on Thu, 27 Jun 2019 > 19:06:44 +0200: > >> Hello, >> >> Schrempf Frieder wrote on Tue, 25 Jun >> 2019 07:04:06 +: >> >>> Hi liaoweixiong, >>> >>> On 25.06.19 05:08, Greg KH wrote: On Tue, Jun

Hello

2019-06-27 Thread Michael Waddington
Pozdrowienia i jak twoja rodzina? Przepraszam za sposób, w jaki do ciebie podchodzę, ale to dlatego, że nie mam innego wyboru. Natknąłem się na Twój e-mail podczas przeglądania izby handlowej DTC i postanowiłem się z tobą skontaktować. Nazywam się Miss Victoria AbdulMagid Breish, Libijczyk po

linux-next: manual merge of the battery tree with the mfd tree

2019-06-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the battery tree got conflicts in: drivers/power/supply/Kconfig drivers/power/supply/Makefile between commit: f8c7f7ddd8ef ("power: supply: Initial support for ROHM BD70528 PMIC charger block") from the mfd tree and commit: 0736343e4c56

Re: [RFC 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2019-06-27 Thread Anshuman Khandual
On 06/27/2019 09:01 PM, Zi Yan wrote: > On 27 Jun 2019, at 8:48, Anshuman Khandual wrote: > >> pmd_present() and pmd_trans_huge() are expected to behave in the following >> manner during various phases of a given PMD. It is derived from a previous >> detailed discussion on this topic [1] and

Re: [PATCH] powerpc/64s/radix: Define arch_ioremap_p4d_supported()

2019-06-27 Thread Anshuman Khandual
build problem. > > The easiest option is for this to be folded into your patch that creates > the requirement for arch_ioremap_p4d_supported(). > > Andrew might do that for you, or you could send a v2. > > This looks fine from a powerpc POV: > > Acked-by: Michael Ellerman

Re: [PATCH 32/87] usb: pvrusb2: replace kmalloc and memset with kzalloc in pvrusb2-eeprom.c

2019-06-27 Thread isely
Acked-by: Mike Isely -Mike On Fri, 28 Jun 2019, Fuqian Huang wrote: > kmalloc + memset(0) -> kzalloc > > Signed-off-by: Fuqian Huang > --- > drivers/media/usb/pvrusb2/pvrusb2-eeprom.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [PATCH] objtool: Be lenient about -Wundef

2019-06-27 Thread Olof Johansson
On Fri, Jun 28, 2019 at 8:00 AM Josh Poimboeuf wrote: > > On Wed, Jun 19, 2019 at 05:03:37AM -0700, Olof Johansson wrote: > > Some libelf versions use undefined macros, which combined with newer GCC > > makes for errors from system headers. This isn't overly useful to fail > > compiling objtool

[PATCH V3 4/5] arm64: dts: imx8mq: Add system counter node

2019-06-27 Thread Anson . Huang
From: Anson Huang Add i.MX8MQ system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi

[PATCH V3 3/5] clocksource: imx-sysctr: Make timer work with clock driver using platform driver model

2019-06-27 Thread Anson . Huang
From: Anson Huang On some i.MX8M platforms, clock driver uses platform driver model and it is NOT ready during timer initialization phase, the clock operations will fail and system counter driver will fail too. As all the i.MX8M platforms' system counter clock are from OSC which is always

[PATCH V3 1/5] clocksource: timer-of: Support getting clock frequency from DT

2019-06-27 Thread Anson . Huang
From: Anson Huang More and more platforms use platform driver model for clock driver, so the clock driver is NOT ready during timer initialization phase, it will cause timer initialization failed. To support those platforms with upper scenario, introducing a new flag TIMER_OF_CLOCK_FREQUENCY

[PATCH V3 5/5] arm64: dts: imx8mm: Add system counter node

2019-06-27 Thread Anson . Huang
From: Anson Huang Add i.MX8MM system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- New patch: - As i.MX8MM clock driver will be soon moved to using platform driver model, so the patch series I sent out for i.MX8MM system

[PATCH V3 2/5] clocksource/drivers/sysctr: Add clock-frequency property

2019-06-27 Thread Anson . Huang
From: Anson Huang Systems which use platform driver model for clock driver require the clock frequency to be supplied via device tree when system counter driver is enabled. This is necessary as in the platform driver model the of_clk operations do not work correctly because system counter

Re: linux-next: Tree for May 8 (drivers/platform/x86/intel_pmc_core_plat_drv.c)

2019-06-27 Thread Rajat Jain
Hi Andy, On Tue, Jun 11, 2019 at 12:06 PM Andy Shevchenko wrote: > > On Thu, May 9, 2019 at 2:15 AM Rajat Jain wrote: > > > OK, NP. Just to be sure I understand, > > > > 1) Please let me know if I should send in a fix (it would be > > #include/linux/module.h and also add MODULE_LICENSE() I

Re: [PATCH v2] arm64: Kconfig.platforms: Enable GPIO_DAVINCI for ARCH_K3

2019-06-27 Thread Keerthy
On 27/06/19 8:02 PM, Nishanth Menon wrote: On 16:39-20190627, Keerthy wrote: Enable GPIO_DAVINCI and related configs for TI K3 AM6 platforms. Signed-off-by: Keerthy --- Changes in v2: * Enabling configs in Kconfig.platforms file instead of defconfig. * Removed GPIO_DEBUG config

[PATCH 1/2] arm64: dts: imx8mq: Correct OPP table according to latest datasheet

2019-06-27 Thread Anson . Huang
From: Anson Huang According to latest datasheet (Rev.1, 10/2018) from below links, in the consumer datasheet, 1.5GHz is mentioned as highest opp but depends on speed grading fuse, and in the industrial datasheet, 1.3GHz is mentioned as highest opp but depends on speed grading fuse. 1.5GHz and

[PATCH 2/2] arm64: dts: imx8mm: Correct OPP table according to latest datasheet

2019-06-27 Thread Anson . Huang
From: Anson Huang According to latest datasheet (Rev.0.2, 04/2019) from below links, 1.8GHz is ONLY available for consumer part, so the market segment bits for 1.8GHz opp should ONLY available for consumer part accordingly. https://www.nxp.com/docs/en/data-sheet/IMX8MMIEC.pdf

[PATCH V2] soc: imx-scu: Add SoC UID(unique identifier) support

2019-06-27 Thread Anson . Huang
From: Anson Huang Add i.MX SCU SoC's UID(unique identifier) support, user can read it from sysfs: root@imx8qxpmek:~# cat /sys/devices/soc0/soc_uid 7B64280B57AC1898 Signed-off-by: Anson Huang --- Changes since V1: - Improve the comment of skipping SCFW API return value check for

Re: power9 NUMA crash while reading debugfs imc_cmd

2019-06-27 Thread Qian Cai
MP NR_CPUS=256 >> DEBUG_PAGEALLOC NUMA PowerNV >> [ 1139.415542][ T5301] Modules linked in: i2c_opal i2c_core ip_tables >> x_tables >> xfs sd_mod bnx2x mdio ahci libahci tg3 libphy libata firmware_class dm_mirror >> dm_region_hash dm_log dm_mod >> [ 1139.415595][ T530

[PATCH v7] platform/x86: intel_pmc_core: Attach using APCI HID "INT33A1"

2019-06-27 Thread Rajat Jain
Most modern platforms already have the ACPI device "INT33A1" that could be used to attach to the driver. Switch the driver to using that and thus make the intel_pmc_core.c a pure platform_driver. Some of the legacy platforms though, may still not have this ACPI device in their ACPI tables. Thus

Re: No 8254 PIT & no HPET on new Intel N3350 platforms causes kernel panic during early boot

2019-06-27 Thread Daniel Drake
On Thu, Jun 27, 2019 at 10:07 PM Thomas Gleixner wrote: > Nah. That extra timer works thing is just another bandaid. > > What I had in mind is something like the below. That's on top of > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/apic > > Be warned. It's neither compiled

Re: [PATCH 07/13] xfs: allow merging ioends over append boundaries

2019-06-27 Thread Darrick J. Wong
On Fri, Jun 28, 2019 at 10:52:04AM +0800, Zorro Lang wrote: > On Thu, Jun 27, 2019 at 09:43:04PM +, Luis Chamberlain wrote: > > On Thu, Jun 27, 2019 at 11:23:09AM -0700, Darrick J. Wong wrote: > > > On Thu, Jun 27, 2019 at 12:48:30PM +0200, Christoph Hellwig wrote: > > > > There is no real

Re: [PATCH][next] regulator: lp87565: fix missing break in switch statement

2019-06-27 Thread Keerthy
On 27/06/19 6:46 PM, Colin King wrote: From: Colin Ian King Currently the LP87565_DEVICE_TYPE_LP87561_Q1 case does not have a break statement, causing it to fall through to a dev_err message. Fix this by adding in the missing break statement. Addresses-Coverity: ("Missing break in switch")

Re: [RFC PATCH v3 0/4] Deliver vGPU display vblank event to userspace

2019-06-27 Thread Zhenyu Wang
On 2019.06.27 12:31:33 +0200, Gerd Hoffmann wrote: > > > Hi, > > > > > > > Instead of delivering page flip events, we choose to post display > > > > vblank event. Handling page flip events for both primary plane and > > > > cursor plane may make user space quite busy, although we have the > > >

RE: [PATCH v3] e1000e: Make watchdog use delayed work

2019-06-27 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Detlev Casanova > Sent: Saturday, June 22, 2019 8:15 PM > To: Kirsher, Jeffrey T ; David S. Miller > ; intel-wired-...@lists.osuosl.org; > net...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: Detlev

[PATCH 1/3] media: xilinx: fix leaked of_node references

2019-06-27 Thread Wen Yang
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/media/platform/xilinx/xilinx-vipp.c:487:3-9: ERROR: missing of_node_put; acquired a node

[PATCH 0/3] fix leaked of_node references in drivers/media

2019-06-27 Thread Wen Yang
The call to of_get_cpu_node/of_find_compatible_node/of_parse_phandle... returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. We developed a coccinelle SmPL to detect drivers/media/ code and found some issues. This patch series fixes those

[PATCH 3/3] media: ti-vpe: fix leaked of_node references

2019-06-27 Thread Wen Yang
The call to of_get_parent 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/media/platform/ti-vpe/cal.c:1621:1-7: ERROR: missing of_node_put; acquired a node pointer with

Re: power9 NUMA crash while reading debugfs imc_cmd

2019-06-27 Thread Michael Ellerman
d_mod bnx2x mdio ahci libahci tg3 libphy libata firmware_class dm_mirror > dm_region_hash dm_log dm_mod > [ 1139.415595][ T5301] CPU: 67 PID: 5301 Comm: cat Not tainted 5.2.0-rc6-next- > 20190627+ #19 > [ 1139.415634][ T5301] NIP:  c00d0d58 LR: c049aa18 CTR: > c

Re: [PATCH 0/3] riscv: add SOC_SIFIVE config for SiFive specific resource

2019-06-27 Thread Paul Walmsley
Hi Loys, On Mon, 17 Jun 2019, Loys Ollivier wrote: > Following is a patch series that adds a SOC_SIFIVE config. > The purpose of this config is to group all the code specific to the SiFive > architecture such as device tree and platform drivers. > > The initial thought/discussion came from [0].

[PATCH 2/3] media: exynos4-is: fix leaked of_node references

2019-06-27 Thread Wen Yang
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/media/platform/exynos4-is/fimc-is.c:813:2-8: ERROR: missing of_node_put; acquired a node

Re: [PATCH] powerpc/eeh_cache: fix a W=1 kernel-doc warning

2019-06-27 Thread Russell Currey
On Wed, 2019-06-05 at 16:46 -0400, Qian Cai wrote: > The opening comment mark "/**" is reserved for kernel-doc comments, > so > it will generate a warning with "make W=1". > > arch/powerpc/kernel/eeh_cache.c:37: warning: cannot understand > function > prototype: 'struct pci_io_addr_range > >

Re: [PATCH v2] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-06-27 Thread Joel Savitz
>On Mon, Jun 03, 2019 at 03:11:58PM -0700, Nathan Chancellor wrote: >> When building with -Wsometimes-uninitialized, clang warns: >> >> drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is >> used uninitialized whenever 'for' loop exits because its condition is >> false

[PATCH v2 26/27] sound: oss: use kzalloc rather than kmalloc with memset

2019-06-27 Thread Fuqian Huang
Use zeroing allocator instead of using allocator followed with memset with 0. Signed-off-by: Fuqian Huang --- sound/core/seq/oss/seq_oss_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c index

[PATCH v2 27/27] sound: ppc: remove unneeded memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- sound/ppc/pmac.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 24/27] fs: jffs2: use kzalloc rather than kmalloc followed with memset

2019-06-27 Thread Fuqian Huang
Use zero allocator rather than kmalloc followed with memset with 0. Signed-off-by: Fuqian Huang --- fs/jffs2/erase.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c index 83b8f06b4a64..30c4385c6545 100644 --- a/fs/jffs2/erase.c +++

[PATCH v2 25/27] kernel: power: use kzalloc rather than kmalloc followed with memset

2019-06-27 Thread Fuqian Huang
Use zeroing allocator instead of using allocator followed with memset with 0 Signed-off-by: Fuqian Huang --- kernel/power/swap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/power/swap.c b/kernel/power/swap.c index e1912ad13bdc..ca0fcb5ced71 100644 ---

[PATCH v2 22/27] usb: remove unneeded memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/usb/host/xhci-dbgcap.c | 1 - drivers/usb/host/xhci-mem.c| 1 - 2

[PATCH v2 20/27] staging: rtl8723bs: remove unneeded memset

2019-06-27 Thread Fuqian Huang
rtw_zmalloc already zeroes the memory, so memset is unneeded. Signed-off-by: Fuqian Huang --- drivers/staging/rtl8723bs/core/rtw_ap.c | 2 -- drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c

[PATCH v2 21/27] tty: remove unneeded memset

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/tty/serial/icom.c

[PATCH v2 17/27] scsi: remove unneeded memset

2019-06-27 Thread Fuqian Huang
The memset with 0 after zeroing alloctors is unneeded. pci_alloc_persistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So the memset after these

[PATCH v2 18/27] scsi: use zeroing allocator rather than allocator followed by memset 0

2019-06-27 Thread Fuqian Huang
Replace allocator followed by memset with 0 with zeroing allocator. Signed-off-by: Fuqian Huang --- drivers/scsi/lpfc/lpfc_debugfs.c | 5 + drivers/scsi/qedf/qedf_dbg.c | 3 +-- drivers/scsi/qla2xxx/qla_attr.c | 7 ++- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git

[PATCH v2 19/27] staging: rtl8*: use zeroing allocator rather than allocator followed with memset 0

2019-06-27 Thread Fuqian Huang
Use zeroing allocator rather than allocator followed with memset 0. Signed-off-by: Fuqian Huang --- drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 3 +-- drivers/staging/rtl8712/rtl871x_io.c | 4 +--- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 8 ++--

[PATCH v2 15/27] net: use zeroing allocator rather than allocator followed by memset zero

2019-06-27 Thread Fuqian Huang
Replace allocator followed by memset with 0 with zeroing allocator. Signed-off-by: Fuqian Huang --- drivers/net/eql.c | 3 +-- drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 4 +--- drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c | 4 +---

[PATCH v2 13/27] message: fusion: remove memset after pci_alloc_consistent

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang ---

[PATCH v2 14/27] mtd: nand: use kzalloc instead of kmalloc and memset

2019-06-27 Thread Fuqian Huang
Replace kmalloc followed by a memset with kzalloc. There is a recommendation to use zeroing allocator rather than allocator followed by memset with 0 in ./scripts/coccinelle/api/alloc/zalloc-simple.cocci Signed-off-by: Fuqian Huang --- drivers/mtd/nand/raw/nand_bch.c | 3 +-- 1 file changed, 1

[PATCH v2 12/27] media: use kzalloc instead of kmalloc and memset

2019-06-27 Thread Fuqian Huang
Replace kmalloc followed by a memset with kzalloc. Signed-off-by: Fuqian Huang --- drivers/media/usb/pvrusb2/pvrusb2-eeprom.c | 3 +-- drivers/media/usb/pvrusb2/pvrusb2-hdw.c| 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/pvrusb2/pvrusb2-eeprom.c

[PATCH v2 11/27] media: remove memset after dma_alloc_coherent/pci_alloc_consistent

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset after these 2 functions is not needed. Signed-off-by: Fuqian Huang ---

[PATCH v2 09/27] infiniband: remove unneeded memset

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent/dmam_alloc_coherent has already zeroed the memory. So the memset after these 3 function calls is not needed.

[PATCH v2 08/27] i2c: busses: remove memset after dmam_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/i2c/busses/i2c-ismt.c | 2 -- 1 file changed, 2 deletions(-) diff --git

kernel BUG at net/rxrpc/local_object.c:LINE!

2019-06-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:249155c2 Merge branch 'parisc-5.2-4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14fabe45a0 kernel config: https://syzkaller.appspot.com/x/.config?x=e7c31a94f66cc0aa

[PATCH v2 02/27] ata: Remove memset after dma_alloc_coherent/dmam_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent/dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/ata/acard-ahci.c | 1 - drivers/ata/libahci.c| 1

Re: [PATCH 07/13] xfs: allow merging ioends over append boundaries

2019-06-27 Thread Zorro Lang
On Thu, Jun 27, 2019 at 09:43:04PM +, Luis Chamberlain wrote: > On Thu, Jun 27, 2019 at 11:23:09AM -0700, Darrick J. Wong wrote: > > On Thu, Jun 27, 2019 at 12:48:30PM +0200, Christoph Hellwig wrote: > > > There is no real problem merging ioends that go beyond i_size into an > > > ioend that

[PATCH v2 06/27] dma: remove memset after dma_alloc_coherent/dmam_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent/dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/dma/imx-sdma.c | 4

[PATCH v2 03/27] atm: idt77252: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/atm/idt77252.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 01/27] sh: mm: Remove call to memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- arch/sh/mm/consistent.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH v2] rcu: Change return type of rcu_spawn_one_boost_kthread()

2019-06-27 Thread Byungchul Park
On Thu, Jun 27, 2019 at 01:57:03PM -0700, Paul E. McKenney wrote: > On Thu, Jun 27, 2019 at 09:42:40AM -0400, Joel Fernandes wrote: > > On Thu, Jun 27, 2019 at 04:07:46PM +0900, Byungchul Park wrote: > > > Hello, > > > > > > I tested if the WARN_ON_ONCE() is fired with my box and it was ok. > >

  1   2   3   4   5   6   7   8   9   10   >