Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2018-12-28 Thread Balakrishna Godavarthi
Hi Marcel, On 2018-12-29 12:48, Marcel Holtmann wrote: Hi Balakrishna, Latest qualcomm chips are not sending an command complete event for every firmware packet sent to chip. They only respond with a vendor specific event for the last firmware packet. This optimization will decrease the BT ON

Re: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-28 Thread Chunfeng Yun
hi, On Sun, 2018-12-23 at 15:13 +, Pawel Laszczak wrote: > This patch introduce new Cadence USBSS DRD driver > to linux kernel. <...> > diff --git a/drivers/usb/cdns3/cdns3-pci-wrap.c > b/drivers/usb/cdns3/cdns3-pci-wrap.c > new file mode 100644 > index ..e93179c45ece > ---

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-28 Thread Michal Hocko
On Fri 28-12-18 17:55:24, Shakeel Butt wrote: > The [ip,ip6,arp]_tables use x_tables_info internally and the underlying > memory is already accounted to kmemcg. Do the same for ebtables. The > syzbot, by using setsockopt(EBT_SO_SET_ENTRIES), was able to OOM the > whole system from a restricted

Re: [RFC,v2] Bluetooth: hci_qca: Collect controller memory dump during SSR

2018-12-28 Thread Marcel Holtmann
Hi Balakrishna, > We will collect the ramdump of BT controller when hardware error event > received before rebooting the HCI layer. Before restarting a subsystem > or a process running on a subsystem, it is often required to request > either a subsystem or a process to perform proper cache dump

Re: [PATCH v5 1/6] net: lorawan: Add LoRaWAN socket module

2018-12-28 Thread Andreas Färber
Hi Jian-Hong, Am 16.12.18 um 11:18 schrieb Jian-Hong Pan: > This patch adds a new address/protocol family for LoRaWAN network. > It also implements the the functions and maps to Datagram socket for > LoRaWAN unconfirmed data messages. > > Signed-off-by: Jian-Hong Pan [...] >

Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2018-12-28 Thread Marcel Holtmann
Hi Balakrishna, > Latest qualcomm chips are not sending an command complete event for > every firmware packet sent to chip. They only respond with a vendor > specific event for the last firmware packet. This optimization will > decrease the BT ON time. Due to this we are seeing a timeout error >

[PATCH v3 4/5] drm/bridge: lvds-encoder: add dev helper variable in .probe()

2018-12-28 Thread Peter Rosin
Make the code easier to read and modify. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/bridge/lvds-encoder.c index

[PATCH v3 3/5] dt-bindings: display: bridge: thc63lvdm83d: use standard powerdown-gpios

2018-12-28 Thread Peter Rosin
The name powerdown-gpios is the standard property name for the functionality covered by the previous pwdn-gpios name. This rename should be safe to do since the linux driver supporting the binding (lvds-encoder.c) never implemented the property, and no dts file names it. At least not upstream.

[PATCH v3 5/5] drm/bridge: lvds-encoder: add powerdown-gpios support

2018-12-28 Thread Peter Rosin
Optionally power down the LVDS-encoder when it is not in use. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c

[PATCH v3 1/5] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter

2018-12-28 Thread Peter Rosin
DS90C185 has a shutdown pin which does not fit in the lvds-transmitter binding, which is meant to be generic. The sister chip DS90C187 is similar to DS90C185, describe it here as well. Signed-off-by: Peter Rosin --- .../bindings/display/bridge/lvds-transmitter.txt | 8 +---

[PATCH v3 2/5] dt-bindings: display: bridge: lvds-transmitter: cleanup example

2018-12-28 Thread Peter Rosin
Drop #address-cells and #size-cells from the root node in the example, they are unused. Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v3 0/5] drm/bridge: various small lvds-encoder things

2018-12-28 Thread Peter Rosin
Hi! I'm not sure if I should have added the texas chips to the lvds_encoder_match list in the driver, right next to the thine,thc63lvdm83d entry, but ended up not doing that. That can always be added later, if needed... Changes since v2: - changed from pwdn-gpios to powerdown-gpios after

[PATCH] scripts: coccinelle: boolinit: drop warnings on named constants

2018-12-28 Thread Julia Lawall
Coccinelle doesn't always have access to the values of named (#define) constants, and they may likely often be bound to true and false values anyway, resulting in false positives. So stop warning about them. Signed-off-by: Julia Lawall --- scripts/coccinelle/misc/boolinit.cocci |5 +

Re: [PATCH] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread YueHaibing
On 2018/12/29 13:15, David Miller wrote: > From: YueHaibing > Date: Wed, 26 Dec 2018 16:34:20 +0800 > >> diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c >> index f8eb78d..1567e12 100644 >> --- a/net/ipv4/fib_rules.c >> +++ b/net/ipv4/fib_rules.c >> @@ -200,9 +200,13 @@ static struct

[PATCH v2] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread YueHaibing
gcc warn this: net/ipv4/fib_rules.c:203 fib_empty_table() warn: always true condition '(id <= 4294967295) => (0-u32max <= u32max)' 'id' is u32, which always not greater than RT_TABLE_MAX (0x), So add a check to break while wrap around. Signed-off-by: YueHaibing --- v2: clean up exit

RE: [RFC PATCH 1/1] PM / Domains: Add multi PM domains support for attach_dev

2018-12-28 Thread Aisheng Dong
> From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Friday, December 28, 2018 11:37 PM > > On Thu, 27 Dec 2018 at 18:14, Aisheng Dong > wrote: > > > > Currently attach_dev() in power domain infrastructure still does not > > support multi domains case as the struct device *dev passed down

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

2018-12-28 Thread Dmitry Vyukov
On Sat, Dec 29, 2018 at 12:51 AM Kirill A. Shutemov wrote: > > On Fri, Dec 28, 2018 at 01:09:38PM -0800, Andrew Morton wrote: > > On Fri, 28 Dec 2018 12:51:04 -0800 syzbot > > wrote: > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > uh-oh. Josef, could you please take a

KASAN: slab-out-of-bounds Read in perf_exclude_event

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7566ec393f41 Linux 4.20-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c1b21b40 kernel config: https://syzkaller.appspot.com/x/.config?x=861a3573f4e78ba1 dashboard link:

[PATCH] mm/slub.c: freelist is ensured to be NULL when new_slab() fails

2018-12-28 Thread Peng Wang
new_slab_objects() will return immediately if freelist is not NULL. if (freelist) return freelist; One more assignment operation could be avoided. Signed-off-by: Peng Wang --- mm/slub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/slub.c

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-28 Thread Andreas Färber
Am 28.12.18 um 16:43 schrieb Alexander Aring: > On Fri, Dec 28, 2018 at 05:57:53AM +0100, Andreas Färber wrote: >> Am 24.12.18 um 16:32 schrieb Alexander Aring: >>> On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote: On Mon, 17 Dec 2018 at 15:19, Andreas Färber wrote: > Am 17.12.18

Re: [PATCH 00/20] drop useless LIST_HEAD

2018-12-28 Thread Julia Lawall
On Fri, 28 Dec 2018, Darrick J. Wong wrote: > On Thu, Dec 27, 2018 at 04:40:55PM +0300, Dan Carpenter wrote: > > On Tue, Dec 25, 2018 at 11:12:20PM +0100, Tom Psyborg wrote: > > > there was discussion about this just some days ago. CC 4-5 lists is > > > more than enough > > > > > > > I don't

[PATCH] x86/mm/mem_encrypt_identity : fix error useage to sizeof

2018-12-28 Thread Peng Hao
Fix error usage to sizeof. It should not use sizeof to pointer. Signed-off-by: Peng Hao --- arch/x86/mm/mem_encrypt_identity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/mem_encrypt_identity.c b/arch/x86/mm/mem_encrypt_identity.c index a19ef1a..4aa9b14

[PATCH] power_suuupy: change brace's place

2018-12-28 Thread fuyao
--- drivers/power/supply/power_supply_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c index 5204f115970f..be1577e96c59 100644 --- a/drivers/power/supply/power_supply_sysfs.c +++

Re: [GIT PULL] libnvdimm for 4.21

2018-12-28 Thread Linus Torvalds
Hmm. This pull request doesn't seem to have gotten an automatic pr-tracker reply, even though I pulled it, and even though it was cc'd to lkml. Konstantin, any idea why the automation didn't trigger? I'm not seeing anything all that odd about it. [ looks around ] Oh, I notice that I can't seem

Re: [PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread David Miller
From: Xue Chaojing Date: Fri, 28 Dec 2018 00:20:40 + > @@ -1106,6 +1106,13 @@ static void hinic_remove(struct pci_dev *pdev) > dev_info(>dev, "HiNIC driver - removed\n"); > } > > +static void hinic_shutdown(struct pci_dev *pdev) > +{ > + pci_disable_device(pdev); > + > +

Re: [GIT PULL] hwmon updates for v4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Dec 2018 14:12:29 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > hwmon-for-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8754040378e4ff70b3bb96b1dabac62da5dfb870 Thank you! --

Re: [GIT PULL] VFIO updates for v4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 09:31:30 -0700: > git://github.com/awilliam/linux-vfio.git tags/vfio-v4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1984f65c2fbc0d2b557d6e89ece9b39267e215c6 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Staging/IIO driver patches for 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:35:31 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/02061181d3a9ccfe15ef6bc15fa56283acc47620 Thank you! --

Re: [GIT PULL] GPIO bulk changes for the v4.21 kernel

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Dec 2018 10:23:35 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git > tags/gpio-v4.21-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/24dc83635ffe3c93d8122099a83ee228c9b7e4f7 Thank you! --

Re: [GIT PULL] USB/PHY driver patches for 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:34:42 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c0ea81b4d37837409d0dfd2036098a7babb312ed Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] TTY/Serial patches for 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:35:06 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/117eda8f71ff545cfdec8fe8073adbd173a1ceff Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] hsi changes for hsi-4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 14:10:03 +0100: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git > tags/hsi-for-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4d6ad6fba6b7af06143c67964f4095c74c9ce87c Thank you! --

Re: [GIT PULL] kselftest update for Linux 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 09:45:50 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/903b77c631673eeec9e9114e9524171cdf9a2646 Thank you! --

Re: [GIT PULL] DeviceTree updates for v4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Dec 2018 13:44:21 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > devicetree-for-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/030672aea826adf3dee9100ee8ac303b62c8fe7f Thank you! -- Deet-doot-dot,

Re: [GIT PULL] Driver core patches for 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:36:09 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/driver-core-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b07039b79c9ea64c1eacda1e01d645082e4a0d5d Thank you! --

Re: [GIT PULL] Char/Misc driver patches for 4.21-rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:36:53 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/457fa3469a65a524be04412f5cd497fa3b11c9fd Thank you! --

Re: [git pull] drm next leftovers for rc1

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Dec 2018 10:09:49 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2018-12-27 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7e59fad9c9d1aeacdc96dfffd35f9e12ddc34dbf Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] power-supply changes for 4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 14:08:52 +0100: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git > tags/for-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/579a70035949b771a63a686db8becdd9b197d986 Thank you! --

Re: [PATCH v2] net: arcnet: Fix a possible concurrency use-after-free bug in arcnet_reply_tasklet()

2018-12-28 Thread David Miller
From: Jia-Ju Bai Date: Thu, 27 Dec 2018 10:01:42 +0800 > @@ -401,6 +401,7 @@ static void arcnet_reply_tasklet(unsigned long data) > struct sock_exterr_skb *serr; > struct sock *sk; > int ret; > + unsigned long flags; > > local_irq_disable(); > skb =

Re: [PATCH] isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw()

2018-12-28 Thread David Miller
From: Jia-Ju Bai Date: Wed, 26 Dec 2018 22:09:34 +0800 > In drivers/isdn/hisax/hfc_pci.c, the functions hfcpci_interrupt() and > HFCPCI_l1hw() may be concurrently executed. > > HFCPCI_l1hw() > line 1173: if (!cs->tx_skb) > > hfcpci_interrupt() > line 942: spin_lock_irqsave(); > line

Re: [PATCH 00/20] drop useless LIST_HEAD

2018-12-28 Thread Darrick J. Wong
On Thu, Dec 27, 2018 at 04:40:55PM +0300, Dan Carpenter wrote: > On Tue, Dec 25, 2018 at 11:12:20PM +0100, Tom Psyborg wrote: > > there was discussion about this just some days ago. CC 4-5 lists is > > more than enough > > > > I don't know who you were discussing this with... > > You should CC

Re: [PATCH net] ethtool: check the return value of get_regs_len

2018-12-28 Thread David Miller
From: Yunsheng Lin Date: Wed, 26 Dec 2018 19:51:46 +0800 > The return type for get_regs_len in struct ethtool_ops is int, > the hns3 driver may return error when failing to get the regs > len by sending cmd to firmware. > > Signed-off-by: Yunsheng Lin > --- > Note: There is not Fixes tags for

Re: [PATCH] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread David Miller
From: YueHaibing Date: Wed, 26 Dec 2018 16:34:20 +0800 > diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c > index f8eb78d..1567e12 100644 > --- a/net/ipv4/fib_rules.c > +++ b/net/ipv4/fib_rules.c > @@ -200,9 +200,13 @@ static struct fib_table *fib_empty_table(struct net *net) > { >

Re: [PATCH v3] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2018-12-28 Thread David Miller
From: Peng Hao Date: Wed, 26 Dec 2018 16:26:29 +0800 > diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c > index 839fa77..8ce4921f 100644 > --- a/drivers/net/wan/fsl_ucc_hdlc.c > +++ b/drivers/net/wan/fsl_ucc_hdlc.c > @@ -1057,6 +1057,27 @@ static const struct

Re: [GIT PULL] security: general updates for v4.21

2018-12-28 Thread James Morris
On Fri, 28 Dec 2018, Linus Torvalds wrote: > On Fri, Dec 28, 2018 at 7:11 PM James Morris wrote: > > > > I do this every development cycle, after requests from security subsystem > > maintainers to sync to -rc kernels. > > Why? > > A merge should have a *reason*. Yep, I understand what you

[PATCH 2/2] arm/plat-pxa/ssp : unneeded to free devm_ allocated data

2018-12-28 Thread Peng Hao
devm_ allocated data will be automatically freed. The free of devm_ allocated data is invalid. Signed-off-by: Peng Hao --- arch/arm/plat-pxa/ssp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c index ed36dca..f519199 100644 ---

Re: [GIT PULL] security: general updates for v4.21

2018-12-28 Thread Linus Torvalds
On Fri, Dec 28, 2018 at 7:11 PM James Morris wrote: > > I do this every development cycle, after requests from security subsystem > maintainers to sync to -rc kernels. Why? A merge should have a *reason*. Linus

[PATCH 1/2] arm/common/dmabounce : NULL check before dma_pool_destroy

2018-12-28 Thread Peng Hao
NULL check before dma_pool_destroy is unnecessary because there is a NULL check in dma_pool_destroy. Signed-off-by: Peng Hao --- arch/arm/common/dmabounce.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c index

Re: [GIT PULL resend] hwmon updates for v4.21

2018-12-28 Thread Linus Torvalds
On Fri, Dec 28, 2018 at 6:55 AM Guenter Roeck wrote: > > [ First sent last Sunday. Resending now because I don't know if I will have > internet access in the next few days. I don't know if it got lost, if it > was rejected, or what else may have happened. If it is still in the queue, > my

Re: [PATCH 1/2] pci: altera: Add StratixXX PCIe support

2018-12-28 Thread Bjorn Helgaas
Run "git log --oneline drivers/pci/controller" and make your subject line match in style, phrasing, and capitalization. On Thu, Dec 27, 2018 at 01:09:45AM +0800, Ley Foon Tan wrote: > Add PCIe rootport support for StratixXX device. s/rootport/Root Port/ I don't know what the correct styling of

RE: [PATCH v4 10/10] KVM/x86/lbr: lazy save the guest lbr stack II

2018-12-28 Thread Wang, Wei W
On Friday, December 28, 2018 4:53 AM, Andi Kleen wrote: > Actually forgot one case. > > In Arch Perfmon v4 the LBR freezing is also controlled through a > GLOBAL_CTRL bit. > I didn't see any code handling that bit? That GLOBAL_STATUS.LBR_FRZ bit hasn't been supported yet. I'll add that, thanks.

Re: [V9fs-developer] [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Dominique Martinet
Theodore Y. Ts'o wrote on Fri, Dec 28, 2018: > On Sat, Dec 29, 2018 at 03:37:21AM +0100, Dominique Martinet wrote: > > > Are there going to be cases where a process or a thread will sometimes > > > want the 64-bit interface, and sometimes want the 32-bit interface? > > > Or is it always going to

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Theodore Y. Ts'o
On Sat, Dec 29, 2018 at 03:37:21AM +0100, Dominique Martinet wrote: > > Are there going to be cases where a process or a thread will sometimes > > want the 64-bit interface, and sometimes want the 32-bit interface? > > Or is it always going to be one or the other? I wonder if we could > > simply

Re: Re: [PATCH] bitmap: Add bitmap_valloc(), bitmap_vzalloc() and bitmap_vfree()

2018-12-28 Thread 王鹏
On Date: Fri, 28 Dec 2018 15:41:37 -0800 Andrew Morton wrote: > From: "Andrew Morton" > Sent Time: 2018-12-29 07:41:37 (Saturday) > To: "Peng Wang" > Cc: andriy.shevche...@linux.intel.com, li...@rasmusvillemoes.dk, > yno...@caviumnetworks.com, a...@arndb.de, cour...@google.com,

Re: [GIT PULL] security: general updates for v4.21

2018-12-28 Thread Linus Torvalds
On Fri, Dec 28, 2018 at 8:09 PM James Morris wrote: > > Yep, I understand what you mean. I can't find the discussion from several > years ago, but developers asked to be able to work with more current > kernels, and I recall you saying that if you want to do this, merge to a > specific -rc tag at

Re: [PATCH v5 1/2] lib: add crc64 calculation routines

2018-12-28 Thread Coly Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/29/18 10:58 上午, NeilBrown wrote: > On Thu, Jul 26 2018, Andrew Morton wrote: > >> On Thu, 26 Jul 2018 13:33:51 +0800 Coly Li >> wrote: >> >>> This patch adds the re-write crc64 calculation routines for >>> Linux kernel. The CRC64 polynomial

Re: [GIT PULL] security: general updates for v4.21

2018-12-28 Thread James Morris
On Thu, 27 Dec 2018, Linus Torvalds wrote: > On Mon, Dec 24, 2018 at 11:55 AM James Morris wrote: > > > > The main changes here are Paul Gortmaker's removal of unneccesary module.h > > infrastructure. > > I will point out a merge with a horrible commit message: > > "Sync to Linux 4.20-rc2

Re: [PATCH v5 1/2] lib: add crc64 calculation routines

2018-12-28 Thread NeilBrown
On Thu, Jul 26 2018, Andrew Morton wrote: > On Thu, 26 Jul 2018 13:33:51 +0800 Coly Li wrote: > >> This patch adds the re-write crc64 calculation routines for Linux kernel. >> The CRC64 polynomial arithmetic follows ECMA-182 specification, inspired >> by CRC paper of Dr. Ross N. Williams >> (see

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-28 Thread Michael Schmitz
Hi Finn, Am 26.12.2018 um 13:37 schrieb Finn Thain: On powerpc, setting CONFIG_NVRAM=n builds a kernel with no NVRAM support. Setting CONFIG_NVRAM=m enables the /dev/nvram misc device module without enabling NVRAM support in drivers. Setting CONFIG_NVRAM=y enables the misc device (built-in) and

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-28 Thread Michael Schmitz
Hi Finn, Am 29.12.2018 um 15:34 schrieb Finn Thain: On Sat, 29 Dec 2018, Michael Schmitz wrote: IS_BUILTIN(CONFIG_NVRAM) is probably what Christophe really meant to suggest. Or (really going out on a limb here): IS_BUILTIN(CONFIG_NVRAM) || ( IS_MODULE(CONFIG_ATARI_SCSI) &&

[PATCH -next] drm: Fix error handling in drm_legacy_addctx

2018-12-28 Thread YueHaibing
'ctx->handle' is unsigned, it never less than zero. This patch use int 'tmp_handle' to handle the err condition. Fixes: 62968144e673 ("drm: convert drm context code to use Linux idr") Signed-off-by: YueHaibing --- drivers/gpu/drm/drm_context.c | 15 +-- 1 file changed, 9

Re: [PATCH] usb: devio: update max count of DPs per interval for ISOC

2018-12-28 Thread Chunfeng Yun
Hi, On Fri, 2018-12-28 at 11:51 +0100, Greg Kroah-Hartman wrote: > On Fri, Dec 28, 2018 at 06:27:44PM +0800, Chunfeng Yun wrote: > > The host shall be able to accept and send up to 96 DPs for > > devices operating at Gen 2 speed. > > Why? What is this keeping from working properly today? The

[PATCH -next] media: staging/intel-ipu3: Fix err handle of ipu3_css_find_binary

2018-12-28 Thread YueHaibing
'bindex' is unsigned, it never less than zero. This patch bring int 'binary' back to handle the err condition. Fixes: 51abe041c5ed ("media: staging/intel-ipu3: Add dual pipe support") Signed-off-by: YueHaibing --- drivers/staging/media/ipu3/ipu3-css.c | 8 1 file changed, 4

RE: [PATCH v1 0/2] Virtio: fix some vq allocation issues

2018-12-28 Thread Wang, Wei W
On Friday, December 28, 2018 3:57 PM, Christian Borntraeger wrote: > On 28.12.2018 03:26, Wei Wang wrote: > > Some vqs don't need to be allocated when the related feature bits are > > disabled. Callers notice the vq allocation layer by setting the > > related names[i] to be NULL. > > > > This

BUG: unable to handle kernel paging request in slhc_free

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16771b1540 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link:

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Dominique Martinet
Theodore Y. Ts'o wrote on Fri, Dec 28, 2018: > > The problem is that there is no 32-bit API in some cases > > (unless I have misunderstood the kernel code) -- not all > > host architectures implement compat syscalls or allow them > > to be called from 64-bit processes or implement all the older >

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-28 Thread Finn Thain
On Sat, 29 Dec 2018, Michael Schmitz wrote: > > IS_BUILTIN(CONFIG_NVRAM) is probably what Christophe really meant to suggest. > > Or (really going out on a limb here): > > IS_BUILTIN(CONFIG_NVRAM) || > ( IS_MODULE(CONFIG_ATARI_SCSI) && IS_ENABLED(CONFIG_NVRAM) ) > > Not that I'd advocate

Re: How to force RC to forward p2p TLPs

2018-12-28 Thread Bjorn Helgaas
[+cc Logan, Stephen, Jonathan, Eric, Alex] On Sat, Dec 22, 2018 at 12:50:19PM +0800, yu wrote: > Hi all, > > We have a PCIE card which has a PEX8732 switch on-board, and there > are two endpoint SOCs like graphic decoder behind the switch, and by > default the ACS is enabled in 8732. > > We

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Theodore Y. Ts'o
On Fri, Dec 28, 2018 at 11:18:18AM +, Peter Maydell wrote: > In general inodes and offsets start from 0 and work up -- > so almost all of the time they don't actually overflow. > The problem with ext4 directory hash "offsets" is that they > overflow all the time and immediately, so instead of

Re: [PATCH v3 treewide] headers: separate linux/mod_devicetable.h from linux/platform_device.h

2018-12-28 Thread Randy Dunlap
On 12/28/18 5:32 PM, NeilBrown wrote: > On Sat, Jul 07 2018, Greg Kroah-Hartman wrote: > >> On Tue, Jun 19, 2018 at 10:47:28PM -0700, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> At over 4000 #includes, is the 9th most >>> #included header file in the Linux kernel. It does not need >>> ,

RE: [PATCH] net: tsn: add an netlink interface between kernel and application layer

2018-12-28 Thread PO LIU
Hi Vinicius, Thank you very much for your feedback. I know the CBS is used to be most important part of AVB. And qdiscs is good tool to configure qos. But as you know, the TSN family is a cluster of protocols and much extending the AVB. The protocols have different functionalities and they

[PATCH] Documentation: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Huang Shijie
Update the document, since we have renamed addr_in_gen_pool to gen_pool_has_addr. Signed-off-by: Huang Shijie --- Sorry, I missed to update this document... --- Documentation/core-api/genalloc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-28 Thread Shakeel Butt
The [ip,ip6,arp]_tables use x_tables_info internally and the underlying memory is already accounted to kmemcg. Do the same for ebtables. The syzbot, by using setsockopt(EBT_SO_SET_ENTRIES), was able to OOM the whole system from a restricted memcg, a potential DoS. Reported-by:

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Matthew Wilcox
On Sat, Dec 29, 2018 at 12:12:27AM +, Peter Maydell wrote: > On Fri, 28 Dec 2018 at 23:16, Andreas Dilger wrot > > On Dec 28, 2018, at 4:18 AM, Peter Maydell wrote: > > > The problem is that there is no 32-bit API in some cases > > > (unless I have misunderstood the kernel code) -- not all >

Re: [PATCH] netfilter: fix a missing check of nla put failure

2018-12-28 Thread Pablo Neira Ayuso
On Fri, Dec 21, 2018 at 12:46:23AM -0600, Kangjie Lu wrote: > If nla_nest_start() may fail. The fix checks its return value and goes > to nla_put_failure if it fails. Applied, thanks.

Re: [v3 PATCH 1/2] mm: swap: check if swap backing device is congested or not

2018-12-28 Thread Yang Shi
On 12/28/18 4:42 PM, Andrew Morton wrote: On Sat, 22 Dec 2018 05:40:19 +0800 Yang Shi wrote: Swap readahead would read in a few pages regardless if the underlying device is busy or not. It may incur long waiting time if the device is congested, and it may also exacerbate the congestion.

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-28 Thread Michael Schmitz
Hi Finn, Am 29.12.2018 um 14:06 schrieb Finn Thain: On Fri, 28 Dec 2018, LEROY Christophe wrote: diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index 89f5154c40b6..99e5729d910d 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c @@ -755,9 +755,10 @@

Re: [PATCH v3 treewide] headers: separate linux/mod_devicetable.h from linux/platform_device.h

2018-12-28 Thread NeilBrown
On Sat, Jul 07 2018, Greg Kroah-Hartman wrote: > On Tue, Jun 19, 2018 at 10:47:28PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> At over 4000 #includes, is the 9th most >> #included header file in the Linux kernel. It does not need >> , so drop that header and explicitly add >> to

[PATCH] percpu: plumb gfp flag to pcpu_get_pages

2018-12-28 Thread Shakeel Butt
__alloc_percpu_gfp() can be called from atomic context, so, make pcpu_get_pages use the gfp provided to the higher layer. Signed-off-by: Shakeel Butt --- mm/percpu-vm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mm/percpu-vm.c b/mm/percpu-vm.c index

Re: [GIT PULL] y2038: more syscalls and cleanups

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 00:09:43 +0100: > (unable to parse the git remote) has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b12a9124eeb71d766a3e3eb594ebbb3fefc66902 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] MMC updates for v4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Dec 2018 15:31:52 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/00d59fde8532b2d42e80909d2e58678755e04da9 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Please pull RDMA subsystem changes

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Mon, 24 Dec 2018 22:16:14 +: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5d24ae67a961c51beb255a28c9c417d9710247c2 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] first round of SCSI updates for the 4.20+ merge window

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Mon, 24 Dec 2018 09:19:53 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/938edb8a31b976c9a92eb0cd4ff481e93f76c1f1 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] dma-mapping updates for Linux 4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 10:45:49 +0100: > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/af7ddd8a627c62a835524b3f5b471edbbbcce025 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v8 02/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2018-12-28 Thread Finn Thain
On Fri, 28 Dec 2018, LEROY Christophe wrote: > Finn Thain a ?crit?: > > > Move the m68k-specific code out of the driver to make the driver generic. > > > > I've used 'SPDX-License-Identifier: GPL-2.0+' for the new file because the > > old file is covered by MODULE_LICENSE("GPL"). > > > >

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-28 Thread Finn Thain
On Fri, 28 Dec 2018, LEROY Christophe wrote: > Finn Thain a ?crit?: > > > On powerpc, setting CONFIG_NVRAM=n builds a kernel with no NVRAM support. > > Setting CONFIG_NVRAM=m enables the /dev/nvram misc device module without > > enabling NVRAM support in drivers. Setting CONFIG_NVRAM=y enables

Re: [PATCH RFC lora-next 2/4] net: lora: sx1301: add minimal to get AGC working prior to tx work

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > As part of initialisation when opening the lora device after loading > the AGC firmware we need to satisfy its startup procedure which involves > a few steps; > > Loading a 16 entry lookup table. > For this I have hard coded the laird ETSI

Re: [v3 PATCH 1/2] mm: swap: check if swap backing device is congested or not

2018-12-28 Thread Andrew Morton
On Sat, 22 Dec 2018 05:40:19 +0800 Yang Shi wrote: > Swap readahead would read in a few pages regardless if the underlying > device is busy or not. It may incur long waiting time if the device is > congested, and it may also exacerbate the congestion. > > Use inode_read_congested() to check if

WARNING in __might_sleep (2)

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16211a3b40 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link:

KASAN: invalid-free in x25_asy_free

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13c11a3b40 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link:

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Peter Maydell
On Fri, 28 Dec 2018 at 23:16, Andreas Dilger wrot > On Dec 28, 2018, at 4:18 AM, Peter Maydell wrote: > > The problem is that there is no 32-bit API in some cases > > (unless I have misunderstood the kernel code) -- not all > > host architectures implement compat syscalls or allow them > > to be

RE: [PATCH V2 1/3] dt-bindings: mmc: tegra: Add pinctrl for pad drive strength config

2018-12-28 Thread Sowjanya Komatineni
Hi Rob, >> Add pinctrl for 3V3 and 1V8 pad drive strength configuration for >> Tegra210 sdmmc which has pad configuration registers in the pinmux >> reigster domain. > > typo > >> >> Signed-off-by: Sowjanya Komatineni >> --- >> Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt |

Re: [PATCH 4/7] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-12-28 Thread Rob Herring
On Wed, Dec 19, 2018 at 03:11:02PM -0700, Lina Iyer wrote: > SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > routed to the PDC as interrupts that can be used to wake the system up > from deep low power modes and suspend. > > Cc: devicet...@vger.kernel.org >

Re: [PATCH RFC lora-next 1/4] net: lora: sx125x sx1301: correct style warnings

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > Checkpatch highlights some style issues which need to be addressed. > > Signed-off-by: Ben Whitten > --- > drivers/net/lora/sx125x.c | 20 +-- > drivers/net/lora/sx1301.c | 52 ++- >

Re: [PATCH 1/2] dt: bindings: lp5024: Introduce the lp5024 and lp5018 RGB driver

2018-12-28 Thread Rob Herring
On Wed, Dec 19, 2018 at 10:26:25AM -0600, Dan Murphy wrote: > Introduce the bindings for the Texas Instruments LP5024 and the LP5018 > RGB LED device driver. The LP5024/18 can control RGB LEDs individually > or as part of a control bank group. These devices have the ability > to adjust the

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

2018-12-28 Thread Kirill A. Shutemov
On Fri, Dec 28, 2018 at 01:09:38PM -0800, Andrew Morton wrote: > On Fri, 28 Dec 2018 12:51:04 -0800 syzbot > wrote: > > > Hello, > > > > syzbot found the following crash on: > > uh-oh. Josef, could you please take a look? > > : page = find_get_page(mapping, offset); > : if

Re: [PATCH] bitmap: Add bitmap_valloc(), bitmap_vzalloc() and bitmap_vfree()

2018-12-28 Thread Andrew Morton
On Fri, 28 Dec 2018 00:18:29 +0800 Peng Wang wrote: > Introduce bitmap alloc/free helpers when contiguous > memory is not necessary. That's a large bitmap you have there. What code needs this?

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Andrew Morton
On Fri, 28 Dec 2018 09:48:34 +0100 Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > > Follow the kernel conventions, rename addr_in_gen_pool to > > gen_pool_has_addr. > > Which convention? That symbols from subsystem foo should be called foo_*. Not

Re: [PATCH V3] dt-bindings: timer: gpt: update binding doc

2018-12-28 Thread Rob Herring
On Wed, Dec 19, 2018 at 07:09:10AM +, Anson Huang wrote: > The i.MX GPT timer driver binding doc is out of date, > update it according to current GPT timer driver. > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/timer/fsl,imxgpt.txt | 35 > ++ > 1

Re: [PATCH v5 RESEND] signal: add pidfd_send_signal() syscall

2018-12-28 Thread Christian Brauner
On Fri, Dec 28, 2018 at 03:20:12PM -0800, Andrew Morton wrote: > On Fri, 28 Dec 2018 23:48:53 +0100 Christian Brauner > wrote: > > > The kill() syscall operates on process identifiers (pid). After a process > > has exited its pid can be reused by another process. If a caller sends a > > signal

  1   2   3   4   5   >