[PATCH AUTOSEL 5.9 052/111] rtw88: increse the size of rx buffer size

2020-10-18 Thread Sasha Levin
From: Tzu-En Huang [ Upstream commit ee755732b7a16af018daa77d9562d2493fb7092f ] The vht capability of MAX_MPDU_LENGTH is 11454 in rtw88; however, the rx buffer size for each packet is 8192. When receiving packets that are larger than rx buffer size, it will leads to rx buffer ring overflow.

[PATCH AUTOSEL 5.9 070/111] usb: ohci: Default to per-port over-current protection

2020-10-18 Thread Sasha Levin
From: Hamish Martin [ Upstream commit b77d2a0a223bc139ee8904991b2922d215d02636 ] Some integrated OHCI controller hubs do not expose all ports of the hub to pins on the SoC. In some cases the unconnected ports generate spurious over-current events. For example the Broadcom 56060/Ranger 2 SoC

[PATCH AUTOSEL 5.9 068/111] opp: Prevent memory leak in dev_pm_opp_attach_genpd()

2020-10-18 Thread Sasha Levin
From: Viresh Kumar [ Upstream commit cb60e9602cce1593eb1e9cdc8ee562815078a354 ] If dev_pm_opp_attach_genpd() is called multiple times (once for each CPU sharing the table), then it would result in unwanted behavior like memory leak, attaching the domain multiple times, etc. Handle that by

[PATCH AUTOSEL 5.9 045/111] mic: vop: copy data to kernel space then write to io memory

2020-10-18 Thread Sasha Levin
From: Sherry Sun [ Upstream commit 675f0ad4046946e80412896436164d172cd92238 ] Read and write io memory should address align on ARCH ARM. Change to use memcpy_toio to avoid kernel panic caused by the address un-align issue. Signed-off-by: Sherry Sun Signed-off-by: Joakim Zhang Link:

[PATCH AUTOSEL 5.9 051/111] udf: Avoid accessing uninitialized data on failed inode read

2020-10-18 Thread Sasha Levin
From: Jan Kara [ Upstream commit 044e2e26f214e5ab26af85faffd8d1e4ec066931 ] When we fail to read inode, some data accessed in udf_evict_inode() may be uninitialized. Move the accesses to !is_bad_inode() branch. Reported-by: syzbot+91f02b28f9bb5f5f1...@syzkaller.appspotmail.com Signed-off-by:

[PATCH AUTOSEL 5.9 081/111] rtl8xxxu: prevent potential memory leak

2020-10-18 Thread Sasha Levin
From: Chris Chiu [ Upstream commit 86279456a4d47782398d3cb8193f78f672e36cac ] Free the skb if usb_submit_urb fails on rx_urb. And free the urb no matter usb_submit_urb succeeds or not in rtl8xxxu_submit_int_urb. Signed-off-by: Chris Chiu Signed-off-by: Kalle Valo Link:

[PATCH AUTOSEL 5.9 080/111] brcmsmac: fix memory leak in wlc_phy_attach_lcnphy

2020-10-18 Thread Sasha Levin
From: Keita Suzuki [ Upstream commit f4443293d741d1776b86ed1dd8c4e4285d0775fc ] When wlc_phy_txpwr_srom_read_lcnphy fails in wlc_phy_attach_lcnphy, the allocated pi->u.pi_lcnphy is leaked, since struct brcms_phy will be freed in the caller function. Fix this by calling wlc_phy_detach_lcnphy in

[PATCH AUTOSEL 5.9 043/111] scsi: mvumi: Fix error return in mvumi_io_attach()

2020-10-18 Thread Sasha Levin
From: Jing Xiangfeng [ Upstream commit 055f15ab2cb4a5cbc4c0a775ef3d0066e0fa9b34 ] Return PTR_ERR() from the error handling case instead of 0. Link: https://lore.kernel.org/r/20200910123848.93649-1-jingxiangf...@huawei.com Signed-off-by: Jing Xiangfeng Signed-off-by: Martin K. Petersen

[PATCH AUTOSEL 5.9 060/111] ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()

2020-10-18 Thread Sasha Levin
From: Brooke Basile [ Upstream commit 03fb92a432ea5abe5909bca1455b7e44a9380480 ] Calls to usb_kill_anchored_urbs() after usb_kill_urb() on multiprocessor systems create a race condition in which usb_kill_anchored_urbs() deallocates the URB before the completer callback is called in

[PATCH AUTOSEL 5.9 027/111] mmc: sdio: Check for CISTPL_VERS_1 buffer size

2020-10-18 Thread Sasha Levin
From: Pali Rohár [ Upstream commit 8ebe2607965d3e2dc02029e8c7dd35fbe508ffd0 ] Before parsing CISTPL_VERS_1 structure check that its size is at least two bytes to prevent buffer overflow. Signed-off-by: Pali Rohár Link: https://lore.kernel.org/r/20200727133837.19086-2-p...@kernel.org

[PATCH AUTOSEL 5.9 073/111] drm/msm/a6xx: fix a potential overflow issue

2020-10-18 Thread Sasha Levin
From: Zhenzhong Duan [ Upstream commit 08d3ab4b46339bc6f97e83b54a3fb4f8bf8f4cd9 ] It's allocating an array of a6xx_gpu_state_obj structure rathor than its pointers. This patch fix it. Signed-off-by: Zhenzhong Duan Signed-off-by: Rob Clark Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.9 056/111] usb: dwc3: simple: add support for Hikey 970

2020-10-18 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit b68d9251561f33661e53dd618f1cafe7ec9ec3c2 ] This binding driver is needed for Hikey 970 to work, as otherwise a Serror is produced: [1.837458] SError Interrupt on CPU0, code 0xbf02 -- SError [1.837462] CPU: 0 PID: 74 Comm:

[PATCH AUTOSEL 5.9 057/111] habanalabs: cast to u64 before shift > 31 bits

2020-10-18 Thread Sasha Levin
From: Oded Gabbay [ Upstream commit f763946aefe67b3ea58696b75a930ba1ed886a83 ] When shifting a boolean variable by more than 31 bits and putting the result into a u64 variable, we need to cast the boolean into unsigned 64 bits to prevent possible overflow. Reported-by: kernel test robot

[PATCH AUTOSEL 5.9 028/111] media: saa7134: avoid a shift overflow

2020-10-18 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit 15a36aae1ec1c1f17149b6113b92631791830740 ] As reported by smatch: drivers/media/pci/saa7134//saa7134-tvaudio.c:686 saa_dsp_writel() warn: should 'reg << 2' be a 64 bit type? On a 64-bits Kernel, the shift might be bigger than 32 bits. In

[PATCH AUTOSEL 5.9 037/111] ip_gre: set dev->hard_header_len and dev->needed_headroom properly

2020-10-18 Thread Sasha Levin
From: Cong Wang [ Upstream commit fdafed459998e2be0e877e6189b24cb7a0183224 ] GRE tunnel has its own header_ops, ipgre_header_ops, and sets it conditionally. When it is set, it assumes the outer IP header is already created before ipgre_xmit(). This is not true when we send packets through a

[PATCH AUTOSEL 5.9 036/111] ntfs: add check for mft record size in superblock

2020-10-18 Thread Sasha Levin
From: Rustam Kovhaev [ Upstream commit 4f8c94022f0bc3babd0a124c0a7dcdd7547bd94e ] Number of bytes allocated for mft record should be equal to the mft record size stored in ntfs superblock as reported by syzbot, userspace might trigger out-of-bounds read by dereferencing ctx->attr in

[PATCH AUTOSEL 5.9 003/111] x86/dumpstack: Fix misleading instruction pointer error message

2020-10-18 Thread Sasha Levin
From: Mark Mossberg [ Upstream commit 238c91115cd05c71447ea071624a4c9fe661f970 ] Printing "Bad RIP value" if copy_code() fails can be misleading for userspace pointers, since copy_code() can fail if the instruction pointer is valid but the code is paged out. This is because copy_code() calls

Re: [Ocfs2-devel] [RFC] treewide: cleanup unreachable breaks

2020-10-18 Thread James Bottomley
On Sun, 2020-10-18 at 20:16 +0100, Matthew Wilcox wrote: > On Sun, Oct 18, 2020 at 12:13:35PM -0700, James Bottomley wrote: > > On Sun, 2020-10-18 at 19:59 +0100, Matthew Wilcox wrote: > > > On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > > > > clang has a number of useful, new

[PATCH AUTOSEL 5.9 018/111] media: media/pci: prevent memory leak in bttv_probe

2020-10-18 Thread Sasha Levin
From: Xiaolong Huang [ Upstream commit 7b817585b730665126b45df5508dd69526448bc8 ] In bttv_probe if some functions such as pci_enable_device, pci_set_dma_mask and request_mem_region fails the allocated memory for btv should be released. Signed-off-by: Xiaolong Huang Signed-off-by: Hans

[PATCH AUTOSEL 5.9 001/111] md/bitmap: fix memory leak of temporary bitmap

2020-10-18 Thread Sasha Levin
From: Zhao Heming [ Upstream commit 1383b347a8ae4a69c04ae3746e6cb5c8d38e2585 ] Callers of get_bitmap_from_slot() are responsible to free the bitmap. Suggested-by: Guoqing Jiang Signed-off-by: Zhao Heming Signed-off-by: Song Liu Signed-off-by: Sasha Levin --- drivers/md/md-bitmap.c | 3

[PATCH AUTOSEL 5.9 011/111] media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync

2020-10-18 Thread Sasha Levin
From: Qiushi Wu [ Upstream commit 7ef64ceea0008c17e94a8a2c60c5d6d46f481996 ] On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Qiushi Wu Signed-off-by: Hans Verkuil

[PATCH AUTOSEL 5.9 024/111] media: rcar_drif: Fix fwnode reference leak when parsing DT

2020-10-18 Thread Sasha Levin
From: Laurent Pinchart [ Upstream commit cdd4f7824994c9254acc6e415750529ea2d2cfe0 ] The fwnode reference corresponding to the endpoint is leaked in an error path of the rcar_drif_parse_subdevs() function. Fix it, and reorganize fwnode reference handling in the function to release references

[PATCH AUTOSEL 5.9 014/111] media: vsp1: Fix runtime PM imbalance on error

2020-10-18 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit 98fae901c8883640202802174a4bd70a1b9118bd ] pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao

[PATCH AUTOSEL 5.9 009/111] media: st-delta: Fix reference count leak in delta_run_work

2020-10-18 Thread Sasha Levin
From: Aditya Pakki [ Upstream commit 57cc666d36adc7b45e37ba4cd7bc4e44ec4c43d7 ] delta_run_work() calls delta_get_sync() that increments the reference counter. In case of failure, decrement the reference count by calling delta_put_autosuspend(). Signed-off-by: Aditya Pakki Signed-off-by: Hans

[PATCH AUTOSEL 5.9 019/111] x86/mce: Annotate mce_rd/wrmsrl() with noinstr

2020-10-18 Thread Sasha Levin
From: Borislav Petkov [ Upstream commit e100777016fdf6ec3a9d7c1773b15a2b5eca6c55 ] They do get called from the #MC handler which is already marked "noinstr". Commit e2def7d49d08 ("x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR") already got rid of the instrumentation in the MSR

[PATCH AUTOSEL 5.9 013/111] media: exynos4-is: Fix a reference count leak

2020-10-18 Thread Sasha Levin
From: Qiushi Wu [ Upstream commit 64157b2cb1940449e7df2670e85781c690266588 ] pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call

[PATCH AUTOSEL 5.9 023/111] x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR

2020-10-18 Thread Sasha Levin
From: Borislav Petkov [ Upstream commit e2def7d49d0812ea40a224161b2001b2e815dce2 ] If an exception needs to be handled while reading an MSR - which is in most of the cases caused by a #GP on a non-existent MSR - then this is most likely the incarnation of a BIOS or a hardware bug. Such bug

Re: [Ocfs2-devel] [RFC] treewide: cleanup unreachable breaks

2020-10-18 Thread Matthew Wilcox
On Sun, Oct 18, 2020 at 12:13:35PM -0700, James Bottomley wrote: > On Sun, 2020-10-18 at 19:59 +0100, Matthew Wilcox wrote: > > On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > > > clang has a number of useful, new warnings see > > >

Re: [Ocfs2-devel] [RFC] treewide: cleanup unreachable breaks

2020-10-18 Thread James Bottomley
On Sun, 2020-10-18 at 19:59 +0100, Matthew Wilcox wrote: > On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > > clang has a number of useful, new warnings see > >

lib/crypto/chacha.c:65:1: warning: the frame size of 1604 bytes is larger than 1024 bytes

2020-10-18 Thread kernel test robot
Hi Ard, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9d9af1007bc08971953ae915d88dc9bb21344b53 commit: 5fb8ef25803ef33e2eb60b626435828b937bed75 crypto: chacha - move existing library code into lib/crypto date:

Donation for you

2020-10-18 Thread Rahmi Koc Foundation
I am donating $3,700,000 USD to you. Reply back for more information. Email royah...@gmail.com

Re: [Ocfs2-devel] [RFC] treewide: cleanup unreachable breaks

2020-10-18 Thread Joe Perches
On Sun, 2020-10-18 at 19:59 +0100, Matthew Wilcox wrote: > On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > > clang has a number of useful, new warnings see > >

iperf 2.0.14 in early field test (EFT) phase

2020-10-18 Thread rjmcmahon
Hi All, Sorry for the spam - trying to reach interested parties. Just a heads up that iperf 2.0.14 is in early field test phase. Lots of new features around write to read latencies and others. Also, full-duplex, same socket testing now supported too. Use -e to get the enhanced output. Man

Re: [Ocfs2-devel] [RFC] treewide: cleanup unreachable breaks

2020-10-18 Thread Matthew Wilcox
On Sat, Oct 17, 2020 at 09:09:28AM -0700, t...@redhat.com wrote: > clang has a number of useful, new warnings see > https://urldefense.com/v3/__https://clang.llvm.org/docs/DiagnosticsReference.html__;!!GqivPVa7Brio!Krxz78O3RKcB9JBMVo_F98FupVhj_jxX60ddN6tKGEbv_cnooXc1nnBmchm-e_O9ieGnyQ$ > Please

Re: [PATCH v3 2/2] i2c: i2c-mux-gpio: Enable this driver in ACPI land

2020-10-18 Thread Andy Shevchenko
On Sat, Oct 17, 2020 at 8:30 AM Evan Green wrote: > > Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state > property translates directly to a fwnode_property_*() call. The child > reg property translates naturally into _ADR in ACPI. > > The i2c-parent binding is a relic from the

Re: [PATCH v5 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 12:18 AM Luka Kovacic wrote: > > Add support for the iEi WT61P803 PUZZLE LED driver. > Currently only the front panel power LED is supported. > > This driver depends on the iEi WT61P803 PUZZLE MFD driver. ... > +/** > + * struct iei_wt61p803_puzzle_led - MCU LED Driver >

[PATCH V2] checkpatch: Enable GIT_DIR environment use to set git repository location

2020-10-18 Thread Joe Perches
If set, use the environment variable GIT_DIR to change the default .git location of the kernel git tree. If GIT_DIR is unset, keep using the current ".git" default. Signed-off-by: Joe Perches --- V2: learn to type my own email address... commit f5f613259f3f ("checkpatch: allow not using -f

[PATCH] checkpatch: Enable GIT_DIR environment use to set git repository location

2020-10-18 Thread Joe Perches
If set, use the environment variable GIT_DIR to change the default .git location of the kernel git tree. If GIT_DIR is unset, keep using the current ".git" default. Signed-off-by: Joe Perches --- commit f5f613259f3f ("checkpatch: allow not using -f with files that are in git") breaks the use

[PATCH] net: korina: cast KSEG0 address to pointer in kfree

2020-10-18 Thread Valentin Vidic
Fixes gcc warning: passing argument 1 of 'kfree' makes pointer from integer without a cast Fixes: 3af5f0f5c74e ("net: korina: fix kfree of rx/tx descriptor array") Reported-by: kernel test robot Signed-off-by: Valentin Vidic --- drivers/net/ethernet/korina.c | 4 ++-- 1 file changed, 2

Re: [PATCH v2] iio: adc: mediatek: fix unset field

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 9:31 PM Andy Shevchenko wrote: > > On Sun, Oct 18, 2020 at 8:16 PM Fabien Parent wrote: > > > > dev_comp field is used in a couple of places but it is never set. This > > results in kernel oops when dereferencing a NULL pointer. Set the > > `dev_comp` field correctly in

Re: [PATCH v2] iio: adc: mediatek: fix unset field

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 8:16 PM Fabien Parent wrote: > > dev_comp field is used in a couple of places but it is never set. This > results in kernel oops when dereferencing a NULL pointer. Set the > `dev_comp` field correctly in the probe function. > > Fixes: 6d97024dce23 ("iio: adc: mediatek:

Re: [PATCH v3] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 6:53 PM Vaishnav M A wrote: > > Add i2c_device_id table for the vl53l0x-i2c driver, > helps in device instantiation using i2c_new_client_device > or from userspace in cases where device-tree based description > is not possible now (Example: device on a gbphy i2c adapter >

Re: [PATCH v3] iio: light: vcnl4035 add i2c_device_id

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 6:47 PM Vaishnav M A wrote: > > Add i2c_device_id table for the vl53l0x-i2c driver, > helps in device instantiation using i2c_new_client_device In all your patches please refer to the functions like function(). For example, here is i2c_new_client_device(). > or from

Re: [PATCH] checkpatch: Allow not using -f with files that are in git

2020-10-18 Thread Joe Perches
On Sun, 2020-10-18 at 20:15 +0200, Geert Uytterhoeven wrote: > Hi Joe, rehi Geert > On Sun, Oct 18, 2020 at 6:07 PM Joe Perches wrote: > > On Sun, 2020-10-18 at 16:03 +0200, Geert Uytterhoeven wrote: [] > > > This is now commit f5f613259f3fea81 ("checkpatch: allow not using -f > > > with files

Re: [PATCH 1/3] iio: adc: aspeed: Orgnaize and add the define of adc

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 1:32 PM Jonathan Cameron wrote: > On Tue, 13 Oct 2020 18:32:43 +0800 > Billy Tsai wrote: ... > > +/* [31:16] */ Useless comment. > > +#define ASPEED_ADC_CTRL_CH_EN(n) (1 << (16 + n)) > > +#define ASPEED_ADC_CTRL_CH_EN_ALLGENMASK(31, 16) But the main point is

[GIT PULL] Mailbox changes for v5.10

2020-10-18 Thread Jassi Brar
Hi Linus, The following changes since commit 549738f15da0e5a00275977623be199fbbf7df50: Linux 5.9-rc8 (2020-10-04 16:04:34 -0700) are available in the Git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git tags/mailbox-v5.10 for you to fetch changes up to

Re: [PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-10-18 Thread Andy Shevchenko
On Sun, Oct 18, 2020 at 4:13 AM Lino Sanfilippo wrote: > > Introduce an unlocked version of iio_map_array_unregister(). This function > can help to unwind in case of error while the iio_map_list_lock mutex is > held. Both looks good to me, FWIW, Reviewed-by: Andy Shevchenko if Jonathan is okay

Re: [PATCH] checkpatch: Allow not using -f with files that are in git

2020-10-18 Thread Geert Uytterhoeven
Hi Joe, On Sun, Oct 18, 2020 at 6:07 PM Joe Perches wrote: > On Sun, 2020-10-18 at 16:03 +0200, Geert Uytterhoeven wrote: > > On Tue, Aug 25, 2020 at 2:12 AM Joe Perches wrote: > > > If a file exists in git and checkpatch is used without the -f > > > flag for scanning a file, then checkpatch

[PATCH 2/2] docs: fb: Add font_6x8 to available built-in fonts

2020-10-18 Thread Peilin Ye
Recently we added a new 6x8 font in commit e2028c8e6bf9 ("lib/fonts: add font 6x8 for OLED display"). Add its name to the "compiled-in fonts" list. Signed-off-by: Peilin Ye --- Documentation/fb/fbcon.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 4/4] PCI: Limit pci_alloc_irq_vectors() to housekeeping CPUs

2020-10-18 Thread Nitesh Narayan Lal
On 10/16/20 8:20 AM, Peter Zijlstra wrote: > On Mon, Sep 28, 2020 at 02:35:29PM -0400, Nitesh Narayan Lal wrote: >> If we have isolated CPUs dedicated for use by real-time tasks, we try to >> move IRQs to housekeeping CPUs from the userspace to reduce latency >> overhead on the isolated CPUs. >>

[PATCH 1/2] Fonts: Support FONT_EXTRA_WORDS macros for font_6x8

2020-10-18 Thread Peilin Ye
Recently, in commit 6735b4632def ("Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts"), we wrapped each of our built-in data buffers in a `font_data` structure, in order to use the following macros on them, see include/linux/font.h: #define REFCOUNT(fd)(((int *)(fd))[-1])

Re: [PATCH v5] checkpatch: add new exception to repeated word check

2020-10-18 Thread Joe Perches
On Sat, 2020-10-17 at 21:57 +0530, Dwaipayan Ray wrote: > Recently, commit 4f6ad8aa1eac ("checkpatch: move repeated word test") > moved the repeated word test to check for more file types. But after > this, if checkpatch.pl is run on MAINTAINERS, it generates several > new warnings of the type:

Re: Remove __napi_schedule_irqoff?

2020-10-18 Thread Jakub Kicinski
On Sun, 18 Oct 2020 19:57:53 +0200 Heiner Kallweit wrote: > > Dunno how acceptable this is to run in an IRQ handler on RT.. > > If I understand this code right then it's not a loop that actually > waits for something. It just retries if the value of n->state has > changed in between. So I don't

Re: Remove __napi_schedule_irqoff?

2020-10-18 Thread Heiner Kallweit
On 18.10.2020 19:19, Jakub Kicinski wrote: > On Sun, 18 Oct 2020 10:20:41 +0200 Heiner Kallweit wrote: Otherwise a non-solution could be to make IRQ_FORCED_THREADING configurable. >>> >>> I have to say I do not understand why we want to defer to a thread the >>> hard IRQ that we use in

Re: [PATCH] arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay

2020-10-18 Thread Clément Péron
Hi, On Sun, 18 Oct 2020 at 19:24, Clément Péron wrote: > > Before the commit: > net: phy: realtek: fix rtl8211e rx/tx delay config bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") With the hash for reference it's better :) Clement > > The software overwrite for RX/TX delays

Re: Fwd: [WARNING AND ERROR] may be system slow and audio and video breaking

2020-10-18 Thread Borislav Petkov
On Sun, Oct 18, 2020 at 10:42:39PM +0530, Jeffrin Jose T wrote: > smpboot: Scheduler frequency invariance went wobbly, disabling! > [ 1112.592866] unchecked MSR access error: RDMSR from 0x123 at rIP: > 0xb5c9a184 (native_read_msr+0x4/0x30) > [ 1112.592869] Call Trace: > [ 1112.592876]

Re: [PATCH v1] usb: dwc3: core: fix a issue about clear connect state

2020-10-18 Thread Sergei Shtylyov
Hello! On 10/18/20 4:47 PM, Dejin Zheng wrote: > According to Synopsys Programming Guide chapter 2.2 Register Resets, > it cannot reset the DCTL register by set DCTL.CSFTRST for Core Soft Reset, s/set/setting/. > if DWC3 controller as a slave device and stay connected with a usb host, >

[PATCH v2 1/2] powerpc/44x: Don't support 440 when CONFIG_PPC_47x is set

2020-10-18 Thread Christophe Leroy
As stated in platform/44x/Kconfig, CONFIG_PPC_47x is not compatible with 440 and 460 variants. This is confirmed in asm/cache.h as L1_CACHE_SHIFT is different for 47x, meaning a kernel built for 47x will not run correctly on a 440. In cputable, opt out all 440 and 460 variants when

Re: [PATCH v2] arm64: dts: allwinner: beelink-gs1: Update LED power node

2020-10-18 Thread Clément Péron
HI Maxime, On Mon, 12 Oct 2020 at 13:22, Maxime Ripard wrote: > > Hi! > > On Sun, Oct 11, 2020 at 11:22:37PM +0200, Clément Péron wrote: > > Beelink GS1 LED trigger a warning when running dtbs_check. > > > > Update the node with a valid pattern property. > > > > Also add the function and the

[PATCH v2 2/2] powerpc/44x: Don't support 47x code and non 47x code at the same time

2020-10-18 Thread Christophe Leroy
440/460 variants and 470 variants are not compatible, no need to make code supporting both and using MMU features. Just use CONFIG_PPC_47x to decide what to build. Signed-off-by: Christophe Leroy --- v2: Move outside #ifdef CONFIG_PPC_47x a label "1:" used by 44x ---

[PATCH] arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay

2020-10-18 Thread Clément Péron
Before the commit: net: phy: realtek: fix rtl8211e rx/tx delay config The software overwrite for RX/TX delays of the RTL8211e were not working properly and the Beelink GS1 had both RX/TX delay of RGMII interface set using pull-up on the TXDLY and RXDLY pins. Now that these delays are working

Re: Remove __napi_schedule_irqoff?

2020-10-18 Thread Jakub Kicinski
On Sun, 18 Oct 2020 10:20:41 +0200 Heiner Kallweit wrote: > >> Otherwise a non-solution could be to make IRQ_FORCED_THREADING > >> configurable. > > > > I have to say I do not understand why we want to defer to a thread the > > hard IRQ that we use in NAPI model. > > > Seems like the current

Re: [PATCH] iio: adc: mediatek: fix unset field

2020-10-18 Thread Fabien Parent
Hi Jonathan, On Sun, Oct 18, 2020 at 12:07 PM Jonathan Cameron wrote: > > On Tue, 13 Oct 2020 17:37:12 +0200 > Matthias Brugger wrote: > > > On 12/10/2020 21:46, Fabien Parent wrote: > > > dev_comp field is used in a couple of places but it is never set. This > > > results in kernel oops when

[PATCH v2] iio: adc: mediatek: fix unset field

2020-10-18 Thread Fabien Parent
dev_comp field is used in a couple of places but it is never set. This results in kernel oops when dereferencing a NULL pointer. Set the `dev_comp` field correctly in the probe function. Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support") Signed-off-by: Fabien Parent

[PATCH v2 2/4] scatterlist: add sgl_copy_sgl() function

2020-10-18 Thread Douglas Gilbert
Both the SCSI and NVMe subsystems receive user data from the block layer in scatterlist_s (aka scatter gather lists (sgl) which are often arrays). If drivers in those subsystems represent storage (e.g. a ramdisk) or cache "hot" user data then they may also choose to use scatterlist_s. Currently

[PATCH v2 0/4] scatterlist: add new capabilities

2020-10-18 Thread Douglas Gilbert
Scatter-gather lists (sgl_s) are frequently used as data carriers in the block layer. For example the SCSI and NVMe subsystems interchange data with the block layer using sgl_s. The sgl API is declared in The author has extended these transient sgl use cases to a store (i.e. a ramdisk) in the

[PATCH v2 4/4] scatterlist: add sgl_memset()

2020-10-18 Thread Douglas Gilbert
The existing sg_zero_buffer() function is a bit restrictive. For example protection information (PI) blocks are usually initialized to 0xff bytes. As its name suggests sgl_memset() is modelled on memset(). One difference is the type of the val argument which is u8 rather than int. Plus it returns

[PATCH v2 1/4] sgl_alloc_order: remove 4 GiB limit, sgl_free() warning

2020-10-18 Thread Douglas Gilbert
This patch removes a check done by sgl_alloc_order() before it starts any allocations. The comment before the removed code says: "Check for integer overflow" arguably gives a false sense of security. The right hand side of the expression in the condition is resolved as u32 so cannot exceed

[PATCH v2 3/4] scatterlist: add sgl_compare_sgl() function

2020-10-18 Thread Douglas Gilbert
After enabling copies between scatter gather lists (sgl_s), another storage related operation is to compare two sgl_s. This new function is modelled on NVMe's Compare command and the SCSI VERIFY(BYTCHK=1) command. Like memcmp() this function returns false on the first miscompare and stop

Fwd: [WARNING AND ERROR] may be system slow and audio and video breaking

2020-10-18 Thread Jeffrin Jose T
--- Begin Message --- hello, System was slow and audio and video was breaking. I was compiling a kernel and also played a youtube video in firefox and maybe evolution. meminfo.txt and lscpu.txt files are attached. The following is a part from "dmesg -l warn"

Re: [PATCH] lib/test_free_pages: Add basic progress indicators

2020-10-18 Thread Mike Rapoport
On Sun, Oct 18, 2020 at 04:01:46PM +0100, Matthew Wilcox wrote: > On Sun, Oct 18, 2020 at 04:39:27PM +0200, Geert Uytterhoeven wrote: > > Hi Matthew, > > > > On Sun, Oct 18, 2020 at 4:25 PM Matthew Wilcox wrote: > > > On Sun, Oct 18, 2020 at 04:04:45PM +0200, Geert Uytterhoeven wrote: > > > >

Re: [GIT PULL] UBI and UBIFS fixes for 5.10

2020-10-18 Thread pr-tracker-bot
The pull request you sent on Sat, 17 Oct 2020 21:37:51 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git > tags/for-linus-5.10-rc1-part2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/429731277dfd4b7940cff206dcde28b771b29210 Thank you! --

Re: [GIT PULL] uml updates for 5.10

2020-10-18 Thread pr-tracker-bot
The pull request you sent on Sat, 17 Oct 2020 22:59:47 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git > tags/for-linus-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9453b2d4694c2cb6c30d99e65d4a3deb09e94ac3 Thank you! --

Re: [GIT PULL] UBIFS updates for 5.10

2020-10-18 Thread pr-tracker-bot
The pull request you sent on Sat, 17 Oct 2020 21:37:40 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git > tags/for-linus-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a96fd1cc3ff3f9dd6f06140fc0b8c91342859450 Thank you! --

Re: [PATCH 1/1] usb: serial: option: add Quectel EC200T module support

2020-10-18 Thread septs
Add usb product id of the Quectel EC200T module. Signed-off-by: septs --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 2a3bfd6f8..7e879233b 100644 --- a/drivers/usb/serial/option.c +++

[PATCH] docs/cpu-load: format the example code.

2020-10-18 Thread Hui Su
format the example code. Signed-off-by: Hui Su --- Documentation/admin-guide/cpu-load.rst | 63 ++ 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/Documentation/admin-guide/cpu-load.rst b/Documentation/admin-guide/cpu-load.rst index

Re: [PATCH v5 1/5] counter: Internalize sysfs interface code

2020-10-18 Thread William Breathitt Gray
On Wed, Oct 14, 2020 at 08:38:40PM -0500, David Lechner wrote: > On 9/26/20 9:18 PM, William Breathitt Gray wrote: > > +static ssize_t counter_comp_u8_store(struct device *dev, > > +struct device_attribute *attr, > > +const char *buf,

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-18 Thread William Breathitt Gray
On Wed, Oct 14, 2020 at 05:40:44PM -0500, David Lechner wrote: > On 9/26/20 9:18 PM, William Breathitt Gray wrote: > > +static ssize_t counter_chrdev_read(struct file *filp, char __user *buf, > > + size_t len, loff_t *f_ps) > > +{ > > + struct counter_device *const

[Attenzione!] Con che velocità vola il tempo. Tutto bene?

2020-10-18 Thread Francesco Alfano
https://bit.ly/33KlF6q Con i migliori auguri,Francesco Alfano

Re: [PATCH v5] checkpatch: add new exception to repeated word check

2020-10-18 Thread Dwaipayan Ray
On Sun, Oct 18, 2020 at 12:41 PM Joe Perches wrote: > > On Sun, 2020-10-18 at 12:10 +0530, Dwaipayan Ray wrote: > > print index(" \t.,;?!", ''); > > > > It output 0 in my case. So last words on a line seems to work. > > I don't know if this changes with the perl version though. > > > > So given

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-18 Thread William Breathitt Gray
On Tue, Oct 13, 2020 at 08:40:18PM -0500, David Lechner wrote: > On 9/26/20 9:18 PM, William Breathitt Gray wrote: > > This patch introduces a character device interface for the Counter > > subsystem. Device data is exposed through standard character device read > > operations. Device data is

Re: [PATCH v1 00/29] virtio-mem: Big Block Mode (BBM)

2020-10-18 Thread David Hildenbrand
> Am 18.10.2020 um 17:29 schrieb Michael S. Tsirkin : > > On Mon, Oct 12, 2020 at 02:52:54PM +0200, David Hildenbrand wrote: >> virtio-mem currently only supports device block sizes that span at most >> a single Linux memory block. For example, gigantic pages in the hypervisor >> result on

Re: [PATCH] Bluetooth: A2MP: Do not set rsp.id to zero

2020-10-18 Thread Stefan Gottwald
Am Sonntag, den 18.10.2020, 10:05 +0200 schrieb Stefan Gottwald: > Due to security reasons the rsp struct is not zerod out in one case this will > also zero out the former set rsp.id which seems to be wrong. > > Signed-off-by: Stefan Gottwald > --- > net/bluetooth/a2mp.c | 3 ++- > 1 file

Re: [Cocci] Determination of an usage statistic for memory allocation calls

2020-10-18 Thread Julia Lawall
On Sun, 18 Oct 2020, Markus Elfring wrote: > > … > > > +E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\| > > > + kmalloc_node\|kzalloc_node\|kmalloc_array\| > > > + kmalloc_array_node\|kcalloc_node\)(...)@kok > > … > > > > How do you think about the possibility for any

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Support serdes ports on MV88E6097

2020-10-18 Thread Andrew Lunn
On Tue, Oct 13, 2020 at 03:18:58PM +1300, Chris Packham wrote: > Implement serdes_power, serdes_get_lane and serdes_pcs_get_state ops for > the MV88E6097 so that ports 8 & 9 can be supported as serdes ports and > directly connected to other network interfaces or to SFPs without a PHY. > >

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-18 Thread Andy Lutomirski
On Sun, Oct 18, 2020 at 8:59 AM Michael S. Tsirkin wrote: > > On Sun, Oct 18, 2020 at 08:54:36AM -0700, Andy Lutomirski wrote: > > On Sun, Oct 18, 2020 at 8:52 AM Michael S. Tsirkin wrote: > > > > > > On Sat, Oct 17, 2020 at 03:24:08PM +0200, Jason A. Donenfeld wrote: > > > > 4c. The guest

Re: [PATCH] checkpatch: Allow not using -f with files that are in git

2020-10-18 Thread Joe Perches
On Sun, 2020-10-18 at 16:03 +0200, Geert Uytterhoeven wrote: > Hi Joe, > > On Tue, Aug 25, 2020 at 2:12 AM Joe Perches wrote: > > If a file exists in git and checkpatch is used without the -f > > flag for scanning a file, then checkpatch will scan the file > > assuming it's a patch and emit: > >

Re: [PATCH 1/2] net: dsa: mv88e6xxx: Don't force link when using in-band-status

2020-10-18 Thread Andrew Lunn
On Tue, Oct 13, 2020 at 03:18:57PM +1300, Chris Packham wrote: > When a port is configured with 'managed = "in-band-status"' don't force > the link up, the switch MAC will detect the link status correctly. > > Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn Andrew

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-18 Thread Michael S. Tsirkin
On Sun, Oct 18, 2020 at 08:54:36AM -0700, Andy Lutomirski wrote: > On Sun, Oct 18, 2020 at 8:52 AM Michael S. Tsirkin wrote: > > > > On Sat, Oct 17, 2020 at 03:24:08PM +0200, Jason A. Donenfeld wrote: > > > 4c. The guest kernel maintains an array of physical addresses that are > > >

Re: Dts for eth network based on marvell's mv88e6390x crashes Xilinx's linux-kernel v5.4

2020-10-18 Thread Andrew Lunn
On Sun, Oct 18, 2020 at 10:18:53AM +0300, michael alayev wrote: > Hello andrew, > > This is pretty unreadable with all the white space removed. > > Please could you post again with the white space. > Its formatted better here: > https://stackoverflow.com/q/64301750/8926995?sem=2 Better, but the

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-18 Thread Andy Lutomirski
On Sun, Oct 18, 2020 at 8:52 AM Michael S. Tsirkin wrote: > > On Sat, Oct 17, 2020 at 03:24:08PM +0200, Jason A. Donenfeld wrote: > > 4c. The guest kernel maintains an array of physical addresses that are > > MADV_WIPEONFORK. The hypervisor knows about this array and its > > location through

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-18 Thread Michael S. Tsirkin
On Sat, Oct 17, 2020 at 03:24:08PM +0200, Jason A. Donenfeld wrote: > 4c. The guest kernel maintains an array of physical addresses that are > MADV_WIPEONFORK. The hypervisor knows about this array and its > location through whatever protocol, and before resuming a > moved/snapshotted/duplicated

Re: [PATCH v3 10/19] sched: Fix migrate_disable() vs set_cpus_allowed_ptr()

2020-10-18 Thread Valentin Schneider
Hi, On 18/10/20 10:46, ouwen wrote: > On Fri, Oct 16, 2020 at 01:48:17PM +0100, Valentin Schneider wrote: >> --- >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c >> index a5b6eac07adb..1ebf653c2c2f 100644 >> --- a/kernel/sched/core.c >> +++ b/kernel/sched/core.c >> @@ -1859,6 +1859,13

QATAR PETROLEUM INVESTMENT....

2020-10-18 Thread Ali Shareef Al-Emadi
Greetings. I am Mr. H.E. Ali Shareef Al-Emadi, Finance and Account, Qatar Petroleum. I have $30m for Investment. Contact me if you are interested; I have all it will take to move the fund to any of your account designate as a Contract Fund to avoid every query by the authority in your

Re: [PATCH v2] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 4:47 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 08:47:32 +0530 > Vaishnav M A wrote: > > A very similar change was made recently in > 00fa493b9989 ("iio:proximity:as3935: Drop of_match_ptr and use generic fw > accessors") >

Re: [PATCH v1 00/29] virtio-mem: Big Block Mode (BBM)

2020-10-18 Thread Michael S. Tsirkin
On Mon, Oct 12, 2020 at 02:52:54PM +0200, David Hildenbrand wrote: > virtio-mem currently only supports device block sizes that span at most > a single Linux memory block. For example, gigantic pages in the hypervisor > result on x86-64 in a device block size of 1 GiB - when the Linux memory >

Re: [PATCH v2] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 5:03 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 09:01:42 +0530 > Vaishnav M A wrote: > > > add i2c_device_id for the vl53l0x-i2c driver so > > that the device can be instantiated using i2c_new_client_device > > or from userspace, useful in cases where device tree

[PATCH] powercap: Fix typo in Kconfig "Plance" -> "Plane"

2020-10-18 Thread Hubert Jasudowicz
Signed-off-by: Hubert Jasudowicz --- drivers/powercap/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/powercap/Kconfig b/drivers/powercap/Kconfig index ebc4d4578339..bc228725346b 100644 --- a/drivers/powercap/Kconfig +++ b/drivers/powercap/Kconfig @@ -30,7

[PATCH v3] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
Add i2c_device_id table for the vl53l0x-i2c driver, helps in device instantiation using i2c_new_client_device or from userspace in cases where device-tree based description is not possible now (Example: device on a gbphy i2c adapter created by greybus) Signed-off-by: Vaishnav M A --- v3:

Re: [PATCH 1/4] tracing: Make trace_*_run_command() more flexible

2020-10-18 Thread Masami Hiramatsu
Hi Tom, On Sun, 18 Oct 2020 23:20:11 +0900 Masami Hiramatsu wrote: > Hi Tom, > > On Fri, 16 Oct 2020 16:48:22 -0500 > Tom Zanussi wrote: > > > trace_run_command() and therefore functions that use it, such as > > trace_parse_run_command(), uses argv_split() to split the command into > > an

<    2   3   4   5   6   7   8   >