[PATCH v5 5/6] MAINTAINERS: Add entry for the ASPEED SD/MMC driver

2020-12-07 Thread Andrew Jeffery
Add myself as the maintainer. Signed-off-by: Andrew Jeffery --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e451dcce054f..eae4322aae67 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2826,6 +2826,15 @@ F:

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-12-07 Thread Jianjun Wang
On Fri, 2020-12-04 at 12:30 -0600, Bjorn Helgaas wrote: > On Fri, Dec 04, 2020 at 08:39:09AM +0100, Lukas Wunner wrote: > > On Mon, Nov 30, 2020 at 11:30:05AM -0600, Bjorn Helgaas wrote: > > > On Mon, Nov 23, 2020 at 02:45:13PM +0800, Jianjun Wang wrote: > > > > On Thu, 2020-11-19 at 14:28 -0600,

Re: [PATCH v3] mm: mmap_lock: fix use-after-free race and css ref leak in tracepoints

2020-12-07 Thread Andrew Morton
On Mon, 7 Dec 2020 13:33:58 -0800 Axel Rasmussen wrote: > syzbot reported[1] a use-after-free introduced in 0f818c4bc1f3. The bug > is that an ongoing trace event might race with the tracepoint being > disabled (and therefore the _unreg() callback being called). Consider > this ordering: > >

[PATCH v5 2/6] mmc: sdhci-of-aspeed: Expose clock phase controls

2020-12-07 Thread Andrew Jeffery
The Aspeed SD/eMMC controllers expose configurable clock phase correction by inserting delays of up to 15 logic elements in length into the bus clock path. The hardware supports independent configuration for both bus directions on a per-slot basis. The timing delay per element encoded in the

[PATCH v5 6/6] ARM: dts: rainier: Add eMMC clock phase compensation

2020-12-07 Thread Andrew Jeffery
Determined by scope measurements at speed. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index

[PATCH v5 3/6] mmc: sdhci-of-aspeed: Add AST2600 bus clock support

2020-12-07 Thread Andrew Jeffery
The AST2600 can achieve HS200 speeds with a change to the bus clock divisor behaviour. The divisor can also be more accurate with respect to the requested clock rate, but keep the one-hot behaviour for backwards compatibility with the AST2400 and AST2500. Signed-off-by: Andrew Jeffery ---

[PATCH v5 0/6] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-12-07 Thread Andrew Jeffery
Hello, This series implements support for the MMC core clk-phase-* devicetree bindings in the Aspeed SD/eMMC driver. The relevant register was exposed on the AST2600 and is present for both the SD/MMC controller and the dedicated eMMC controller. v5 fixes some build issues identified by the

[PATCH v5 1/6] mmc: core: Add helper for parsing clock phase properties

2020-12-07 Thread Andrew Jeffery
Drivers for MMC hosts that accept phase corrections can take advantage of the helper by embedding a mmc_clk_phase_map_t object in their private data and invoking mmc_of_parse_clk_phase() to extract phase parameters. It is the responsibility of the host driver to translate and apply the extracted

[PATCH v5 4/6] mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations

2020-12-07 Thread Andrew Jeffery
Converting degrees of phase to logic delays is irritating to test on hardware, so lets exercise the function using KUnit. Signed-off-by: Andrew Jeffery --- drivers/mmc/host/Kconfig| 14 drivers/mmc/host/Makefile | 1 +

Re: [f2fs-dev] [PATCH v3] f2fs: compress: support chksum

2020-12-07 Thread Jaegeuk Kim
On 12/08, Chao Yu wrote: > On 2020/12/8 4:37, Eric Biggers wrote: > > On Thu, Nov 26, 2020 at 06:32:09PM +0800, Chao Yu wrote: > > > + if (!ret && fi->i_compress_flag & 1 << COMPRESS_CHKSUM) { > > > > This really could use some parentheses. People shouldn't have to look up a > > C operator

Re: ping // [PATCH] mtd:cfi_cmdset_0002: fix atomic sleep bug when CONFIG_MTD_XIP=y

2020-12-07 Thread Xiaoming Ni
On 2020/12/8 2:59, Vignesh Raghavendra wrote: Hi Xiaoming, On 12/7/20 4:23 PM, Miquel Raynal wrote: Hi Xiaoming, Xiaoming Ni wrote on Mon, 7 Dec 2020 18:48:33 +0800: ping On 2020/11/27 21:07, Xiaoming Ni wrote: When CONFIG_MTD_XIP=y, local_irq_disable() is called in xip_disable(). To

Re: [PATCH v3] bridge: Fix a deadlock when enabling multicast snooping

2020-12-07 Thread Jakub Kicinski
On Sat, 5 Dec 2020 10:56:45 +0200 Nikolay Aleksandrov wrote: > On 05/12/2020 01:56, Joseph Huang wrote: > > When enabling multicast snooping, bridge module deadlocks on multicast_lock > > if 1) IPv6 is enabled, and 2) there is an existing querier on the same L2 > > network. > > > > The deadlock

Re: [PATCH v3] drivers: gpio: add virtio-gpio guest driver

2020-12-07 Thread Randy Dunlap
On 12/7/20 12:48 PM, Enrico Weigelt, metux IT consult wrote: > Introducing new GPIO driver for virtual GPIO devices via virtio. > Oops, I missed one thing: > > diff --git a/Documentation/gpio/virtio-gpio.rst > b/Documentation/gpio/virtio-gpio.rst > new file mode 100644 > index

Re: [PATCH] mtd: spi-nor: macronix: enable 4-bit BP support for MX25L6405D

2020-12-07 Thread Sieng Piaw Liew
On Mon, Dec 07, 2020 at 05:53:20PM +, tudor.amba...@microchip.com wrote: > Hi, Sieng, > > On 12/7/20 4:46 AM, Sieng Piaw Liew wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Enable 4-bit Block Protect support for MX256405D

Re: [f2fs-dev] [PATCH v3] f2fs: compress: support chksum

2020-12-07 Thread Chao Yu
On 2020/12/8 4:37, Eric Biggers wrote: On Thu, Nov 26, 2020 at 06:32:09PM +0800, Chao Yu wrote: + if (!ret && fi->i_compress_flag & 1 << COMPRESS_CHKSUM) { This really could use some parentheses. People shouldn't have to look up a C operator precedence table to understand the code.

Re: [PATCH] checkpatch: Add checking if from-author sign-off is last

2020-12-07 Thread Joe Perches
On Tue, 2020-12-08 at 00:42 +0100, Philipp Bruegmann wrote: > Print a check if the last Signed-off-by is by the From: author. > > submitting-patches.rst states 'the last Signed-off-by: must always be > that of the developer submitting the patch.'. > This patch tries to enforce this, under the

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

2020-12-07 Thread Steven Rostedt
On Mon, 26 Oct 2020 10:06:11 -0500 Tom Zanussi wrote: > 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

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Alexei Starovoitov
On Mon, Dec 7, 2020 at 2:59 PM Alexei Starovoitov wrote: > > On Mon, Dec 7, 2020 at 2:53 PM Michal Kubecek wrote: > > > > On Mon, Dec 07, 2020 at 02:44:22PM -0800, Alexei Starovoitov wrote: > > > On Mon, Dec 7, 2020 at 10:36 AM Justin Forbes > > > wrote: > > > > > > > > On Mon, Dec 7, 2020 at

[PATCH v6 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller

2020-12-07 Thread Jonathan Neuschäfer
This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller. It controls different functions of the system, such as power on/off, RTC, PWM for the backlight. The exact functionality provided can vary between boards.

[PATCH v6 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-12-07 Thread Jonathan Neuschäfer
Netronix, Inc. (http://www.netronixinc.com/) makes ebook reader board designs, which are for example used in Kobo and Tolino devices. An alternative prefix for Netronix would be "ntx", which is already used in code released by Netronix. It is shorter, but perhaps less clear. Signed-off-by:

[PATCH v6 3/7] mfd: Add base driver for Netronix embedded controller

2020-12-07 Thread Jonathan Neuschäfer
The Netronix embedded controller is a microcontroller found in some e-book readers designed by the original design manufacturer Netronix, Inc. It contains RTC, battery monitoring, system power management, and PWM functionality. This driver implements register access and version detection.

[PATCH v6 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-12-07 Thread Jonathan Neuschäfer
This patchset adds basic support for the embedded controller found on older ebook reader boards designed by/with the ODM Netronix Inc.[1] and sold by Kobo or Tolino, for example the Kobo Aura and the Tolino Shine. These drivers are based on information contained in the vendor kernel sources, but

Re: [f2fs-dev] [PATCH RESEND] f2fs: compress: deny setting unsupported compress algorithm

2020-12-07 Thread Chao Yu
On 2020/12/8 2:16, Eric Biggers wrote: On Mon, Dec 07, 2020 at 05:56:09PM +0800, Chao Yu wrote: If kernel doesn't support certain kinds of compress algorithm, deny to set them as compress algorithm of f2fs via 'compress_algorithm=%s' mount option. Signed-off-by: Chao Yu --- no changes, just

Re: [PATCH v2 1/2] perf: support build BPF skeletons with perf

2020-12-07 Thread Song Liu
> On Dec 7, 2020, at 12:25 PM, Jiri Olsa wrote: > > On Thu, Dec 03, 2020 at 10:13:09PM -0800, Song Liu wrote: > > SNIP > >> @@ -735,7 +739,8 @@ prepare: $(OUTPUT)PERF-VERSION-FILE >> $(OUTPUT)common-cmds.h archheaders $(drm_ioc >> $(x86_arch_prctl_code_array) \ >>

Re: [f2fs-dev] [PATCH v5 RESEND] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-07 Thread Chao Yu
On 2020/12/8 2:13, Eric Biggers wrote: On Mon, Dec 07, 2020 at 05:52:20PM +0800, Chao Yu wrote: diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index dae15c96e659..fd413d319e93 100644 --- a/Documentation/filesystems/f2fs.rst +++

I am Vice Chairman of Hang Seng Bank, Dr. Raymond Chien Kuo Fung I have Important Matter to Discuss with you concerning my late client. Died without a NEXT OF KIN. Send me your private

2020-12-07 Thread Raymond
email:kraymon...@aol.com

Re: [linux-sunxi] Re: [PATCH 7/8] arm64: dts: allwinner: Add Allwinner H616 .dtsi file

2020-12-07 Thread André Przywara
On 03/12/2020 16:20, Chen-Yu Tsai wrote: Hi, > On Thu, Dec 3, 2020 at 11:45 PM André Przywara wrote: >> >> On 03/12/2020 15:02, Chen-Yu Tsai wrote: >>> On Thu, Dec 3, 2020 at 6:54 PM André Przywara >>> wrote: On 03/12/2020 03:16, Samuel Holland wrote: Hi, > On

Re: [PATCH v8 00/16] Add support for Clang LTO

2020-12-07 Thread Nathan Chancellor
On Sun, Dec 06, 2020 at 12:09:31PM -0800, Sami Tolvanen wrote: > Sure, looks good to me. However, I think we should also test for > LLVM=1 to avoid possible further issues with mismatched toolchains > instead of only checking for llvm-nm and llvm-ar. It might still be worth testing for $(AR) and

Re: [sparc64] current git kernel networking is broken

2020-12-07 Thread Al Viro
On Tue, Dec 08, 2020 at 03:09:47AM +0300, Anatoly Pugachev wrote: > Hello! > > Sorry for the late report, being 5.10-rc7 is out, but current git > kernel (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git) > is broken with the networking. It affects my openvpn tunnel and even >

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-07 Thread Halil Pasic
On Mon, 7 Dec 2020 14:05:55 -0500 Tony Krowiak wrote: > > > On 12/2/20 6:41 PM, Tony Krowiak wrote: > > The vfio_ap device driver registers a group notifier with VFIO when the > > file descriptor for a VFIO mediated device for a KVM guest is opened to > > receive notification that the KVM

Re: [sparc64] current git kernel networking is broken

2020-12-07 Thread Anatoly Pugachev
On Tue, Dec 8, 2020 at 3:09 AM Anatoly Pugachev wrote: > bisected kernel to the following commit: > > linux-2.6$ git bisect good > fdf8bee96f9aeaac4559725c2dfae6e1bd7b7043 is the first bad commit forgot to add, that reverting this commit, fixes networking for me.

Re: [PATCH 4/4] dt-bindings: hwmon: convert AD ADM1275 bindings to dt-schema

2020-12-07 Thread Guenter Roeck
On Mon, Dec 07, 2020 at 03:12:59PM -0600, Rob Herring wrote: > On Tue, Nov 17, 2020 at 11:08:07PM +0100, Krzysztof Kozlowski wrote: > > Convert the Analog Devices ADM1275 bindings to dt-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../bindings/hwmon/adi,adm1275.yaml

Re: [PATCH 3/4] dt-bindings: hwmon: convert TI ADS7828 bindings to dt-schema

2020-12-07 Thread Guenter Roeck
On Tue, Nov 17, 2020 at 11:08:06PM +0100, Krzysztof Kozlowski wrote: > Convert the TI ADS7828 bindings to dt-schema. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Rob Herring Applied. Thanks, Guenter > --- > .../devicetree/bindings/hwmon/ads7828.txt | 25 >

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

2020-12-07 Thread Steven Rostedt
On Mon, 26 Oct 2020 10:06:10 -0500 Tom Zanussi wrote: > 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

Re: [PATCH 1/4] dt-bindings: hwmon: convert TI INA2xx bindings to dt-schema

2020-12-07 Thread Guenter Roeck
On Tue, Nov 17, 2020 at 11:08:04PM +0100, Krzysztof Kozlowski wrote: > Convert the TI INA2xx bindings to dt-schema. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Rob Herring Applied. Thanks, Guenter > --- > .../devicetree/bindings/hwmon/ina2xx.txt | 24 >

Re: [PATCH 2/4] dt-bindings: hwmon: convert AD AD741x bindings to dt-schema

2020-12-07 Thread Guenter Roeck
On Tue, Nov 17, 2020 at 11:08:05PM +0100, Krzysztof Kozlowski wrote: > Convert the Analog Devices AD741x bindings to dt-schema. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Rob Herring Applied. Thanks, Guenter > --- > .../devicetree/bindings/hwmon/ad741x.txt | 15 --- >

Re: [PATCH v1 3/7] spi: qspi-tegra: Add support for Tegra210 QSPI controller

2020-12-07 Thread Sowjanya Komatineni
On 12/6/20 10:16 AM, Lukas Wunner wrote: On Tue, Dec 01, 2020 at 01:12:44PM -0800, Sowjanya Komatineni wrote: + ret = devm_spi_register_master(>dev, master); [...] +static int tegra_qspi_remove(struct platform_device *pdev) +{ + struct spi_master *master =

Re: [PATCH v2 for-next 0/4] optimise sbitmap deferred clear

2020-12-07 Thread Jens Axboe
On 11/22/20 8:35 AM, Pavel Begunkov wrote: > sbitmap takes away some cycles for my tag-deficient test, removal of > locking in sbitmap_deferred_clear() gives +~1% throuhput. > > [1/4] and [4/4] are simple, it'd be great if someone could double > check for ordering issues for other two patches. >

[PATCH 0/1] Bluetooth: Further improvements for suspend tasks

2020-12-07 Thread Abhishek Pandit-Subedi
Hi Marcel, This patch further improves suspend handling by getting rid of the separate function used for always configuring LE scan. Instead, we only configure LE scan if it is necessary and properly set the task bits depending on what actions were taken. The previously sent-up CL was

[PATCH 1/1] Bluetooth: Remove hci_req_le_suspend_config

2020-12-07 Thread Abhishek Pandit-Subedi
Add a missing SUSPEND_SCAN_ENABLE in passive scan, remove the separate function for configuring le scan during suspend and update the request complete function to clear both enable and disable tasks. Fixes: dce0a4be8054 ("Bluetooth: Set missing suspend task bits") Reviewed-by: Alain Michaud

Re: [PATCH v3] scsi: NCR5380: Remove context check

2020-12-07 Thread Finn Thain
On Sun, 6 Dec 2020, Ahmed S. Darwish wrote: > NCR5380_poll_politely2() uses in_interrupt() and irqs_disabled() to > check if it is safe to sleep. > > Such usage in drivers is phased out and Linus clearly requested that > code which changes behaviour depending on context should either be >

[sparc64] current git kernel networking is broken

2020-12-07 Thread Anatoly Pugachev
Hello! Sorry for the late report, being 5.10-rc7 is out, but current git kernel (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git) is broken with the networking. It affects my openvpn tunnel and even internet networking. ping to a local ethernet network (i.e. gateway ping)

Re: [patch V2 4/9] softirq: Make softirq control and processing RT aware

2020-12-07 Thread Frederic Weisbecker
On Fri, Dec 04, 2020 at 06:01:55PM +0100, Thomas Gleixner wrote: > +static void __local_bh_enable(unsigned int cnt, bool unlock) > +{ > + unsigned long flags; > + int newcnt; > + > + DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt != > +

linux-next: manual merge of the v4l-dvb tree with the arm-soc tree

2020-12-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the v4l-dvb tree got a conflict in: drivers/staging/media/sunxi/cedrus/cedrus.c between commit: c6e95daab1cc ("media: cedrus: Remove the MBUS quirks") from the arm-soc tree and commits: 503dab0b8a56 ("media: cedrus: Register all codecs as

Re: [PATCH v3] ath10k: add option for chip-id based BDF selection

2020-12-07 Thread Doug Anderson
Hi, On Mon, Dec 7, 2020 at 3:23 PM Abhishek Kumar wrote: > > In some devices difference in chip-id should be enough to pick > the right BDF. Add another support for chip-id based BDF selection. > With this new option, ath10k supports 2 fallback options. > > The board name with chip-id as option

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-07 Thread Halil Pasic
On Mon, 7 Dec 2020 13:50:36 -0500 Tony Krowiak wrote: > On 12/4/20 2:05 PM, Halil Pasic wrote: > > On Fri, 4 Dec 2020 09:43:59 -0500 > > Tony Krowiak wrote: > > > +{ > +if (matrix_mdev->kvm) { > +(matrix_mdev->kvm); > +

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-07 Thread Lino Sanfilippo
Hi, On 07.12.20 at 14:52, Uwe Kleine-König wrote: > > Given that the bcm2835 driver is quite trivial I would be happy to > create a series that "fixes" the driver to round down and provide a > prototype for pwm_round_nearest for you to test on pwm-ir-tx. A willing > tester and a real use-case

Re: KVM_SET_CPUID doesn't check supported bits (was Re: [PATCH 0/6] KVM: x86: KVM_SET_SREGS.CR4 bug fixes and cleanup)

2020-12-07 Thread Jim Mattson
On Mon, Dec 7, 2020 at 3:47 AM stsp wrote: > > 07.12.2020 14:29, Paolo Bonzini пишет: > > On 07/12/20 12:24, stsp wrote: > >> It tries to enable VME among other things. > >> qemu appears to disable VME by default, > >> unless you do "-cpu host". So we have a situation where > >> the host (which

Re: [PATCH v2 00/24] exec: Move unshare_files and guarantee files_struct.count is correct

2020-12-07 Thread Al Viro
On Sat, Nov 28, 2020 at 05:12:26AM +, Al Viro wrote: > On Fri, Nov 20, 2020 at 04:05:47PM -0800, Linus Torvalds wrote: > > On Fri, Nov 20, 2020 at 3:11 PM Eric W. Biederman > > wrote: > > > > > > This set of changes cleanups of the code in exec so hopefully this code > > > will not regress

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Clemens Gruber
Hi Sven, On Mon, Dec 07, 2020 at 06:22:08PM -0500, Sven Van Asbroeck wrote: > Hi Clemens, see below. > > On Mon, Dec 7, 2020 at 2:37 PM Clemens Gruber > wrote: > > > > The switch to the atomic API goes hand in hand with a few fixes to > > previously experienced issues: > > - The duty cycle is

Re: [PATCH 2/2] xen: don't use page->lru for ZONE_DEVICE memory

2020-12-07 Thread boris . ostrovsky
On 12/7/20 8:30 AM, Juergen Gross wrote: > --- a/drivers/xen/unpopulated-alloc.c > +++ b/drivers/xen/unpopulated-alloc.c > @@ -12,7 +12,7 @@ > #include > > static DEFINE_MUTEX(list_lock); > -static LIST_HEAD(page_list); > +static struct page *page_list; next_page or next_allocated_page?

Re: [PATCH RFC 01/10] vmalloc: Add basic perm alloc implementation

2020-12-07 Thread Edgecombe, Rick P
On Fri, 2020-12-04 at 15:24 -0800, Sean Christopherson wrote: > On Fri, Nov 20, 2020, Rick Edgecombe wrote: > > +struct perm_allocation { > > + struct page **pages; > > + virtual_perm cur_perm; > > + virtual_perm orig_perm; > > + struct vm_struct *area; > > + unsigned long offset; > > +

Re: [PATCH 1/2] xen: add helpers for caching grant mapping pages

2020-12-07 Thread boris . ostrovsky
On 12/7/20 8:30 AM, Juergen Gross wrote: > Instead of having similar helpers in multiple backend drivers use > common helpers for caching pages allocated via gnttab_alloc_pages(). > > Make use of those helpers in blkback and scsiback. > > Signed-off-by: Juergen Gross Reviewed-by: Boris

[PATCH] checkpatch: Add checking if from-author sign-off is last

2020-12-07 Thread Philipp Bruegmann
Print a check if the last Signed-off-by is by the From: author. submitting-patches.rst states 'the last Signed-off-by: must always be that of the developer submitting the patch.'. This patch tries to enforce this, under the assumption that the From: author is that developer. Suggested-by: Tobias

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-07 Thread Dan Williams
On Mon, Dec 7, 2020 at 3:40 PM Matthew Wilcox wrote: > > On Mon, Dec 07, 2020 at 03:34:44PM -0800, Dan Williams wrote: > > On Mon, Dec 7, 2020 at 3:27 PM Matthew Wilcox wrote: > > > > > > On Mon, Dec 07, 2020 at 02:57:03PM -0800, ira.we...@intel.com wrote: > > > > +static inline void

Re: [f2fs-dev] [PATCH v3] f2fs: fix race of pending_pages in decompression

2020-12-07 Thread Daeho Jeong
Chao, Jaegeuk, Thanks. I'll update it as your comments. :) Eric, Decompression and verity can be executed in different thread contexts in different timing, so we need separate counts for each. We already use STEP_VERITY for non-compression case, so I think using this flag in here looks more

RE: [PATCH] scsi: fnic: fix error return code in fnic_probe()

2020-12-07 Thread Karan Tilak Kumar (kartilak)
Looks good to me. Reviewed-by: Karan Tilak Kumar Regards, Karan -Original Message- From: Zhang Changzhong Sent: Thursday, December 3, 2020 11:48 PM To: Satish Kharat (satishkh) ; Sesidhar Baddela (sebaddel) ; Karan Tilak Kumar (kartilak) ; James E.J. Bottomley ; Martin K. Petersen

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-07 Thread Matthew Wilcox
On Mon, Dec 07, 2020 at 03:34:44PM -0800, Dan Williams wrote: > On Mon, Dec 7, 2020 at 3:27 PM Matthew Wilcox wrote: > > > > On Mon, Dec 07, 2020 at 02:57:03PM -0800, ira.we...@intel.com wrote: > > > +static inline void memcpy_page(struct page *dst_page, size_t dst_off, > > > +

Re: Ftrace startup test and boot-time tracing

2020-12-07 Thread Steven Rostedt
On Tue, 8 Dec 2020 08:26:49 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Mon, 7 Dec 2020 15:25:40 -0500 > Steven Rostedt wrote: > > > On Mon, 7 Dec 2020 23:02:59 +0900 > > Masami Hiramatsu wrote: > > > > > There will be the 2 options, one is to change kconfig so that user can not > >

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-07 Thread Dan Williams
On Mon, Dec 7, 2020 at 3:27 PM Matthew Wilcox wrote: > > On Mon, Dec 07, 2020 at 02:57:03PM -0800, ira.we...@intel.com wrote: > > +static inline void memcpy_page(struct page *dst_page, size_t dst_off, > > +struct page *src_page, size_t src_off, > > +

Re: [PATCH v2 01/24] exec: Move unshare_files to fix posix file locking during exec

2020-12-07 Thread Al Viro
On Mon, Dec 07, 2020 at 05:07:55PM -0600, Eric W. Biederman wrote: > My mistake. I missed that the actual code was highly optimized and only > safe in the presence of an unshared files struct. That's a polite way to spell "overoptimized for no good reason" ;-) > What I saw and what I thought

Re: [PATCH next v3 1/3] printk: inline log_output(),log_store() in vprintk_store()

2020-12-07 Thread Joe Perches
On Mon, 2020-12-07 at 23:26 +0106, John Ogness wrote: > In preparation for removing logbuf_lock, inline log_output() > and log_store() into vprintk_store(). This will simplify dealing > with the various code branches and fallbacks that are possible. One nicety would be to add various pr_

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

2020-12-07 Thread Steven Rostedt
Hi Masami, You had comments on this patch for v2. Is this one fine for you? -- Steve On Mon, 26 Oct 2020 10:06:09 -0500 Tom Zanussi wrote: > From: Masami Hiramatsu > > Delegate command parsing to each create function so that the > command syntax can be customized. > > This requires

Re: [PATCH net v1 2/2] net: dsa: microchip: improve port count comments

2020-12-07 Thread Andrew Lunn
On Sat, Dec 05, 2020 at 10:28:14AM -0500, Sven Van Asbroeck wrote: > From: Sven Van Asbroeck > > Port counts in microchip dsa drivers can be quite confusing: > on the ksz8795, ksz_chip_data->port_cnt excludes the cpu port, > yet on the ksz9477, it includes the cpu port. > > Add comments to

Re: [PATCH v2 15/24] proc/fd: In proc_readfd_common use task_lookup_next_fd_rcu

2020-12-07 Thread Al Viro
On Fri, Nov 20, 2020 at 05:14:32PM -0600, Eric W. Biederman wrote: > When discussing[1] exec and posix file locks it was realized that none > of the callers of get_files_struct fundamentally needed to call > get_files_struct, and that by switching them to helper functions > instead it will both

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-07 Thread Matthew Wilcox
On Mon, Dec 07, 2020 at 02:57:03PM -0800, ira.we...@intel.com wrote: > +static inline void memcpy_page(struct page *dst_page, size_t dst_off, > +struct page *src_page, size_t src_off, > +size_t len) > +{ > + char *dst =

Re: Ftrace startup test and boot-time tracing

2020-12-07 Thread Masami Hiramatsu
Hi Steve, On Mon, 7 Dec 2020 15:25:40 -0500 Steven Rostedt wrote: > On Mon, 7 Dec 2020 23:02:59 +0900 > Masami Hiramatsu wrote: > > > There will be the 2 options, one is to change kconfig so that user can not > > select FTRACE_STARTUP_TEST if BOOTTIME_TRACING=y, another is to provide > > a

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Clemens Gruber
On Mon, Dec 07, 2020 at 05:34:58PM -0500, Sven Van Asbroeck wrote: > Hi Uwe, > > On Mon, Dec 7, 2020 at 5:00 PM Uwe Kleine-König > wrote: > > > > This is not acceptable, if you have two PWM outputs and a consumer > > modifies one of them the other must change. So if this chip only > > supports a

[PATCH v3] ath10k: add option for chip-id based BDF selection

2020-12-07 Thread Abhishek Kumar
In some devices difference in chip-id should be enough to pick the right BDF. Add another support for chip-id based BDF selection. With this new option, ath10k supports 2 fallback options. The board name with chip-id as option looks as follows board name 'bus=snoc,qmi-board-id=ff,qmi-chip-id=320'

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Sven Van Asbroeck
Hi Clemens, see below. On Mon, Dec 7, 2020 at 2:37 PM Clemens Gruber wrote: > > The switch to the atomic API goes hand in hand with a few fixes to > previously experienced issues: > - The duty cycle is no longer lost after disable/enable (previously the > OFF registers were cleared in disable

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-07 Thread Jim Mattson
On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > > Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL > MSR. This feature is identified via CPUID 0x800A_EDX[20]. When present, > the SPEC_CTRL MSR is automatically virtualized and no longer requires > hypervisor

Re: [PATCH] x86/kprobes: Restore BTF if the single-stepping is cancelled

2020-12-07 Thread Steven Rostedt
Did this patch fall through the cracks? -- Steve On Wed, 28 Oct 2020 23:31:10 +0900 Masami Hiramatsu wrote: > Fix to restore BTF if single-stepping causes a page fault and > it is cancelled. > > Usually the BTF flag was restored when the single stepping is done > (in resume_execution()).

Re: [PATCH 1/3] ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.

2020-12-07 Thread Connor McAdams
Will do, thanks for the info. On Mon, Dec 7, 2020 at 3:58 AM Takashi Iwai wrote: > > On Mon, 07 Dec 2020 09:46:13 +0100, > Connor McAdams wrote: > > > > The Windows driver sets the pincfg for the AE-5's rear-headphone to > > report as a microphone. This causes issues with Pulseaudio mistakenly >

Re: [PATCH] docs: trace: fix event state structure name

2020-12-07 Thread Steven Rostedt
On Fri, 06 Nov 2020 14:47:46 -0600 Tom Zanussi wrote: > Hi Artem, > > On Wed, 2020-11-04 at 14:21 +0200, Artem Bityutskiy wrote: > > From: Artem Bityutskiy > > > > The documentation refers to a non-existent 'struct synth_trace_state' > > structure. The correct name is 'struct

Re: pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid

2020-12-07 Thread Bjorn Helgaas
On Mon, Dec 07, 2020 at 09:44:20AM -0800, Kuppuswamy, Sathyanarayanan wrote: > On 12/7/20 5:08 AM, Paul Menzel wrote: > > [Bringing the issue up on the list in case the Linux Bugzilla is not > > monitored/used.] > > > > > > Dear Linux folks, > > > > > > On Intel Tiger Lake Dell laptop, Linux

Re: [PATCH v3] scsi: ufs: Remove pre-defined initial voltage values of device powers

2020-12-07 Thread Martin K. Petersen
Stanley, > UFS specficication allows different VCC configurations for UFS devices, > for example, Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] dt-bindings: Correct GV11B GPU register sizes

2020-12-07 Thread Rob Herring
On Tue, 24 Nov 2020 12:18:42 +, Jon Hunter wrote: > Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU") > added the GV11B GPU device-tree bindings information but incorrectly > added an additional 0 to the size of the addresses in the example. > > Fixes: 90a09178f309

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Clemens Gruber
On Mon, Dec 07, 2020 at 11:00:25PM +0100, Uwe Kleine-König wrote: > On Mon, Dec 07, 2020 at 08:36:27PM +0100, Clemens Gruber wrote: > > The switch to the atomic API goes hand in hand with a few fixes to > > previously experienced issues: > > - The duty cycle is no longer lost after disable/enable

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-07 Thread Sean Christopherson
On Mon, Dec 07, 2020, Babu Moger wrote: > Newer AMD processors have a feature to virtualize the use of the > SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically > virtualized and no longer requires hypervisor intervention. Hrm, is MSR_AMD64_VIRT_SPEC_CTRL only for SSBD? Should that

Re: [PATCH v2 3/3] dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema

2020-12-07 Thread Rob Herring
On Fri, Dec 04, 2020 at 09:42:36AM +0800, Zhen Lei wrote: > Convert the Hisilicon reset controller binding to DT schema format using > json-schema. > > Signed-off-by: Zhen Lei > --- > .../bindings/reset/hisilicon,hi3660-reset.txt | 44 - >

[PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-07 Thread Ashish Kalra
From: Ashish Kalra For SEV, all DMA to and from guest has to use shared (un-encrypted) pages. SEV uses SWIOTLB to make this happen without requiring changes to device drivers. However, depending on workload being run, the default 64MB of SWIOTLB might not be enough and SWIOTLB may run out of

Re: [PATCH v2 01/22] x86/fpu/xstate: Modify area init helper prototypes to access all the possible areas

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 11:03:27PM +, Bae, Chang Seok wrote: > It was considered to be concise to represent, but it looks to be > unreadable. Not only unreadable but actively confusing - there *is* a "task" pointer all around the kernel which we use for struct task_struct *. > (I suspect

Re: [PATCH v1 0/4] scsi: ufs: Cleanup phy_initialization vop

2020-12-07 Thread Martin K. Petersen
Stanley, > This series simply cleans up UFS vops and shall not change any > functionality. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 1/3] reset: hisilicon: correct vendor prefix

2020-12-07 Thread Rob Herring
On Fri, Dec 04, 2020 at 09:42:34AM +0800, Zhen Lei wrote: > The vendor prefix of "Hisilicon Limited" is "hisilicon", it is clearly > stated in "vendor-prefixes.yaml". Yes, but you can't fix this as changing it breaks compability between DTBs and kernels. hisi has to be documented and marked

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-07 Thread Jim Mattson
On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > > Newer AMD processors have a feature to virtualize the use of the > SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically > virtualized and no longer requires hypervisor intervention. > > This feature is detected via CPUID function

Re: [PATCH v3] drivers: gpio: add virtio-gpio guest driver

2020-12-07 Thread Randy Dunlap
On 12/7/20 12:48 PM, Enrico Weigelt, metux IT consult wrote: > Introducing new GPIO driver for virtual GPIO devices via virtio. Introduce > > The driver allows routing GPIO control into VM guests, eg. brigding > virtual gpios to specific host gpios, or attaching simulators for > automatic

Re: [PATCH v2 1/1] dt-bindings: display: eliminate yamllint warnings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 12:48:30 +0800, Zhen Lei wrote: > Eliminate the following yamllint warnings: > ./Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > :52:9: [warning] wrong indentation: expected 6 but found 8 (indentation) > >

Re: [PATCH 1/1] dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 12:55:27 +0800, Zhen Lei wrote: > Eliminate the following yamllint warnings: > ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml > :32:13:[warning] wrong indentation: expected 14 but found 12 (indentation) > :35:9: [warning] wrong indentation: expected 10 but found 8

Re: [PATCH v2 01/22] x86/fpu/xstate: Modify area init helper prototypes to access all the possible areas

2020-12-07 Thread Bae, Chang Seok
> On Dec 8, 2020, at 02:12, Borislav Petkov wrote: > > On Thu, Nov 19, 2020 at 03:32:36PM -0800, Chang S. Bae wrote: > > The xstate infrastructure is not flexible to support dynamic areas in > > task->fpu. > > task->fpu? It was considered to be concise to represent, but it looks to be

Re: [PATCH 1/1] dt-bindings: mediatek: mt8192: eliminate yamllint warnings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 11:14:30 +0800, Zhen Lei wrote: > Eliminate the following yamllint warnings: > ./Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml > :10:4: [warning] wrong indentation: expected 2 but found 3 (indentation) > > Signed-off-by: Zhen Lei > --- >

Re: [PATCH 1/1] dt-bindings: mmc: eliminate yamllint warnings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 11:26:26 +0800, Zhen Lei wrote: > Eliminate the following yamllint warnings: > ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml > :20:9: [warning] wrong indentation: expected 10 but found 8 (indentation) > :30:9: [warning] wrong indentation: expected 10 but found 8

Re: [PATCH 2/4] dt-bindings: media: nokia, smia: eliminate yamllint warnings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 12:23:58 +0800, Zhen Lei wrote: > Eliminate the following yamllint warnings: > ./Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml > :4:1: [error] missing document start "---" (document-start) > :29:9: [warning] wrong indentation: expected 10 but found 8 (indentation) >

[PROBLEM] kmemleak: 2 new suspected memory leaks

2020-12-07 Thread Jeffrin Jose T
hello, kmemleaks found. see related information below... x--x> cat /sys/kernel/debug/kmemleak unreferenced object 0x8881105d2348 (size 8): comm "kunit_try_catch", pid 139, jiffies 4294898877 (age 6055.628s) hex dump (first 8 bytes):

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Alexei Starovoitov
On Mon, Dec 7, 2020 at 2:53 PM Michal Kubecek wrote: > > On Mon, Dec 07, 2020 at 02:44:22PM -0800, Alexei Starovoitov wrote: > > On Mon, Dec 7, 2020 at 10:36 AM Justin Forbes wrote: > > > > > > On Mon, Dec 7, 2020 at 2:16 AM Michal Kubecek wrote: > > > > > > > > On Thu, Nov 12, 2020 at

Re: [PATCH 5/5] dt-bindings: mfd: correct the node name of the panel led

2020-12-07 Thread Rob Herring
On Fri, 04 Dec 2020 17:38:13 +0800, Zhen Lei wrote: > According to the definition in leds-pwm.yaml, the node name of each led > must match the regular expression "^led(-[0-9a-f]+)?$". "led" or "led-" > followed by a decimal or hexadecimal ID number. > > Signed-off-by: Zhen Lei > --- >

Re: [PATCH 4/5] dt-bindings: devapc: add the required property 'additionalProperties'

2020-12-07 Thread Rob Herring
On Fri, 04 Dec 2020 17:38:12 +0800, Zhen Lei wrote: > When I do dt_binding_check for any YAML file, below wanring is always > reported: > > xxx/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property > xxx/soc/mediatek/devapc.yaml: ignoring, error in schema: > warning: no schema

Re: [PATCH 3/5] dt-bindings: soc: add the required property 'additionalProperties'

2020-12-07 Thread Rob Herring
On Fri, 04 Dec 2020 17:38:11 +0800, Zhen Lei wrote: > When I do dt_binding_check for any YAML file, below wanring is always > reported: > > xxx/soc/litex/litex,soc-controller.yaml: 'additionalProperties' is a required > property > xxx/soc/litex/litex,soc-controller.yaml: ignoring, error in

Re: [PATCH 2/5] dt-bindings: serial: add the required property 'additionalProperties'

2020-12-07 Thread Rob Herring
On Fri, 04 Dec 2020 17:38:10 +0800, Zhen Lei wrote: > When I do dt_binding_check for any YAML file, below wanring is always > reported: > > xxx/serial/litex,liteuart.yaml: 'additionalProperties' is a required property > xxx/serial/litex,liteuart.yaml: ignoring, error in schema: > warning: no

Re: [PATCH v2 10/18] dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema

2020-12-07 Thread Cristian Ciocaltea
On Mon, Dec 07, 2020 at 04:12:14PM -0600, Rob Herring wrote: > On Fri, 20 Nov 2020 01:56:04 +0200, Cristian Ciocaltea wrote: > > Convert the Actions Semi Owl I2C DT binding to a YAML schema for > > enabling DT validation. > > > > Additionally, add a new compatible string corresponding to the I2C

[PATCH V2 1/2] mm/highmem: Remove deprecated kmap_atomic

2020-12-07 Thread ira . weiny
From: Ira Weiny kmap_atomic() is being deprecated in favor of kmap_local_page(). Replace the uses of kmap_atomic() within the highmem code. Signed-off-by: Ira Weiny --- include/linux/highmem.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git

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