Re: [PATCH] pinctrl: actions: Add the platform dependency to drivers

2021-01-22 Thread Linus Walleij
On Thu, Jan 21, 2021 at 7:26 AM Manivannan Sadhasivam wrote: > The Actions Semi pinctrl drivers are a mix of both ARM32 and ARM64 > platforms. So let's add the correct platform dependency to avoid them > being selected on the other. > > Signed-off-by: Manivannan Sadhasivam Are you not opting ou

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Catalin Marinas
On Thu, Jan 21, 2021 at 04:39:40PM +, Vincenzo Frascino wrote: > diff --git a/include/linux/kasan.h b/include/linux/kasan.h > index bb862d1f0e15..b0a1d9dfa85c 100644 > --- a/include/linux/kasan.h > +++ b/include/linux/kasan.h > @@ -351,6 +351,8 @@ static inline void *kasan_reset_tag(const void

Re: [PATCH v2] PCI: Re-enable downstream port LTR if it was previously enabled

2021-01-22 Thread Bjorn Helgaas
On Fri, Jan 22, 2021 at 03:03:11PM +0800, Mingchuang Qiao wrote: > On Thu, 2021-01-21 at 16:31 -0600, Bjorn Helgaas wrote: > > [+cc Alex and Mingchuang et al from > > https://lore.kernel.org/r/20210112072739.31624-1-mingchuang.q...@mediatek.com] > > > > On Tue, Jan 19, 2021 at 04:14:10PM +0300, Mi

Re: [PATCH] pinctrl: clarify #pinctrl-cells for pinctrl-single,pins

2021-01-22 Thread Linus Walleij
On Wed, Jan 20, 2021 at 6:04 AM Drew Fustini wrote: > Document that #pinctrl-cells can be 1 or 2 for pinctrl-single,pins > > Fixes: 27c90e5e48d0 ("ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2") > Reported-by: Emmanuel Vadot > Link: > https://lore.kernel.org/linux-gpio/20210115190201.9

Re: [PATCH 1/1] iommu/arm-smmu-v3: add support for BBML

2021-01-22 Thread Leizhen (ThunderTown)
On 2021/1/22 21:00, Robin Murphy wrote: > On 2021-01-22 12:51, Will Deacon wrote: >> On Thu, Nov 26, 2020 at 11:42:30AM +0800, Zhen Lei wrote: >>> When changing from a set of pages/smaller blocks to a larger block for an >>> address, the software should follow the sequence of BBML processing. >>

Re: [PATCH v2 08/12] ASoC: arizona-jack: convert into a helper library for codec drivers

2021-01-22 Thread Charles Keepax
On Thu, Jan 21, 2021 at 05:55:00PM +0100, Hans de Goede wrote: > On 1/19/21 10:51 AM, Richard Fitzgerald wrote: > > On 18/01/2021 17:24, Andy Shevchenko wrote: > >> On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > 1. Keep the code as is, live with the debugfs error. This might be > best for

Re: [PATCH v3 0/5] Scan for an idle sibling in a single pass

2021-01-22 Thread Vincent Guittot
On Fri, 22 Jan 2021 at 11:14, Mel Gorman wrote: > > On Fri, Jan 22, 2021 at 10:30:52AM +0100, Vincent Guittot wrote: > > Hi Mel, > > > > On Tue, 19 Jan 2021 at 13:02, Mel Gorman > > wrote: > > > > > > On Tue, Jan 19, 2021 at 12:33:04PM +0100, Vincent Guittot wrote: > > > > On Tue, 19 Jan 2021 at

[PATCH] regulator: Fix lockdep warning resolving supplies

2021-01-22 Thread Mark Brown
With commit eaa7995c529b54 (regulator: core: avoid regulator_resolve_supply() race condition) we started holding the rdev lock while resolving supplies, an operation that requires holding the regulator_list_mutex. This results in lockdep warnings since in other places we take the list mutex then th

Re: [PATCH v6 3/6] tracing: Update synth command errors

2021-01-22 Thread Masami Hiramatsu
Hi Tom, On Thu, 21 Jan 2021 11:01:06 -0600 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 fo

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 1:19 PM, Catalin Marinas wrote: > On Thu, Jan 21, 2021 at 04:39:40PM +, Vincenzo Frascino wrote: >> diff --git a/include/linux/kasan.h b/include/linux/kasan.h >> index bb862d1f0e15..b0a1d9dfa85c 100644 >> --- a/include/linux/kasan.h >> +++ b/include/linux/kasan.h >> @@ -351,6 +351

Re: [PATCHv2] lockdep: report broken irq restoration

2021-01-22 Thread Peter Zijlstra
On Fri, Jan 22, 2021 at 11:06:25AM +, Mark Rutland wrote: > Hi all, > > Any thoughts on this? I'd like to get this in soon if we could as it'll > help to flush out any remaining issues that are liable to get in the way > of planned rework for arm64 and x86. > Ah, I actually have it queued, I

Re: [PATCH 2/2] spidev: Add cisco device compatible

2021-01-22 Thread Mark Brown
On Thu, Jan 21, 2021 at 03:12:36PM -0800, Daniel Walker wrote: > Add compatible string for Cisco device present on the Cisco Petra > platform. I'm missing patch 1 of this series, what's the story with dependencies? signature.asc Description: PGP signature

Re: [PATCH 1/1] iommu/arm-smmu-v3: add support for BBML

2021-01-22 Thread Will Deacon
On Fri, Jan 22, 2021 at 09:21:20PM +0800, Leizhen (ThunderTown) wrote: > On 2021/1/22 21:00, Robin Murphy wrote: > > On 2021-01-22 12:51, Will Deacon wrote: > >> On Thu, Nov 26, 2020 at 11:42:30AM +0800, Zhen Lei wrote: > >>>   -    tblp = ptep - ARM_LPAE_LVL_IDX(iova, lvl, data); > >>> -  

Re: [PATCH v2 13/15] dt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts

2021-01-22 Thread Dave Stevenson
Hi Maxime On Mon, 11 Jan 2021 at 14:23, Maxime Ripard wrote: > > The CEC and hotplug interrupts were missing when that binding was > introduced, let's add them in now that we've figured out how it works. > > Signed-off-by: Maxime Ripard Looks reasonable to me, but I'm not a DT bindings expert

Re: [RESEND PATCH v3 2/2] usb: dwc3: Add driver for Xilinx platforms

2021-01-22 Thread Michael Grzeschik
On Fri, Jan 22, 2021 at 01:06:22PM +, Manish Narani wrote: Hi Michael, -Original Message- From: Michael Grzeschik Sent: Friday, January 22, 2021 1:39 PM To: Manish Narani Cc: devicet...@vger.kernel.org; ker...@pengutronix.de; ba...@kernel.org; gre...@linuxfoundation.org; linux-...

Re: [PATCH] arm64: kprobes: Fix Uexpected kernel BRK exception at EL1

2021-01-22 Thread Masami Hiramatsu
On Fri, 22 Jan 2021 11:09:09 + Qais Yousef wrote: > I was hitting the below panic continuously when attaching kprobes to > scheduler functions > > [ 159.045212] Unexpected kernel BRK exception at EL1 > [ 159.053753] Internal error: BRK handler: f206 [#1] PREEMPT SMP >

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 1:27 PM, Vincenzo Frascino wrote: >> It looks like the original kasan_report() prototype is declared in two >> places (second one in mm/kasan/kasan.h). I'd remove the latter and try >> to have a consistent approach for kasan_report() and >> kasan_report_async(). >> > Ok, I will remove

Re: [PATCH v3 2/4] drm/qxl: unpin release objects

2021-01-22 Thread Gerd Hoffmann
On Fri, Jan 22, 2021 at 09:13:42AM +0100, Thomas Zimmermann wrote: > Hi > > Am 20.01.21 um 12:12 schrieb Gerd Hoffmann: > > Balances the qxl_create_bo(..., pinned=true, ...); > > call in qxl_release_bo_alloc(). > > > > Signed-off-by: Gerd Hoffmann > > --- > > drivers/gpu/drm/qxl/qxl_release.c

Re: [PATCH v2 08/12] ASoC: arizona-jack: convert into a helper library for codec drivers

2021-01-22 Thread Hans de Goede
Hi, On 1/22/21 2:04 PM, Charles Keepax wrote: > On Fri, Jan 22, 2021 at 01:23:44PM +0100, Hans de Goede wrote: >> On 1/22/21 12:26 PM, Charles Keepax wrote: >>> On Thu, Jan 21, 2021 at 05:55:00PM +0100, Hans de Goede wrote: On 1/19/21 10:51 AM, Richard Fitzgerald wrote: > On 18/01/2021 17

Re: [RFC PATCH v3 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-01-22 Thread Cristian Marussi
Hi Jyoti, a few remarks below. On Thu, Jan 21, 2021 at 11:21:47PM +, Jyoti Bhayana wrote: > This change provides ARM SCMI Protocol based IIO device. > This driver provides support for Accelerometer and Gyroscope using > new SCMI Sensor Protocol defined by the upcoming SCMIv3.0 I'd say: new

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-22 Thread Mark Brown
On Thu, Jan 21, 2021 at 10:24:10PM -0800, Alistair Francis wrote: > On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > +static int get_vcom_voltage_op(struct regulator_dev *rdev) > > > +{ > > > + int ret = get_vcom_vol

Re: [PATCH] ASoC: qcom: Fix number of HDMI RDMA channels on sc7180

2021-01-22 Thread Mark Brown
On Fri, Jan 22, 2021 at 04:56:21PM +0530, Srinivasa Rao Mandadapu wrote: > Hi Mark and Boyd, Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in

Re: [PATCH v3] regulator: Make regulator_sync_voltage() usable by coupled regulators

2021-01-22 Thread Mark Brown
On Fri, Jan 22, 2021 at 01:16:49AM +0300, Dmitry Osipenko wrote: > + /* balance only if there are regulators coupled */ > + if (rdev->coupling_desc.n_coupled > 1) { > + ret = regulator_balance_voltage(rdev, PM_SUSPEND_ON); > + goto out; > + } > + > ret = _

Re: [PATCH v2 0/5] Optimize iommu_map_sg() performance

2021-01-22 Thread Robin Murphy
On 2021-01-21 21:30, isa...@codeaurora.org wrote: On 2021-01-12 08:00, Robin Murphy wrote: On 2021-01-11 14:54, Isaac J. Manjarres wrote: The iommu_map_sg() code currently iterates through the given scatter-gather list, and in the worst case, invokes iommu_map() for each element in the scatter-

Re: [PATCH v1] misc: pti: Remove driver for deprecated platform

2021-01-22 Thread Alexander Shishkin
Andy Shevchenko writes: > Intel Moorestown and Medfield are quite old Intel Atom based > 32-bit platforms, which were in limited use in some Android phones, > tablets and consumer electronics more than eight years ago. > > There are no bugs or problems ever reported outside from Intel > for break

Re: [PATCH 1/2] dt-bindings: arm-smmu-qcom: Add Qualcomm SC8180X compatible

2021-01-22 Thread Will Deacon
On Wed, 20 Jan 2021 17:40:04 -0800, Bjorn Andersson wrote: > Add compatible for the ARM SMMU found in the Qualcomm SC8180x platform. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/2] dt-bindings: arm-smmu-qcom: Add Qualcomm SC8180X compatible https://git.kernel.org/will/c/9cde12ba

Re: [PATCH 1/1] iommu/arm-smmu-v3: Use DEFINE_RES_MEM() to simplify code

2021-01-22 Thread Will Deacon
On Fri, 22 Jan 2021 21:14:48 +0800, Zhen Lei wrote: > No functional change. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-v3: Use DEFINE_RES_MEM() to simplify code https://git.kernel.org/will/c/932bc8c7d742 Cheers, -- Will https://fixes.arm64.dev https://next

Re: [PATCHv2] lockdep: report broken irq restoration

2021-01-22 Thread Mark Rutland
On Fri, Jan 22, 2021 at 02:24:43PM +0100, Peter Zijlstra wrote: > On Fri, Jan 22, 2021 at 11:06:25AM +, Mark Rutland wrote: > > Hi all, > > > > Any thoughts on this? I'd like to get this in soon if we could as it'll > > help to flush out any remaining issues that are liable to get in the way >

Re: [PATCH 2/2] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU

2021-01-22 Thread Manivannan Sadhasivam
On Fri, Jan 22, 2021 at 01:14:49PM +, Will Deacon wrote: > On Tue, Jan 12, 2021 at 09:22:23PM -0600, Rob Herring wrote: > > On Thu, 07 Jan 2021 20:01:18 +0530, Manivannan Sadhasivam wrote: > > > Add devicetree binding for Qualcomm SDX55 SMMU. > > > > > > Cc: Will Deacon > > > Cc: Robin Murphy

Re: [PATCH 1/2] dt-bindings: arm-smmu: Add sm8350 compatible string

2021-01-22 Thread Will Deacon
On Fri, 15 Jan 2021 14:33:21 +0530, Vinod Koul wrote: > Add compatible string for sm8350 iommu to documentation. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/2] dt-bindings: arm-smmu: Add sm8350 compatible string https://git.kernel.org/will/c/70b5b6a6daea [2/2] iommu: arm-smmu-i

Re: [PATCH] pinctrl: actions: Add the platform dependency to drivers

2021-01-22 Thread Manivannan Sadhasivam
On Fri, Jan 22, 2021 at 02:19:07PM +0100, Linus Walleij wrote: > On Thu, Jan 21, 2021 at 7:26 AM Manivannan Sadhasivam > wrote: > > > The Actions Semi pinctrl drivers are a mix of both ARM32 and ARM64 > > platforms. So let's add the correct platform dependency to avoid them > > being selected on

[GIT PULL] perf tools fixes for v5.11, 2nd batch

2021-01-22 Thread Arnaldo Carvalho de Melo
Hi Linus, Please consider pulling, Best regards, - Arnaldo The following changes since commit 9f29bd8b2e7132b409178d1367dae1813017bd0e: Merge tag 'fs_for_v5.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs (2021-01-21 11:45:40 -0800) are available in the Git

[tip: objtool/urgent] objtool: Don't fail on missing symbol table

2021-01-22 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the objtool/urgent branch of tip: Commit-ID: 1d489151e9f9d1647110277ff77282fe4d96d09b Gitweb: https://git.kernel.org/tip/1d489151e9f9d1647110277ff77282fe4d96d09b Author:Josh Poimboeuf AuthorDate:Thu, 14 Jan 2021 16:14:01 -06:00 Com

[tip: objtool/urgent] objtool: Don't fail the kernel build on fatal errors

2021-01-22 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the objtool/urgent branch of tip: Commit-ID: 655cf86548a3938538642a6df27dd359e13c86bd Gitweb: https://git.kernel.org/tip/655cf86548a3938538642a6df27dd359e13c86bd Author:Josh Poimboeuf AuthorDate:Thu, 14 Jan 2021 16:32:42 -06:00 Com

Re: [PATCH v3 2/4] drm/qxl: unpin release objects

2021-01-22 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 2:35 PM Gerd Hoffmann wrote: > > On Fri, Jan 22, 2021 at 09:13:42AM +0100, Thomas Zimmermann wrote: > > Hi > > > > Am 20.01.21 um 12:12 schrieb Gerd Hoffmann: > > > Balances the qxl_create_bo(..., pinned=true, ...); > > > call in qxl_release_bo_alloc(). > > > > > > Signed-o

Re: [PATCH v2 07/12] ASoC: arizona-jack: Use arizona->dev for runtime-pm

2021-01-22 Thread Hans de Goede
Hi, On 1/22/21 10:38 AM, Andy Shevchenko wrote: > On Fri, Jan 22, 2021 at 2:03 AM Hans de Goede wrote: >> On 1/18/21 1:02 PM, Andy Shevchenko wrote: >>> On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > > ... > >>> Can you elaborate switchings from get() to get_sync() in few places >> >>

[PATCH v6 0/4] arm64: ARMv8.5-A: MTE: Add async mode support

2021-01-22 Thread Vincenzo Frascino
This patchset implements the asynchronous mode support for ARMv8.5-A Memory Tagging Extension (MTE), which is a debugging feature that allows to detect with the help of the architecture the C and C++ programmatic memory errors like buffer overflow, use-after-free, use-after-return, etc. MTE is bui

[PATCH v6 3/4] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
KASAN provides an asynchronous mode of execution. Add reporting functionality for this mode. Cc: Dmitry Vyukov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Andrey Konovalov Reviewed-by: Andrey Konovalov Signed-off-by: Vincenzo Frascino --- include/linux/kasan.h | 2 ++ mm/kasan/report.

[PATCH v6 1/4] arm64: mte: Add asynchronous mode support

2021-01-22 Thread Vincenzo Frascino
MTE provides an asynchronous mode for detecting tag exceptions. In particular instead of triggering a fault the arm64 core updates a register which is checked by the kernel after the asynchronous tag check fault has occurred. Add support for MTE asynchronous mode. The exception handling mechanism

[PATCH v6 4/4] arm64: mte: Enable async tag check fault

2021-01-22 Thread Vincenzo Frascino
MTE provides a mode that asynchronously updates the TFSR_EL1 register when a tag check exception is detected. To take advantage of this mode the kernel has to verify the status of the register at: 1. Context switching 2. Return to user/EL0 (Not required in entry from EL0 since the kernel did

Re: [PATCH v7 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-22 Thread Rob Herring
On Thu, 21 Jan 2021 16:56:58 +0100, Mike Looijmans wrote: > This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, > the accelerometer part. > > Signed-off-by: Mike Looijmans > > --- > > Changes in v7: > Add additionalProperties > Change bmi088_accel to bmi088-accel > Add interr

[PATCH v6 2/4] kasan: Add KASAN mode kernel parameter

2021-01-22 Thread Vincenzo Frascino
Architectures supported by KASAN_HW_TAGS can provide a sync or async mode of execution. On an MTE enabled arm64 hw for example this can be identified with the synchronous or asynchronous tagging mode of execution. In synchronous mode, an exception is triggered if a tag check fault occurs. In asynch

[PATCH v5 5/5] mm: remove unneeded local variable in free_area_init_core

2021-01-22 Thread Baoquan He
Local variable 'zone_start_pfn' is not needed since there's only one call site in free_area_init_core(). Let's remove it and pass zone->zone_start_pfn directly to init_currently_empty_zone(). Signed-off-by: Baoquan He Reviewed-by: Mike Rapoport Reviewed-by: David Hildenbrand --- mm/page_alloc.

[PATCH v5 4/5] mm: simplify parameter of setup_usemap()

2021-01-22 Thread Baoquan He
Parameter 'zone' has got needed information, let's remove other unnecessary parameters. Signed-off-by: Baoquan He Reviewed-by: Mike Rapoport Reviewed-by: David Hildenbrand --- mm/page_alloc.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/mm/page_alloc.c

[PATCH v5 2/5] mm: rename memmap_init() and memmap_init_zone()

2021-01-22 Thread Baoquan He
The current memmap_init_zone() only handles memory region inside one zone, actually memmap_init() does the memmap init of one zone. So rename both of them accordingly. Signed-off-by: Baoquan He --- arch/ia64/mm/init.c | 6 +++--- include/linux/mm.h | 4 ++-- mm/memory_hotplug.c | 2 +- mm/page_

[PATCH v5 3/5] mm: simplify parater of function memmap_init_zone()

2021-01-22 Thread Baoquan He
As David suggested, simply passing 'struct zone *zone' is enough. We can get all needed information from 'struct zone*' easily. Suggested-by: David Hildenbrand Signed-off-by: Baoquan He --- arch/ia64/mm/init.c | 12 +++- include/linux/mm.h | 3 +-- mm/page_alloc.c | 24 +++

[PATCH v5 1/5] mm: fix prototype warning from kernel test robot

2021-01-22 Thread Baoquan He
Kernel test robot calling make with 'W=1' is triggering warning like below for memmap_init_zone() function. mm/page_alloc.c:6259:23: warning: no previous prototype for 'memmap_init_zone' [-Wmissing-prototypes] 6259 | void __meminit __weak memmap_init_zone(unsigned long size, int nid, |

[PATCH v5 0/5] mm: clean up names and parameters of memmap_init_xxxx functions

2021-01-22 Thread Baoquan He
This patchset is correcting inappropriate function names of memmap_init_xxx, and simplify parameters of functions in the code flow. And also fix a prototype warning reported by lkp. This is based on the latest next/master. V4 can be found here: https://lore.kernel.org/linux-mm/20210120045213.6571

Re: [PATCH v5 1/2] dt-bindings: pinctrl: qcom: Add SM8350 pinctrl bindings

2021-01-22 Thread Rob Herring
On Thu, 21 Jan 2021 22:47:46 +0530, Vinod Koul wrote: > Add device tree binding Documentation details for Qualcomm SM8350 > pinctrl driver. > > Signed-off-by: Vinod Koul > --- > .../bindings/pinctrl/qcom,sm8350-pinctrl.yaml | 146 ++ > 1 file changed, 146 insertions(+) > create

Re: [PATCH v5 4/8] dt-bindings: regulator: Add document for MT6359 regulator

2021-01-22 Thread Rob Herring
On Fri, 22 Jan 2021 19:19:37 +0800, Hsin-Hsiung Wang wrote: > add dt-binding document for MediaTek MT6359 PMIC > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v4: fix yamllint errors in dt-binding document. > --- > .../bindings/regulator/mt6359-regulator.yaml | 169 ++

Re: [PATCH v8 8/8] dt-bindings: thermal: tsens: Document ipq8064 bindings

2021-01-22 Thread Rob Herring
On Thu, 21 Jan 2021 20:18:53 +0100, Ansuel Smith wrote: > Document the use of bindings used for msm8960 tsens based devices. > msm8960 use the same gcc regs and is set as a child of the qcom gcc. > > Signed-off-by: Ansuel Smith > --- > .../bindings/thermal/qcom-tsens.yaml | 75 +

[PATCH v18 03/10] fs/ntfs3: Add bitmap

2021-01-22 Thread Konstantin Komarov
This adds bitmap Signed-off-by: Konstantin Komarov --- fs/ntfs3/bitfunc.c | 135 fs/ntfs3/bitmap.c | 1506 2 files changed, 1641 insertions(+) create mode 100644 fs/ntfs3/bitfunc.c create mode 100644 fs/ntfs3/bitmap.c diff --git a/fs/ntfs3/b

[PATCH v18 06/10] fs/ntfs3: Add compression

2021-01-22 Thread Konstantin Komarov
This patch adds different types of NTFS-applicable compressions: - lznt - lzx - xpress Latter two (lzx, xpress) implement Windows Compact OS feature and were taken from ntfs-3g system comression plugin authored by Eric Biggers (https://github.com/ebiggers/ntfs-3g-system-compression) which were port

[PATCH v18 08/10] fs/ntfs3: Add Kconfig, Makefile and doc

2021-01-22 Thread Konstantin Komarov
This adds Kconfig, Makefile and doc Signed-off-by: Konstantin Komarov --- Documentation/filesystems/ntfs3.rst | 107 fs/ntfs3/Kconfig| 45 fs/ntfs3/Makefile | 31 3 files changed, 183 insertions(+) create

[PATCH v18 07/10] fs/ntfs3: Add NTFS journal

2021-01-22 Thread Konstantin Komarov
This adds NTFS journal Signed-off-by: Konstantin Komarov --- fs/ntfs3/fslog.c | 5204 ++ 1 file changed, 5204 insertions(+) create mode 100644 fs/ntfs3/fslog.c diff --git a/fs/ntfs3/fslog.c b/fs/ntfs3/fslog.c new file mode 100644 index ..

Re: [PATCH v6 0/4] arm64: ARMv8.5-A: MTE: Add async mode support

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 1:59 PM, Vincenzo Frascino wrote: > This patchset implements the asynchronous mode support for ARMv8.5-A > Memory Tagging Extension (MTE), which is a debugging feature that allows > to detect with the help of the architecture the C and C++ programmatic > memory errors like buffer overflo

[tip: locking/core] locking: Add Reviewers

2021-01-22 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the locking/core branch of tip: Commit-ID: c7539258146844ebd8795c31275c720ded61bb84 Gitweb: https://git.kernel.org/tip/c7539258146844ebd8795c31275c720ded61bb84 Author:Peter Zijlstra AuthorDate:Thu, 17 Dec 2020 10:32:16 +01:00 Commi

[tip: locking/core] jump_label: Do not profile branch annotations

2021-01-22 Thread tip-bot2 for Steven Rostedt (VMware)
The following commit has been merged into the locking/core branch of tip: Commit-ID: 2f0df49c89acaa58571d509830bc481250699885 Gitweb: https://git.kernel.org/tip/2f0df49c89acaa58571d509830bc481250699885 Author:Steven Rostedt (VMware) AuthorDate:Fri, 11 Dec 2020 16:37:54 -05

[PATCH v18 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2021-01-22 Thread Konstantin Komarov
This adds NTFS3 in fs/Kconfig and fs/Makefile Signed-off-by: Konstantin Komarov --- fs/Kconfig | 1 + fs/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/Kconfig b/fs/Kconfig index aa4c12282301..eae96d55ab67 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -145,6 +145,7 @@ menu "DOS

[PATCH v18 10/10] fs/ntfs3: Add MAINTAINERS

2021-01-22 Thread Konstantin Komarov
This adds MAINTAINERS Signed-off-by: Konstantin Komarov --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f79ec98bbb29..49db3a3c15c5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12666,6 +12666,13 @@ T: git git://git.kernel.org/pub/s

[PATCH v18 05/10] fs/ntfs3: Add attrib operations

2021-01-22 Thread Konstantin Komarov
This adds attrib operations Signed-off-by: Konstantin Komarov --- fs/ntfs3/attrib.c | 2085 +++ fs/ntfs3/attrlist.c | 457 ++ fs/ntfs3/xattr.c| 1072 ++ 3 files changed, 3614 insertions(+) create mode 100644 fs/ntfs3/att

[tip: locking/core] lockdep: report broken irq restoration

2021-01-22 Thread tip-bot2 for Mark Rutland
The following commit has been merged into the locking/core branch of tip: Commit-ID: 997acaf6b4b59c6a9c259740312a69ea549cc684 Gitweb: https://git.kernel.org/tip/997acaf6b4b59c6a9c259740312a69ea549cc684 Author:Mark Rutland AuthorDate:Mon, 11 Jan 2021 15:37:07 Committer:

Re: [RFC PATCH v2] taskstats: add /proc/taskstats to fetch pid/tgid status

2021-01-22 Thread Weiping Zhang
Hello Balbir Singh, Could you help review this patch, thanks On Mon, Dec 28, 2020 at 10:10 PM Weiping Zhang wrote: > > Hi David, > > Could you help review this patch ? > > thanks > > On Fri, Dec 18, 2020 at 1:24 AM Weiping Zhang > wrote: > > > > If a program needs monitor lots of process's stat

[PATCH 4.4 01/31] ASoC: dapm: remove widget from dirty list on free

2021-01-22 Thread Greg Kroah-Hartman
From: Thomas Hebb commit 5c6679b5cb120f07652418524ab186ac47680b49 upstream. A widget's "dirty" list_head, much like its "list" list_head, eventually chains back to a list_head on the snd_soc_card itself. This means that the list can stick around even after the widget (or all widgets) have been f

[PATCH 4.4 02/31] MIPS: Fix malformed NT_FILE and NT_SIGINFO in 32bit coredumps

2021-01-22 Thread Greg Kroah-Hartman
From: Al Viro commit 698222457465ce343443be81c5512edda86e5914 upstream. Patches that introduced NT_FILE and NT_SIGINFO notes back in 2012 had taken care of native (fs/binfmt_elf.c) and compat (fs/compat_binfmt_elf.c) coredumps; unfortunately, compat on mips (which does not go through the usual c

Re: [PATCH v9 17/17] Documentation: PCI: Add userguide for PCI endpoint NTB function

2021-01-22 Thread Kishon Vijay Abraham I
Hi Bjorn, On 20/01/21 12:04 am, Bjorn Helgaas wrote: > On Mon, Jan 04, 2021 at 08:59:09PM +0530, Kishon Vijay Abraham I wrote: >> Add documentation to help users use pci-epf-ntb function driver and >> existing host side NTB infrastructure for NTB functionality. >> >> Signed-off-by: Kishon Vijay Ab

[PATCH 4.4 07/31] arch/arc: add copy_user_page() to to fix build error on ARC

2021-01-22 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 8a48c0a3360bf2bf4f40c980d0ec216e770e58ee ] fs/dax.c uses copy_user_page() but ARC does not provide that interface, resulting in a build error. Provide copy_user_page() in . ../fs/dax.c: In function 'copy_cow_page_dax': ../fs/dax.c:702:2: error: implicit dec

[PATCH 4.4 19/31] usb: ohci: Make distrust_firmware param default to false

2021-01-22 Thread Greg Kroah-Hartman
From: Hamish Martin commit c4005a8f65edc55fb1700dfc5c1c3dc58be80209 upstream. The 'distrust_firmware' module parameter dates from 2004 and the USB subsystem is a lot more mature and reliable now than it was then. Alter the default to false now. Suggested-by: Alan Stern Acked-by: Alan Stern Si

[PATCH 4.4 25/31] rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request

2021-01-22 Thread Greg Kroah-Hartman
From: Andrey Zhizhikin [ Upstream commit e56b3d94d939f52d46209b9e1b6700c5bfff3123 ] MSFT ActiveSync implementation requires that the size of the response for incoming query is to be provided in the request input length. Failure to set the input size proper results in failed request transfer, whe

[PATCH 4.9 13/35] ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI

2021-01-22 Thread Greg Kroah-Hartman
From: Shawn Guo [ Upstream commit ee61cfd955a64a58ed35cbcfc54068fcbd486945 ] It adds a stub acpi_create_platform_device() for !CONFIG_ACPI build, so that caller doesn't have to deal with !CONFIG_ACPI build issue. Reported-by: kernel test robot Signed-off-by: Shawn Guo Signed-off-by: Rafael J.

[PATCH 4.4 06/31] ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram

2021-01-22 Thread Greg Kroah-Hartman
From: Rasmus Villemoes [ Upstream commit 887078de2a23689e29d6fa1b75d7cbc544c280be ] Table 8-53 in the QUICC Engine Reference manual shows definitions of fields up to a size of 192 bytes, not just 128. But in table 8-111, one does find the text Base Address of the Global Transmitter Parameter

[PATCH 4.9 02/35] MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB

2021-01-22 Thread Greg Kroah-Hartman
From: Paul Cercueil commit 4d4f9c1a17a3480f8fe523673f7232b254d724b7 upstream. The compressed payload is not necesarily 4-byte aligned, at least when compiling with Clang. In that case, the 4-byte value appended to the compressed payload that corresponds to the uncompressed kernel image size must

[PATCH 4.9 15/35] Input: uinput - avoid FF flush when destroying device

2021-01-22 Thread Greg Kroah-Hartman
From: Dmitry Torokhov commit e8b95728f724797f958912fd9b765a695595d3a6 upstream. Normally, when input device supporting force feedback effects is being destroyed, we try to "flush" currently playing effects, so that the physical device does not continue vibrating (or executing other effects). Unf

[PATCH 4.9 34/35] tipc: fix NULL deref in tipc_link_xmit()

2021-01-22 Thread Greg Kroah-Hartman
From: Hoang Le [ Upstream commit b77413446408fdd256599daf00d5be72b5f3e7c6 ] The buffer list can have zero skb as following path: tipc_named_node_up()->tipc_node_xmit()->tipc_link_xmit(), so we need to check the list before casting an &sk_buff. Fault report: [] tipc: Bulk publication failure [

[PATCH 4.9 10/35] arch/arc: add copy_user_page() to to fix build error on ARC

2021-01-22 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 8a48c0a3360bf2bf4f40c980d0ec216e770e58ee ] fs/dax.c uses copy_user_page() but ARC does not provide that interface, resulting in a build error. Provide copy_user_page() in . ../fs/dax.c: In function 'copy_cow_page_dax': ../fs/dax.c:702:2: error: implicit dec

[PATCH 4.9 19/35] RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp

2021-01-22 Thread Greg Kroah-Hartman
From: Dinghao Liu commit a306aba9c8d869b1fdfc8ad9237f1ed718ea55e6 upstream. If usnic_ib_qp_grp_create() fails at the first call, dev_list will not be freed on error, which leads to memleak. Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver") Link: https://lore.kernel.org/r

[PATCH 4.9 16/35] dump_common_audit_data(): fix racy accesses to ->d_name

2021-01-22 Thread Greg Kroah-Hartman
From: Al Viro commit d36a1dd9f77ae1e72da48f4123ed35627848507d upstream. We are not guaranteed the locking environment that would prevent dentry getting renamed right under us. And it's possible for old long name to be freed after rename, leading to UAF here. Cc: sta...@kernel.org # v2.6.2+ Sig

[PATCH 4.9 25/35] nfsd4: readdirplus shouldnt return parent of export

2021-01-22 Thread Greg Kroah-Hartman
From: J. Bruce Fields commit 51b2ee7d006a736a9126e8111d1f24e4fd0afaa6 upstream. If you export a subdirectory of a filesystem, a READDIRPLUS on the root of that export will return the filehandle of the parent with the ".." entry. The filehandle is optional, so let's just not return the filehandl

[PATCH 4.14 24/50] NFS: nfs_igrab_and_active must first reference the superblock

2021-01-22 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 896567ee7f17a8a736cda8a28cc987228410a2ac upstream. Before referencing the inode, we must ensure that the superblock can be referenced. Otherwise, we can end up with iput() calling superblock operations that are no longer valid or accessible. Fixes: ea7c38fef0b7 ("NF

[PATCH 4.14 09/50] ext4: fix bug for rename with RENAME_WHITEOUT

2021-01-22 Thread Greg Kroah-Hartman
From: yangerkun [ Upstream commit 6b4b8e6b4ad8553660421d6360678b3811d5deb9 ] We got a "deleted inode referenced" warning cross our fsstress test. The bug can be reproduced easily with following steps: cd /dev/shm mkdir test/ fallocate -l 128M img mkfs.ext4 -b 1024 img mount img test/

[PATCH 4.14 03/50] MIPS: Fix malformed NT_FILE and NT_SIGINFO in 32bit coredumps

2021-01-22 Thread Greg Kroah-Hartman
From: Al Viro commit 698222457465ce343443be81c5512edda86e5914 upstream. Patches that introduced NT_FILE and NT_SIGINFO notes back in 2012 had taken care of native (fs/binfmt_elf.c) and compat (fs/compat_binfmt_elf.c) coredumps; unfortunately, compat on mips (which does not go through the usual c

[PATCH 4.14 07/50] dm snapshot: flush merged data before committing metadata

2021-01-22 Thread Greg Kroah-Hartman
From: Akilesh Kailash commit fcc42338375a1e67b8568dbb558f8b784d0f3b01 upstream. If the origin device has a volatile write-back cache and the following events occur: 1: After finishing merge operation of one set of exceptions, merge_callback() is invoked. 2: Update the metadata in COW device

[PATCH 4.14 43/50] net: avoid 32 x truesize under-estimation for tiny skbs

2021-01-22 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit 3226b158e67cfaa677fd180152bfb28989cb2fac ] Both virtio net and napi_get_frags() allocate skbs with a very small skb->head While using page fragments instead of a kmalloc backed skb->head might give a small performance improvement in some cases, there is a hu

[PATCH 4.19 15/22] net: sit: unregister_netdevice on newlinks error path

2021-01-22 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 47e4bb147a96f1c9b4e7691e7e994e53838bfff8 ] We need to unregister the netdevice if config failed. .ndo_uninit takes care of most of the heavy lifting. This was uncovered by recent commit c269a24ce057 ("net: make free_netdev() more lenient with unregistering

[PATCH 4.19 16/22] net: avoid 32 x truesize under-estimation for tiny skbs

2021-01-22 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit 3226b158e67cfaa677fd180152bfb28989cb2fac ] Both virtio net and napi_get_frags() allocate skbs with a very small skb->head While using page fragments instead of a kmalloc backed skb->head might give a small performance improvement in some cases, there is a hu

[PATCH 5.4 14/33] net: introduce skb_list_walk_safe for skb segment walking

2021-01-22 Thread Greg Kroah-Hartman
From: Jason A. Donenfeld commit dcfea72e79b0aa7a057c8f6024169d86a1bbc84b upstream. As part of the continual effort to remove direct usage of skb->next and skb->prev, this patch adds a helper for iterating through the singly-linked variant of skb lists, which are used for lists of GSO packet. The

[PATCH 5.4 22/33] net: dcb: Validate netlink message in DCB handler

2021-01-22 Thread Greg Kroah-Hartman
From: Petr Machata [ Upstream commit 826f328e2b7e8854dd42ea44e6519cd75018e7b1 ] DCB uses the same handler function for both RTM_GETDCB and RTM_SETDCB messages. dcb_doit() bounces RTM_SETDCB mesasges if the user does not have the CAP_NET_ADMIN capability. However, the operation to be performed i

[PATCH 5.4 21/33] esp: avoid unneeded kmap_atomic call

2021-01-22 Thread Greg Kroah-Hartman
From: Willem de Bruijn [ Upstream commit 9bd6b629c39e3fa9e14243a6d8820492be1a5b2e ] esp(6)_output_head uses skb_page_frag_refill to allocate a buffer for the esp trailer. It accesses the page with kmap_atomic to handle highmem. But skb_page_frag_refill can return compound pages, of which kmap_a

[PATCH 5.4 23/33] net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands

2021-01-22 Thread Greg Kroah-Hartman
From: Petr Machata [ Upstream commit df85bc140a4d6cbaa78d8e9c35154e1a2f0622c7 ] In commit 826f328e2b7e ("net: dcb: Validate netlink message in DCB handler"), Linux started rejecting RTM_GETDCB netlink messages if they contained a set-like DCB_CMD_ command. The reason was that privileges were on

[PATCH 5.10 10/43] bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback

2021-01-22 Thread Greg Kroah-Hartman
From: Mircea Cirjaliu commit 301a33d51880619d0c5a581b5a48d3a5248fa84b upstream. I assume this was obtained by copy/paste. Point it to bpf_map_peek_elem() instead of bpf_map_pop_elem(). In practice it may have been less likely hit when under JIT given shielded via 84430d4232c3 ("bpf, verifier: av

[PATCH 5.4 20/33] rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request

2021-01-22 Thread Greg Kroah-Hartman
From: Andrey Zhizhikin [ Upstream commit e56b3d94d939f52d46209b9e1b6700c5bfff3123 ] MSFT ActiveSync implementation requires that the size of the response for incoming query is to be provided in the request input length. Failure to set the input size proper results in failed request transfer, whe

[PATCH 5.10 02/43] bpf: Fix selftest compilation on clang 11

2021-01-22 Thread Greg Kroah-Hartman
From: Andrei Matei commit fb3558127cb62ba2dea9e3d0efa1bb1d7e5eee2a upstream. Before this patch, profiler.inc.h wouldn't compile with clang-11 (before the __builtin_preserve_enum_value LLVM builtin was introduced in https://reviews.llvm.org/D83242). Another test that uses this builtin (test_core

[PATCH 5.10 15/43] net: ipv6: Validate GSO SKB before finish IPv6 processing

2021-01-22 Thread Greg Kroah-Hartman
From: Aya Levin [ Upstream commit b210de4f8c97d57de051e805686248ec4c6cfc52 ] There are cases where GSO segment's length exceeds the egress MTU: - Forwarding of a TCP GRO skb, when DF flag is not set. - Forwarding of an skb that arrived on a virtualisation interface (virtio-net/vhost/tap) wi

[PATCH 5.10 28/43] net: stmmac: fix taprio schedule configuration

2021-01-22 Thread Greg Kroah-Hartman
From: Yannick Vignon [ Upstream commit b76889ff51bfee318bea15891420e5aefd2833a0 ] When configuring a 802.1Qbv schedule through the tc taprio qdisc on an NXP i.MX8MPlus device, the effective cycle time differed from the requested one by N*96ns, with N number of entries in the Qbv Gate Control Lis

[PATCH 5.10 27/43] net: sit: unregister_netdevice on newlinks error path

2021-01-22 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 47e4bb147a96f1c9b4e7691e7e994e53838bfff8 ] We need to unregister the netdevice if config failed. .ndo_uninit takes care of most of the heavy lifting. This was uncovered by recent commit c269a24ce057 ("net: make free_netdev() more lenient with unregistering

[PATCH 5.10 18/43] mlxsw: core: Increase critical threshold for ASIC thermal zone

2021-01-22 Thread Greg Kroah-Hartman
From: Vadim Pasternak [ Upstream commit b06ca3d5a43ca2dd806f7688a17e8e7e0619a80a ] Increase critical threshold for ASIC thermal zone from 110C to 140C according to the system hardware requirements. All the supported ASICs (Spectrum-1, Spectrum-2, Spectrum-3) could be still operational with ASIC

[PATCH 5.10 24/43] rxrpc: Call state should be read with READ_ONCE() under some circumstances

2021-01-22 Thread Greg Kroah-Hartman
From: Baptiste Lepers [ Upstream commit a95d25dd7b94a5ba18246da09b4218f132fed60e ] The call state may be changed at any time by the data-ready routine in response to received packets, so if the call state is to be read and acted upon several times in a function, READ_ONCE() must be used unless t

[PATCH 5.10 23/43] net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands

2021-01-22 Thread Greg Kroah-Hartman
From: Petr Machata [ Upstream commit df85bc140a4d6cbaa78d8e9c35154e1a2f0622c7 ] In commit 826f328e2b7e ("net: dcb: Validate netlink message in DCB handler"), Linux started rejecting RTM_GETDCB netlink messages if they contained a set-like DCB_CMD_ command. The reason was that privileges were on

[PATCH 5.10 26/43] net: stmmac: Fixed mtu channged by cache aligned

2021-01-22 Thread Greg Kroah-Hartman
From: David Wu [ Upstream commit 5b55299eed78538cc4746e50ee97103a1643249c ] Since the original mtu is not used when the mtu is updated, the mtu is aligned with cache, this will get an incorrect. For example, if you want to configure the mtu to be 1500, but mtu 1536 is configured in fact. Fixed:

[PATCH 5.10 25/43] i40e: fix potential NULL pointer dereferencing

2021-01-22 Thread Greg Kroah-Hartman
From: Cristian Dumitrescu [ Upstream commit 7128c834d30e6b2cf649f14d8fc274941786d0e1 ] Currently, the function i40e_construct_skb_zc only frees the input xdp buffer when the output skb is successfully built. On error, the function i40e_clean_rx_irq_zc does not commit anything for the current pac

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