On Mon, Jun 11, 2018 at 04:06:41PM +0300, Dmitry Osipenko wrote:
> On Monday, 11 June 2018 14:35:03 MSK Thierry Reding wrote:
> > On Wed, Jun 06, 2018 at 04:42:01PM +0300, Dmitry Osipenko wrote:
> > > On 06.06.2018 14:02, Thierry Reding wrote:
> > > > On Mon, Jun 04, 2018 at 01:36:54AM +0300, Dmitr
Hi Ricardo,
the commit message is misleading me. If I build something with ACPI or DT
support, then modinfo will show all modalias information for ACPI and DT
compatible strings. What else does udev/modprobe actually need? Is
something broken with the modalias export?
>>>
>
From: Clément Peron
As suggested in the commit message we have added the device tree support,
proper bindings and we moved the driver into the correct folder.
Moreover we made some changes like use of relaxed IO accesor,
implement sched_clock, delay_timer and reduce the clockevents min_delta.
C
From: Clément Peron
i.MX EPIT timer has been removed but not the init function declaration.
Signed-off-by: Clément Peron
Reviewed-by: Fabio Estevam
Reviewed-by: Vladimir Zapolskiy
Tested-by: Vladimir Zapolskiy
---
arch/arm/mach-imx/common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a
From: Colin Didier
Add driver for NXP's EPIT timer used in i.MX SoC.
Signed-off-by: Colin Didier
Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
Tested-by: Vladimir Zapolskiy
---
drivers/clocksource/Kconfig | 11 ++
drivers/clocksource/Makefile | 1 +
driver
From: Clément Peron
Add devicetree binding document for NXP's i.MX SoC specific
EPIT timer driver.
Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
---
.../devicetree/bindings/timer/fsl,imxepit.txt | 21 +++
1 file changed, 21 insertions(+)
create mode 100644 Docu
From: Colin Didier
Add missing compatible and clock properties for EPIT node.
Signed-off-by: Colin Didier
Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
---
arch/arm/boot/dts/imx25.dtsi | 8 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 10 --
arch/arm/boot/dts/imx6sl.dt
From: Colin Didier
Ignore this Patch, already merged in clk-next
Signed-off-by: Colin Didier
Signed-off-by: Clément Peron
Reviewed-by: Fabio Estevam
Acked-by: Rob Herring
---
drivers/clk/imx/clk-imx6q.c | 2 ++
include/dt-bindings/clock/imx6qdl-clock.h | 4 +++-
2 files change
Hi Rob,
Added support to automatically configure the SCO packet routing at the
device setup. The SCO packets are used with the HSP / HFP profiles, but in
some devices (ex. CYW43438) they are routed to a PCM output by default.
This
change allows sending the vendor specific
On Fri, Jun 08, 2018 at 04:03:55PM -0400, Steven Rostedt wrote:
> On Thu, 7 Jun 2018 11:18:16 +0200
> Johan Hovold wrote:
>
>
> > If you want to work around the warning and think you can do it in some
> > non-contrived way, then go for it.
> >
> > Clearing the request buffer, checking for termi
On Mon, Jun 11, 2018 at 12:16 AM Philip Li wrote:
>
> The bisect considers the errors belong to mainline tree, meanwhile, there's a
> corner case, the bot sends out this mail externally which is supposed to send
> only internally for double check.
>
> Kindly ignore this. We will continue the impro
On Mon, Jun 11, 2018 at 08:15:13AM -0700, jagadish tirumala wrote:
>
> HI , This is Jagdish , I have fixed a coding style ERROR: space required
> before the open parenthesis in drivers/bluetooth/hci_serdev.c , please
> have a look
>
> Jagdish
>
>
>
Hello Jagdish,
I am afraid your patch has se
Hi,
On 07/06/2018 14:00:16+0300, Radu Pirea wrote:
> diff --git a/include/dt-bindings/mfd/at91-usart.h
> b/include/dt-bindings/mfd/at91-usart.h
> new file mode 100644
> index ..ac811628a42d
> --- /dev/null
> +++ b/include/dt-bindings/mfd/at91-usart.h
> @@ -0,0 +1,17 @@
> +/* SPDX-Lice
On 07/06/2018 14:00:17+0300, Radu Pirea wrote:
> +static int at91_usart_mode_probe(struct platform_device *pdev)
> +{
> + struct mfd_cell cell;
> + u32 opmode;
This has to be initialized to AT91_USART_MODE_SERIAL...
> + int err;
> +
> + err = device_property_read_u32(&pdev->dev, "
On Sat, Jun 9, 2018 at 12:26 AM, Attila Tőkés wrote:
> Hello Rob,
>
> On Fri, Jun 8, 2018 at 8:25 PM, Rob Herring wrote:
>>
>> On Fri, Jun 8, 2018 at 10:20 AM, wrote:
>> > From: Attila Tőkés
>> >
>> > Added support to automatically configure the SCO packet routing at the
>> > device setup. The
Hi Marcel,
On Mon, Jun 11, 2018 at 5:28 PM Marcel Holtmann wrote:
>
> Hi Marcel,
>
> >> the commit message is misleading me. If I build something with ACPI or DT
> >> support, then modinfo will show all modalias information for ACPI and DT
> >> compatible strings. What else does udev/modprobe ac
On Mon, Jun 11, 2018 at 04:38:01PM +0200, Peter Zijlstra wrote:
> On Mon, Jun 11, 2018 at 04:17:42PM +0200, Peter Zijlstra wrote:
> > On Mon, Jun 11, 2018 at 01:59:15PM +, Jeremy Cline wrote:
> > > A user has bisected the problem to the v4.16 commit 1ab4ca7c59d4
> > > ("x86/tsc: Fix mark_tsc_un
Hi Marcel,
>> the commit message is misleading me. If I build something with ACPI or DT
>> support, then modinfo will show all modalias information for ACPI and DT
>> compatible strings. What else does udev/modprobe actually need? Is something
>> broken with the modalias export?
>
> The main p
[ +CC: linux-usb, even if this does not look like a USB issue ]
On Sat, Jun 09, 2018 at 11:50:34AM +0200, Udo van den Heuvel wrote:
> Hello,
>
> My Holus GPSport 245 was used to download a gpx track. Afterwards I
> turned the device off while it was attached to USB so it could charge.
> Later I
On Fri, 2018-06-08 at 10:27 -0700, Dave Hansen wrote:
> On 06/08/2018 10:09 AM, Jarkko Sakkinen wrote:
> >
> > --- a/arch/x86/crypto/aesni-intel_asm.S
> > +++ b/arch/x86/crypto/aesni-intel_asm.S
> > @@ -45,6 +45,8 @@
> > #define MOVADQ movaps
> > #define MOVUDQ movups
> >
> > +#ifndef
Hello
On Mon, Jun 11, 2018 at 3:38 PM Marcel Holtmann wrote:
>
> Hi Andy,
>
> >> Rave-sp behaves differently based on the device variant.
> >
> >
> >>sp->variant = of_device_get_match_data(dev);
> >> + if (!sp->variant) {
> >> + id = serdev_match_id(rave_sp_serdev_id,
On 06/11/2018 03:20 AM, Michal Hocko wrote:
> [CCing linux-api - please make sure to CC this mailing list anytime you
> are touching user visible apis]
>
> On Fri 08-06-18 14:56:52, Jason Baron wrote:
>> In order to free memory that is marked MLOCK_ONFAULT, the memory region
>> needs to be first
Hello,
this is a sensor level driver for Aptina MT9V111.
The driver supports YUYV_2X8 output formats and VGA,QVGA,QQVGA,CIF and QCIF
resolution.
The driver allows control of frame rate through s_frame_interval or
V4L2_CID_H/VBLANK control. In order to allow manual frame control, the chip
is in
On Sun, Jun 10, 2018 at 04:45:43PM -0700, Joel Fernandes wrote:
> From: "Joel Fernandes (Google)"
>
> Currently rcutorture is not able to torture RCU boosting properly. This
> is because the rcutorture's boost threads which are doing the torturing
> may be throttled due to RT throttling.
>
> Thi
Hi Marcel
On Mon, Jun 11, 2018 at 3:14 PM Marcel Holtmann wrote:
>
> Hi Ricardo,
>
> > Export serdev table to the module header, allowing module autoload via
> > udev/modprobe.
> >
> > Cc: Lee Jones
> > Cc: Rob Herring
> > Cc: Johan Hovold
> > Signed-off-by: Ricardo Ribalda Delgado
> > ---
> >
Add V4L2 sensor driver for Aptina MT9V111 CMOS image sensor.
The MT9V111 is a 1/4-Inch CMOS image sensor based on MT9V011 with an
integrated Image Flow Processor.
Signed-off-by: Jacopo Mondi
---
MAINTAINERS |8 +
drivers/media/i2c/Kconfig | 12 +
drivers/media/i2c/Makefi
Add support of iec958 controls for STM32 SAI.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/Kconfig | 1 +
sound/soc/stm/stm32_sai_sub.c | 139 ++
2 files changed, 128 insertions(+), 12 deletions(-)
diff --git a/sound/soc/stm/Kconfig b/sound/s
Add documentation for Aptina MT9V111 image sensor.
Signed-off-by: Jacopo Mondi
---
.../bindings/media/i2c/aptina,mt9v111.txt | 46 ++
1 file changed, 46 insertions(+)
create mode 100644
Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.txt
diff --git a/Do
Changes v2:
- Remove iec958 helpers and implement iec958 controls in sai driver
Olivier Moysan (1):
ASoC: stm32: sai: add iec958 controls support
sound/soc/stm/Kconfig | 1 +
sound/soc/stm/stm32_sai_sub.c | 139 ++
2 files changed, 128 inserti
On Wed, Jun 06, 2018 at 05:39:42PM +0200, Enric Balletbo i Serra wrote:
> Trivial fix to spelling mistake in tilcdc.txt devicetree documentation.
>
> Signed-off-by: Enric Balletbo i Serra
> ---
>
> Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt | 2 +-
> 1 file changed, 1 insertion
HI , This is Jagdish , I have fixed a coding style ERROR: space required
before the open parenthesis in drivers/bluetooth/hci_serdev.c , please
have a look
Jagdish
>From 3c3e844d0f0ba49a6d40a7265548f81316f756e4 Mon Sep 17 00:00:00 2001
From: Jagdish587
Date: Sun, 10 Jun 2018 04:15:53 -0700
Su
On Sat, 2018-06-09 at 22:32 -0700, Andy Lutomirski wrote:
> On Fri, Jun 8, 2018 at 10:22 AM Jarkko Sakkinen
> wrote:
> >
> >
> > SGX has a set of data structures to maintain information about the enclaves
> > and their security properties. BIOS reserves a fixed size region of
> > physical memory
From: Colin Ian King
The check for a zero retval is redundant as all paths that lead to
this point have set retval to an error return value that is non-zero.
Remove the redundant check.
Detected by CoverityScan, CID#102589 ("Logically dead code")
Signed-off-by: Colin Ian King
---
drivers/medi
DT specifications do not allow the underscore character in alias names.
Replace all underscores in alias names by dashes.
Signed-off-by: Felix Brack
---
arch/arm/boot/dts/am33xx.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/
Hi Marcel,
On Mon, Jun 11, 2018 at 3:01 PM Marcel Holtmann wrote:
>
>
> the commit message is misleading me. If I build something with ACPI or DT
> support, then modinfo will show all modalias information for ACPI and DT
> compatible strings. What else does udev/modprobe actually need? Is someth
On Mon, 2018-06-11 at 10:17 +0200, Peter Zijlstra wrote:
> On Thu, Jun 07, 2018 at 09:40:02AM -0700, Andy Lutomirski wrote:
> > On Thu, Jun 7, 2018 at 7:41 AM Yu-cheng Yu wrote:
>
> > Peterz, isn't there some fancy better way we're supposed to handle the
> > error return these days?
>
> > > +
On Mon 11-06-18 10:51:44, Jason Baron wrote:
> On 06/11/2018 03:20 AM, Michal Hocko wrote:
> > [CCing linux-api - please make sure to CC this mailing list anytime you
> > are touching user visible apis]
> >
> > On Fri 08-06-18 14:56:52, Jason Baron wrote:
> >> In order to free memory that is mark
On Fri, 2018-06-08 at 11:34 -0700, Dave Hansen wrote:
> On 06/08/2018 10:09 AM, Jarkko Sakkinen wrote:
> >
> > + ret = sgx_edbgrd(encl, entry, align, data);
> > + if (ret)
> > + break;
> > + if (write) {
> > + memcpy(data + offset,
On Mon, Jun 11, 2018 at 03:11:14PM +0200, Linus Walleij wrote:
> The DT binding for "regulator-fixed" specifies that enable-active-high
> should be set for polarity inversion. For historical reasons, I guess,
> we screwed up. The example in the binding uses that.
No, it just says that if the enab
Since commit 96f0e6fcc9ad ("microblaze: remove redundant early_printk
support") prom.h was removed and one instance in heartbeat.c remained.
Include of.h as it is the actual header needed.
Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
Reported-by: kbuild test robot
Cc:
Hi Radu,
Some few feedback in a hope to help you.
Missatge de Radu Pirea del dia dl., 4 de
juny 2018 a les 19:03:
>
> This mfd driver is just a wrapper over atmel_serial driver and
> spi-at91-usart driver. Selection of one of the drivers is based on a
> property from device tree. If the property
On Mon 11-06-18 08:43:03, Bjorn Helgaas wrote:
> On Mon, Jun 11, 2018 at 08:32:10PM +0800, Xie XiuQi wrote:
> > Hi Michal,
> >
> > On 2018/6/11 16:52, Michal Hocko wrote:
> > > On Mon 11-06-18 11:23:18, Xie XiuQi wrote:
> > >> Hi Michal,
> > >>
> > >> On 2018/6/7 20:21, Michal Hocko wrote:
> > >>>
On 06/10/2018 12:45 PM, Christophe JAILLET wrote:
IF 'regmap_write()' fails, we should release some resources as done in all
the other error handling paths of the function.
Fixes: e9918d7fafae ("EDAC, altera: Handle SDRAM Uncorrectable Errors on
Stratix10")
Signed-off-by: Christophe JAILLET
--
On 2018-05-04 17:25:48 [+0200], To linux-kernel@vger.kernel.org wrote:
> The lockdep_assert_irqs_disabled() was a BUG_ON() statement in the
> beginning and it was added just before the "spin_lock(siglock)"
> statement to ensure this lock was taken with disabled interrupts.
> This is no longer the c
ntfs_end_buffer_async_read() disables interrupts around kmap_atomic(). This is
a leftover from the old kmap_atomic() implementation which relied on fixed
mapping slots, so the caller had to make sure that the same slot could not be
reused from an interrupting context.
kmap_atomic() was changed to
Hi Vladimir,
On Mon, 11 Jun 2018 at 16:39, Vladimir Zapolskiy wrote:
>
> Hi Clément,
>
> On 06/07/2018 05:05 PM, Clément Péron wrote:
> > From: Clément Peron
> >
> > As suggested in the commit message we have added the device tree support,
> > proper bindings and we moved the driver into the corr
On 06/07/2018 05:05 PM, Clément Péron wrote:
> From: Colin Didier
>
> Add driver for NXP's EPIT timer used in i.MX SoC.
>
> Signed-off-by: Colin Didier
> Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
Tested-by: Vladimir Zapolskiy
I tested the driver on i.MX31 only, and I did
On 06/07/2018 05:05 PM, Clément Péron wrote:
> From: Colin Didier
>
> Add missing compatible and clock properties for EPIT node.
>
> Signed-off-by: Colin Didier
> Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
--
With best wishes,
Vladimir
Hi Clément,
On 06/07/2018 05:05 PM, Clément Péron wrote:
> From: Clément Peron
>
> As suggested in the commit message we have added the device tree support,
> proper bindings and we moved the driver into the correct folder.
>
> Moreover we made some changes like use of relaxed IO accesor,
> imp
On 06/07/2018 05:05 PM, Clément Péron wrote:
> From: Clément Peron
>
> i.MX EPIT timer has been removed but not the init function declaration.
>
> Signed-off-by: Clément Peron
> Reviewed-by: Fabio Estevam
Reviewed-by: Vladimir Zapolskiy
Tested-by: Vladimir Zapolskiy
--
With best wishes,
Vl
On 06/07/2018 05:05 PM, Clément Péron wrote:
> From: Clément Peron
>
> Add devicetree binding document for NXP's i.MX SoC specific
> EPIT timer driver.
>
> Signed-off-by: Clément Peron
Reviewed-by: Vladimir Zapolskiy
--
With best wishes,
Vladimir
On Mon, Jun 11, 2018 at 04:17:42PM +0200, Peter Zijlstra wrote:
> On Mon, Jun 11, 2018 at 01:59:15PM +, Jeremy Cline wrote:
> > A user has bisected the problem to the v4.16 commit 1ab4ca7c59d4
> > ("x86/tsc: Fix mark_tsc_unstable()"). According to the reporter,
> > explicitly setting "tsc=" on
On 6/11/18 8:20 AM, Dmitry Vyukov wrote:
> On Wed, May 23, 2018 at 8:01 PM, Eric Sandeen wrote:
...
>> As an aside, I wonder how much coverage of the V5 format code syzkaller
>> /has/
>> achieved; that would be another useful datapoint google could provide - if
>> syzkaller is in fact traversing
From: Matthew Wilcox
This is documentation on how to use the XArray, not details about its
internal implementation.
Signed-off-by: Matthew Wilcox
Acked-by: Josef Bacik
---
Documentation/core-api/index.rst | 1 +
Documentation/core-api/xarray.rst | 395 ++
2 file
On Thu, May 31, 2018 at 01:54:55PM +, Kirill A. Shutemov wrote:
> A pair of trivial cleanups in preparation for memory encryption.
Andrew, can we get these applied?
--
Kirill A. Shutemov
From: Matthew Wilcox
XArray tags are slightly more strongly typed than the radix tree tags,
but occupy the same bits. This commit adds the basic get/set/clear
operations.
Signed-off-by: Matthew Wilcox
---
include/linux/xarray.h| 47
lib/xarray.c
On 6/8/2018 8:04 PM, Darren Hart wrote:
> On Thu, Jun 07, 2018 at 08:11:41PM +0300, Andy Shevchenko wrote:
>> On Thu, Jun 7, 2018 at 6:59 PM, Stuart Hayes
>> wrote:
>>> If the WSMT ACPI table is present and indicates that a fixed communication
>>> buffer should be used, use the firmware-specif
From: Matthew Wilcox
This is a direct replacement for struct radix_tree_root. Some of the
struct members have changed name; convert those, and use a #define so
that radix_tree users continue to work without change.
Signed-off-by: Matthew Wilcox
Reviewed-by: Josef Bacik
---
include/linux/radi
From: Matthew Wilcox
Introduce xarray value entries to replace the radix tree exceptional
entry code. This is a slight change in encoding to allow the use of an
extra bit (we can now store BITS_PER_LONG - 1 bits in a value entry).
It is also a change in emphasis; exceptional entries are intimida
From: Matthew Wilcox
This first function in the XArray API brings with it a lot of support
infrastructure. The advanced API is based around the xa_state which is
a more capable version of the radix_tree_iter.
As the test-suite demonstrates, it is possible to use the xarray and
radix tree APIs o
On Mon, 2018-05-28 at 12:00 +0200, Greg Kroah-Hartman wrote:
> 4.4-stable review patch. If anyone has any objections, please let me know.
>
> --
>
> From: Ross Lagerwall
>
> [ Upstream commit f599c64fdf7d9c108e8717fb04bc41c680120da4 ]
[...]
> --- a/drivers/net/xen-netfront.c
>
From: Matthew Wilcox
Use my_zero_pfn instead of ZERO_PAGE, and pass the vaddr to it so it
works on MIPS and s390.
Signed-off-by: Matthew Wilcox
Reviewed-by: Ross Zwisler
---
fs/dax.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/fs/dax.c b/fs/dax.c
index 4
From: Andrea Greco
Add devicetree bindings for smsc com20020
Signed-off-by: Andrea Greco
---
.../devicetree/bindings/net/smsc-com20020.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/smsc-com20020.txt
diff --git
From: Andrea Greco
Setup ethtols for export com20020 diag register
Signed-off-by: Andrea Greco
---
drivers/net/arcnet/com20020-io.c | 1 +
drivers/net/arcnet/com20020-isa.c | 1 +
drivers/net/arcnet/com20020.c | 24
drivers/net/arcnet/com20020.h | 1 +
driv
From: Andrea Greco
If com20020 clock is major of 40Mhz SLOWARB bit is requested.
Signed-off-by: Andrea Greco
---
drivers/net/arcnet/com20020.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 8d979a66d8e9..1a0fd30fe8ae
From: Andrea Greco
Add devicetree bindings for smsc com20020
Signed-off-by: Andrea Greco
---
.../devicetree/bindings/net/smsc-com20020.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/smsc-com20020.txt
diff --git
From: Andrea Greco
Add support for com20022I/com20020, io mapped.
Signed-off-by: Andrea Greco
---
drivers/net/arcnet/Kconfig | 9 +-
drivers/net/arcnet/Makefile | 1 +
drivers/net/arcnet/com20020-io.c | 315 +++
drivers/net/arcnet/com20020.c
From: Andrea Greco
Add IO callback. No logic change are intended.
Now every driver implementation could specify IO callback.
Default IO callback is provided.
Signed-off-by: Andrea Greco
---
drivers/net/arcnet/arcdevice.h| 4 ++
drivers/net/arcnet/com20020-isa.c | 21 --
drivers/net/
From: Andrea Greco
Only PCI driver depends from leds class.
Signed-off-by: Andrea Greco
---
drivers/net/arcnet/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig
index 39bd16f3f86d..afc5898e7a16 100644
--- a/drive
From: Matthew Wilcox
Instead of storing a pointer to the slot containing the canonical entry,
store the offset of the slot. Produces slightly more efficient code
(~300 bytes) and simplifies the implementation.
Signed-off-by: Matthew Wilcox
Reviewed-by: Josef Bacik
---
include/linux/xarray.h
From: Matthew Wilcox
The XArray is a replacement for the radix tree. For the moment it uses
the same data structures, enabling a gradual replacement. This patch
set implements the XArray and converts the page cache to use it.
A version of these patches has been running under xfstests for over
From: Matthew Wilcox
This is a direct replacement for struct radix_tree_node. A couple of
struct members have changed name, so convert those. Use a #define so
that radix tree users continue to work without change.
Signed-off-by: Matthew Wilcox
Reviewed-by: Josef Bacik
---
include/linux/radi
From: Matthew Wilcox
xa_store() differs from radix_tree_insert() in that it will overwrite an
existing element in the array rather than returning an error. This is
the behaviour which most users want, and those that want more complex
behaviour generally want to use the xas family of routines any
From: Matthew Wilcox
This iterator allows the user to efficiently walk a range of the array,
executing the loop body once for each entry in that range that matches
the filter. This commit also includes xa_find() and xa_find_above()
which are helper functions for xa_for_each() but may also be use
On Mon, Jun 11, 2018 at 02:54:16PM +0100, Suzuki K Poulose wrote:
> On 08/06/18 15:46, Suzuki K Poulose wrote:
> > On 06/06/2018 07:01 PM, Mark Rutland wrote:
> > > On Tue, May 29, 2018 at 11:55:56AM +0100, Suzuki K Poulose wrote:
>
> > > > - value |= 0xULL;
> > > > +
From: Matthew Wilcox
Like cmpxchg(), xa_cmpxchg will only store to the index if the current
entry matches the old entry. It returns the current entry, which is
usually more useful than the errno returned by radix_tree_insert().
For the users who really only want the errno, the xa_insert() wrappe
From: Matthew Wilcox
This function frees all the internal memory allocated to the xarray
and reinitialises it to be empty.
Signed-off-by: Matthew Wilcox
---
include/linux/xarray.h | 1 +
lib/xarray.c | 28
2 files changed, 29 insertions(+)
diff --git a/
From: Matthew Wilcox
Now the page cache lookup is using the XArray, let's convert this
regression test from the radix tree API to the XArray so it's testing
roughly the same thing it was testing before.
Signed-off-by: Matthew Wilcox
---
tools/testing/radix-tree/regression1.c | 58 +
From: Matthew Wilcox
Rename the function from page_cache_tree_delete_batch to just
page_cache_delete_batch.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 28 +---
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 4204d9
From: Matthew Wilcox
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 025077bc82be..e447dd2d0f5c 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2682,7 +2682,7 @@ static struct page *do_read_cac
From: Matthew Wilcox
Slightly shorter and simpler code.
Signed-off-by: Matthew Wilcox
---
include/linux/pagemap.h | 2 +-
mm/filemap.c| 54 ++---
2 files changed, 25 insertions(+), 31 deletions(-)
diff --git a/include/linux/pagemap.h b/include/
From: Matthew Wilcox
These two functions move the xas index by one position, and adjust the
rest of the iterator state to match it. This is more efficient than
calling xas_set() as it keeps the iterator at the leaves of the tree
instead of walking the iterator from the root each time.
Signed-of
From: Matthew Wilcox
The code is slightly shorter and simpler.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 31 +--
1 file changed, 13 insertions(+), 18 deletions(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 965ff68e5b8d..7cdb1d4b8117 100644
--- a/mm/filem
From: Matthew Wilcox
This function combines the functionality of radix_tree_gang_lookup() and
radix_tree_gang_lookup_tagged(). It extracts entries matching the
specified filter into a normal array.
Signed-off-by: Matthew Wilcox
---
include/linux/xarray.h | 2 ++
lib/xarray.c | 80 +
From: Matthew Wilcox
Slight change of strategy here; if we have trouble getting hold of a
page for whatever reason (eg a compound page is split underneath us),
don't spin to stabilise the page, just continue the iteration, like we
would if we failed to trylock the page. Since this is a speculati
From: Matthew Wilcox
Slightly shorter and simpler code.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 51 +++
1 file changed, 23 insertions(+), 28 deletions(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 6db3d35ff5f6..b49290131e85 100644
-
From: Matthew Wilcox
There's no direct replacement for radix_tree_for_each_contig()
in the XArray API as it's an unusual thing to do. Instead,
open-code a loop using xas_next(). This removes the only user of
radix_tree_for_each_contig() so delete the iterator from the API and
the test suite cod
From: Matthew Wilcox
The 'end' parameter of the xas_for_each iterator avoids a useless
iteration at the end of the range.
Signed-off-by: Matthew Wilcox
---
include/linux/pagemap.h | 4 +--
mm/filemap.c| 68 -
2 files changed, 28 insertions(+
From: Matthew Wilcox
Slightly shorter and simpler code.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 63 +++-
1 file changed, 28 insertions(+), 35 deletions(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 7cdb1d4b8117..6db3d35ff5f6 100644
From: Matthew Wilcox
This iterator iterates over each entry that is stored in the index or
indices specified by the xa_state. This is intended for use for a
conditional store of a multiindex entry, or to allow entries which are
about to be removed from the xarray to be disposed of properly.
Sig
From: Matthew Wilcox
The 'end' parameter of the xas_for_each iterator avoids a useless
iteration at the end of the range.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 52 +++-
1 file changed, 19 insertions(+), 33 deletions(-)
diff --git a/mm
On 2018/6/11 20:20, Ulf Hansson wrote:
+ Shawn Lin, Evgeniy Didin, Doug Andersson
On 29 May 2018 at 12:38, Qing Xia wrote:
From: x00270170
Card write threshold control is supposed to be set since controller
version 2.80a for data write in HS400 mode and data read in
HS200/HS400/SDR104 mode.
From: Matthew Wilcox
Instead of calling find_get_pages_range() and putting any reference,
use xas_find() to iterate over any entries in the range, skipping the
shadow/swap entries.
Signed-off-by: Matthew Wilcox
---
mm/filemap.c | 26 ++
1 file changed, 18 insertions(+),
From: Matthew Wilcox
We construct a fake XA_STATE and use it to delete the node with
xas_store() rather than adding a special function for this unique
use case.
Signed-off-by: Matthew Wilcox
---
include/linux/swap.h | 9
mm/workingset.c | 51 +++--
From: Matthew Wilcox
Includes moving mapping_tagged() to fs.h as a static inline, and
changing it to return bool.
Signed-off-by: Matthew Wilcox
---
include/linux/fs.h | 17 ++-
mm/page-writeback.c | 72 -
2 files changed, 36 insertions(+), 5
From: Matthew Wilcox
This is essentially xa_cmpxchg() with the locking handled above us,
and it doesn't have to handle replacing a NULL entry.
Signed-off-by: Matthew Wilcox
---
mm/truncate.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/mm/truncate.c b/mm/
From: Matthew Wilcox
Both callers of __delete_from_swap_cache have the swp_entry_t already,
so pass that in to make constructing the XA_STATE easier.
Signed-off-by: Matthew Wilcox
---
include/linux/swap.h | 5 +++--
mm/swap_state.c | 24 ++--
mm/vmscan.c | 2
From: Matthew Wilcox
Change i_pages from a radix_tree_root to an xarray, convert the
documentation into kernel-doc format and change the order of the elements
to pack them better on 64-bit systems.
Signed-off-by: Matthew Wilcox
---
include/linux/fs.h | 46 +++---
From: Matthew Wilcox
Combine __add_to_swap_cache and add_to_swap_cache into one function
since there is no more need to preload.
Signed-off-by: Matthew Wilcox
---
mm/swap_state.c | 93 +++--
1 file changed, 29 insertions(+), 64 deletions(-)
diff --g
On Mon, Jun 11, 2018 at 01:59:15PM +, Jeremy Cline wrote:
> A user has bisected the problem to the v4.16 commit 1ab4ca7c59d4
> ("x86/tsc: Fix mark_tsc_unstable()"). According to the reporter,
> explicitly setting "tsc=" on the kernel command line causes the boot to
> always succeed. All the use
301 - 400 of 739 matches
Mail list logo