I don't personally know of any PCI drivers that use polling instead of
interrupts, since that would really mean the hardware is broke.
Basically all you need to do is create a timer, and have it's callback set to
your driver routine that can check the device status registers to determine if
the
On 04.03.2015 03:29, Jiang Liu wrote:
> On 2015/3/3 23:18, Bjorn Helgaas wrote:
>> On Mon, Mar 2, 2015 at 10:25 PM, Jiang Liu wrote:
>>> Some BIOSes report incorrect length for ACPI address space descriptors,
>>> so relax the checks to avoid regressions.
>>>
>>> Signed-off-by: Jiang Liu
>>
>> It'
Hi,
I'm getting a regression from this patch when using VFIO for device
assignment to a QEMU VM. I have a device initially bound to the nouveau
driver, which is unbound from that driver and bound to vfio-pci for use
by userspace. vfio-pci calls pci_enable_device, but when userspace
attempts to s
Hi Sudeep,
On Wednesday 04 March 2015 15:56:12 Sudeep Holla wrote:
> On 26/02/15 18:53, Laurent Pinchart wrote:
> > Hi Sudeep,
> >
> > Thank you for the patch.
> >
> > On Thursday 26 February 2015 11:47:57 Sudeep Holla wrote:
> >> As per the SAF1761 data sheet[0], the DcChipID register represent
From: Antonios Motakis
Currently a VFIO driver's IOMMU capabilities are encoded as a series of
numerical defines. Replace this with an enum for future maintainability.
Signed-off-by: Antonios Motakis
Signed-off-by: Baptiste Reynal
---
include/uapi/linux/vfio.h | 24 +++-
1
From: Josh Wu
Add ISI dt node and pinctrl settings in sama5d4.dtsi.
Signed-off-by: Josh Wu
[nicolas.fe...@atmel.com: sort nodes in order. remove useless comments]
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d4.dtsi | 42 ++
1 file changed, 4
From: Antonios Motakis
Some IOMMU drivers, such as the ARM SMMU driver, make available the
IOMMU_NOEXEC flag to set the page tables for a device as XN (execute never).
This affects devices such as the ARM PL330 DMA Controller, which respects
this flag and will refuse to fetch DMA instructions fro
On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote:
> Currently there is a quite a pile of code sitting in
> arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu backtracing from NMI.
> The code is inaccessible to backtrace implementations for other
> architectures, which is a shame because
On 03/04/2015 10:45 AM, David Vrabel wrote:
On 04/03/15 14:55, Boris Ostrovsky wrote:
In the meantime, it turned out that HVM guests are broken by this patch
(with our without changes that we've been discussing), because HVM CPUs
die with
static void xen_hvm_cpu_die(unsigned int cpu)
{
From: Antonios Motakis
We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call,
and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU.
This way the user can control whether the XN flag will be set on the
requested mappings. The IOMMU_NOEXEC flag needs to be availabl
This patch adds support for external v4l2-flash devices.
The support includes parsing "flashes" DT property
and asynchronous subdevice registration.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Sylwester Nawrocki
---
drivers/media/platform/exynos4-is/media-dev.c | 36 +
Use "skyworks" as the vendor prefix for the Skyworks Solutions, Inc.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
---
.../devicetree/bindings/vendor-prefixes.txt|1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Doc
This patch adds helper functions for registering/unregistering
LED Flash class devices as V4L2 sub-devices. The functions should
be called from the LED subsystem device driver. In case the
support for V4L2 Flash sub-devices is disabled in the kernel
config the functions' empty versions will be used
This patch adds led-flash support to Maxim max77693 chipset.
A device can be exposed to user space through LED subsystem
sysfs interface. Device supports up to two leds which can
work in flash and torch mode. The leds can be triggered
externally or by software.
Signed-off-by: Jacek Anaszewski
Sig
Modify FLASH_EN_SHIFT and TORCH_EN_SHIFT macros to work properly
when passed enum max77693_fled values (0 for FLED1 and 1 for FLED2)
from leds-max77693 driver. Previous definitions were compatible with
one of the previous RFC versions of leds-max77693.c driver, which was
not merged.
Signed-off-by:
Add a documentation of LED Flash class specific sysfs attributes.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
Documentation/ABI/testing/sysfs-class-led-flash | 80 +++
1 file changed, 80 insertions(+)
create mode 100644 Do
From: Boris BREZILLON
Rename lcd_clk into lcdc_clk to be consistent with sama5d3 clock
definitions.
Signed-off-by: Boris BREZILLON
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d4.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/sama5d4.dtsi
In commit 08177f4 (HID: uclogic: merge hid-huion driver in hid-uclogic)
HID_HUION depends explicitely on USB_HID because it contained quite some
USB-isms.
Now that hid-uclogic is the new home of Huion tablets, we need to also
add the dependency on USB_HID to this driver.
Reported-by: Jiri Kosina
On Mar 04 2015 or thereabouts, Jiri Kosina wrote:
> On Tue, 3 Mar 2015, Benjamin Tissoires wrote:
>
> > From: Nikolai Kondrashov
> >
> > Merge the hid-huion driver into hid-uclogic as all the devices supported
> > by hid-huion are in fact UC-Logic devices.
> >
> > Signed-off-by: Nikolai Kondras
This patch adds a driver for the 1.5A Step-Up Current Regulator
for Flash LEDs. The device is programmed through a Skyworks proprietary
AS2Cwire serial digital interface.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
drivers/leds/Kconfig|
This patch extends LED Flash class documention by
the description of interactions with v4l2-flash sub-device.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Acked-by: Sakari Ailus
Cc: Bryan Wu
Cc: Richard Purdie
---
Documentation/leds/leds-class-flash.txt | 13 +
1 fil
Add macros for defining boost mode and trigger type properties
of flash LED devices.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
include/dt-bindings/leds/max77693.h | 21 +
1 file changed, 21 insertions(+)
create mode 1006
On Wed, 2015-03-04 at 01:00 +, Andrew Morton wrote:
> On Tue, 03 Mar 2015 16:14:32 -0700 Toshi Kani wrote:
>
> > On Tue, 2015-03-03 at 14:44 -0800, Andrew Morton wrote:
> > > On Tue, 3 Mar 2015 10:44:24 -0700 Toshi Kani wrote:
> > :
> > > > +
> > > > +#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
> >
On Wed, 04 Mar 2015 08:13:21 -0800
Joe Perches wrote:
> On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote:
> > Currently there is a quite a pile of code sitting in
> > arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu backtracing from NMI.
> > The code is inaccessible to backtrace impl
Change flash cell identifiers from max77693-flash to max77693-led
to avoid confusion with NOR/NAND Flash.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Acked-by: Lee Jones
---
drivers/mfd/max77693.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mf
On Tue, Mar 03, 2015 at 12:07:19PM +0900, Namhyung Kim wrote:
> When perf detects data file has index table, process header part first
> and then rest data files in a row. Note that the indexed sample data is
> recorded for each cpu/thread separately, it's already ordered with
> respect to themsel
From: Boris BREZILLON
lcdck takes mck (not smd) as its parent.
Signed-off-by: Boris BREZILLON
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d4.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
ind
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class
driver. The support allows for V4L2 Flash sub-device to take the control
of the LED Flash class device.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
Cc: Sakari Ailus
---
drivers/le
Synchronized flash strobe feature has been considered not fitting
for LED subsystem sysfs interface and thus is being removed.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
drivers/leds/led-class-flash.c | 82 ---
Add a macro for obtaining the mask of ITORCH register bit fields
related either to FLED1 or FLED2 current output. The expected
arguments are TORCH_IOUT1_SHIFT or TORCH_IOUT2_SHIFT.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Chanwoo Choi
Cc: Lee Jones
---
include/linux/mfd/max
This patch set is a follow-up of the LED / flash API integration
series [1]. It is based on linux-next_20150304
Changes since version 11 :
- removed synchronized strobe feature from LED Flash class, as it
turned out to be not fitting for sysfs i
This patch adds device tree binding documentation for
the flash cell of the Maxim max77693 multifunctional device.
Signed-off-by: Jacek Anaszewski
Signed-off-by: Andrzej Hajda
Acked-by: Kyungmin Park
Cc: Lee Jones
Cc: Chanwoo Choi
Cc: Bryan Wu
Cc: Richard Purdie
---
Documentation/devicetre
This patch adds a description of 'flashes' property
to the samsung-fimc.txt.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Sylwester Nawrocki
---
.../devicetree/bindings/media/samsung-fimc.txt |8
1 file changed, 8 insertions(+)
diff --git a/Documentation/device
This patch adds device tree binding documentation for
1.5A Step-Up Current Regulator for Flash LEDs.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
.../devicetree/bindings/leds/leds-aat1290.txt | 64
1 file changed, 64 i
The documentation being added contains overall description of the
LED Flash Class and the related sysfs attributes.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
---
Documentation/leds/leds-class-flash.txt | 22 ++
1 file changed
Add support for V4L2 Flash sub-device to the max77693 LED Flash class
driver. The support allows for V4L2 Flash sub-device to take the control
of the LED Flash class device.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Bryan Wu
Cc: Richard Purdie
Cc: Sakari Ailus
---
drivers/l
The flash part of the max77693 device will depend only on OF, and thus
will not use board files. Since there are no other users of the
struct max77693_led_platform_data its existence is unjustified.
Signed-off-by: Jacek Anaszewski
Acked-by: Kyungmin Park
Cc: Chanwoo Choi
Cc: Lee Jones
---
inc
I know from some data I have seen that between the Intel Sandy Bridge
and Intel Ivy Bridge the same motherboards stopped delivering INTx
reliably (int lost under load around 1x every 30 days, driver and
firmware has no method to recover from failure) We had to transition
to using MSI on some PCI
Building with the attached random configuration file,
net/ax25/ax25_ip.c:225:26: error: unknown type name 'sturct'
netdev_tx_t ax25_ip_xmit(sturct sk_buff *skb)
^
scripts/Makefile.build:258: recipe for target 'net/ax25/ax25_ip.o' failed
#
# Automatically generated file;
On Wed, 4 Mar 2015, Benjamin Tissoires wrote:
> In commit 08177f4 (HID: uclogic: merge hid-huion driver in hid-uclogic)
> HID_HUION depends explicitely on USB_HID because it contained quite some
> USB-isms.
>
> Now that hid-uclogic is the new home of Huion tablets, we need to also
> add the depen
Rearrange code in mm/huge_memory.c to make future changes somewhat
easier.
Signed-off-by: Kirill A. Shutemov
---
mm/huge_memory.c | 224 +++
1 file changed, 112 insertions(+), 112 deletions(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
i
On Wed, 2015-03-04 at 11:20 -0500, Steven Rostedt wrote:
> On Wed, 04 Mar 2015 08:13:21 -0800
> Joe Perches wrote:
>
> > On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote:
> > > Currently there is a quite a pile of code sitting in
> > > arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu
With new refcounting all subpages of the compound page are not nessessary
have the same mapcount. We need to take into account mapcount of every
sub-page.
Signed-off-by: Kirill A. Shutemov
---
fs/proc/task_mmu.c | 43 ++-
1 file changed, 22 insertions(+),
With new refcounting pte entries can point to tail pages. It's doesn't
make much sense to mark tail page locked -- we need to protect whole
compound page.
This patch adjust helpers related to PG_locked to operate on head page.
Signed-off-by: Kirill A. Shutemov
---
include/linux/page-flags.h |
Hello everybody,
It's bug-fix update of my thp refcounting work.
The goal of patchset is to make refcounting on THP pages cheaper with
simpler semantics and allow the same THP compound page to be mapped with
PMD and PTEs. This is required to get reasonable THP-pagecache
implementation.
With the
We're going to allow mapping of individual 4k pages of THP compound
page. It means we cannot rely on PageTransHuge() check to decide if map
small page or THP.
The patch adds new argument to rmap function to indicate whethe we want
to map whole compound page or only the small page.
Signed-off-by:
On Wed, 2015-03-04 at 18:32 +, Tao Chen wrote:
> Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr
> sentences and DPRINTK.
> Also fixed up some comments just as eliminate redundant white spaces and
> format the code.
> These will make the code easier to read.
It'd proba
Currently PageAnon() and page_anon_vma() are always return false/NULL
for tail. We need to look on head page for correct answer.
Let's change the function to give the correct result for tail page.
Signed-off-by: Kirill A. Shutemov
---
include/linux/mm.h | 1 +
include/linux/rmap.h | 1 +
2 fi
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d3.dtsi | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index e30fee2edd55..def05e20e9d6 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/a
The patch updates Documentation/vm/transhuge.txt to reflect changes in
THP design.
Signed-off-by: Kirill A. Shutemov
---
Documentation/vm/transhuge.txt | 100 +++--
1 file changed, 45 insertions(+), 55 deletions(-)
diff --git a/Documentation/vm/transhuge.txt
Fix warning (discovered using randconfig)
drivers/misc/mei/mei-trace.h:30:24: warning: 'struct device' declared
inside parameter list
TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32
val),
Signed-off-by: Tomas Winkler
---
drivers/misc/mei/mei-trace.h | 2 ++
1 file change
stdout-path defines ':' as a path separator and commit 75c28c09af99a
("of: add optional options parameter to of_find_node_by_path()") added
the necessary support to parse paths terminated with ':' path separator.
commit 7914a7c5651a5 ("of: support passing console options with
stdout-path") added op
On Wed, Mar 04, 2015 at 03:03:41PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20150303:
>
> The md tree still had its build failure so I applied a fix patch.
>
> The mfd tree gained a build failure so I used the version from
> next-20150303.
>
> The clk tree still had its build
Fx fixes leak introduced by:
commit b7d885145538 ("mei: revamp me clients list handling")
Signed-off-by: Tomas Winkler
---
drivers/misc/mei/client.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 98a5363e1e8a..b6fec4d15307 10064
On Wed, Mar 04, 2015 at 04:51:39PM +0100, Jiri Kosina wrote:
> On Wed, 4 Mar 2015, Josh Poimboeuf wrote:
>
> > > CPU0 CPU1
> > >
> > > delete_module() #SYSCALL
> > >
> > >try_stop_module()
> > > mod->state = MODULE_STATE_GOING;
> > >
> > >mutex
With new refcounting we will be able map the same compound page with
PTEs and PMDs. It requires adjustment to conditions when we can reuse
the page on write-protection fault.
For PTE fault we can't reuse the page if it's part of huge page.
For PMD we can only reuse the page if nobody else maps th
On 03/04/2015 06:24 PM, Benjamin Tissoires wrote:
In commit 08177f4 (HID: uclogic: merge hid-huion driver in hid-uclogic)
HID_HUION depends explicitely on USB_HID because it contained quite some
USB-isms.
Now that hid-uclogic is the new home of Huion tablets, we need to also
add the dependency o
On Wed, Feb 25, 2015 at 02:14:55PM -0800, Laura Abbott wrote:
>
> The set_memory_* functions currently only support module
> addresses. The addresses are validated using is_module_addr.
> That function is special though and relies on internal state
> in the module subsystem to work properly. At th
We're going to use migration entries instead of compound_lock() to
stabilize page refcounts. Setup and remove migration entries require
page to be locked.
Some of split_huge_page() callers already have the page locked. Let's
require everybody to lock the page before calling split_huge_page().
Sig
On 04.03.2015 15:35, Dave Martin wrote:
Try
rm drivers/clk/mvebu/kirkwood.o
make ARCH=arm KBUILD_CFLAGS_KERNEL=-save-temps drivers/clk/mvebu/kirkwood.o
(abuse of KBUILD_CFLAGS_KERNEL here, but it's empty by default, and
I'm too lazy to copy-paste command lines...)
The compiler will split ou
is it ok, to create a new global variable that tracks if pdata was
alloced via devm_kzalloc and sets pdata to NULL in w1_gpio_remove?
Am 04.03.2015 um 04:53 schrieb Ingo Flaschberger:
If w1-gpio is probed via device-tree configuration, pdata is allocated
via devm_kzalloc.
When the device is unb
We don't need a compound lock anymore: split_huge_page() doesn't need it
anymore.
Signed-off-by: Kirill A. Shutemov
---
include/linux/mm.h | 35
include/linux/page-flags.h | 12 +---
mm/debug.c | 3 -
mm/swap.c | 135 +++--
Let's split THP with FOLL_SPLIT. Attempting to split them laterk would
always fail bacause we take references on tail pages.
Signed-off-by: Kirill A. Shutemov
---
mm/ksm.c | 58 --
1 file changed, 8 insertions(+), 50 deletions(-)
diff --gi
Prepare khugepaged to see compound pages mapped with pte. For now we
won't collapse the pmd table with such pte.
khugepaged is subject for future rework wrt new refcounting.
Signed-off-by: Kirill A. Shutemov
---
mm/huge_memory.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff -
With new THP refcounting, we don't need tricks to stabilize huge page.
If we've got reference to tail page, it can't split under us.
This patch effectively reverts a5b338f2b0b1.
Signed-off-by: Kirill A. Shutemov
---
kernel/futex.c | 61 --
The patch replaces THP_SPLIT with tree events: THP_SPLIT_PAGE,
THP_SPLIT_PAGE_FAILT and THP_SPLIT_PMD. It reflects the fact that we
now can split PMD without the compound page and that split_huge_page()
can fail.
Signed-off-by: Kirill A. Shutemov
---
include/linux/vm_event_item.h | 4 +++-
mm/hu
On 4 March 2015 at 17:38, Michael Büsch wrote:
> On Wed, 4 Mar 2015 14:36:10 +0100
> Rafał Miłecki wrote:
>
>> Any other opinions?
>
> I think this is the only way to go.
> In ssb we always had optional pcicore driver, as far as I remember,
> so we should have the same in bcma, too.
> The old WRT
Le 04/03/2015 17:26, Nicolas Ferre a écrit :
> Signed-off-by: Nicolas Ferre
Please, forget this patch. It is handled by
arch/arm/boot/dts/sama5d3_uart.dtsi file.
Sorry for the noise ;-)
Bye,
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 26 ++
> 1 file changed, 26 insertio
With new refcounting we don't need to mark PMDs splitting. Let's drop
code to handle this.
Signed-off-by: Kirill A. Shutemov
---
arch/x86/include/asm/pgtable.h | 9 -
arch/x86/include/asm/pgtable_types.h | 2 --
arch/x86/mm/gup.c| 13 +
arch/x86/mm
Current split_huge_page() combines two operations: splitting PMDs into
tables of PTEs and splitting underlying compound page. This patch
changes split_huge_pmd() implementation to split the given PMD without
splitting other PMDs this page mapped with or underlying compound page.
In order to do thi
On Mon, Mar 02, 2015 at 04:24:44PM +0800, Chen-Yu Tsai wrote:
> Reduced Serial Bus (RSB) is an SMBus like bus used to communicate
> with some PMICs (like the AXP223) or other peripherals.
>
> The RSB DT bindings are pretty much the same as the one defined for
> the marvell's mv64xxx controller, wi
We're going to allow mapping of individual 4k pages of THP compound and
we need a cheap way to find out how many time the compound page is
mapped with PMD -- compound_mapcount() does this.
We use the same approach as with compound page destructor and compound
order: use space in first tail page, -
With new refcounting THP can belong to several VMAs. This makes tricky to
tracking THP pages, when they partially mlocked. It can lead to leaking
mlocked pages to non-VM_LOCKED vmas and other problems.
With this patch we will split all pages on mlock and avoid
fault-in/collapse new THP in VM_LOCKE
On Wed 2015-03-04 09:34:15, Josh Poimboeuf wrote:
> On Wed, Mar 04, 2015 at 02:17:52PM +0100, Petr Mladek wrote:
> > On Tue 2015-03-03 17:02:22, Josh Poimboeuf wrote:
> > > It's possible for klp_register_patch() to see a module before the COMING
> > > notifier is called, or after the GOING notifier
Currently we don't split huge page on partial unmap. It's not an ideal
situation. It can lead to memory overhead.
Furtunately, we can detect partial unmap on page_remove_rmap(). But we
cannot call split_huge_page() from there due to locking context.
It's also counterproductive to do directly from
The new split_huge_page() can fail if the compound is pinned: we expect
only caller to have one reference to head page. If the page is pinned
split_huge_page() returns -EBUSY and caller must handle this correctly.
We don't need mark PMDs splitting since now we can split one PMD a time
with split_h
We are going to decouple splitting THP PMD from splitting underlying
compound page.
This patch renames split_huge_page_pmd*() functions to split_huge_pmd*()
to reflect the fact that it doesn't imply page splitting, only PMD.
Signed-off-by: Kirill A. Shutemov
---
arch/powerpc/mm/subpage-prot.c |
We prepare kernel to allow transhuge pages to be mapped with ptes too.
We need to handle FOLL_SPLIT in follow_page_pte().
Also we use split_huge_page() directly instead of split_huge_page_pmd().
split_huge_page_pmd() will gone.
Signed-off-by: Kirill A. Shutemov
---
mm/gup.c | 70 +++
With new refcounting we don't need to mark PMDs splitting. Let's drop code
to handle this.
Arch-specific code will removed separately.
Signed-off-by: Kirill A. Shutemov
---
fs/proc/task_mmu.c| 8 +++---
include/asm-generic/pgtable.h | 5
include/linux/huge_mm.h | 16 ---
Currently, we rely on compound_lock() to get page counts stable on
splitting page refcounting. To get it work we also take the lock on
get_page() and put_page() which is hot path.
This patch rework splitting code to setup migration entries to stabilaze
page count/mapcount before distribute refcoun
With new refcounting we cannot rely on PageTransHuge() check if we need
to charge size of huge page form the cgroup. We need to get information
from caller to know whether it was mapped with PMD or PTE.
We do uncharge when last reference on the page gone. At that point if we
see PageTransHuge() it
The call to omap2_mcspi_setup_transfer(spi, NULL) clobbers the previous
status value, possibly masking hardware transfer errors. Instead record
a separate status for this call. Give preference to reporting a hardware
transfer error over any error returned by omap2_mcspi_setup_transfer()
Signed-off
Commit de7b5b3d790a ("net: eth: xgene: change APM X-Gene SoC platform
ethernet to support ACPI") breaks booting with devicetree with UEFI
firmware. In that case, I get:
Unhandled fault: synchronous external abort (0x9610) at 0xfc620010
Internal error: : 9610 [#1] SMP
Modules link
Hi,
On Mon, Mar 02, 2015 at 04:24:43PM +0800, Chen-Yu Tsai wrote:
> The RSB controller looks like an SMBus controller which only supports byte
> and word data transfers. It can also do double-word data transfers, but the
> I2C subsystem does not support this, nor have we seen devices using this.
>
File name had at91 prefix, which is not the case anymore for SAMA5D3.
AT91SAM9x5 was mentioned instead of SAMA5D3 SoC.
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d3_can.dtsi | 2 +-
arch/arm/boot/dts/sama5d3_emac.dtsi | 2 +-
arch/arm/boot/dts/sama5d3_gmac.dtsi | 2 +-
arch/arm/boo
On Wednesday 04 March 2015 15:47:25 Alexandre Belloni wrote:
> @@ -21,6 +21,14 @@
> #include "generic.h"
> #include "soc.h"
>
> +#define SAMA5D4_BASE_USART30xfc00c000 /* (USART3 non-secure) Base
> Address */
> +#define SAMA5D4_BASE_PMC 0xf0018000 /* (PMC) Base Address */
> +#define S
On Wed, Mar 04, 2015 at 03:12:04PM +0800, Daniel J Blueman wrote:
> Your patch solves the conflicts nicely [1] with:
>
> From f835b16b0758a1dde6042a0e4c8aa5a2e8be5f21 Mon Sep 17 00:00:00 2001
> From: Daniel J Blueman
> Date: Wed, 4 Mar 2015 14:53:00 +0800
> Subject: [PATCH] Mark PCI BARs with add
On 04/03/15 16:11, Laurent Pinchart wrote:
Hi Sudeep,
On Wednesday 04 March 2015 15:56:12 Sudeep Holla wrote:
[...]
Also I don't see any message on the host side. Let me know if there's
something wrong in my config or test commands.
Looks like a driver bug to me, .udc_start() and .udc_s
Legacy INTx is shared amongst multiple devices. Since it is a level sensitive
simulation of the interrupt line, it only takes one device (or driver) to
forget to clear the interrupt, and then it stuck and won't work for any of the
devices using it.
If you're working with one particular device
Use spin_{un,}lock_irq{save,restore} in isp1760_udc_{start,stop} to
prevent following potentially deadlock scenario between
isp1760_udc_{start,stop} and isp1760_udc_irq :
=
[ INFO: inconsistent lock state ]
4.0.0-rc2-4-gf7bb2ef60173 #51 Not tainted
-
On Wed, Mar 04, 2015 at 03:29:17PM +0100, Takashi Iwai wrote:
> regcache_sync() spews warnings when a value was cached for a read-only
> register as it tries to write all registers no matter whether they are
> writable or not. This patch adds regmap_wrtieable() checks for
> avoiding it in regcache
(I don't know why I've been added on this e-mail chain, I'm not in any
way linked to broadcom or any of their drivers)
On 03/04/2015 09:39 AM, Nikita N. wrote:
Dear Arend,
as followup to my last inquiry, since it's passed more than 2 weeks, I'm
afraid I didn't receive any answer.
As from subjec
On 04/03/2015 at 18:03:45 +0100, Arnd Bergmann wrote :
> On Wednesday 04 March 2015 15:47:25 Alexandre Belloni wrote:
> > @@ -21,6 +21,14 @@
> > #include "generic.h"
> > #include "soc.h"
> >
> > +#define SAMA5D4_BASE_USART30xfc00c000 /* (USART3 non-secure) Base
> > Address */
> > +#define
Mark,
On Wed, Mar 4, 2015 at 3:27 AM, Mark Brown wrote:
> On Tue, Mar 03, 2015 at 03:21:21PM -0800, Doug Anderson wrote:
>
>> It looks as if "ena_gpio_state" is not quite what I thought it was and
>> I think is not actually consistent in the regulator framework itself.
>> In _regulator_do_enable(
On Wed, 4 Mar 2015 14:36:10 +0100
Rafał Miłecki wrote:
> Any other opinions?
I think this is the only way to go.
In ssb we always had optional pcicore driver, as far as I remember,
so we should have the same in bcma, too.
The old WRT54G kernel used to compile just fine with SSB and without any P
We verified the exact same device worked with the previous cpu in the
same mb/bios combination same os/kernel combination, only identified
change for us was a ivy bridge vs a sandy bridge in the same
mb/bios/boardfirmware.
And in this case only one device driver/pci board was using the given
inter
Hi,
On Wed, Mar 04, 2015 at 03:21:32PM +0100, Alexandre Belloni wrote:
> AT91RM9200 uses the watchdog from the system timer to reset.
> [...]
> + regmap_write(regmap_st, AT91_ST_WDMR,
> + AT91_ST_RSTEN | AT91_ST_EXTEN | 1);
> + regmap_write(regmap_st, AT91_ST_CR, AT91_ST_W
On Wed, 2015-03-04 at 16:33 +, Daniel Thompson wrote:
> On Wed, 2015-03-04 at 11:20 -0500, Steven Rostedt wrote:
> > On Wed, 04 Mar 2015 08:13:21 -0800
> > Joe Perches wrote:
> >
> > > On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote:
> > > > Currently there is a quite a pile of code
On Sun, Mar 1, 2015 at 3:27 PM, Alexei Starovoitov wrote:
> Peter, Steven,
> I think this set addresses everything we've discussed.
> Please review/ack. Thanks!
icmp echo request
> V4->V5:
> - switched to ktime_get_mono_fast_ns() as suggested by Peter
> - in libbpf.c fixed zero init of 'union bp
On 03/03/2015 09:49 PM, David Rientjes wrote:
On Tue, 3 Mar 2015, Mike Kravetz wrote:
Add a new hugetlbfs mount option 'reserved' to specify that the number
of pages associated with the size of the filesystem will be reserved. If
there are insufficient pages, the mount will fail. The reservati
801 - 900 of 1215 matches
Mail list logo