Re: [PATCH] scsi: target/sbp: remove firewire SBP target driver

2020-06-14 Thread Finn Thain
On Sun, 14 Jun 2020, Chris Boot wrote: > I expect that if someone finds this useful it can stick around (but > that's not my call). Who's call is that? If the patch had said "From: Martin K. Petersen" and "This driver is being removed because it has the following defects..." that would be some

Re: [PATCH v9 0/5] Add MMC software queue support

2020-06-14 Thread Baolin Wang
On Sun, Jun 14, 2020 at 11:05 PM Baolin Wang wrote: > > On Wed, Jun 10, 2020 at 10:26 AM BOUGH CHEN wrote: > > > > > -Original Message- > > > From: Baolin Wang [mailto:baolin.wa...@gmail.com] > > > Sent: 2020年6月8日 19:54 > > > To: BOUGH CHEN > > > Cc: Ulf Hansson ; Adrian Hunter > > > ; A

Re: [PATCH] cgroup: Refactor two assignments in css_task_iter_next_css_set()

2020-06-14 Thread zzuedu2000
On Sun, 2020-06-14 at 18:10 +0800, James.Bottomley@xxx wrote: > it's arguable that having two statements instead of one makes the code > marginally more readable. Above the function there is a similar line of code: l = it->tcset_pos->next; One line of code makes the code style consistent and

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Alexander A. Klimov
Am 14.06.20 um 22:34 schrieb Stefano Brivio: On Sun, 14 Jun 2020 21:41:17 +0200 "Alexander A. Klimov" wrote: Hello there! At the moment one can't checkout a clean working directory w/o any changed files on a case-insensitive FS as the following file names have lower-case duplicates: They

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Al Viro
On Sun, Jun 14, 2020 at 09:41:17PM +0200, Alexander A. Klimov wrote: > Hello there! > > At the moment one can't checkout a clean working directory w/o any changed > files on a case-insensitive FS as the following file names have lower-case > duplicates: And if you use a filesystem that is limited

Re: [RFC v2] hwmon: add Corsair Commander Pro driver

2020-06-14 Thread Guenter Roeck
On 6/12/20 6:29 AM, Marius Zachmann wrote: > This is a driver for the Corsair Commander Pro. > It provides sysfs attributes for: > - Reading fan speed > - Reading temp sensors > - Reading voltage values > - Writing pwm and reading last written pwm > > Changed it to a USB driver for a couple of rea

linux-next: Signed-off-by missing for commit in the hwmon-staging tree

2020-06-14 Thread Stephen Rothwell
Hi all, Commit 3c1c958a118e ("hwmon: (adm1275) Enable adm1278 ADM1278_TEMP1_EN") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpuJZpIZcY11.pgp Description: OpenPGP digital signature

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Pablo Neira Ayuso
On Sun, Jun 14, 2020 at 11:08:08PM +0200, Jan Engelhardt wrote: > > On Sunday 2020-06-14 22:19, David Howells wrote: > >Alexander A. Klimov wrote: > > > >> *Is it a good idea to rename files in include/uapi/ ?* > > > >Very likely not. If programs out there are going to be built on a > >case-sens

Re: [RFC,net-next, 1/5] l3mdev: add infrastructure for table to VRF mapping

2020-06-14 Thread Andrea Mayer
On Sat, 13 Jun 2020 18:37:09 -0600 David Ahern wrote: > On 6/12/20 10:49 AM, Andrea Mayer wrote: > > @@ -37,6 +45,15 @@ struct l3mdev_ops { > > > > #ifdef CONFIG_NET_L3_MASTER_DEV > > > > +int l3mdev_table_lookup_register(enum l3mdev_type l3type, > > +int (*fn)(st

[PATCH v3] coccinelle: api: add kzfree script

2020-06-14 Thread Denis Efremov
Check for memset()/memzero_explicit() followed by kfree()/vfree()/kvfree(). Signed-off-by: Denis Efremov --- Changes in v2: - memset_explicit() added - kvfree_sensitive() added - forall added to r1 - ... between memset and kfree added Changes in v3: - Explicit filter for definitions instead

Re: [PATCH] drivers/hwmon/nct6683: Use kobj_to_dev() instead

2020-06-14 Thread Guenter Roeck
On Sat, Jun 13, 2020 at 04:06:44PM +0800, Wang Qing wrote: > Use kobj_to_dev() instead of container_of() > > Signed-off-by: Wang Qing Applied. For future patches, I would suggest to look up subject labels used in affected subsystems. Thanks, Guenter > --- > drivers/hwmon/nct6683.c | 8 ---

Re: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

2020-06-14 Thread Pavel Machek
On Sat 2020-06-13 00:40:59, Michael Ellerman wrote: > Jiri Slaby writes: > > On 11. 06. 20, 9:38, SeongJae Park wrote: > >> On Wed, 10 Jun 2020 23:35:24 -0700 Joe Perches wrote: > >>> On Thu, 2020-06-11 at 08:25 +0200, SeongJae Park wrote: > From: SeongJae Park > > This patchset 1

Re: [RFC,net-next, 2/5] vrf: track associations between VRF devices and tables

2020-06-14 Thread Andrea Mayer
On Sat, 13 Jun 2020 18:34:25 -0600 David Ahern wrote: > On 6/13/20 4:53 PM, Andrea Mayer wrote: > > Hi Stephen, > > thanks for your questions. > > > > On Sat, 13 Jun 2020 12:28:59 -0700 > > Stephen Hemminger wrote: > > > >>> + > >>> + * Conversely, shared_table is decreased when a vrf is de-a

Re: [PATCH v3 0/2] Recommend blocklist/allowlist instead of blacklist/whitelist

2020-06-14 Thread Pavel Machek
On Wed 2020-06-10 08:52:21, SeongJae Park wrote: > From: SeongJae Park > > This patchset 1) adds support of deprecated terms in the 'checkpatch.pl' > and 2) set the 'blacklist' and 'whitelist' as deprecated with > replacement suggestion of 'blocklist' and 'allowlist', because the > suggestions ar

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Jan Engelhardt
On Sunday 2020-06-14 22:19, David Howells wrote: >Alexander A. Klimov wrote: > >> *Is it a good idea to rename files in include/uapi/ ?* > >Very likely not. If programs out there are going to be built on a >case-sensitive filesystem (which happens all the time), they're going to break >if you r

Re: [PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-06-14 Thread Valentin Schneider
, please see > https://stackoverflow.com/a/37406982] > > url: > https://github.com/0day-ci/linux/commits/Valentin-Schneider/sched-arch_topology-Thermal-pressure-configuration-cleanup/20200614-091051 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > 8dc697

[PATCH 0/2] i2c-hid: Save power by reducing i2c xfers with block reads

2020-06-14 Thread Sultan Alsawaf
From: Sultan Alsawaf Hi, I noticed on my Dell Precision 15 5540 with an i9-9880H that simply putting my finger on the touchpad would increase my system's power consumption by 4W, which is quite considerable. Resting my finger on the touchpad would generate roughly 4000 i2c irqs per second, or ro

[PATCH 2/2] HID: i2c-hid: Use block reads when possible to save power

2020-06-14 Thread Sultan Alsawaf
From: Sultan Alsawaf We have no way of knowing how large an incoming payload is going to be, so the only strategy available up until now has been to always retrieve the maximum possible report length over i2c, which can be quite inefficient. For devices that send reports in block read format, the

[PATCH 1/2] i2c: designware: Only check the first byte for SMBus block read length

2020-06-14 Thread Sultan Alsawaf
From: Sultan Alsawaf SMBus block reads can be broken because the read function will just skip over bytes it doesn't like until reaching a byte that conforms to the length restrictions for block reads. This is problematic when it isn't known if the incoming payload is indeed a conforming block rea

[PATCH net] net: dsa: sja1105: fix PTP timestamping with large tc-taprio cycles

2020-06-14 Thread Vladimir Oltean
From: Vladimir Oltean It isn't actually described clearly at all in UM10944.pdf, but on TX of a management frame (such as PTP), this needs to happen: - The destination MAC address (i.e. 01-80-c2-00-00-0e), along with the desired destination port, need to be installed in one of the 4 manageme

Linux 5.8-rc1

2020-06-14 Thread Linus Torvalds
So I didn't really expect this, but 5.8 looks to be one of our biggest releases of all time. As of -rc1, it's right up there with v4.9, which has long been our biggest release by quite a bit in number of commits. Yes, 5.8-rc1 has a couple fewer commits than 4.9-rc1 did, but in many ways it's a muc

Re: [PATCH] drm/mediatek: remove unnecessary conversion to bool

2020-06-14 Thread Joe Perches
On Fri, 2020-06-12 at 20:40 +0800, Bernard Zhao wrote: > In function mtk_dsi_clk_hs_state, remove unnecessary conversion > to bool return, this change is to make the code a bit readable. [] > diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c > b/drivers/gpu/drm/mediatek/mtk_dsi.c [] > @@ -319,7 +319

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Stefano Brivio
On Sun, 14 Jun 2020 21:41:17 +0200 "Alexander A. Klimov" wrote: > Hello there! > > At the moment one can't checkout a clean working directory w/o any > changed files on a case-insensitive FS as the following file names have > lower-case duplicates: They are not duplicates: matching extensions

Re: [PATCH v3 06/13] iio: imu: inv_icm42600: add temperature sensor support

2020-06-14 Thread Jean-Baptiste Maneyrol
Hello Lars, for the temperature data, the problem is that temperature in the FIFO (used in buffer) is not in the same format than when reading the register. Reading the temperature register return a full precision value on 16 bits. I am using a PROCESSED attribute for it. Temperature data in bu

Re: [PATCH v2] media: budget-core: Improve exception handling in budget_register()

2020-06-14 Thread Sean Young
On Sat, Jun 06, 2020 at 12:17:28AM +0800, Chuhong Yuan wrote: > budget_register() has no error handling after its failure. > Add the missed undo functions for error handling to fix it. > > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Changes look good, but the Fixes: points to the first import of lin

[PATCH 2/3] dt-bindings: sound: Add bindings for Samsung Aries audio complex

2020-06-14 Thread Jonathan Bakker
The audio system on S5PV210 Aries boards have a wm8994 codec connected to the Samsung I2S0 DAI. Jack detection is done via GPIOs, an ADC, and an extcon device (fsa9480). There are two main variants, one with an FM radio and where the wm8994 is the master for the modem audio and the other without

[PATCH 1/3] dt-bindings: sound: Document wm8994 endpoints

2020-06-14 Thread Jonathan Bakker
The wm8994 exposes several inputs and outputs that can be used by machine drivers in their routing. Add them to the documention so they don't have been duplicated in any machine drivers bindings. Signed-off-by: Jonathan Bakker --- .../devicetree/bindings/sound/wm8994.txt | 23 +

[PATCH 3/3] ASoC: samsung: Add driver for Aries boards

2020-06-14 Thread Jonathan Bakker
Samsung Aries boards have a WM8994 codec connected to the Samsung I2S controller, the BT codec, and the cellular modem. Jack detection is done by a combination of an ADC, GPIOs, and an extcon device for the USB dock. There is also a GPIO for selection between the Mic path and the TV out path on t

[PATCH 0/3] ASoC: samsung: Add machine driver for Aries boards

2020-06-14 Thread Jonathan Bakker
This is a machine driver for Aries boards which are based on Samsung's S5PV210 platform. These are the first-gen Galaxy S devices. It consists of a WM8994 codec connected to I2S0 along with two codec-to-codec links to the modem and the bluetooth. -

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread David Howells
Alexander A. Klimov wrote: > *Is it a good idea to rename files in include/uapi/ ?* Very likely not. If programs out there are going to be built on a case-sensitive filesystem (which happens all the time), they're going to break if you rename the headers. We're kind of stuck with them. David

[PATCH] doc:it_IT: add symbol-namespace translation

2020-06-14 Thread Federico Vaga
- add complete translation of symbol-namespaces.rst - fix references to this page within the italian translation - add document to main indexes Signed-off-by: Federico Vaga --- .../translations/it_IT/core-api/index.rst | 18 ++ .../it_IT/core-api/symbol-namespaces.rst | 166 +++

[PATCH v2 2/2] media: vimc: Add a control to show test pattern colors' order

2020-06-14 Thread Kaaira Gupta
Add a control in VIMC to show the correct order of the colors for a given test pattern. The control can be accessed by using show_colors_order in v4l2-ctl Signed-off-by: Kaaira Gupta --- drivers/media/test-drivers/vimc/Kconfig | 2 ++ drivers/media/test-drivers/vimc/vimc-common.h | 1 +

[PATCH v2 1/2] media: tpg: Add function to return colors' order of test image

2020-06-14 Thread Kaaira Gupta
Currently there is no method to know the correct order of the colors for a test image generated by tpg. Write a function that returns a string of colors' order given a tpg. It returns a NULL pointer in case of test patterns which do not have a well defined colors' order. Hence add a NULL check for

[PATCH v2 0/2] media: Add colors' order over test image

2020-06-14 Thread Kaaira Gupta
This patchset aims to add a method to display the correct order of colors for a test image generated. It does so by adding a function which returns a string of correct order of the colors for a test pattern and a control using which displays the string over test image. Changes since v1: -

Re: [PATCH] coccinelle: api: add kzfree script

2020-06-14 Thread Joe Perches
On Sun, 2020-06-14 at 22:42 +0300, Denis Efremov wrote: > On 6/4/20 7:27 PM, Joe Perches wrote: > > On Thu, 2020-06-04 at 17:08 +0300, Denis Efremov wrote: > > > Check for memset() with 0 followed by kfree(). > > > > Perhaps those uses should be memzero_explicit or kvfree_sensitive. > > > Is it s

[PATCH v2 0/5] 180 degrees rotation support for NVIDIA Tegra DRM

2020-06-14 Thread Dmitry Osipenko
Hello! This series adds 180° display plane rotation support to the NVIDIA Tegra DRM driver which is needed for devices that have display panel physically mounted upside-down, like Nexus 7 tablet device for example [1]. Since DRM panel rotation is a new thing for a userspace, currently only Openteg

[PATCH v2 4/5] drm/tegra: plane: Support horizontal reflection mode

2020-06-14 Thread Dmitry Osipenko
Support horizontal reflection mode which will allow to support 180° rotation mode when combined with the vertical reflection. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 24 drivers/gpu/drm/tegra/dc.h| 1 + drivers/gpu/drm/tegra/plane.c | 1 +

[PATCH v2 1/5] drm/panel: Add helper for reading DT rotation

2020-06-14 Thread Dmitry Osipenko
From: Derek Basehore This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg Tested-by: Dmitry Osipenko Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_panel.c | 43

[PATCH v2 5/5] drm/tegra: plane: Support 180° rotation

2020-06-14 Thread Dmitry Osipenko
Combining horizontal and vertical reflections gives us 180 degrees of rotation. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index f31bca27cd

[PATCH v2 2/5] drm/panel: lvds: Set up panel orientation

2020-06-14 Thread Dmitry Osipenko
The panel orientation needs to parsed from a device-tree and assigned to the panel's connector in order to make orientation property available to userspace. That's what this patch does for the generic LVDS panel. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/panel/panel-lvds.c | 8

[PATCH v2 3/5] drm/tegra: plane: Rename bottom_up to reflect_y

2020-06-14 Thread Dmitry Osipenko
This makes the naming consistent with the DRM core. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 10 +- drivers/gpu/drm/tegra/dc.h| 2 +- drivers/gpu/drm/tegra/plane.c | 2 +- drivers/gpu/drm/tegra/plane.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions

[GIT PULL] ext4 changes part 2 for 5.8

2020-06-14 Thread Theodore Y. Ts'o
The following changes since commit 6b8ed62008a49751fc71fefd2a4f89202a7c2d4d: ext4: avoid unnecessary transaction starts during writeback (2020-06-03 23:16:56 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4-for-linus-5.8-

Re: [RFC 2/4] regulator: lp87565: dt: remove duplicated section

2020-06-14 Thread Luca Ceresoli
Hi Rob, Keerthy, On 13/06/20 00:19, Rob Herring wrote: > On Wed, Jun 03, 2020 at 10:03:17PM +0200, Luca Ceresoli wrote: >> The "Required properties:" section is copied verbatim for each of the two >> supported chips. In preparation to add a new chip variant make it a common >> section and keep the

Re: [PATCH] coccinelle: api: add kzfree script

2020-06-14 Thread Denis Efremov
On 6/4/20 7:27 PM, Joe Perches wrote: > On Thu, 2020-06-04 at 17:08 +0300, Denis Efremov wrote: >> Check for memset() with 0 followed by kfree(). > > Perhaps those uses should be memzero_explicit or kvfree_sensitive. > Is it safe to suggest to use kzfree instead of memzero_explicit && kfree? Or

Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Alexander A. Klimov
Hello there! At the moment one can't checkout a clean working directory w/o any changed files on a case-insensitive FS as the following file names have lower-case duplicates: ➜ linux git:(96144c58abe7) git ls-files |sort -f |uniq -id include/uapi/linux/netfilter/xt_CONNMARK.h include/uapi/li

Re: [PATCH v1 2/6] drm/panel: Set display info in panel attach

2020-06-14 Thread Dmitry Osipenko
14.06.2020 22:03, Dmitry Osipenko пишет: > From: Derek Basehore > > Devicetree systems can set panel orientation via a panel binding, but > there's no way, as is, to propagate this setting to the connector, > where the property need to be added. > To address this, this patch sets orientation, as

Re: [GIT PULL] SafeSetID LSM changes for v5.8

2020-06-14 Thread Linus Torvalds
On Sun, Jun 14, 2020 at 12:12 PM Micah Morton wrote: > > That said I'm a little fuzzy on where to draw the line for which kinds > of changes really should be required to have bake time in -next. If > you think this is one of those cases, we can hold off on this until we > have some bake time for v

Re: [PATCH] drm/vc4: fix ref count leak in vc4_dsi_encoder_enable

2020-06-14 Thread Navid Emamdoost
On Sun, Jun 14, 2020 at 7:32 AM Andy Shevchenko wrote: > > On Sun, Jun 14, 2020 at 9:55 AM Navid Emamdoost > wrote: > > > > in vc4_dsi_encoder_enable, the call to pm_runtime_get_sync increments > > the counter even in case of failure, leading to incorrect > > ref count. In case of failure, decrem

Re: [GIT PULL] SafeSetID LSM changes for v5.8

2020-06-14 Thread Micah Morton
On Sun, Jun 14, 2020 at 11:39 AM Linus Torvalds wrote: > > On Sun, Jun 14, 2020 at 11:04 AM Micah Morton wrote: > > > > I amended the author on the lone commit in this pull request. For some > > reason I was thinking using the "From:" line in the commit body was > > how I should make things show

Re: [PATCH] Staging: rtl8712: Addressed checkpatch.pl issues related to macro parameter wrapping in parentheses.

2020-06-14 Thread kernel test robot
Hi Ricardo, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/Ricardo-Ferreira/Staging-rtl8712-Addressed-checkpatch-pl-issues-related-to-macro-parameter-wrapping-in-parentheses/20200614-215316

[PATCH v1 1/6] drm/panel: Add helper for reading DT rotation

2020-06-14 Thread Dmitry Osipenko
From: Derek Basehore This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg Tested-by: Dmitry Osipenko Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/drm_panel.c | 43

[PATCH v1 5/6] drm/tegra: plane: Support horizontal reflection mode

2020-06-14 Thread Dmitry Osipenko
Support horizontal reflection mode which will allow to support 180° rotation mode when combined with the vertical reflection. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 24 drivers/gpu/drm/tegra/dc.h| 1 + drivers/gpu/drm/tegra/plane.c | 1 +

[PATCH v1 4/6] drm/tegra: plane: Rename bottom_up to reflect_y

2020-06-14 Thread Dmitry Osipenko
This makes the naming consistent with the DRM core. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 10 +- drivers/gpu/drm/tegra/dc.h| 2 +- drivers/gpu/drm/tegra/plane.c | 2 +- drivers/gpu/drm/tegra/plane.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions

[PATCH v1 2/6] drm/panel: Set display info in panel attach

2020-06-14 Thread Dmitry Osipenko
From: Derek Basehore Devicetree systems can set panel orientation via a panel binding, but there's no way, as is, to propagate this setting to the connector, where the property need to be added. To address this, this patch sets orientation, as well as other fixed values for the panel, in the drm_

[PATCH v1 6/6] drm/tegra: plane: Support 180° rotation

2020-06-14 Thread Dmitry Osipenko
Combining horizontal and vertical reflections gives us 180 degrees of rotation. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index f31bca27cd

[PATCH v1 3/6] drm/panel: lvds: Set up panel orientation

2020-06-14 Thread Dmitry Osipenko
The panel orientation needs to parsed from a device-tree and assigned to the panel's connector in order to make orientation property available to userspace. That's what this patch does for the generic LVDS panel. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/panel/panel-lvds.c | 6 ++ 1

[PATCH] [bpf] xdp_redirect_cpu_user: Fix null pointer dereference

2020-06-14 Thread Gaurav Singh
Memset() on the pointer right after malloc() can cause a null pointer dereference if it failed to allocate memory. Fix this by replacing malloc/memset with a single calloc(). Signed-off-by: Gaurav Singh --- samples/bpf/xdp_redirect_cpu_user.c | 11 +++ 1 file changed, 3 insertions(+), 8

Re: [PATCH] SUNRPC: Add missing asm/cacheflush.h

2020-06-14 Thread Chuck Lever
Hi Christophe - > On Jun 14, 2020, at 1:07 PM, Christophe Leroy > wrote: > > Even if that's only a warning, not including asm/cacheflush.h > leads to svc_flush_bvec() being empty allthough powerpc defines > ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. > > CC net/sunrpc/svcsock.o > net/sunrpc/svcso

Re: [GIT PULL] Btrfs updates for 5.8, part 2

2020-06-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Jun 2020 13:56:05 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git > for-5.8-part2-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9d645db853a4cd1b7077931491d0055602d3d420 Thank you! -- Deet-doot-dot, I

Re: Re: [GIT PULL] SafeSetID LSM changes for v5.8

2020-06-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Jun 2020 11:03:58 -0700: > https://github.com/micah-morton/linux.git > tags/LSM-add-setgid-hook-5.8-author-fix has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4a87b197c1da6b16608d5110709e0b3308e25dcd Thank you! -- Deet-doot-dot,

Re: [PATCH net] MAINTAINERS: merge entries for felix and ocelot drivers

2020-06-14 Thread Horatiu Vultur
The 06/14/2020 01:07, Vladimir Oltean wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > From: Vladimir Oltean > > The ocelot switchdev driver also provides a set of library functions for > the felix DSA driver, which in practice means that

Re: [PATCH] [RFC] security: allow using Clang's zero initialization for stack variables

2020-06-14 Thread Kees Cook
On Sun, Jun 14, 2020 at 07:16:33PM +0200, Alexander Potapenko wrote: > On Sun, Jun 14, 2020 at 7:04 PM Kees Cook wrote: > > > > On Sun, Jun 14, 2020 at 04:45:34PM +0200, gli...@google.com wrote: > > > In addition to -ftrivial-auto-var-init=pattern (used by > > > CONFIG_INIT_STACK_ALL now) Clang al

[PATCH] [bpf] xdp_monitor_user: Fix null pointer dereference

2020-06-14 Thread Gaurav Singh
Memset() on the pointer right after malloc() can cause a null pointer dereference if it failed to allocate memory. Fix this by replacing malloc/memset with a single calloc(). Signed-off-by: Gaurav Singh --- samples/bpf/xdp_monitor_user.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions

Re: [GIT PULL] SafeSetID LSM changes for v5.8

2020-06-14 Thread Linus Torvalds
On Sun, Jun 14, 2020 at 11:04 AM Micah Morton wrote: > > I amended the author on the lone commit in this pull request. For some > reason I was thinking using the "From:" line in the commit body was > how I should make things show up as Thomas as the author and me as the > committer, but looks like

Re: RFC - kernel selftest result documentation (KTAP)

2020-06-14 Thread Kees Cook
On Wed, Jun 10, 2020 at 06:11:06PM +, Bird, Tim wrote: > The kernel test result format consists of 5 major elements, > 4 of which are line-based: > * the output version line > * the plan line Note: making the plan line required differs from TAP13 and TAP14. I think it's the right choice, but

[PATCH v2] coccinelle: api: add kvfree script

2020-06-14 Thread Denis Efremov
Check that alloc and free types of functions match each other. Signed-off-by: Denis Efremov --- Changes in v2: - Lines are limited to 80 characters where possible - Confidence changed from High to Medium because of fs/btrfs/send.c:1119 false-positive - __vmalloc_area_node() explicitly excl

Re: [PATCH] RDMA/rvt: Improve exception handling in rvt_create_qp()

2020-06-14 Thread Markus Elfring
> … >> +++ b/drivers/infiniband/sw/rdmavt/qp.c >> @@ -1203,6 +1203,7 @@ struct ib_qp *rvt_create_qp(struct ib_pd *ibpd, >> qp->s_flags = RVT_S_SIGNAL_REQ_WR; >> err = alloc_ud_wq_attr(qp, rdi->dparms.node); >> if (err) { >> +rvt_fr

Re: RFC - kernel selftest result documentation (KTAP)

2020-06-14 Thread Kees Cook
On Sat, Jun 13, 2020 at 02:51:17PM +0800, David Gow wrote: > On Sat, Jun 13, 2020 at 6:36 AM Kees Cook wrote: > > Regarding output: > > > > [ 36.611358] TAP version 14 > > [ 36.611953] # Subtest: overflow > > [ 36.611954] 1..3 > > ... > > [ 36.622914] # overflow_calculation_tes

[PATCH] [traceevent] add_new_comm(): Fix memory leak

2020-06-14 Thread Gaurav Singh
The pointer cmdlines need to be explicity freed in case the realloc() fails. Fix it by adding a free() if realloc() returns a NULL pointer. Signed-off-by: Gaurav Singh --- tools/lib/traceevent/event-parse.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/lib/trac

Re: [PATCH] cgroup: Refactor two assignments in css_task_iter_next_css_set()

2020-06-14 Thread James Bottomley
On Sun, 2020-06-14 at 10:28 +0800, zzuedu2...@163.com wrote: > From: Wei Fenghai > > Combine two assignments for the variable ‘l’ into one statement. The problem with this commit message isn't the description, we can all see what the change does, it's the justification. Why is there any reason

Re: [GIT PULL] SafeSetID LSM changes for v5.8

2020-06-14 Thread Micah Morton
I amended the author on the lone commit in this pull request. For some reason I was thinking using the "From:" line in the commit body was how I should make things show up as Thomas as the author and me as the committer, but looks like that’s not true. I also removed my own Signed-off-by line from

Re: [PATCH] Staging: rtl8712: Addressed checkpatch.pl issues related to macro parameter wrapping in parentheses.

2020-06-14 Thread kernel test robot
Hi Ricardo, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/Ricardo-Ferreira/Staging-rtl8712-Addressed-checkpatch-pl-issues-related-to-macro-parameter-wrapping-in-parentheses/20200614-215316

common KUnit Kconfig and file naming (was: Re: [PATCH] lib: kunit_test_overflow: add KUnit test of check_*_overflow functions)

2020-06-14 Thread Kees Cook
On Sat, Jun 13, 2020 at 02:51:17PM +0800, David Gow wrote: > Yeah, _KUNIT_TEST was what we've sort-of implicitly decided on for > config names, but the documentation does need to happen. That works for me. It still feels redundant, but all I really want is a standard name. :) > We haven't put as

[PATCH 1/2] bitmap: Fix bitmap_cut() for partial overlapping case

2020-06-14 Thread Stefano Brivio
Yury Norov reports that bitmap_cut() will not produce the right outcome if src and dst partially overlap, with src pointing at some location after dst, because the memmove() affects src before we store the bits that we need to keep, that is, the bits preceding the cut -- as long as we the beginning

[PATCH 2/2] bitmap: Add test for bitmap_cut()

2020-06-14 Thread Stefano Brivio
Inspired by an original patch from Yury Norov: introduce a test for bitmap_cut() that also makes sure functionality is as described for partially overlapping src and dst. Signed-off-by: Stefano Brivio --- v2: - use expect_eq_bitmap() instead of open coding result check (Andy Shevchenko) -

[PATCH 0/2] lib: Fix bitmap_cut() for overlaps, add test

2020-06-14 Thread Stefano Brivio
Patch 1/2 addresses the issue Yury reported with partially overlapping src and dst in bitmap_cut(), and 2/2 adds a test that covers basic functionality as well as this case. v2: In 2/2, use macro to verify result, drop bogus Co-Authored-by: tag, both suggested by Andy Shevchenko, and avoid sta

[PATCH v2] Staging: rtl8712: Addressed checkpatch.pl issues related to macro parameter wrapping in parentheses.

2020-06-14 Thread Ricardo Ferreira
Attempting to wet my feet in kernel patch submission by submitting a checkstyle fix for the rtl8712 driver. Signed-off-by: Ricardo Ferreira --- drivers/staging/rtl8712/basic_types.h | 2 +- drivers/staging/rtl8712/osdep_intf.h| 2 +- drivers/staging/rtl8712/rtl8712_efuse.h | 8 dr

[PATCH v7 1/6] of_graph: add of_graph_get_local_port()

2020-06-14 Thread Dmitry Osipenko
In some case, like a DRM display code for example, it's useful to silently check whether port node exists at all in a device-tree before proceeding with parsing the graph. This patch adds of_graph_get_local_port() which returns pointer to a local port node, or NULL if graph isn't specified in a de

[PATCH v7 3/6] drm/tegra: output: Don't leak OF node on error

2020-06-14 Thread Dmitry Osipenko
The OF node should be put before returning error in tegra_output_probe(), otherwise node's refcount will be leaked. Reviewed-by: Laurent Pinchart Reviewed-by: Sam Ravnborg Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/output.c | 9 - 1 file changed, 4 insertions(+), 5 deleti

[PATCH v7 5/6] drm/tegra: output: rgb: Support LVDS encoder bridge

2020-06-14 Thread Dmitry Osipenko
Newer Tegra device-trees will specify a video output graph, which involves LVDS encoder bridge. This patch adds support for the LVDS encoder bridge to the RGB output, allowing us to model the display hardware properly. Reviewed-by: Laurent Pinchart Acked-by: Sam Ravnborg Signed-off-by: Dmitry Os

[PATCH v7 0/6] Support DRM bridges on NVIDIA Tegra

2020-06-14 Thread Dmitry Osipenko
Hello, This series adds initial support for the DRM bridges to NVIDIA Tegra DRM driver. This is required by newer device-trees where we model the LVDS encoder bridge properly. Changelog: v7: - Removed the obscure unused structs (which GCC doesn't detect, but CLANG does) in the patch "Wrap

[PATCH v7 6/6] drm/tegra: output: rgb: Wrap directly-connected panel into DRM bridge

2020-06-14 Thread Dmitry Osipenko
Currently Tegra DRM driver manually manages display panel, but this management could be moved out into DRM core if we'll wrap panel into DRM bridge. This patch wraps RGB panel into a DRM bridge and removes manual handling of the panel from the RGB output code. Suggested-by: Laurent Pinchart Acked

[PATCH v7 4/6] drm/tegra: output: Support DRM bridges

2020-06-14 Thread Dmitry Osipenko
Newer Tegra device-trees will specify a video output graph which involves a bridge. This patch adds initial support for the DRM bridges to the Tegra DRM output. Acked-by: Sam Ravnborg Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/drm.h| 2 ++ drivers/gpu/drm/tegra/output.c | 12

[PATCH v7 2/6] drm/of: Make drm_of_find_panel_or_bridge() to check graph's presence

2020-06-14 Thread Dmitry Osipenko
When graph isn't defined in a device-tree, the of_graph_get_remote_node() prints a noisy error message, telling that port node is not found. This is undesirable behaviour in our case because absence of a panel/bridge graph is a valid case. Let's check presence of the local port in a device-tree bef

Re: [PATCH] mm: memcontrol: Fix do not put the css reference

2020-06-14 Thread Roman Gushchin
On Sun, Jun 14, 2020 at 08:26:53PM +0800, Muchun Song wrote: > We should put the css reference when memory allocation failed. > > Fixes: f0a3a24b532d ("mm: memcg/slab: rework non-root kmem_cache lifecycle > management") > Signed-off-by: Muchun Song > --- > mm/memcontrol.c | 4 +++- > 1 file cha

Re: [RFC PATCH v4 2/2] net: dsa: qca8k: Improve SGMII interface handling

2020-06-14 Thread Jonathan McDowell
On Sat, Jun 13, 2020 at 11:10:49PM +0300, Vladimir Oltean wrote: > On Sat, 13 Jun 2020 at 14:32, Jonathan McDowell wrote: > > > > This patch improves the handling of the SGMII interface on the QCA8K > > devices. Previously the driver did no configuration of the port, even if > > it was selected. W

Re: [PATCH] [RFC] security: allow using Clang's zero initialization for stack variables

2020-06-14 Thread Alexander Potapenko
On Sun, Jun 14, 2020 at 7:04 PM Kees Cook wrote: > > On Sun, Jun 14, 2020 at 04:45:34PM +0200, gli...@google.com wrote: > > In addition to -ftrivial-auto-var-init=pattern (used by > > CONFIG_INIT_STACK_ALL now) Clang also supports zero initialization for > > locals enabled by -ftrivial-auto-var-in

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-06-14 Thread Sebastian Andrzej Siewior
On 2020-06-14 14:12:18 [+0200], Stephen Berman wrote: > On Fri, 12 Jun 2020 13:01:22 +0200 Sebastian Andrzej Siewior > wrote: > > steve [ ~ ]$ grep -E 'acpi|smbus' /proc/interrupts >9: 0 5 0 0 0 0 >0 0 0

[PATCH] SUNRPC: Add missing asm/cacheflush.h

2020-06-14 Thread Christophe Leroy
Even if that's only a warning, not including asm/cacheflush.h leads to svc_flush_bvec() being empty allthough powerpc defines ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. CC net/sunrpc/svcsock.o net/sunrpc/svcsock.c:227:5: warning: "ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE" is not defined [-Wundef] #if AR

Re: [PATCH] [RFC] security: allow using Clang's zero initialization for stack variables

2020-06-14 Thread Kees Cook
On Sun, Jun 14, 2020 at 04:45:34PM +0200, gli...@google.com wrote: > In addition to -ftrivial-auto-var-init=pattern (used by > CONFIG_INIT_STACK_ALL now) Clang also supports zero initialization for > locals enabled by -ftrivial-auto-var-init=zero. > The future of this flag is still being debated, s

[PATCH] net: alx: fix race condition in alx_remove

2020-06-14 Thread Zekun Shen
There is a race condition exist during termination. The path is alx_stop and then alx_remove. An alx_schedule_link_check could be called before alx_stop and invoke alx_link_check later. Alx_stop frees the napis, and alx_remove cancels any pending works. If any of the work is scheduled before termin

Re: [GIT PULL] Btrfs updates for 5.8, part 2

2020-06-14 Thread Linus Torvalds
On Sun, Jun 14, 2020 at 4:56 AM David Sterba wrote: > > Reverts are not great, but under current circumstances I don't see > better options. Pulled. Are people discussing how to make iomap work for everybody? It's a bit sad if we can't have the major filesystems move away from the old buffer head

[tip:master] BUILD SUCCESS b8b7f4dc10459dcacafa3441dd44c6fbe880e886

2020-06-14 Thread kernel test robot
onfig i386 randconfig-a015-20200614 i386 randconfig-a011-20200614 i386 randconfig-a014-20200614 i386 randconfig-a013-20200614 i386 randconfig-a016-20200614 i386 randconfig-a012-2020

Re: [RFC v6 00/51] Large pages in the page cache

2020-06-14 Thread Matthew Wilcox
On Wed, Jun 10, 2020 at 01:12:54PM -0700, Matthew Wilcox wrote: > Another fortnight, another dump of my current large pages work. The generic/127 test has pointed out to me that range writeback is broken by this patchset. Here's how (may not be exactly what's going on, but it's close): page cach

Re: [PATCH v3 070/105] drm/vc4: hdmi: rework connectors and encoders

2020-06-14 Thread Stefan Wahren
Hi Maxime, Am 11.06.20 um 15:34 schrieb Maxime Ripard: > Hi Stefan, > > On Sat, Jun 06, 2020 at 10:06:12AM +0200, Stefan Wahren wrote: >> Hi Maxime, >> >> Am 05.06.20 um 16:35 schrieb Maxime Ripard: >>> Hi Stefan, >>> >>> On Wed, Jun 03, 2020 at 07:32:30PM +0200, Stefan Wahren wrote: Am 02.06

Re: [Cocci] coccinelle issues

2020-06-14 Thread Markus Elfring
> > Note2: https://github.com/coccinelle/coccinelle/blob/master/install.txt > > says that 'spatch' is a script, but it seems to be a binary executable file. > > Actually, it is a script, and the fact that you say it is a binary may be > the reason for your python problem. Normally there is a scrip

Re: [RFC] io_uring: add restrictions to support untrusted applications and guests

2020-06-14 Thread Jens Axboe
On 6/9/20 8:24 AM, Stefano Garzarella wrote: > Hi Jens, > Stefan and I have a proposal to share with io_uring community. > Before implementing it we would like to discuss it to receive feedbacks and > to see if it could be accepted: > > Adding restrictions to io_uring > ===

Re: [PATCH 1/2] spi: spi-fsl-dspi: Fix external abort on interrupt in exit paths

2020-06-14 Thread Vladimir Oltean
On Sun, 14 Jun 2020 at 13:57, Krzysztof Kozlowski wrote: > > If interrupt comes late, during probe error path or device remove (could > be triggered with CONFIG_DEBUG_SHIRQ), the interrupt handler > dspi_interrupt() will access registers with the clock being disabled. This > leads to external abo

Re: next-0519 on thinkpad x60: sound related? window manager crash

2020-06-14 Thread Takashi Iwai
On Sun, 14 Jun 2020 14:07:48 +0200, Alex Xu (Hello71) wrote: > > Excerpts from Takashi Iwai's message of June 14, 2020 5:54 am: > > On Sat, 13 Jun 2020 18:25:22 +0200, > > Alex Xu (Hello71) wrote: > >> > >> Excerpts from Takashi Iwai's message of June 11, 2020 1:11 pm: > >> > Thanks, so something

Re: [PATCH -tip V6 0/6] kprobes: Fixes mutex, rcu-list warnings and cleanups

2020-06-14 Thread Jiri Olsa
On Wed, May 27, 2020 at 11:49:41PM +0900, Masami Hiramatsu wrote: > (Oops, I missed Jiri in loop.) > > Hi Ingo, > > Could you take this series? > These are not adding any feature, but fixing real bugs. Hi, I still can't see this being pulled in, did I miss it? thanks, jirka > > Thank you, >

<    1   2   3   4   5   >