Re: [PATCH v2 1/1] arm64: dts: rockchip: Add support for TB-96AI board

2019-08-31 Thread Heiko Stuebner
Hi Elon, Am Montag, 5. August 2019, 03:57:55 CEST schrieb Elon Zhang: > Add devicetree support for RK3399Pro TB-96AI board, one of > the 96Boards family. > > The TB-96AI board is a 96Boards Compute SOM design, launched > by Linaro, Rockchip and Beiqicloud. > > More information can be obtained

[PATCH] genirq: move debugfs option to kernel hacking

2019-08-31 Thread Changbin Du
Just like the other generic debug options, move the irq one to 'Kernel hacking' menu. Signed-off-by: Changbin Du --- kernel/irq/Kconfig | 12 lib/Kconfig.debug | 11 +++ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/kernel/irq/Kconfig

[PATCH RESEND] arch/microblaze: add support for get_user() of size 8 bytes

2019-08-31 Thread Randy Dunlap
From: Randy Dunlap arch/microblaze/ is missing support for get_user() of size 8 bytes, so add it by using __copy_from_user(). Fixes these build errors: drivers/infiniband/core/uverbs_main.o: In function `ib_uverbs_write': drivers/infiniband/core/.tmp_gl_uverbs_main.o:(.text+0x13a4):

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Valdis Klētnieks
On Sun, 01 Sep 2019 11:07:21 +1000, Dave Chinner said: > Totally irrelevant to the issue at hand. You can easily co-ordinate > out of tree contributions through a github tree, or a tree on > kernel.org, etc. Well.. I'm not personally wedded to the staging tree. I'm just interested in getting a

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Gao Xiang
Hi Al, On Sun, Sep 01, 2019 at 04:05:14AM +0100, Al Viro wrote: > On Sun, Sep 01, 2019 at 09:37:19AM +0800, Gao Xiang wrote: > > > fs/orangefs/file.c > > 19 static int flush_racache(struct inode *inode) > > Just why the hell would _that_ one be a problem? It's static in > file; it can't

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Al Viro
On Sun, Sep 01, 2019 at 09:37:19AM +0800, Gao Xiang wrote: > fs/orangefs/file.c > 19 static int flush_racache(struct inode *inode) Just why the hell would _that_ one be a problem? It's static in file; it can't pollute the namespace even if linked into the kernel. Folks, let's keep at least

[PATCH] x86: Fix the dependency of x86 insn decoder selftest

2019-08-31 Thread Masami Hiramatsu
Since x86 instruction decoder is not only for kprobes, it should be tested when the insn.c is compiled. (e.g. perf is enabled but kprobes is disabled) Fixes: cbe5c34c8c1f ("x86: Compile insn.c and inat.c only for KPROBES") Signed-off-by: Masami Hiramatsu --- arch/x86/Kconfig.debug |2 +- 1

Re: [PATCH 0/4] objtool,perf: Use shared x86 insn decoder

2019-08-31 Thread Masami Hiramatsu
On Sat, 31 Aug 2019 17:19:31 -0300 Arnaldo Carvalho de Melo wrote: > Em Sat, Aug 31, 2019 at 10:51:52AM +0900, Masami Hiramatsu escreveu: > > On Fri, 30 Aug 2019 16:48:45 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Fri, Aug 30, 2019 at 02:31:09PM -0500, Josh Poimboeuf escreveu: > >

[PATCH] ALSA: hda/realtek - Add quirk for HP Pavilion 15

2019-08-31 Thread Sam Bazley
HP Pavilion 15 (AMD Ryzen-based model) with 103c:84e7 needs the same quirk like HP Envy/Spectre x360 for enabling the mute LED over Mic3 pin. Signed-off-by: Sam Bazley --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c

Re: [PATCH v5 01/18] thermal: sun8i: add thermal driver for h6

2019-08-31 Thread Ondřej Jirman
Hello Yangtao, On Sat, Aug 10, 2019 at 05:28:12AM +, Yangtao Li wrote: > This patch adds the support for allwinner thermal sensor, within > allwinner SoC. It will register sensors for thermal framework > and use device tree to bind cooling device. > > Signed-off-by: Yangtao Li > --- >

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Gao Xiang
Hi Dave, On Sun, Sep 01, 2019 at 11:07:21AM +1000, Dave Chinner wrote: > On Sat, Aug 31, 2019 at 06:25:21AM -0400, Valdis Kl??tnieks wrote: > > On Fri, 30 Aug 2019 23:46:16 -0700, Christoph Hellwig said: > > > Since when did Linux kernel submissions become "show me a better patch" > > > to reject

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Dave Chinner
On Sat, Aug 31, 2019 at 06:25:21AM -0400, Valdis Klētnieks wrote: > On Fri, 30 Aug 2019 23:46:16 -0700, Christoph Hellwig said: > > Since when did Linux kernel submissions become "show me a better patch" > > to reject something obviously bad? > > Well, do you even have a *suggestion* for a better

Re: [PATCH 4.14] tcp: fix tcp_rtx_queue_tail in case of empty retransmit queue

2019-08-31 Thread Sasha Levin
On Sat, Aug 31, 2019 at 03:14:35PM +0200, Matthieu Baerts wrote: Hi Sasha, Thank you for your reply! On 31/08/2019 14:20, Sasha Levin wrote: On Sat, Aug 24, 2019 at 08:03:51AM +0200, Tim Froidcoeur wrote: Commit 8c3088f895a0 ("tcp: be more careful in tcp_fragment()") triggers following stack

Re: [PATCH] staging: exfat: add exfat filesystem code to staging

2019-08-31 Thread Dave Chinner
On Sat, Aug 31, 2019 at 06:31:45AM -0400, Valdis Klētnieks wrote: > On Sat, 31 Aug 2019 07:54:10 +1000, Dave Chinner said: > > > The correct place for new filesystem review is where all the > > experienced filesystem developers hang out - that's linux-fsdevel, > > not the driver staging tree. >

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

2019-08-31 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+b9be979c55f2bea8e...@syzkaller.appspotmail.com Tested on: commit: 48b9e92a rxrpc: Fix lack of conn cleanup when local endpoi.. git tree:

Re: [PATCH v1 1/1] ARM: dts: rockchip: set crypto default disabled on rk3288

2019-08-31 Thread Heiko Stuebner
Hi Elon, Am Donnerstag, 29. August 2019, 13:31:00 CEST schrieb Elon Zhang: > On 8/27/2019 22:28, Heiko Stuebner wrote: > > Am Dienstag, 27. August 2019, 09:14:39 CEST schrieb Elon Zhang: > >> Not every board needs to enable crypto node, so the node should > >> be set default disabled in

Re: [PATCH 2/2] tpm: tpm_crb: enhance resource mapping mechanism for supporting AMD's fTPM

2019-08-31 Thread kbuild test robot
Hi Seunghun, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on jss-tpmdd/next] [cannot apply to v5.3-rc6 next-20190830] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] iwlwifi: mvm: Move static keyword to the front of declarations

2019-08-31 Thread Krzysztof Wilczynski
Move the static keyword to the front of declarations of he_if_types_ext_capa_sta and he_iftypes_ext_capa, and resolve the following compiler warnings that can be seen when building with warnings enabled (W=1): drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:427:1: warning: ‘static’ is not at

[PATCH] ceph: Move static keyword to the front of declarations

2019-08-31 Thread Krzysztof Wilczynski
Move the static keyword to the front of declarations of snap_handle_length, handle_length and connected_handle_length, and resolve the following compiler warnings that can be seen when building with warnings enabled (W=1): fs/ceph/export.c:38:2: warning: ‘static’ is not at beginning of

Re: [PATCH v3 09/11] Input: alps - remove unlikely() from IS_ERR*() condition

2019-08-31 Thread Dmitry Torokhov
On Sat, Aug 31, 2019 at 01:32:02PM -0700, Joe Perches wrote: > On Sat, 2019-08-31 at 17:25 +0200, Pali Rohár wrote: > > On Thursday 29 August 2019 10:50:39 Dmitry Torokhov wrote: > > > On Thu, Aug 29, 2019 at 07:50:23PM +0300, Denis Efremov wrote: > > > > "unlikely(IS_ERR_OR_NULL(x))" is

Re: [PATCH v6 14/57] fpga: Remove dev_err() usage after platform_get_irq()

2019-08-31 Thread Moritz Fischer
On Tue, Jul 30, 2019 at 11:15:14AM -0700, Stephen Boyd wrote: > We don't need dev_err() messages when platform_get_irq() fails now that > platform_get_irq() prints an error message itself when something goes > wrong. Let's remove these prints with a simple semantic patch. > > // > @@ >

Re: [PATCH v2 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-08-31 Thread Ard Biesheuvel
On Sat, 31 Aug 2019 at 22:02, Kees Cook wrote: > > On Sat, Aug 31, 2019 at 08:48:56PM +0300, Ard Biesheuvel wrote: > > It's been ~2 years since I looked at this code in detail, but IIRC, it > > looked like the inc-from-zero check was missing from the x86 > > implementation because it requires a

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-08-31 Thread Ido Schimmel
On Sat, Aug 31, 2019 at 09:35:56PM +0200, Andrew Lunn wrote: > > Also, what happens when I'm running these application without putting > > the interface in promisc mode? On an offloaded interface I would not be > > able to even capture packets addressed to my interface's MAC address. > > Sorry

[GIT PULL] Please pull FPGA Manager changes for 5.4

2019-08-31 Thread Moritz Fischer
The following changes since commit 2949dc443116a66fd1a92d9ef107be16cdd197cd: dt-bindings: fpga: Consolidate bridge properties (2019-07-24 14:19:15 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga.git/ tags/fpga-cvp-for-5.4 for you

Re: [PATCH v3 09/11] Input: alps - remove unlikely() from IS_ERR*() condition

2019-08-31 Thread Joe Perches
On Sat, 2019-08-31 at 17:25 +0200, Pali Rohár wrote: > On Thursday 29 August 2019 10:50:39 Dmitry Torokhov wrote: > > On Thu, Aug 29, 2019 at 07:50:23PM +0300, Denis Efremov wrote: > > > "unlikely(IS_ERR_OR_NULL(x))" is excessive. IS_ERR_OR_NULL() already uses > > > unlikely() internally. > > > >

[PATCH -next RESEND] tracing: fix iomap.h build warnings

2019-08-31 Thread Randy Dunlap
From: Randy Dunlap Fix 30 warnings for missing "struct inode" declaration (like these) by adding a forward reference for it. These warnings come from 'headers_check' (CONFIG_HEADERS_CHECK): CC include/trace/events/iomap.h.s ./../include/trace/events/iomap.h:49:18: warning: 'struct inode'

Re: [PATCH] net: dsa: microchip: fill regmap_config name

2019-08-31 Thread David Miller
From: George McCollister Date: Thu, 29 Aug 2019 09:14:41 -0500 > Use the register value width as the regmap_config name to prevent the > following error when the second and third regmap_configs are > initialized. > "debugfs: Directory '${bus-id}' with parent 'regmap' already present!" > >

Re: [PATCH 0/4] objtool,perf: Use shared x86 insn decoder

2019-08-31 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 31, 2019 at 10:51:52AM +0900, Masami Hiramatsu escreveu: > On Fri, 30 Aug 2019 16:48:45 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Fri, Aug 30, 2019 at 02:31:09PM -0500, Josh Poimboeuf escreveu: > > > On Fri, Aug 30, 2019 at 04:00:58PM -0300, Arnaldo Carvalho de Melo wrote: > >

RE: [PATCH -next] scsi: ufs: Use kmemdup in ufshcd_read_string_desc()

2019-08-31 Thread Winkler, Tomas
> Use kmemdup rather than duplicating its implementation > > Signed-off-by: YueHaibing LGTM, ACK. Tomas > --- > drivers/scsi/ufs/ufshcd.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index >

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-08-31 Thread Andrew Lunn
> Also, what happens when I'm running these application without putting > the interface in promisc mode? On an offloaded interface I would not be > able to even capture packets addressed to my interface's MAC address. Sorry for rejoining the discussion late. I've been travelling and i'm now 3/4

[PATCH] bluetooth: bpa10x: change return value

2019-08-31 Thread Navid Emamdoost
When returning from bpa10x_send_frame, it is necessary to propagate any potential errno returned from usb_submit_urb. Signed-off-by: Navid Emamdoost --- drivers/bluetooth/bpa10x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/bpa10x.c

[PATCH v3] libnvdimm: Enable unit test infrastructure compile checks

2019-08-31 Thread Dan Williams
The infrastructure to mock core libnvdimm routines for unit testing purposes is prone to bitrot relative to refactoring of that core. Arrange for the unit test core to be built when CONFIG_COMPILE_TEST=y. This does not result in a functional unit test environment, it is only a helper for 0day to

Re: [PATCH v2 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-08-31 Thread Kees Cook
On Sat, Aug 31, 2019 at 08:48:56PM +0300, Ard Biesheuvel wrote: > It's been ~2 years since I looked at this code in detail, but IIRC, it > looked like the inc-from-zero check was missing from the x86 > implementation because it requires a load/compare/increment/store > sequence instead of a single

Re: [PATCH v7 6/6] powerpc/perf: split callchain.c by bitness

2019-08-31 Thread Michal Suchánek
On Fri, 30 Aug 2019 23:03:43 +0200 Michal Suchanek wrote: > Building callchain.c with !COMPAT proved quite ugly with all the > defines. Splitting out the 32bit and 64bit parts looks better. > > No code change intended. valid_user_sp is broken in compat. It needs to be ifdefed for the 32bit

Re: [PATCH] Fix a double free bug in rsi_91x_deinit

2019-08-31 Thread Hui Peng
On 8/31/19 2:18 PM, Guenter Roeck wrote: > On Mon, Aug 19, 2019 at 06:02:29PM -0400, Hui Peng wrote: >> `dev` (struct rsi_91x_usbdev *) field of adapter >> (struct rsi_91x_usbdev *) is allocated and initialized in >> `rsi_init_usb_interface`. If any error is detected in information >> read from

Re: [PATCH] Fix a double free bug in rsi_91x_deinit

2019-08-31 Thread Guenter Roeck
On Mon, Aug 19, 2019 at 06:02:29PM -0400, Hui Peng wrote: > `dev` (struct rsi_91x_usbdev *) field of adapter > (struct rsi_91x_usbdev *) is allocated and initialized in > `rsi_init_usb_interface`. If any error is detected in information > read from the device side, `rsi_init_usb_interface` will

Re: [PULL REQUEST] i2c for 5.3

2019-08-31 Thread pr-tracker-bot
The pull request you sent on Sat, 31 Aug 2019 13:29:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/eea173097dfbb44855e3cf03c09eb5a665c20438 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH v7 0/6] Disable compat cruft on ppc64le v7

2019-08-31 Thread Michal Suchánek
On Sat, 31 Aug 2019 08:41:58 +0200 Christophe Leroy wrote: > Le 30/08/2019 à 23:03, Michal Suchanek a écrit : > > Less code means less bugs so add a knob to skip the compat stuff. > > I guess on PPC64 you have Gigabytes of memory and thousands of bogomips, > hence you focus on bugs. > > My

Re: [PATCH 1/2] Fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe

2019-08-31 Thread Guenter Roeck
On Sat, Aug 03, 2019 at 08:29:04PM -0400, Hui Peng wrote: > The `ar_usb` field of `ath6kl_usb_pipe_usb_pipe` objects > are initialized to point to the containing `ath6kl_usb` object > according to endpoint descriptors read from the device side, as shown > below in

[PATCH v5] hid-logitech-hidpp: read battery voltage from newer devices

2019-08-31 Thread Pedro Vanzella
Newer Logitech mice report their battery voltage through feature 0x1001 instead of the battery levels through feature 0x1000. When the device is brought up and we try to query the battery, figure out if it supports the old or the new feature. If it supports the new feature, record the feature

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-31 Thread Andi Kleen
On Sat, Aug 31, 2019 at 02:13:05AM -0700, Stephane Eranian wrote: > Andi, > > On Fri, Aug 30, 2019 at 5:31 PM Andi Kleen wrote: > > > > > the same manner. It would greatly simplify the kernel implementation. > > > > I tried that originally. It was actually more complicated. > > > > You can't

Re: [PATCH v2 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-08-31 Thread Ard Biesheuvel
On Thu, 29 Aug 2019 at 00:03, Kees Cook wrote: > > On Wed, Aug 28, 2019 at 03:14:40PM +0100, Will Deacon wrote: > > On Wed, Aug 28, 2019 at 09:30:52AM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 27, 2019 at 05:31:58PM +0100, Will Deacon wrote: > > > > Will Deacon (6): > > > > lib/refcount:

Re: [PATCH] virtio: Change typecasts in vring_init()

2019-08-31 Thread Michael S. Tsirkin
On Fri, Aug 30, 2019 at 05:58:23PM +, Matej Genci wrote: > On 8/30/2019 3:02 PM, Michael S. Tsirkin wrote: > > On Tue, Aug 27, 2019 at 03:20:57PM +, Matej Genci wrote: > >> Compilers such as g++ 7.3 complain about assigning void* variable to > >> a non-void* variable (like struct pointers)

Re: [PATCH] r8188eu: use skb_put_data instead of skb_put/memcpy pair

2019-08-31 Thread Ivan Safonov
On 8/27/19 1:31 PM, Dan Carpenter wrote: On Sun, Aug 25, 2019 at 11:48:58PM +0300, Ivan Safonov wrote: skb_put_data is shorter and clear. Please don't start the commit message in the middle of a sentence. It often gets split from the start of the sentence. See how it looks here.

Re: [PATCH v4] tpm: Parse event log from TPM2 ACPI table

2019-08-31 Thread kbuild test robot
/Jordan-Hand/tpm-Parse-event-log-from-TPM2-ACPI-table/20190831-234702 base: git://git.infradead.org/users/jjs/linux-tpmdd next config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH

Hello Dear Friend

2019-08-31 Thread Nicole Marois
Hello Dear. I’m Mrs. Nicole Maoris a manager in HSBC BANK in Spain Madrid, I am sending this brief letter to seek for your partnership and long term relationship, I have an important and urgent issue I want to discuss with you privately about transaction fund worth the sum of $9.5m

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

2019-08-31 Thread Vidya Sagar
On 8/31/2019 2:19 PM, Lorenzo Pieralisi wrote: On Sat, Aug 31, 2019 at 09:51:05AM +0530, Vidya Sagar wrote: On 8/30/2019 6:00 PM, Bjorn Helgaas wrote: [+cc Krzysztof] On Thu, Aug 29, 2019 at 10:23 PM Stephen Rothwell wrote: Hi all, After merging the pci tree, today's linux-next build

Re: [PATCH] tools/power turbostat: Make interval calculation per thread to reduce jitter

2019-08-31 Thread Len Brown
Yeah, I like this patch, and I have applied it. thanks! -Len On Fri, Jun 7, 2019 at 12:28 PM Ghannam, Yazen wrote: > > > -Original Message- > > From: Ghannam, Yazen > > Sent: Tuesday, April 23, 2019 12:53 PM > > To: Ghannam, Yazen ; linux...@vger.kernel.org; > > len.br...@intel.com >

Re: [GIT PULL] KVM fixes for Linux 5.3-rc7

2019-08-31 Thread pr-tracker-bot
The pull request you sent on Sat, 31 Aug 2019 04:26:26 +0200: > git://git.kernel.org/pub/scm/virt/kvm/kvm tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/834354f642adfe7bb6d5dba5f7de6ecd3150fb2f Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] RISC-V updates for v5.3-rc7

2019-08-31 Thread pr-tracker-bot
The pull request you sent on Fri, 30 Aug 2019 19:31:58 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv/for-v5.3-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7fb86707cc3a256e5556ced9c3a3eb96122d4b16 Thank you! --

Re: [PATCH net] rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]

2019-08-31 Thread David Howells
Hillf Danton wrote: > > - if (rxnet->live) { > > + if (rxnet->live && !conn->params.local->dead) { > > idle_timestamp = READ_ONCE(conn->idle_timestamp); > > expire_at = idle_timestamp + rxrpc_connection_expiry * > > HZ; > >

Re: [GIT PULL] tracing: Various tracing fixes

2019-08-31 Thread pr-tracker-bot
The pull request you sent on Sat, 31 Aug 2019 07:08:39 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.3-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/95381debd9ee8787256c3cdb92d2b167efa4b863 Thank you! --

[PATCH v2 2/3] ASoC: es8316: Add clock control of MCLK

2019-08-31 Thread Katsuhiro Suzuki
This patch introduce clock property for MCLK master freq control. Driver will set rate of MCLK master if set_sysclk is called and changing sysclk by board driver. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Output logs if clock error is found - Disable and unprepare mclk when

[PATCH v3 2/2] kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARN

2019-08-31 Thread Masahiro Yamada
KBUILD_ENABLE_EXTRA_GCC_CHECKS started as a switch to add extra warning options for GCC, but now it is a historical misnomer since we use it also for Clang, DTC, and even kernel-doc. Rename it to more sensible, and shorter KBUILD_EXTRA_WARN. For the backward compatibility,

[PATCH v2 3/3] ASoC: es8316: add DT-bindings

2019-08-31 Thread Katsuhiro Suzuki
This patch adds missing DT-bindings document for Everest ES8316. Signed-off-by: Katsuhiro Suzuki --- .../bindings/sound/everest,es8316.txt | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/everest,es8316.txt diff

[PATCH v2 1/3] ASoC: es8316: judge PCM rate at later timing

2019-08-31 Thread Katsuhiro Suzuki
This patch change the judge timing about playing/capturing PCM rate. Original code set constraints list of PCM rate limits at set_sysclk. This strategy works well if system is using fixed rate clock. But some boards and SoC (such as RockPro64 and RockChip I2S) has connected SoC MCLK out to

[PATCH v3 1/2] kbuild: refactor scripts/Makefile.extrawarn

2019-08-31 Thread Masahiro Yamada
Instead of the warning-[123] magic, let's accumulate compiler options to KBUILD_CFLAGS directly as the top Makefile does. I think this makes easier to understand what is going on in this file. This commit slightly changes the behavior, I think all of which are OK. [1] Currently, cc-option calls

Re: [PATCH v3 06/11] wimax/i2400m: remove unlikely() from WARN*() condition

2019-08-31 Thread Denis Efremov
On 31.08.2019 14:25, Markus Elfring wrote: >> pad_buf = i2400m_tx_fifo_push(i2400m, padding, 0, 0); >> -    if (unlikely(WARN_ON(pad_buf == NULL >> - || pad_buf == TAIL_FULL))) { >> +    if (WARN_ON(pad_buf == NULL || pad_buf == TAIL_FULL)) { > > How do you

Re: [PATCH v3 09/11] Input: alps - remove unlikely() from IS_ERR*() condition

2019-08-31 Thread Denis Efremov
On 31.08.2019 18:25, Pali Rohár wrote: > On Thursday 29 August 2019 10:50:39 Dmitry Torokhov wrote: >> On Thu, Aug 29, 2019 at 07:50:23PM +0300, Denis Efremov wrote: >>> "unlikely(IS_ERR_OR_NULL(x))" is excessive. IS_ERR_OR_NULL() already uses >>> unlikely() internally. >> >> The keyword here is

Re: [PATCH] tracing: silence noisy warnings about struct inode

2019-08-31 Thread Steven Rostedt
On Sat, 31 Aug 2019 11:46:33 -0400 Steven Rostedt wrote: > On Thu, 29 Aug 2019 14:34:18 -0700 > Randy Dunlap wrote: > > > From: Randy Dunlap > > > > Fix 30 warnings for missing "struct inode" declaration (like these) by > > adding a forward reference for it. > > These warnings come from

Re: [PATCH] tracing: silence noisy warnings about struct inode

2019-08-31 Thread Steven Rostedt
On Thu, 29 Aug 2019 14:34:18 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Fix 30 warnings for missing "struct inode" declaration (like these) by > adding a forward reference for it. > These warnings come from 'headers_check' (CONFIG_HEADERS_CHECK): > CC

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

2019-08-31 Thread Mika Westerberg
On Sat, Aug 31, 2019 at 03:29:21PM +, Jethro Beekman wrote: > > > + ispi->sregs = NULL; > > > + ispi->pregs = ispi->base + CNL_PR; > > > + ispi->nregions = CNL_FREG_NUM; > > > + ispi->pr_num = CNL_PR_NUM; > > > > Does CNL really have a different number of PR

[PATCH] Ext4 Docs: Add missing bigalloc documentation.

2019-08-31 Thread Ayush Ranjan
There was a broken link for bigalloc. The page https://ext4.wiki.kernel.org/index.php/Bigalloc was not migrated into the current documentation sources. This patch adds the contents of that missing page into the section for Bigalloc itself. Signed-off-by: Ayush Ranjan --- Please note that I have

Re: [fs/namei.c] e013ec23b8: WARNING:at_fs/dcache.c:#dentry_free

2019-08-31 Thread Al Viro
On Sat, Aug 31, 2019 at 09:09:17PM +0800, kernel test robot wrote: > [ 13.886602] WARNING: CPU: 0 PID: 541 at fs/dcache.c:338 > dentry_free+0x7f/0x90 > [ 13.889208] Modules linked in: > [ 13.890276] CPU: 0 PID: 541 Comm: readlink Not tainted > 5.3.0-rc1-8-ge013ec23b8231 #1 > [

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-08-31 Thread Keith Busch
On Fri, Aug 30, 2019 at 06:01:39PM -0600, Logan Gunthorpe wrote: > To fix this, assign the subsystem's instance based on the instance > number of the controller's instance that first created it. There should > always be fewer subsystems than controllers so the should not be a need > to create

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

2019-08-31 Thread Jethro Beekman
On 2019-08-31 06:36, Mika Westerberg wrote: Looks like some white space damage. There are couple of similar below as well. Oops. I will fix this in a v2 or resend later. + ispi->sregs = NULL; + ispi->pregs = ispi->base + CNL_PR; + ispi->nregions =

Re: [PATCH] MAINTAINERS: update entry of firewire audio drivers

2019-08-31 Thread Takashi Iwai
On Fri, 30 Aug 2019 15:24:46 +0200, Takashi Sakamoto wrote: > > This commit adds myself as one of maintainers for firewire audio > drivers and IEC 61883-1/6 packet streaming engine. I call them ALSA > firewire stack as a whole. > > 6 years ago I joined in development for this category of drivers

Re: [PATCH v3 09/11] Input: alps - remove unlikely() from IS_ERR*() condition

2019-08-31 Thread Pali Rohár
On Thursday 29 August 2019 10:50:39 Dmitry Torokhov wrote: > On Thu, Aug 29, 2019 at 07:50:23PM +0300, Denis Efremov wrote: > > "unlikely(IS_ERR_OR_NULL(x))" is excessive. IS_ERR_OR_NULL() already uses > > unlikely() internally. > > The keyword here is _internally_. > >

[PATCH] media: siano: Use the correct style for SPDX License Identifier

2019-08-31 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header file related to Siano Mobile Silicon Digital TV. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided

Re: [PATCH] ext4 crypto: fix to check feature status before get policy

2019-08-31 Thread Eric Biggers
On Sat, Aug 31, 2019 at 06:32:28PM +0800, Chao Yu wrote: > Hi, > > Is this change not necessary? A month has passed... > > Thanks, > > On 2019/8/4 17:56, Chao Yu wrote: > > From: Chao Yu > > > > When getting fscrypto policy via EXT4_IOC_GET_ENCRYPTION_POLICY, if > > encryption feature is off,

Re: [PATCH v4 3/4] watchdog/aspeed: add support for dual boot

2019-08-31 Thread Guenter Roeck
On Wed, Aug 28, 2019 at 01:24:01PM +0300, Ivan Mikhaylov wrote: > Set WDT_CLEAR_TIMEOUT_AND_BOOT_CODE_SELECTION into WDT_CLEAR_TIMEOUT_STATUS > to clear out boot code source and re-enable access to the primary SPI flash > chip while booted via wdt2 from the alternate chip. > > AST2400 datasheet

Re: [PATCH v4 4/4] aspeed/watchdog: Add access_cs0 option for alt-boot

2019-08-31 Thread Guenter Roeck
On Wed, Aug 28, 2019 at 01:24:02PM +0300, Ivan Mikhaylov wrote: > The option for the ast2400/2500 to get access to CS0 at runtime. > > Signed-off-by: Ivan Mikhaylov Reviewed-by: Guenter Roeck > --- > .../ABI/testing/sysfs-class-watchdog | 34 +++ > 1 file changed, 34

Re: [PATCH v2 2/2] PTP: add support for one-shot output

2019-08-31 Thread Richard Cochran
On Fri, Aug 30, 2019 at 11:00:20AM +0300, Felipe Balbi wrote: > seems like this should be defined together with the other flags? If > that's the case, it seems like we would EXTTS and PEROUT masks. Yes, let's make the meanings of the bit fields clear... --- ptp_clock.h --- /* * Bits of the

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Valdis Klētnieks
On Sat, 31 Aug 2019 17:24:47 +0300, Andy Shevchenko said: > Side note: > > % git shortlog -n --no-merges -- fs/ext4 | grep '^[^ ]' > > kinda faster and groups by name. Thanks... I rarely do statistical analyses of this sort of thing, so 'git shortlog' isn't on my list of most-used git

Re: [PATCH v2 2/2] PTP: add support for one-shot output

2019-08-31 Thread Richard Cochran
On Fri, Aug 30, 2019 at 11:00:20AM +0300, Felipe Balbi wrote: > >> @@ -177,9 +177,8 @@ long ptp_ioctl(struct posix_clock *pc, unsigned int > >> cmd, unsigned long arg) > >>err = -EFAULT; > >>break; > >>} > >> - if ((req.perout.flags ||

Re: [RFC][PATCH 01/13] sched/deadline: Impose global limits on sched_attr::sched_period

2019-08-31 Thread Alessio Balsini
Right! Verified that sysctl_sched_dl_period_max and sysctl_sched_dl_period_min values are now always consistent. I spent some time in trying to figure out if not having any mutex in __checkparam_dl() is safe. There can surely happen that "max < min", e.g.: | |

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

2019-08-31 Thread Bjorn Helgaas
On Sat, Aug 31, 2019 at 3:49 AM Lorenzo Pieralisi wrote: > > On Sat, Aug 31, 2019 at 09:51:05AM +0530, Vidya Sagar wrote: > > On 8/30/2019 6:00 PM, Bjorn Helgaas wrote: > > > [+cc Krzysztof] > > > > > > On Thu, Aug 29, 2019 at 10:23 PM Stephen Rothwell > > > wrote: > > > > > > > > Hi all, > > >

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-08-31 Thread Andy Shevchenko
On Sat, Aug 31, 2019 at 1:26 PM Valdis Klētnieks wrote: > [/usr/src/linux-next] git log -- fs/ext4 | awk '/^commit/ {merge=0} /^Merge: > / {merge=1} /^Author:/ { if (!merge) {print $0}}' | sort | uniq -c | sort -t: > -k 1,1nr -k 2 Side note: % git shortlog -n --no-merges -- fs/ext4 | grep

[GIT PULL] Thunderbolt changes for v5.4

2019-08-31 Thread Mika Westerberg
Hi Greg, The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d: Linux 5.3-rc3 (2019-08-04 18:40:12 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v5.4 for you to fetch changes

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

2019-08-31 Thread Mika Westerberg
Hi Jethro, On Sat, Aug 31, 2019 at 05:50:34AM +, Jethro Beekman wrote: > (apologies, resending without S/MIME signature) > > Now that SPI flash controllers without a software sequencer are > supported, it's trivial to add support for CNL and its PCI ID. > > Signed-off-by: Jethro Beekman >

Re: [PATCH 4.14] tcp: fix tcp_rtx_queue_tail in case of empty retransmit queue

2019-08-31 Thread Matthieu Baerts
Hi Sasha, Thank you for your reply! On 31/08/2019 14:20, Sasha Levin wrote: > On Sat, Aug 24, 2019 at 08:03:51AM +0200, Tim Froidcoeur wrote: >> Commit 8c3088f895a0 ("tcp: be more careful in tcp_fragment()") >> triggers following stack trace: >> >> [25244.848046] kernel BUG at

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-31 Thread Masahiro Yamada
On Sat, Aug 31, 2019 at 12:53 AM Christoph Hellwig wrote: > > On Tue, Aug 27, 2019 at 02:14:59PM +0900, Masahiro Yamada wrote: > > There is a small documentation about "Makefile" vs "Kbuild" > > in Documentation/kbuild/modules.rst section 3.2 > > I know that part. > > > > > It is talking about

Re: lockdep warning on thunderbolt docking

2019-08-31 Thread Mika Westerberg
Hi Dominik, On Fri, Aug 30, 2019 at 02:58:48PM +0200, Dominik Brodowski wrote: > When connecting a thunderbolt-enabled docking station to my work laptop, > the following lockdep warning is reported on v5.3.0-rc6+ as of Thursday > morning (can look up the exact git id if so required): Thanks for

Re: [PATCH v7 4/6] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-31 Thread Michal Suchánek
On Fri, 30 Aug 2019 23:03:41 +0200 Michal Suchanek wrote: > There are numerous references to 32bit functions in generic and 64bit > code so ifdef them out. > > Signed-off-by: Michal Suchanek > --- > v2: > - fix 32bit ifdef condition in signal.c > - simplify the compat ifdef condition in vdso.c

[PATCH -next] scsi: smartpqi: remove set but not used variable 'ctrl_info'

2019-08-31 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/smartpqi/smartpqi_init.c: In function 'pqi_driver_version_show': drivers/scsi/smartpqi/smartpqi_init.c:6164:24: warning: variable 'ctrl_info' set but not used [-Wunused-but-set-variable] commit 6d90615f1346 ("scsi: smartpqi: add sysfs

Re: [PATCH] arm: fix page faults in do_alignment

2019-08-31 Thread kbuild test robot
/commits/Jing-Xiangfeng/arm-fix-page-faults-in-do_alignment/20190831-173417 base: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests

[PATCH -next] PCI: Use GFP_ATOMIC in resource_alignment_store()

2019-08-31 Thread YueHaibing
When allocating memory, the GFP_KERNEL cannot be used during the spin_lock period. It may cause scheduling when holding spin_lock. Fixes: f13755318675 ("PCI: Move pci_[get|set]_resource_alignment_param() into their callers") Signed-off-by: YueHaibing --- drivers/pci/pci.c | 2 +- 1 file

[PATCH -next] scsi: ufs: Use kmemdup in ufshcd_read_string_desc()

2019-08-31 Thread YueHaibing
Use kmemdup rather than duplicating its implementation Signed-off-by: YueHaibing --- drivers/scsi/ufs/ufshcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index acf298da054c..6d5e2f5d8468 100644 ---

Re: [PATCH 1/2] Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros

2019-08-31 Thread Marcel Holtmann
Hi Alex, > the rtl: or RTL: prefix in the string is pointless. The rtl_dev_* macros > already does that. > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btrtl.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) patch has been applied to bluetooth-next tree. Regards

Re: [PATCH 2/2] Bluetooth: btrtl: Remove trailing newline from calls to rtl_dev macros

2019-08-31 Thread Marcel Holtmann
Hi Alex, > These printing macros already add a trailing newline, so drop these > unnecessary additional newlines. > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btrtl.c | 56 +++ > 1 file changed, 28 insertions(+), 28 deletions(-) patch has been applied

Re: [PATCH v3 2/2] Bluetooth: btrtl: Add firmware version print

2019-08-31 Thread Marcel Holtmann
Hi Alex, > This patch is used to print fw version for debug convenience > > Signed-off-by: Alex Lu > --- > Changes in v3 > - Remove the pointless rtl: prefix in the format string > Changes in v2 > - Re-order the code so that no forward declaration is needed > > drivers/bluetooth/btrtl.c | 56

Re: [PATCH 4.14] tcp: fix tcp_rtx_queue_tail in case of empty retransmit queue

2019-08-31 Thread Sasha Levin
On Sat, Aug 24, 2019 at 08:03:51AM +0200, Tim Froidcoeur wrote: Commit 8c3088f895a0 ("tcp: be more careful in tcp_fragment()") triggers following stack trace: [25244.848046] kernel BUG at ./include/linux/skbuff.h:1406! [25244.859335] RIP: 0010:skb_queue_prev+0x9/0xc [25244.888167] Call Trace:

Re: [PATCH v3 0/9] i2c: add support for filters

2019-08-31 Thread Wolfram Sang
> > What is the plan for this patch series? > > I hope to review it this weekend and my hope it is good to go for 5.4. Series looks good basically. Just a few comments for some patches. See there. Thanks! signature.asc Description: PGP signature

Re: [PATCH v3 5/9] i2c: at91: add support for digital filtering

2019-08-31 Thread Wolfram Sang
> > + dev->enable_dig_filt = of_property_read_bool(pdev->dev.of_node, > > +"i2c-dig-filter"); > > + > > What do you think of the idea to introduce 'flags' to struct i2c_timings > and parse the bindings in the core, too? Then you'd have sth like:

Re: [PATCH v3 5/9] i2c: at91: add support for digital filtering

2019-08-31 Thread Wolfram Sang
> diff --git a/drivers/i2c/busses/i2c-at91-core.c > b/drivers/i2c/busses/i2c-at91-core.c > index a663a7a..62610af 100644 > --- a/drivers/i2c/busses/i2c-at91-core.c > +++ b/drivers/i2c/busses/i2c-at91-core.c > @@ -68,6 +68,7 @@ static struct at91_twi_pdata at91rm9200_config = { >

Re: [GIT] Crypto Fixes for 5.3

2019-08-31 Thread Herbert Xu
On Fri, Aug 30, 2019 at 07:01:42PM -0700, Linus Torvalds wrote: > > It could be in the subject line (ie change the "[GIT]" to "[GIT > PULL]") but it could also be anywhere in the email body (ie a "please > pull" or something like that). Sure I'll do that for the next pull request. I used to have

[PATCH] staging:kpc2000: Fix long constant sparse warning

2019-08-31 Thread Harsh Jain
It fixed following warning in kpc2000 driver "constant is so big it is unsigned long" Signed-off-by: Harsh Jain --- drivers/staging/kpc2000/kpc2000/cell_probe.c | 18 +- drivers/staging/kpc2000/kpc2000/core.c | 18 +-

RE: [PATCH 4.14] tcp: fix tcp_rtx_queue_tail in case of empty retransmit queue

2019-08-31 Thread maowenan
Tim Can you share the reproduce steps for this issue? C or syzkaller is ok. Thanks a lot.

Re: [PATCH v3 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-08-31 Thread Wolfram Sang
On Tue, Jul 09, 2019 at 01:19:33PM +, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > Some i2c controllers have a built-in digital or analog filter. > This is specifically required depending on the hardware PCB/board. > Some controllers also allow specifying the maximum width of

[PULL REQUEST] i2c for 5.3

2019-08-31 Thread Wolfram Sang
Linus, I2C has a bunch of driver fixes and a core improvement to make the on-going API transition more robust. Pleas pull. Thanks, Wolfram The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76: Linux 5.3-rc6 (2019-08-25 12:01:23 -0700) are available in the Git

  1   2   >