Re: [PATCH v6 07/15] dt-bindings: memory: tegra30: Convert to Tegra124 YAML

2019-07-03 Thread Dmitry Osipenko
03.07.2019 16:22, Rob Herring пишет: > On Tue, Jul 2, 2019 at 6:48 PM Dmitry Osipenko wrote: >> >> 01.07.2019 22:30, Dmitry Osipenko пишет: >>> 01.07.2019 22:11, Rob Herring пишет: On Sun, Jun 30, 2019 at 3:04 PM Dmitry Osipenko wrote: > "Convert" implies you delete the old

Re: [PATCH v1 net-next] net: stmmac: enable clause 45 mdio support

2019-07-03 Thread Andrew Lunn
On Wed, Jul 03, 2019 at 05:50:04PM +0800, Voon Weifeng wrote: > @@ -155,22 +171,26 @@ static int stmmac_mdio_read(struct mii_bus *bus, int > phyaddr, int phyreg) > struct stmmac_priv *priv = netdev_priv(ndev); > unsigned int mii_address = priv->hw->mii.addr; > unsigned int

[tip:perf/core] perf tools: Increase MAX_NR_CPUS and MAX_CACHES

2019-07-03 Thread tip-bot for Kyle Meyer
Commit-ID: 9f94c7f947e919c343b30f080285af53d0fa9902 Gitweb: https://git.kernel.org/tip/9f94c7f947e919c343b30f080285af53d0fa9902 Author: Kyle Meyer AuthorDate: Thu, 20 Jun 2019 14:36:30 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf tools:

[tip:perf/core] perf intel-pt: Decoder to output CBR changes immediately

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: abe5a1d3e4bee361bd3b21b8909c8421e46911d1 Gitweb: https://git.kernel.org/tip/abe5a1d3e4bee361bd3b21b8909c8421e46911d1 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:42 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf

Re: [PATCH v2 4/9] x86/mm/tlb: Flush remote and local TLBs concurrently

2019-07-03 Thread Juergen Gross
On 03.07.19 01:51, Nadav Amit wrote: To improve TLB shootdown performance, flush the remote and local TLBs concurrently. Introduce flush_tlb_multi() that does so. Introduce paravirtual versions of flush_tlb_multi() for KVM, Xen and hyper-v (Xen and hyper-v are only compile-tested). While the

[tip:perf/core] perf thread-stack: Eliminate code duplicating thread_stack__pop_ks()

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: eb5d854456f5a4ccec6f9681b7196cf056df8cfa Gitweb: https://git.kernel.org/tip/eb5d854456f5a4ccec6f9681b7196cf056df8cfa Author: Adrian Hunter AuthorDate: Wed, 19 Jun 2019 09:44:29 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf

[tip:perf/core] perf thread-stack: Fix thread stack return from kernel for kernel-only case

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 97860b483c5597663a174ff7405be957b4838391 Gitweb: https://git.kernel.org/tip/97860b483c5597663a174ff7405be957b4838391 Author: Adrian Hunter AuthorDate: Wed, 19 Jun 2019 09:44:28 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf

Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall

2019-07-03 Thread Steven Rostedt
On Tue, 2 Jul 2019 17:50:09 +0100 Mark Rutland wrote: > On Sun, May 26, 2019 at 03:18:40PM -0400, Steven Rostedt wrote: > > From: Masami Hiramatsu > > > > Initialize kprobes at postcore_initcall level instead of module_init > > since kprobes is not a module, and it depends on only subsystems >

[tip:perf/core] perf tools: Fix cache.h include directive

2019-07-03 Thread tip-bot for Numfor Mbiziwo-Tiapo
Commit-ID: 2d7102a0453769fd37e9f4ce68652e104fbf5c84 Gitweb: https://git.kernel.org/tip/2d7102a0453769fd37e9f4ce68652e104fbf5c84 Author: Numfor Mbiziwo-Tiapo AuthorDate: Thu, 20 Jun 2019 14:54:46 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:09 -0300 perf

hello

2019-07-03 Thread moneygrambanktra...@gmail.com

Re: [PATCH 0/2] PCI/IOV: Resolve regression in SR-IOV VF cfg_size

2019-07-03 Thread Bjorn Helgaas
On Thu, Jun 13, 2019 at 04:56:57PM -0600, Alex Williamson wrote: > The commit reverted in the first patch introduced a regression where > only the first VF reports the correct config space size, subsequent VFs > report 256 bytes of config space. Replace this in the second patch > with an

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Daniel, On 2019-07-03 07:25, Daniel Baluta wrote: On Wed, Jul 3, 2019 at 4:12 PM Angus Ainslie wrote: Hi Daniel, On 2019-07-03 07:10, Daniel Baluta wrote: > On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: >> >> Hi Andra, >> >> I tried this out on linux-next and I'm not able to

Re: [PATCH -next] integrity: Remove set but not used variable 'acl'

2019-07-03 Thread David Howells
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > security/integrity/digsig.c: In function 'integrity_init_keyring': > security/integrity/digsig.c:99:18: warning: > variable 'acl' set but not used [-Wunused-but-set-variable] > > It seems 'acl' is needed in

Re: [GIT PULL] perf/core improvements and fixes

2019-07-03 Thread Ingo Molnar
; The following changes since commit 06c642c0e9fceafd16b1a4c80d44b1c09e282215: > > perf jevents: Use nonlocal include statements in pmu-events.c (2019-07-01 > 22:50:42 -0300) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-

Re: [PATCH] fs: xfs: xfs_log: Change return type from int to void

2019-07-03 Thread Eric Sandeen
On 7/2/19 1:15 PM, Hariprasad Kelam wrote: > Change return types of below functions as they never fails > xfs_log_mount_cancel > xlog_recover_cancel > xlog_recover_cancel_intents > > fix below issue reported by coccicheck > fs/xfs/xfs_log_recover.c:4886:7-12: Unneeded variable: "error". Return >

Re: [GIT PULL] perf/core improvements and fixes

2019-07-03 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Best regards, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit fd7d55172d1e2e501e6da0a5c1de25f06612dc2e: > > perf/cgroups: Don't rotate events

Re: [PATCH 30/30] sound/soc: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Richard Fitzgerald
On 03/07/19 14:18, Fuqian Huang wrote: kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce

Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall

2019-07-03 Thread Catalin Marinas
On Tue, Jul 02, 2019 at 05:50:09PM +0100, Mark Rutland wrote: > On Sun, May 26, 2019 at 03:18:40PM -0400, Steven Rostedt wrote: > > From: Masami Hiramatsu > > > > Initialize kprobes at postcore_initcall level instead of module_init > > since kprobes is not a module, and it depends on only

Re: [tip:irq/core] gpio: mb86s7x: Enable ACPI support

2019-07-03 Thread Marc Zyngier
On 03/07/2019 13:26, Linus Walleij wrote: > On Wed, Jul 3, 2019 at 11:24 AM tip-bot for Ard Biesheuvel > wrote: > >> Committer: Marc Zyngier >> CommitDate: Wed, 29 May 2019 10:42:19 +0100 >> >> gpio: mb86s7x: Enable ACPI support >> >> Make the mb86s7x GPIO block discoverable via ACPI. In

Re: [PATCH net-next v6 06/15] ethtool: netlink bitset handling

2019-07-03 Thread Johannes Berg
On Wed, 2019-07-03 at 13:49 +0200, Jiri Pirko wrote: > > > +Value and mask must have length at least ETHTOOL_A_BITSET_SIZE bits > > rounded up > > +to a multiple of 32 bits. They consist of 32-bit words in host byte order, > > Looks like the blocks are similar to NLA_BITFIELD32. Why don't you

Re: [PATCH net-next v6 08/15] ethtool: move string arrays into common file

2019-07-03 Thread Jiri Pirko
Tue, Jul 02, 2019 at 01:50:19PM CEST, mkube...@suse.cz wrote: >Introduce file net/ethtool/common.c for code shared by ioctl and netlink >ethtool interface. Move name tables of features, RSS hash functions, >tunables and PHY tunables into this file. > >Signed-off-by: Michal Kubecek >--- >

[PATCH] ARC: hide unused function unw_hdr_alloc

2019-07-03 Thread Arnd Bergmann
As kernelci.org reports, this function is not used in vdk_hs38_defconfig: arch/arc/kernel/unwind.c:188:14: warning: 'unw_hdr_alloc' defined but not used [-Wunused-function] Fixes: bc79c9a72165 ("ARC: dw2 unwind: Reinstante unwinding out of modules") Link:

Re: [PATCH net-next v6 07/15] ethtool: support for netlink notifications

2019-07-03 Thread Johannes Berg
On Tue, 2019-07-02 at 13:50 +0200, Michal Kubecek wrote: > > +static bool ethnl_ok __read_mostly; Not sure it makes a big difference, but it could probably be __ro_after_init instead? johannes

Re: [RFC PATCH v2 0/5] sched/cpufreq: Make schedutil energy aware

2019-07-03 Thread Douglas Raillard
Hi Peter, On 7/2/19 4:44 PM, Peter Zijlstra wrote: On Thu, Jun 27, 2019 at 06:15:58PM +0100, Douglas RAILLARD wrote: Make schedutil cpufreq governor energy-aware. - patch 1 introduces a function to retrieve a frequency given a base frequency and an energy cost margin. - patch 2 links

Re: [PATCH net-next v6 07/15] ethtool: support for netlink notifications

2019-07-03 Thread Jiri Pirko
Tue, Jul 02, 2019 at 01:50:14PM CEST, mkube...@suse.cz wrote: >Add infrastructure for ethtool netlink notifications. There is only one >multicast group "monitor" which is used to notify userspace about changes >and actions performed. Notification messages (types using suffix _NTF) >share the

Re: [PATCH] fs: reiserfs: journal: Change return type of dirty_one_transaction

2019-07-03 Thread Jan Kara
On Tue 02-07-19 23:24:30, Hariprasad Kelam wrote: > Change return type of dirty_one_transaction from int to void. As this > function always return success. > > Fixes below issue reported by coccicheck > fs/reiserfs/journal.c:1690:5-8: Unneeded variable: "ret". Return "0" on > line 1719 > >

Re: [PATCH 1/4] dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs

2019-07-03 Thread Rob Herring
On Wed, Jul 3, 2019 at 2:58 AM Martin Blumenstingl wrote: > > Hi Rob, > > On Wed, Jul 3, 2019 at 1:34 AM Rob Herring wrote: > > > > On Tue, Jul 2, 2019 at 2:35 PM Martin Blumenstingl > > wrote: > > > > > > Add the bindings for the PCIe PHY on Lantiq VRX200 and ARX300 SoCs. > > > The IP block

Re: [PATCH 01/25] arm64: dts: allwinner: Switch A64 dts(i) to use SPDX identifier

2019-07-03 Thread Maxime Ripard
On Wed, Jul 03, 2019 at 06:15:45PM +0530, Jagan Teki wrote: > Adopt the SPDX license identifier headers to ease license > compliance management on Allwinner A64 dts(i) files. > > While the text specifies "of the GPL or the X11 license" > but the actual license text matches the MIT license as >

Re: [PATCH V2 1/2] serial/8250: Add support for NI-Serial PXI/PXIe+485 devices

2019-07-03 Thread Enrico Weigelt, metux IT consult
On 03.07.19 09:24, jeyentam wrote: Hi, besides what Greg already said: > /* UART Port Control Register */> -#define NI8430_PORTCON0x0f> -#define > NI8430_PORTCON_TXVR_ENABLE (1 << 3) Can we have that renaming as a separate patch, to ease review ? And what about introducing a config

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Daniel Baluta
On Wed, Jul 3, 2019 at 4:12 PM Angus Ainslie wrote: > > Hi Daniel, > > On 2019-07-03 07:10, Daniel Baluta wrote: > > On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: > >> > >> Hi Andra, > >> > >> I tried this out on linux-next and I'm not able to record or play > >> sound. > >> > >> I also

Re: [PATCH 1/4] dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs

2019-07-03 Thread Rob Herring
On Tue, Jul 2, 2019 at 5:37 PM Martin Blumenstingl wrote: > > Hi Rob, > > On Wed, Jul 3, 2019 at 1:34 AM Rob Herring wrote: > [...] > > > + lantiq,rcu: > > > +maxItems: 1 > > > +description: phandle to the RCU syscon > > > > You need to define the type (and drop maxItems): > > > > $ref:

[PATCH] ARM: bcm47094: add missing #cells for mdio-bus-mux

2019-07-03 Thread Arnd Bergmann
The mdio-bus-mux has no #address-cells/#size-cells property, which causes a few dtc warnings: arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning (reg_format): /mdio-bus-mux/mdio@200:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

Re: [PATCH v6 07/15] dt-bindings: memory: tegra30: Convert to Tegra124 YAML

2019-07-03 Thread Rob Herring
On Tue, Jul 2, 2019 at 6:48 PM Dmitry Osipenko wrote: > > 01.07.2019 22:30, Dmitry Osipenko пишет: > > 01.07.2019 22:11, Rob Herring пишет: > >> On Sun, Jun 30, 2019 at 3:04 PM Dmitry Osipenko wrote: > >>> > >> > >> "Convert" implies you delete the old binding doc. > > > > Yes, unfortunately the

Re: [PATCH bpf v2] xdp: fix race on generic receive path

2019-07-03 Thread Magnus Karlsson
On Wed, Jul 3, 2019 at 2:09 PM Ilya Maximets wrote: > > Unlike driver mode, generic xdp receive could be triggered > by different threads on different CPU cores at the same time > leading to the fill and rx queue breakage. For example, this > could happen while sending packets from two processes

Re: [PATCH 09/30] macintosh: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Christophe Leroy
Le 03/07/2019 à 15:14, Fuqian Huang a écrit : kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and

Re: [PATCH 02/30] powerpc: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Christophe Leroy
Le 03/07/2019 à 15:13, Fuqian Huang a écrit : kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and

[priv] Re: [PATCH 1/2] serial/8250: Add support for NI-Serial PXI/PXIe+485 devices.

2019-07-03 Thread Enrico Weigelt, metux IT consult
On 02.07.19 05:23, jeyentam wrote: Hi, better writing to you personally, off-list. > Add support for NI-Serial PXIe-RS232, PXI-RS485 and PXIe-RS485 devices. > > Signed-off-by: jeyentam ^^ maybe it would be nice to have your real name here. > @@ -1,10 +1,10 @@ > //

[PATCH 30/30] sound/soc: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 29/30] sound/pci: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 28/30] omfs: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 27/30] ocfs2: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 26/30] ntfs: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 25/30] nfsd: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 24/30] ext4: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 23/30] ext2: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 21/30] usb: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 22/30] cifs: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 20/30] scsi: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 18/30] pcmcia: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 17/30] pci: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 15/30] net/wimax: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 16/30] net/wireless: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 14/30] net/ethernet: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 13/30] message/fusion: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 12/30] media/usb: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 11/30] media/tuners: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 10/30] media/dvb: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 09/30] macintosh: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 08/30] infiniband: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 04/30] clk/ti: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 01/30] ia64/sn: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 02/30] powerpc: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

[PATCH 03/30] block: Use kmemdup rather than duplicating its implementation

2019-07-03 Thread Fuqian Huang
kmemdup is introduced to duplicate a region of memory in a neat way. Rather than kmalloc/kzalloc + memset, which the programmer needs to write the size twice (sometimes lead to mistakes), kmemdup improves readability, leads to smaller code and also reduce the chances of mistakes. Suggestion to use

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Daniel, On 2019-07-03 07:10, Daniel Baluta wrote: On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: Hi Andra, I tried this out on linux-next and I'm not able to record or play sound. I also added the sai2 entry to test out our devkit and get a PCM timeout with that. Hi Angus,

Re: KASAN: use-after-free Read in hci_cmd_timeout

2019-07-03 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:eca94432 Bluetooth: Fix faulty expression for minimum encr.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1006cc8ba0 kernel config:

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Daniel Baluta
On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: > > Hi Andra, > > I tried this out on linux-next and I'm not able to record or play sound. > > I also added the sai2 entry to test out our devkit and get a PCM timeout > with that. Hi Angus, There are still lots of SAI patches that need to be

Re: [RFC v2] vhost: introduce mdev based hardware vhost backend

2019-07-03 Thread Tiwei Bie
On Wed, Jul 03, 2019 at 08:16:23PM +0800, Jason Wang wrote: > On 2019/7/3 下午7:52, Tiwei Bie wrote: > > On Wed, Jul 03, 2019 at 06:09:51PM +0800, Jason Wang wrote: > > > On 2019/7/3 下午5:13, Tiwei Bie wrote: > > > > Details about this can be found here: > > > > > > > >

Re: [PATCH v2] arm64: dts: imx8mq: Init rates and parents configs for clocks

2019-07-03 Thread Daniel Baluta
On Wed, Jul 3, 2019 at 3:03 PM Abel Vesa wrote: > > Add the initial configuration for clocks that need default parent and rate > setting. This is based on the vendor tree clock provider parents and rates > configuration except this is doing the setup in dts rather then using clock > consumer API

Re: [PATCH v2] arm64: dts: imx8mm: Init rates and parents configs for clocks

2019-07-03 Thread Daniel Baluta
On Wed, Jul 3, 2019 at 3:10 PM Abel Vesa wrote: > > Add the initial configuration for clocks that need default parent and rate > setting. This is based on the vendor tree clock provider parents and rates > configuration except this is doing the setup in dts rather than using clock > consumer API

Re: linux-next: manual merge of the driver-core tree with the pm tree

2019-07-03 Thread Andy Shevchenko
On Mon, Jul 01, 2019 at 06:32:49PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the driver-core tree got a conflict in: > > drivers/acpi/sleep.c > > between commit: > > a3487d8f3063 ("ACPI / sleep: Switch to use acpi_dev_get_first_match_dev()") > > from the pm

Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-03 Thread Jes Sorensen
On 7/2/19 11:25 PM, Chris Chiu wrote: > On Tue, Jul 2, 2019 at 8:44 PM Jes Sorensen wrote: >> >> On 6/27/19 5:52 AM, Chris Chiu wrote: >>> The WiFi tx power of RTL8723BU is extremely low after booting. So >>> the WiFi scan gives very limited AP list and it always fails to >>> connect to the

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Andra, I tried this out on linux-next and I'm not able to record or play sound. I also added the sai2 entry to test out our devkit and get a PCM timeout with that. On 2019-07-02 07:23, Andra Danciu wrote: SAI3 and SAI6 nodes are used to connect to an external codec. They have 1 Tx and 1

Re: [DRAFT] mm/kprobes: Add generic kprobe_fault_handler() fallback definition

2019-07-03 Thread Guenter Roeck
On 7/2/19 10:35 PM, Anshuman Khandual wrote: On 07/01/2019 06:58 PM, Guenter Roeck wrote: On 7/1/19 2:35 AM, Anshuman Khandual wrote: Architectures like parisc enable CONFIG_KROBES without having a definition for kprobe_fault_handler() which results in a build failure. Arch needs to provide

Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-03 Thread Jes Sorensen
On 7/3/19 3:42 AM, Daniel Drake wrote: > On Tue, Jul 2, 2019 at 8:42 PM Jes Sorensen wrote: >> We definitely don't want to bring over the vendor code, since it's a >> pile of spaghetti, but we probably need to get something sorted. This >> went down the drain when the bluetooth driver was added

Re: [RFC/RFT v3 04/14] clk: meson: eeclk: add setup callback

2019-07-03 Thread Martin Blumenstingl
On Wed, Jul 3, 2019 at 2:40 PM Jerome Brunet wrote: > > On Wed 03 Jul 2019 at 13:45, Neil Armstrong wrote: > > > On 03/07/2019 01:16, Martin Blumenstingl wrote: > >> +Cc Alexandre Mergnat > >> > >> On Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong > >> wrote: > >>> > >>> Add a setup() callback in

JULY INQUIRY

2019-07-03 Thread Sales Great Pac
Hello dear, We are in the market for your products after meeting at your stand during last expo. Please kindly send us your latest catalog and price list so as to start a new project/order as promised during the exhibition. I would appreciate your response about the above details required

[PATCH] nfsd: Fix overflow causing non-working mounts on 1 TB machines

2019-07-03 Thread Paul Menzel
Date: Wed, 3 Jul 2019 13:28:15 +0200 Since commit 10a68cdf10 (nfsd: fix performance-limiting session calculation) (Linux 5.1-rc1 and 4.19.31), shares from NFS servers with 1 TB of memory cannot be mounted anymore. The mount just hangs on the client. The gist of commit 10a68cdf10 is the change

Re: Linux 5.1.16

2019-07-03 Thread Bhaskar Chowdhury
Thanks, a bunch Greg! On 14:30 Wed 03 Jul , Greg KH wrote: I'm announcing the release of the 5.1.16 kernel. All users of the 5.1 kernel series must upgrade. The updated 5.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

[PATCH 13/25] ARM: dts: sun8i: Switch A33 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A33 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 4/4] nfs/super: check NFS_CAP_ACLS instead of the NFS version

2019-07-03 Thread Max Kellermann
This sets MS_POSIXACL only if ACL support is really enabled, instead of always setting MS_POSIXACL if the NFS protocol version theoretically supports ACL. The code comment says "We will [apply the umask] ourselves", but that happens in posix_acl_create() only if the kernel has POSIX ACL support.

[PATCH 2/4] fs/ext4/acl: apply umask if ACL support is disabled

2019-07-03 Thread Max Kellermann
The function ext4_init_acl() calls posix_acl_create() which is responsible for applying the umask. But without CONFIG_EXT4_FS_POSIX_ACL, ext4_init_acl() is an empty inline function, and nobody applies the umask. This fixes a bug which causes the umask to be ignored with O_TMPFILE on ext4:

[PATCH 3/4] linux/fs.h: fix umask on NFS with CONFIG_FS_POSIX_ACL=n

2019-07-03 Thread Max Kellermann
Make IS_POSIXACL() return false if POSIX ACL support is disabled and ignore SB_POSIXACL/MS_POSIXACL. Never skip applying the umask in namei.c and never bother to do any ACL specific checks if the filesystem falsely indicates it has ACLs enabled when the feature is completely disabled in the

[PATCH 22/25] ARM: dts: axp223: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp223.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

Re: [RFC/RFT v3 09/14] arm64: dts: move common G12A & G12B modes to meson-g12-common.dtsi

2019-07-03 Thread Jerome Brunet
On Wed 03 Jul 2019 at 13:51, Neil Armstrong wrote: > On 03/07/2019 01:54, Martin Blumenstingl wrote: >> Hi Neil, >> [...] >> does it make sense to name this file "meson-g12a-g12b-sm1-common.dtsi" >> instead? >> do you know whether there will be a successor to G12B and what it's >> code-name

Re: [PATCH v1] media: si2168: Refactor command setup code

2019-07-03 Thread Marc Gonzalez
On 02/07/2019 11:51, Jonathan Neuschäfer wrote: > On Mon, Jul 01, 2019 at 01:44:09PM +0200, Marc Gonzalez wrote: > >> By refactoring the command setup code, we can let the compiler >> determine the size of each command. > > I like the idea, it definitely saves some code. > > The conversion also

[PATCH 1/4] fs/posix_acl: apply umask if superblock disables ACL support

2019-07-03 Thread Max Kellermann
The function posix_acl_create() applies the umask only if the inode has no ACL (= NULL) or if ACLs are not supported by the filesystem driver (= -EOPNOTSUPP). However, this happens only after after the IS_POSIXACL() check succeeeded. If the superblock doesn't enable ACL support, umask will never

[PATCH 14/25] ARM: dts: sun8i: Switch A83T dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A83T dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 25/25] ARM: dts: axp81x: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp81x.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

[PATCH 24/25] ARM: dts: axp809: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp809.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

[PATCH 21/25] ARM: dts: axp209: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp209.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

[PATCH 12/25] ARM: dts: sun8i: Switch A23 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A23 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 20/25] ARM: dts: axp152: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp152.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

[PATCH 18/25] ARM: dts: sun8i: Switch V3s dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner V3s dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 10/25] ARM: dts: sun7i: Switch A20 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A20 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 19/25] ARM: dts: sun9i: Switch A80 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A80 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 23/25] ARM: dts: axp22x: Switch to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on axp22x.dtsi. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by: Jagan Teki ---

[PATCH 15/25] ARM: dts: sun8i: Switch H2+ dts to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner H2+ dts files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 16/25] ARM: dts: sun8i: Switch H3 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner H3 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 17/25] ARM: dts: sun8i: Switch R40 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner R40 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

[PATCH 08/25] ARM: dts: sun6i: Switch A31 dts(i) to use SPDX identifier

2019-07-03 Thread Jagan Teki
Adopt the SPDX license identifier headers to ease license compliance management on Allwinner A31 dts(i) files. While the text specifies "of the GPL or the X11 license" but the actual license text matches the MIT license as specified at [0] [0] https://spdx.org/licenses/MIT.html Signed-off-by:

<    2   3   4   5   6   7   8   9   10   11   >