Re: linux-next: Tree for Dec 17 (objtool warnings)

2020-12-17 Thread Stephen Rothwell
Hi Randy, On Thu, 17 Dec 2020 08:46:03 -0800 Randy Dunlap wrote: > > on x86_64: > > (These are on 2 different builds.) > > > gcc --version > gcc (SUSE Linux) 7.5.0 > > > drivers/gpu/drm/drm_edid.o: warning: objtool: do_cvt_mode() falls through to > next function

Re: [PATCH v4 08/10] mm/gup: limit number of gup migration failures, honor failures

2020-12-17 Thread Jason Gunthorpe
On Thu, Dec 17, 2020 at 01:52:41PM -0500, Pavel Tatashin wrote: > +/* > + * Verify that there are no unpinnable (movable) pages, if so return true. > + * Otherwise an unpinnable pages is found return false, and unpin all pages. > + */ > +static bool check_and_unpin_pages(unsigned long nr_pages,

Re: [PATCH v2 0/3] add support for metadata encryption to F2FS

2020-12-17 Thread Satya Tangirala
On Thu, Dec 17, 2020 at 01:08:49PM -0500, Theodore Y. Ts'o wrote: > On Thu, Dec 17, 2020 at 03:04:32PM +, Satya Tangirala wrote: > > This patch series adds support for metadata encryption to F2FS using > > blk-crypto. > > Is there a companion patch series needed so that f2fstools can >

Re: [PATCH v2] leds: Use DEVICE_ATTR_{RW, RO, WO} macros

2020-12-17 Thread Pavel Machek
Hi! > Instead of open coding DEVICE_ATTR() defines, use the > DEVICE_ATTR_RW(), DEVICE_ATTR_WO(), and DEVICE_ATTR_RO() > macros. > > This required a few functions to be renamed, but the functionality > itself is unchanged. Thanks, applied.

Re: [PATCH v2 -next] leds: ss4200: simplify the return expression of register_nasgpio_led()

2020-12-17 Thread Pavel Machek
On Mon 2020-12-14 14:31:49, Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Thanks, applied. Pavel -- http://www.livejournal.com/~pavelmachek signature.asc Description: PGP signature

Re: [PATCH v12 2/4] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-17 Thread Lakshmi Ramasubramanian
On 12/17/20 12:05 PM, Rob Herring wrote: On Thu, Dec 17, 2020 at 09:37:06AM -0800, Lakshmi Ramasubramanian wrote: The functions defined in "arch/powerpc/kexec/ima.c" handle setting up and freeing the resources required to carry over the IMA measurement list from the current kernel to the next

Re: [PATCH -next] leds: leds-lm3533: convert comma to semicolon

2020-12-17 Thread Pavel Machek
On Wed 2020-12-16 21:16:53, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > Signed-off-by: Zheng Yongjun Thanks, applied. Pavel -- http://www.livejournal.com/~pavelmachek signature.asc

Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon

2020-12-17 Thread Pavel Machek
On Mon 2020-12-14 21:45:45, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Thanks, applied. Pavel -- http://www.livejournal.com/~pavelmachek signature.asc

Re: [PATCH V3 10/10] x86/pks: Add PKS test code

2020-12-17 Thread Dave Hansen
On 11/6/20 3:29 PM, ira.we...@intel.com wrote: > + /* Arm for context switch test */ > + write(fd, "1", 1); > + > + /* Context switch out... */ > + sleep(4); > + > + /* Check msr restored */ > + write(fd, "2", 1); These are

Re: [RFC PATCH 7/8] crypto: x86/aes-kl - Support AES algorithm using Key Locker instructions

2020-12-17 Thread Andy Lutomirski
On Wed, Dec 16, 2020 at 9:46 AM Chang S. Bae wrote: > > Key Locker (KL) is Intel's new security feature that protects the AES key > at the time of data transformation. New AES SIMD instructions -- as a > successor of Intel's AES-NI -- are provided to encode an AES key and > reference it for the

ntfs: extern vs inline?

2020-12-17 Thread Joe Perches
Hello Anton. I was looking around for bare inline uses and found this in fs/ntfs/inode.[ch]: $ git grep -w ntfs_new_extent_inode fs/ntfs/inode.c:inline ntfs_inode *ntfs_new_extent_inode(struct super_block *sb, fs/ntfs/inode.h:extern ntfs_inode *ntfs_new_extent_inode(struct super_block *sb,

Re: [GIT PULL]: dmaengine update for v5.11-rc1

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Thu, 17 Dec 2020 22:54:27 +0530: > git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git > tags/dmaengine-5.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6daa90439e91bb9a71864b02f7d0af8587ea889a Thank you! --

[PATCH 2/2] Add SMB 2 support for getting and setting SACLs

2020-12-17 Thread Boris Protopopov
Fix passing of the additional security info via version operations. Force new open when getting SACL and avoid reuse of files that were previously open without sufficient privileges to access SACLs. Signed-off-by: Boris Protopopov --- After further testing, I found that the security info was

Re: [GIT PULL] Mailbox changes for v5.11]

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Wed, 16 Dec 2020 20:17:21 -0600: > git://git.linaro.org/landing-teams/working/fujitsu/integration.git > tags/mailbox-v5.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/83005cd6bc76eef7bbf46b55bbb00ccc9534c38c Thank you! --

Re: [NEEDS-REVIEW] [RFC PATCH 7/8] crypto: x86/aes-kl - Support AES algorithm using Key Locker instructions

2020-12-17 Thread Dave Hansen
On 12/16/20 9:41 AM, Chang S. Bae wrote: > +config CRYPTO_AES_KL > + tristate "AES cipher algorithms (AES-KL)" > + depends on X86_KEYLOCKER > + select CRYPTO_AES_NI_INTEL > + help > + Use AES Key Locker instructions for AES algorithm. > + > + AES cipher algorithms

Re: [PATCH v2 34/48] gpu: host1x: Support power management

2020-12-17 Thread Dmitry Osipenko
17.12.2020 21:45, Dmitry Osipenko пишет: > 17.12.2020 21:21, Mikko Perttunen пишет: >> On 12/17/20 8:06 PM, Dmitry Osipenko wrote: >>> Add suspend/resume and generic power domain support to the Host1x driver. >>> This is required for enabling system-wide DVFS and supporting dynamic >>> power

arch/arm64/kernel/topology.c:367:22: sparse: sparse: dereference of noderef expression

2020-12-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 74f602dc96dd854c7b2034947798c1e2a6b84066 commit: 68c5debcc06d6d24f15dbf978780fc5efc147d5e arm64: implement CPPC FFH support using AMUs date: 5 weeks ago config: arm64-randconfig-s032-20201217 (attached

[GIT PULL] Networking for 5.11-rc1

2020-12-17 Thread Jakub Kicinski
Hi Linus, quick PR with some fixes which already came in this week, since I'm not planning on sending one next week. Happy Holidays! The following changes since commit 3db1a3fa98808aa90f95ec3e0fa2fc7abf28f5c9: Merge tag 'staging-5.11-rc1' of

Re: [PATCH v2] tpm: Rework open/close/shutdown to avoid races

2020-12-17 Thread James Bottomley
On Tue, 2020-12-15 at 10:51 -0800, James Bottomley wrote: > On Tue, 2020-12-15 at 16:38 +0300, Sergey Temerkhanov wrote: > > Avoid race condition at shutdown by shutting downn the TPM 2.0 > > devices synchronously. This eliminates the condition when the > > shutdown sequence sets chip->ops to NULL

Re: [PATCH] arm64: link with -z norelro for LLD or aarch64-elf

2020-12-17 Thread Nick Desaulniers
On Thu, Dec 17, 2020 at 4:01 AM Will Deacon wrote: > > On Wed, Dec 16, 2020 at 04:40:51PM -0800, Nick Desaulniers wrote: > > With newer GNU binutils, linking with BFD produces warnings for vmlinux: > > aarch64-linux-gnu-ld: warning: -z norelro ignored > > > Given that, prior to 3b92fa7485eb, we

Re: [PATCH] clk: exynos7: Mark aclk_fsys1_200 as critical

2020-12-17 Thread Paweł Chmiel
On 17.12.2020 11:14, Stephen Boyd wrote: > Not sure why this wasn't picked up in the samsung PR. Can you resend? Hi There was v2 (https://patchwork.kernel.org/project/linux-samsung-soc/patch/20201107121456.25562-1-pawel.mikolaj.chm...@gmail.com/) but it did receive some request for changes

Re: [PATCH] ext4: Don't leak old mountpoint samples

2020-12-17 Thread Andreas Dilger
On Dec 17, 2020, at 11:27 AM, Theodore Y. Ts'o wrote: > > On Tue, Dec 01, 2020 at 04:13:01PM +0100, Richard Weinberger wrote: >> As soon the first file is opened, ext4 samples the mountpoint >> of the filesystem in 64 bytes of the super block. >> It does so using strlcpy(), this means that the

[PATCH] mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe

2020-12-17 Thread Christophe JAILLET
A call to 'ausdhi6_dma_release()' to undo a previous call to 'usdhi6_dma_request()' is missing in the error handling path of the probe function. It is already present in the remove function. Fixes: 75fa9ea6e3c0 ("mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller")

Re: [PATCH] leds: lm3533: Switch to using the new API kobj_to_dev()

2020-12-17 Thread Pavel Machek
On Mon 2020-11-30 09:19:28, Tian Tao wrote: > fixed the following coccicheck: > drivers/leds/leds-lm3533.c:611:60-61: WARNING opportunity for kobj_to_dev(). > > Signed-off-by: Tian Tao Thanks, applied. Pavel --

[PATCH v4 0/5] tracing: More synthetic event error fixes

2020-12-17 Thread Tom Zanussi
Hi, This is v4 of the sythetic event error fix patchset. As suggested by Steve, I added a new pass that adds semicolons to 'old' commands that may be missing them, in order to maintain backward compatibility. All commands are handled by the new and improved parsing code, but commands missing

[PATCH v4 2/5] tracing: Rework synthetic event command parsing

2020-12-17 Thread Tom Zanussi
Now that command parsing has been delegated to the create functions and we're no longer constrained by argv_split(), we can modify the synthetic event command parser to better match the higher-level structure of the synthetic event commands, which is basically an event name followed by a set of

[PATCH v4 4/5] tracing: Add a backward-compatibility check for synthetic event creation

2020-12-17 Thread Tom Zanussi
The synthetic event parsing rework requiring semicolons between synthetic event fields. That requirement breaks existing users who might already have used the old form, so this adds a pre-parsing pass that adds semicolons between fields to any string missing them. If none are required, the

[PATCH v4 3/5] tracing: Update synth command errors

2020-12-17 Thread Tom Zanussi
Since array types are handled differently, errors referencing them also need to be handled differently. Add and use a new INVALID_ARRAY_SPEC error. Also add INVALID_CMD and INVALID_DYN_CMD to catch and display the correct form for badly-formed commands, which can also be used in place of

[PATCH v4 1/5] tracing/dynevent: Delegate parsing to create function

2020-12-17 Thread Tom Zanussi
From: Masami Hiramatsu Delegate command parsing to each create function so that the command syntax can be customized. This requires changes to the kprobe/uprobe/synthetic event handling, which are also included here. Signed-off-by: Masami Hiramatsu [ zanu...@kernel.org: added synthetic event

[PATCH v4 5/5] selftests/ftrace: Update synthetic event syntax errors

2020-12-17 Thread Tom Zanussi
Some of the synthetic event errors and positions have changed in the code - update those and add several more tests. Also add a runtime check to ensure that the kernel supports dynamic strings in synthetic events, which these tests require. Fixes: 81ff92a93d95 (selftests/ftrace: Add test case

Re: [PATCH] ext4: Don't leak old mountpoint samples

2020-12-17 Thread Richard Weinberger
- Ursprüngliche Mail - >>Fix this by using strncpy() instead of strlcpy(). The superblock >>field is defined to be a fixed-size char array, and it is already >>marked using __nonstring in fs/ext4/ext4.h. The consumer of the field >>in e2fsprogs already assumes that in the

Re: [PATCH] dcookies: Make dcookies depend on CONFIG_OPROFILE

2020-12-17 Thread Linus Torvalds
Just reviving this thread to see if we could get rid of the OPROFILE kernel code this time.. One option is to just start off with adding a depends on DISABLED on the OPROFILE config option, and see if anybody even notices. But honestly, just removing the entirely might be the better

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-17 Thread Alexandre Belloni
Hello, On 05/12/2020 16:51:36+0100, Greg KH wrote: > > To me, the documentation was written, and reviewed, more from the > > perspective of "why not open code a custom bus instead". So I can see > > after the fact how that is a bit too much theory and justification and > > not enough practical

Re: [PATCH v2 47/48] ARM: tegra: ventana: Support CPU voltage scaling and thermal throttling

2020-12-17 Thread Daniel Lezcano
On 17/12/2020 21:28, Dmitry Osipenko wrote: > 17.12.2020 22:36, Daniel Lezcano пишет: > + type = "critical"; > + }; > + }; > + > + cooling-maps { > + map0 { >

Re: [GIT PULL] Please pull NFS client changes for 5.11

2020-12-17 Thread Trond Myklebust
On Thu, 2020-12-17 at 12:25 -0800, Linus Torvalds wrote: > On Thu, Dec 17, 2020 at 10:05 AM Trond Myklebust > wrote: > > > >   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs- > > for- > > 5.11-1 > > > > for you to fetch changes up to > >

Re: [PATCH v2 3/4] spi: spi-geni-qcom: Don't try to set CS if an xfer is pending

2020-12-17 Thread Doug Anderson
Hi, On Wed, Dec 16, 2020 at 8:25 PM Stephen Boyd wrote: > > Quoting Douglas Anderson (2020-12-16 14:41:51) > > If we get a timeout sending then this happens: > > * spi_transfer_wait() will get a timeout. > > * We'll set the chip select > > * We'll call handle_err() => handle_fifo_timeout(). > >

Re: [PATCH 0/4] sched/fair: Burstable CFS bandwidth controller

2020-12-17 Thread Benjamin Segall
The code for this looks fine, and the feature is something people do seem to ask for occasionally. I agree with peterz that using this generally means you lose any guarantees (which are already imperfect given CFS), but I suspect that cfsb is being used in overload anyways. The docs could use a

Re: brk checks in PR_SET_MM code

2020-12-17 Thread Cyrill Gorcunov
On Thu, Dec 17, 2020 at 10:42:02AM +0300, Cyrill Gorcunov wrote: > On Wed, Dec 16, 2020 at 08:29:30PM -0500, Keno Fischer wrote: > > Hi all, > > > > The code in prctl(PR_SET_MM, ...) performs a number of sanity checks, > > among them > > > > ``` > > /* > > * @brk should be after @end_data in

Re: v5.10.1 xfs deadlock

2020-12-17 Thread Donald Buczek
On 17.12.20 20:43, Brian Foster wrote: On Thu, Dec 17, 2020 at 06:44:51PM +0100, Donald Buczek wrote: Dear xfs developer, I was doing some testing on a Linux 5.10.1 system with two 100 TB xfs filesystems on md raid6 raids. The stress test was essentially `cp -a`ing a Linux source repository

RE: [PATCH 1/3] scsi: storvsc: Fix max_outstanding_req_per_channel for Win8 and newer

2020-12-17 Thread Dexuan Cui
> From: Andrea Parri (Microsoft) > Sent: Thursday, December 17, 2020 12:33 PM > > Current code overestimates the value of max_outstanding_req_per_channel > for Win8 and newer hosts, since vmscsi_size_delta is set to the initial > value of sizeof(vmscsi_win8_extension) rather than zero. This may

Re: [RFC PATCH 1/2] drm: RFC add choice to use dynamic debug in drm-debug

2020-12-17 Thread jim . cromie
On Fri, Dec 11, 2020 at 8:34 AM Ville Syrjälä wrote: > > On Thu, Dec 03, 2020 at 08:53:17PM -0700, Jim Cromie wrote: > > drm's debug system uses distinct categories of debug messages, mapped > > to bits in drm.debug. Currently, code does a lot of unlikely bit-mask > > checks on drm.debug (in

RE: [PATCH 3/3] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2020-12-17 Thread Dexuan Cui
> From: Andrea Parri (Microsoft) > Sent: Thursday, December 17, 2020 12:33 PM > > Check that the packet is of the expected size at least, don't copy data > past the packet. > > Reported-by: Saruhan Karademir > Signed-off-by: Andrea Parri (Microsoft) > Cc: "James E.J. Bottomley" > Cc: "Martin

RE: [PATCH 2/3] scsi: storvsc: Resolve data race in storvsc_probe()

2020-12-17 Thread Dexuan Cui
> From: Andrea Parri (Microsoft) > Sent: Thursday, December 17, 2020 12:33 PM > > vmscsi_size_delta can be written concurrently by multiple instances of > storvsc_probe(), corresponding to multiple synthetic IDE/SCSI devices; > cf. storvsc_drv's probe_type == PROBE_PREFER_ASYNCHRONOUS. Change >

Re: [PATCH v2 3/4] spi: spi-geni-qcom: Don't try to set CS if an xfer is pending

2020-12-17 Thread Doug Anderson
Hi, On Wed, Dec 16, 2020 at 8:29 PM Stephen Boyd wrote: > > > The SPI core in general assumes that setting chip select is a simple > > operation that doesn't fail. Yet another reason to just reconfigure > > the chip select line as GPIOs. > > BTW, we could peek at the irq bit for the CS change

[GIT PULL] UML updates for 5.11-rc1

2020-12-17 Thread Richard Weinberger
Linus, The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da: Linux 5.10-rc6 (2020-11-29 15:50:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git tags/for-linus-5.11-rc1 for you to fetch changes up to

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.11-1 tag

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Fri, 18 Dec 2020 00:28:34 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.11-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8a5be36b9303ae167468d4f5e1b3c090b9981396 Thank you! --

Re: [GIT PULL] Modules updates for v5.11

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Thu, 17 Dec 2020 15:20:23 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git/ > tags/modules-for-v5.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/312dcaf967219effe0483785f24e4072a5bed9a5 Thank you! --

Re: [GIT PULL] OpenRISC updates for v5.11

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Fri, 18 Dec 2020 05:48:18 +0900: > g...@github.com:openrisc/linux.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0c6c887835b59c10602add88057c9c06f265effe Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] tracing: Updates for 5.11

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Thu, 17 Dec 2020 14:08:52 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/09c0796adf0c793462fda1d7c8c43324551405c7 Thank you! -- Deet-doot-dot,

Re: Linux kernel in-tree Rust support

2020-12-17 Thread Pavel Machek
On Tue 2020-07-28 23:34:17, Josh Triplett wrote: > On Tue, Jul 28, 2020 at 10:40:38PM +0200, Pavel Machek wrote: > > > We just need to make sure that any kernel CI infrastructure tests that > > > right away, then, so that failures don't get introduced by a patch from > > > someone without a Rust

[GIT PULL] JFFS2, UBI and UBIFS updates for 5.11-rc1

2020-12-17 Thread Richard Weinberger
Linus, The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da: Linux 5.10-rc6 (2020-11-29 15:50:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/for-linus-5.11-rc1 for you to fetch changes up to

Re: [PATCH 1/1] device-dax: delete a redundancy check in dev_dax_validate_align()

2020-12-17 Thread Dan Williams
On Fri, Nov 20, 2020 at 1:27 AM Leizhen (ThunderTown) wrote: > > > > On 2020/11/20 17:20, Zhen Lei wrote: > > After we have done the alignment check for the length of each range, the > > alignment check for dev_dax_size(dev_dax) is no longer needed, because it > > get the sum of the length of

Re: [GIT PULL] Networking for 5.11-rc1

2020-12-17 Thread pr-tracker-bot
The pull request you sent on Thu, 17 Dec 2020 13:02:04 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d64c6f96ba86bd8b97ed8d6762a8c8cc1770d214 Thank you! -- Deet-doot-dot, I am

Re: [PATCH v2 2/4] spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending

2020-12-17 Thread Doug Anderson
Hi, On Wed, Dec 16, 2020 at 8:21 PM Stephen Boyd wrote: > > Quoting Douglas Anderson (2020-12-16 14:41:50) > > If we got a timeout when trying to send an abort command then it means > > that we just got 3 timeouts in a row: > > > > 1. The original timeout that caused handle_fifo_timeout() to be

Re: [PATCH v2 47/48] ARM: tegra: ventana: Support CPU voltage scaling and thermal throttling

2020-12-17 Thread Dmitry Osipenko
18.12.2020 00:19, Daniel Lezcano пишет: > On 17/12/2020 21:28, Dmitry Osipenko wrote: >> 17.12.2020 22:36, Daniel Lezcano пишет: >> +type = "critical"; >> +}; >> +}; >> + >> +

[GIT PULL] GPIO bulk changes for the v5.11 cycle

2020-12-17 Thread Linus Walleij
Hi Linus, here is the bulk of GPIO changes for the v5.11 kernel cycle. The contents are explained in the signed tag as usual. I had some more core patches boiling, but given your clear desire in the release mail for v5.10 I quickly decided to pull that out and have it wait for the next kernel

Re: [PATCH] timekeeping: Fix spelling mistake in Kconfig "fullfill" -> "fulfill"

2020-12-17 Thread Linus Walleij
On Thu, Dec 17, 2020 at 6:17 PM Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v12 2/4] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-17 Thread Rob Herring
On Thu, Dec 17, 2020 at 2:52 PM Lakshmi Ramasubramanian wrote: > > On 12/17/20 12:05 PM, Rob Herring wrote: > > On Thu, Dec 17, 2020 at 09:37:06AM -0800, Lakshmi Ramasubramanian wrote: > >> The functions defined in "arch/powerpc/kexec/ima.c" handle setting up > >> and freeing the resources

Re: [PATCH v4 08/10] mm/gup: limit number of gup migration failures, honor failures

2020-12-17 Thread Pavel Tatashin
Hi Jason, Thank you for your comments. My replies below. On Thu, Dec 17, 2020 at 3:50 PM Jason Gunthorpe wrote: > > On Thu, Dec 17, 2020 at 01:52:41PM -0500, Pavel Tatashin wrote: > > +/* > > + * Verify that there are no unpinnable (movable) pages, if so return true. > > + * Otherwise an

Re: [PATCH] atm: ambassador: remove h from printk format specifier

2020-12-17 Thread Tom Rix
On 12/17/20 9:28 AM, Jakub Kicinski wrote: > On Thu, 17 Dec 2020 05:17:24 -0800 Tom Rix wrote: >> On 12/16/20 4:45 PM, Jakub Kicinski wrote: >>> On Tue, 15 Dec 2020 06:22:28 -0800 t...@redhat.com wrote: From: Tom Rix See Documentation/core-api/printk-formats.rst. h should

[PATCH] mtd: rawnand: intel: remove broken code

2020-12-17 Thread Martin Blumenstingl
Drop the check for mtd->name as it's executed while the mtd variable is always NULL. If some MTD name is needed then it should be validated by the MTD core. While here, also drop the NULL assignment to the mtd variable as it's overwritten later on anyways and the NULL value is never read. Fixes:

Re: [PATCH v12 2/4] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-17 Thread Lakshmi Ramasubramanian
On 12/17/20 2:01 PM, Rob Herring wrote: On Thu, Dec 17, 2020 at 2:52 PM Lakshmi Ramasubramanian wrote: On 12/17/20 12:05 PM, Rob Herring wrote: On Thu, Dec 17, 2020 at 09:37:06AM -0800, Lakshmi Ramasubramanian wrote: The functions defined in "arch/powerpc/kexec/ima.c" handle setting up and

Re: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery

2020-12-17 Thread Brian Norris
On Tue, Dec 15, 2020 at 10:23:33AM -0800, Ben Greear wrote: > On 12/15/20 9:21 AM, Youghandhar Chintala wrote: > > From: Rakesh Pillai > > > > Currently in case of target hardware restart ,we just reconfig and > > re-enable the security keys and enable the network queues to start > > data

WARNING: modpost: vmlinux.o(.text+0x1b72a48): Section mismatch in reference from the function arch_atomic64_or() to the variable .init.data:numa_nodes_parsed

2020-12-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6daa90439e91bb9a71864b02f7d0af8587ea889a commit: d0a3ac549f389c1511a4df0d7638536305205d20 ubsan: enable for all*config builds date: 2 days ago config: arm64-randconfig-r023-20201217 (attached as .config

[PATCH v3 1/4] spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case

2020-12-17 Thread Douglas Anderson
In commit 7ba9bdcb91f6 ("spi: spi-geni-qcom: Don't keep a local state variable") we changed handle_fifo_timeout() so that we set "mas->cur_xfer" to NULL to make absolutely sure that we don't mess with the buffers from the previous transfer in the timeout case. Unfortunately, this caused the IRQ

Re: [PATCH 00/21] Control VQ support in vDPA

2020-12-17 Thread Michael S. Tsirkin
On Thu, Dec 17, 2020 at 05:02:49PM +0800, Jason Wang wrote: > > On 2020/12/17 下午3:58, Michael S. Tsirkin wrote: > > On Thu, Dec 17, 2020 at 11:30:18AM +0800, Jason Wang wrote: > > > On 2020/12/16 下午5:47, Michael S. Tsirkin wrote: > > > > On Wed, Dec 16, 2020 at 02:47:57PM +0800, Jason Wang wrote:

[PATCH v3 2/4] spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending

2020-12-17 Thread Douglas Anderson
If we got a timeout when trying to send an abort command then it means that we just got 3 timeouts in a row: 1. The original timeout that caused handle_fifo_timeout() to be called. 2. A one second timeout waiting for the cancel command to finish. 3. A one second timeout waiting for the abort

[PATCH v3 3/4] spi: spi-geni-qcom: Don't try to set CS if an xfer is pending

2020-12-17 Thread Douglas Anderson
If we get a timeout sending then this happens: spi_transfer_one_message() ->transfer_one() AKA spi_geni_transfer_one() setup_fifo_xfer() mas->cur_xfer = non-NULL spi_transfer_wait() => TIMES OUT if (msg->status != -EINPROGRESS) goto out if (ret != 0 ...) spi_set_cs() ->set_cs AKA

Re: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery

2020-12-17 Thread Brian Norris
On Tue, Dec 15, 2020 at 10:51:13PM +0530, Youghandhar Chintala wrote: > From: Rakesh Pillai I meant to mention in my other reply: the threading on this series is broken (as in, it doesn't exist). It looks like you're using git-send-email (good!), but somehow it doesn't have any In-Reply-To or

[PATCH V2 0/4] x86/resctrl: Fix a few issues in moving a task to a resource group

2020-12-17 Thread Reinette Chatre
v1 submission at: https://lore.kernel.org/lkml/cover.1607036601.git.reinette.cha...@intel.com/ Changes since v1: * Collect Reviewed-by tags. * Stop using task_struct->on_cpu and use existing task_curr() helper instead. (James) This has two consequences: * The reason task_struct->on_cpu is no

[PATCH V2 1/4] x86/resctrl: Use IPI instead of task_work_add() to update PQR_ASSOC MSR

2020-12-17 Thread Reinette Chatre
From: Fenghua Yu Currently when moving a task to a resource group the PQR_ASSOC MSR is updated with the new closid and rmid in an added task callback. If the task is running the work is run as soon as possible. If the task is not running the work is executed later in the kernel exit path when

[PATCH V2 2/4] x86/resctrl: Don't move a task to the same resource group

2020-12-17 Thread Reinette Chatre
From: Fenghua Yu Shakeel Butt reported in [1] that a user can request a task to be moved to a resource group even if the task is already in the group. It just wastes time to do the move operation which could be costly to send IPI to a different CPU. Add a sanity check to ensure that the move

[PATCH v3 4/4] spi: spi-geni-qcom: Print an error when we timeout setting the CS

2020-12-17 Thread Douglas Anderson
If we're using geni to manage the chip select line (don't do it--use a GPIO!) and we happen to get a timeout waiting for the chip select command to be completed, no errors are printed even though things might not be in the best shape. Let's add a print. Signed-off-by: Douglas Anderson --- (no

[PATCH V2 3/4] x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI

2020-12-17 Thread Reinette Chatre
James reported in [1] that there could be two tasks running on the same CPU with task_struct->on_cpu set. Using task_struct->on_cpu as a test if a task is running on a CPU may thus match the old task for a CPU while the scheduler is running and IPI it unnecessarily. task_curr() is the correct

[PATCH] dt-bindings: Fix JSON pointers

2020-12-17 Thread Rob Herring
The correct syntax for JSON pointers begins with a '/' after the '#'. Without a '/', the string should be interpretted as a subschema identifier. The jsonschema module currently doesn't handle subschema identifiers and incorrectly allows JSON pointers to begin without a '/'. Let's fix this before

[PATCH V2 4/4] x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct .rmid & .closid

2020-12-17 Thread Reinette Chatre
From: Valentin Schneider A CPU's current task can have its {closid, rmid} fields read locally while they are being concurrently written to from another CPU. This can happen anytime __resctrl_sched_in() races with either __rdtgroup_move_task() or rdt_move_group_tasks(). Prevent load / store

Re: [PATCH V3 04/10] x86/pks: Preserve the PKRS MSR on context switch

2020-12-17 Thread Thomas Gleixner
On Thu, Dec 17 2020 at 15:50, Thomas Gleixner wrote: > On Fri, Nov 06 2020 at 15:29, ira weiny wrote: > >> +void write_pkrs(u32 new_pkrs) >> +{ >> +u32 *pkrs; >> + >> +if (!static_cpu_has(X86_FEATURE_PKS)) >> +return; >> + >> +pkrs = get_cpu_ptr(_cache); > > So this is

[PATCH v2 1/4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2020-12-17 Thread Miao-chen Chou
This moves msft_do_close() from hci_dev_do_close() to hci_unregister_dev() to avoid clearing MSFT extension info. This also avoids retrieving MSFT info upon every msft_do_open() if MSFT extension has been initialized. The following test steps were performed. (1) boot the test device and verify

[PATCH v2 2/4] Bluetooth: btqca: Enable MSFT extension for Qualcomm WCN399x

2020-12-17 Thread Miao-chen Chou
The following Qualcomm WCN399x Bluetooth controllers support the Microsoft vendor extension and they are using 0xFD70 for VsMsftOpCode. -WCN3990 -WCN3991 -WCN3998 < HCI Command: ogf 0x3f, ocf 0x0170, plen 1 00 > HCI Event: 0x0e plen 18 01 70 FD 00 00 1F 00 00 00 00 00 00 00 04 4D 53 46 54

[PATCH v2 3/4] Bluetooth: btusb: Enable MSFT extension for Intel controllers

2020-12-17 Thread Miao-chen Chou
The Intel JeffersonPeak, HarrisonPeak and CyclonePeak Bluetooth controllers support the Microsoft vendor extension and they are using 0xFC1E for VsMsftOpCode. < HCI Command: Vendor (0x3f|0x001e) plen 1 00 > HCI Event: Command Complete (0x0e) plen 15 Vendor (0x3f|0x001e) ncmd 1

[PATCH v2 4/4] Bluetooth: btrtl: Enable MSFT extension for RTL8822CE controller

2020-12-17 Thread Miao-chen Chou
The Realtek RTL8822CE Bluetooth controller support Microsoft vendor extension and it uses 0xFCF0 for VsMsftOpCode. The following test step was performed. - Boot the test device with RTL8822CE and verify the INFO print in dmesg. Signed-off-by: Miao-chen Chou Reviewed-by: Abhishek Pandit-Subedi

Re: [PATCH] mmc: sdhci-sprd: Fix some resource leaks in the remove function

2020-12-17 Thread Orson Zhai
+ cc: Billows Hi Christophe, On Fri, Dec 18, 2020 at 4:50 AM Christophe JAILLET wrote: > > 'sdhci_remove_host()' and 'sdhci_pltfm_free()' should be used in place of > 'mmc_remove_host()' and 'mmc_free_host()'. > > This avoids some resource leaks, is more in line with the error handling > path of

Re: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery

2020-12-17 Thread Ben Greear
On 12/17/20 2:24 PM, Brian Norris wrote: On Tue, Dec 15, 2020 at 10:23:33AM -0800, Ben Greear wrote: On 12/15/20 9:21 AM, Youghandhar Chintala wrote: From: Rakesh Pillai Currently in case of target hardware restart ,we just reconfig and re-enable the security keys and enable the network

Re: [PATCH V2] scsi: ufs-debugfs: Add error counters

2020-12-17 Thread Bean Huo
On Thu, 2020-12-17 at 11:49 +0200, Adrian Hunter wrote: > > > > The purpose of patch is acceptable, but I don't know why you choose > > using ufshcd_core_* here. > > Do you mean you would like a different function name? 'ufshcd_init' > is used > already. The module is called ufshcd-core, so

Re: [PATCH] leds: led-core: Get rid of enum led_brightness

2020-12-17 Thread Pavel Machek
Hi! > > On Fri, 11 Dec 2020 03:48:40 +0200 > > Abanoub Sameh wrote: > > > > > This gets rid of enum led_brightness in the main led files, > > > because it is deprecated, and an int can be used instead, > > > or maybe even a uint8_t since it only goes up to 255. > > > Next we can also patch the

[RFC][PATCH 1/3] dma-buf: heaps: Add deferred-free-helper library code

2020-12-17 Thread John Stultz
This patch provides infrastructure for deferring buffer frees. This is a feature ION provided which when used with some form of a page pool, provides a nice performance boost in an allocation microbenchmark. The reason it helps is it allows the page-zeroing to be done out of the normal

[PATCH] Bluetooth: Pause service discovery for suspend

2020-12-17 Thread Abhishek Pandit-Subedi
Just like MGMT_OP_START_DISCOVERY, we should reject MGMT_OP_START_SERVICE_DISCOVERY with MGMT_STATUS_BUSY when we are paused for suspend. Signed-off-by: Abhishek Pandit-Subedi --- On ChromeOS, we started getting reports of scanning failing after resuming from suspend. The root cause was that

[RFC][PATCH 2/3] dma-buf: system_heap: Add pagepool support to system heap

2020-12-17 Thread John Stultz
Reuse/abuse the pagepool code from the network code to speed up allocation performance. This is similar to the ION pagepool usage, but tries to utilize generic code instead of a custom implementation. Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott Cc: Brian Starkey

[RFC][PATCH 3/3] dma-buf: system_heap: Add deferred freeing to the system heap

2020-12-17 Thread John Stultz
Utilize the deferred free helper library in the system heap. This provides a nice performance bump and puts the system heap performance on par with ION. Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasaryan Cc:

linux-next: manual merge of the ext4 tree with Linus' tree

2020-12-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the ext4 tree got a conflict in: fs/ext4/super.c between commit: 8446fe9255be ("block: switch partition lookup to use struct block_device") from Linus' tree and commit: 8e6f04c5e918 ("ext4: use sbi instead of EXT4_SB(sb) in ext4_update_super()")

Re: [PATCH v3 3/7] mfd: Add MFD driver for ATC260x PMICs

2020-12-17 Thread Cristian Ciocaltea
Hi Lee, Thank you for the detailed review! I will prepare a new revision, but there are still a couple of open points.. On Wed, Dec 16, 2020 at 10:10:00AM +, Lee Jones wrote: > On Sun, 06 Dec 2020, Cristian Ciocaltea wrote: > > > Add initial support for the Actions Semi ATC260x PMICs.

Re: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery

2020-12-17 Thread Brian Norris
On Thu, Dec 17, 2020 at 2:57 PM Ben Greear wrote: > On 12/17/20 2:24 PM, Brian Norris wrote: > > I'd also note that we don't operate in AP mode -- only STA -- and IIRC > > Ben, you've complained about AP mode in the past. > > I complain about all sorts of things, but I'm usually running > station

Re: [PATCH] Add support for Realtek RTL838x/RTL839x switch SoCs

2020-12-17 Thread Bert Vermeulen
On 12/15/20 11:11 PM, Oleksij Rempel wrote: Hello Bert, thank you for your work. Here are some comments.. Thanks for reviewing. I will send in a V2 with your comments all handled. I assume, after applying all needed changes, there will be no files within arch/mips/include/asm/mach-realtek

Re: [PATCH v2 0/3] add support for metadata encryption to F2FS

2020-12-17 Thread Theodore Y. Ts'o
On Thu, Dec 17, 2020 at 08:51:14PM +, Satya Tangirala wrote: > On Thu, Dec 17, 2020 at 01:08:49PM -0500, Theodore Y. Ts'o wrote: > > On Thu, Dec 17, 2020 at 03:04:32PM +, Satya Tangirala wrote: > > > This patch series adds support for metadata encryption to F2FS using > > > blk-crypto. > >

Re: [PATCH 1/3] PCI/ASPM: Use the path max in L1 ASPM latency check

2020-12-17 Thread Ian Kumlien
On Thu, Dec 17, 2020 at 12:21 AM Bjorn Helgaas wrote: > > On Wed, Dec 16, 2020 at 12:20:53PM +0100, Ian Kumlien wrote: > > On Wed, Dec 16, 2020 at 1:08 AM Bjorn Helgaas wrote: > > > On Tue, Dec 15, 2020 at 02:09:12PM +0100, Ian Kumlien wrote: > > > > On Tue, Dec 15, 2020 at 1:40 AM Bjorn Helgaas

Re: [RFC PATCH] ptrace: make ptrace() fail if the tracee changed its pid unexpectedly

2020-12-17 Thread Eric W. Biederman
Oleg Nesterov writes: > Suppose we have 2 threads, the group-leader L and a sub-theread T, > both parked in ptrace_stop(). Debugger tries to resume both threads > and does > > ptrace(PTRACE_CONT, T); > ptrace(PTRACE_CONT, L); > > If the sub-thread T execs in between, the 2nd

[PATCH v2 01/12] software_node: Fix refcounts in software_node_get_next_child()

2020-12-17 Thread Daniel Scally
The software_node_get_next_child() function currently does not hold references to the child software_node that it finds or put the ref that is held against the old child - fix that. Fixes: 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node framework") Reviewed-by: Andy

[PATCH v2 00/12] Add functionality to ipu3-cio2 driver allowing software_node connections to sensors on platforms designed for Windows

2020-12-17 Thread Daniel Scally
Hello all Previous version: https://lore.kernel.org/linux-media/20201130133129.1024662-1-djrsca...@gmail.com/T/#m91934e12e3d033da2e768e952ea3b4a125ee3e67 The RFC version before that: https://lore.kernel.org/linux-media/20201019225903.14276-1-djrsca...@gmail.com/ This series is to start adding

[PATCH v2 04/12] software_node: Enforce parent before child ordering of nodes arrays

2020-12-17 Thread Daniel Scally
Registering software_nodes with the .parent member set to point to a currently unregistered software_node has the potential for problems, so enforce parent -> child ordering in arrays passed in to software_node_register_nodes(). Software nodes that are children of another software node should be

[PATCH v2 05/12] software_node: unregister software_nodes in reverse order

2020-12-17 Thread Daniel Scally
To maintain consistency with software_node_unregister_nodes(), reverse the order in which the software_node_unregister_node_group() function unregisters nodes. Reported-by: kernel test robot Reported-by: Dan Carpenter Reviewed-by: Laurent Pinchart Suggested-by: Andy Shevchenko Signed-off-by:

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