If of_iomap() or any other subsequent function fails we were exiting
but we missed to free timer and unmap timer->base if iomap has already
been done.
Signed-off-by: Sudip Mukherjee
---
drivers/clocksource/moxart_timer.c | 22 --
1 file
Hi Bart,
Today's linux-next merge of the target-bva tree got a conflict in:
drivers/target/target_core_configfs.c
between commit:
450630975da9 ("don't open-code file_inode()")
from Linus' tree and commit:
8cc3bb0789ea ("target: Use NULL instead of 0 to represent a pointer")
from the
On Sun, 18 Dec 2016, Florian Fainelli wrote:
> Register the TS-7300 FPGA manager device drivers which allows us to load
> bitstreams into the on-board Altera Cyclone II FPGA.
>
> Acked-by: H Hartley Sweeten
> Signed-off-by: Florian Fainelli
Hi David,
[auto build test WARNING on chanwoo-extcon/extcon-next]
[also build test WARNING on v4.9 next-20161216]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
Since memblock is used, initrd memory region can be easily
verified and reserved if looks ok. Verification method will be
useful for other reservation methods.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 157 -
1 file changed,
Hi Pavel,
On Wed, Dec 14, 2016 at 09:12:02PM +0100, Pavel Machek wrote:
> Hi!
>
> > On Wednesday 14 December 2016 13:24:51 Pavel Machek wrote:
> > >
> > > Add driver for et8ek8 sensor, found in Nokia N900 main camera. Can be
> > > used for taking photos in 2.5MP resolution with fcam-dev.
> > >
The variable Newblk was only being assigned some value but was never
used after that.
Signed-off-by: Sudip Mukherjee
---
drivers/usb/storage/ene_ub6250.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/storage/ene_ub6250.c
Hi Linus,
This is the last of the patches queued for the 4.10 merge window for
platform-drivers-x86. This series was reviewed and committed by Andy Shevchenko.
I'm submitting the pull request as part of the ramp/transition effort to working
as a maintainer team. In the future Andy will prepare
On 18.12.2016 21:14, Paul E. McKenney wrote:
On Sun, Dec 18, 2016 at 07:57:42PM +, Valo, Kalle wrote:
Tobias Klausmann writes:
A patch for this is already floating on the ML for a while now latest:
(ath9k: do not return early to fix rcu unlocking)
Hi Miklos,
Today's linux-next merge of the overlayfs tree got conflicts in:
fs/overlayfs/dir.c
fs/overlayfs/inode.c
I am pretty sure thses conflicts only exist because the overlayfs tree
was rebased before being merged by Linus. I am dropping the oevrlay fs
tree for today. Please clean it
On Sat, Dec 17, 2016 at 12:19:34AM -0200, Marcos Paulo de Souza wrote:
> Avoid AUX loopback in Pegatron C15B touchpad, so input subsystem is able
> to recognize a synaptics touchpad in the AUX port.
>
> Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=93791
> (Touchpad is not detected on DNS
Driver code never touches "rstn" signal in atomic context, so there's
no need to implicitly put such restriction on it by using gpio_set_value
to manipulate it. Replace gpio_set_value to gpio_set_value_cansleep to
fix that.
As a an example of where such restriction might be inconvenient,
consider
On Sat, Dec 17, 2016 at 02:54:11PM +0100, Peter Zijlstra wrote:
> On Fri, Dec 16, 2016 at 04:06:39PM -0800, Darren Hart wrote:
> > On Tue, Dec 13, 2016 at 09:36:40AM +0100, Peter Zijlstra wrote:
> > > Thomas spotted that fixup_pi_state_owner() can return errors and we
> > > fail to unlock the
On Sun, Dec 18, 2016 at 04:06:06AM +, Al Viro wrote:
> On Sat, Dec 17, 2016 at 07:34:45PM -0800, Linus Torvalds wrote:
> > > What else am I missing there?
> >
> > I absolutely *abhor* this part:
> >
> > *len = isize - pos_in;
> >
> > because the whole code then depends on
On 12/16/2016 11:38 PM, Sam Ravnborg wrote:
> Hi Mike
>
>> diff --git a/arch/sparc/include/asm/mmu_context_64.h
>> b/arch/sparc/include/asm/mmu_context_64.h
>> index b84be67..d031799 100644
>> --- a/arch/sparc/include/asm/mmu_context_64.h
>> +++ b/arch/sparc/include/asm/mmu_context_64.h
>> @@
On Sun, Dec 18, 2016 at 3:13 PM, Darren Hart wrote:
>
> The commits he reviewed and committed only have his Signed-off-by, and not
> mine.
> Is this correct procedure?
Yes. Basically the sign-off chain should go from the author to the
committer, with any possibly
The vbus-present bit in the power status register also gets set to 1
when a usb-host cable (id-pin shorted to ground) is plugged in and a 5v
boost converter is supplying 5v to the otg usb bus.
This causes a "disconnect or unknown or ID event" warning in dmesg as
well as the extcon device to
axp288_handle_chrg_det_event only gets called on change interrupts
(so not that often), extcon_set_state_sync() checks itself if there are
any actual changes before notifying listeners, and gpiod_set_value is
not really expensive either.
So we can simply always do both on each interrupt removing
Setting the irq_enable bits is taken care of by the irq chip when we
request the irqs and the driver should not be meddling with the
irq?_en registers itself.
Signed-off-by: Hans de Goede
---
drivers/extcon/extcon-axp288.c | 19 +++
1 file changed, 3
Add a MODULE_DEVICE_TABLE to fix the module not auto-loading.
Signed-off-by: Hans de Goede
---
drivers/extcon/extcon-axp288.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/extcon/extcon-axp288.c b/drivers/extcon/extcon-axp288.c
index a27ee68..509a5f9
When the charger type changes from e.g. SDP to CDP, without Vbus being
seen as low in between axp288_handle_chrg_det_event would set the state
for the new cable type to true, without clearing the state of the
previous cable type to false.
This commit fixes this and also gets rid of the function
These messages are helpful for the user to check if their charger is
correctly detected, so make them dev_dbg instead of dev_info.
Also add a new message to indicate when the vbus is disconnected /
no cable is detected.
Signed-off-by: Hans de Goede
---
The rk3328's pll and clock are similar with rk3036's,
it different with pll_mode_mask,there are different
control registers bit,
so these should be independent and separate from
the series of rk3328s.
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk-pll.c | 13
Add devicetree bindings for Rockchip cru which found on
Rockchip SoCs.
Signed-off-by: Elaine Zhang
---
.../bindings/clock/rockchip,rk3328-cru.txt | 57 ++
1 file changed, 57 insertions(+)
create mode 100644
Changes in v2:
add bindings for rk3328 clock controller
Elaine Zhang (4):
clk: rockchip: add dt-binding header for rk3328
dt-bindings: add bindings for rk3328 clock controller
clk: rockchip: add clock controller for rk3328
clk: rockchip: add new pll-type for rk3328
On Fri, 16 Dec 2016, Joshua Clayton wrote:
> This series adds an FPGA manager for Altera cyclone FPGAs
> that can program them using an spi port and a couple of gpios, using
> Alteras passive serial protocol.
>
> Need ACKs from ARCH maintainers for ARCH specific implementations of
>
It's useful to have some printed map of the kernel virtual memory,
at least for debugging purpose.
Signed-off-by: Serge Semin
---
arch/mips/mm/init.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/arch/mips/mm/init.c
The variable havedata was only being set but never used afterwards.
Signed-off-by: Sudip Mukherjee
---
drivers/usb/serial/cypress_m8.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index
On Sat, Dec 17, 2016 at 02:52:14PM +0100, Peter Zijlstra wrote:
> On Fri, Dec 16, 2016 at 03:31:40PM -0800, Darren Hart wrote:
> > On Tue, Dec 13, 2016 at 09:36:38AM +0100, Peter Zijlstra wrote:
> > > That way, when we drop hb->lock to wait, futex and rt_mutex wait state is
> > > consistent.
> > >
The variable isnew was only assigned 0 or 1 but was never used after
that.
Signed-off-by: Sudip Mukherjee
---
drivers/usb/storage/sddr09.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/usb/storage/sddr09.c
On Sun, Dec 18, 2016 at 03:04:24PM +, Ard Biesheuvel wrote:
> The only issue I spotted is that the kuser_get_tls routine has only
> two instruction slots for the return sequence, but we can easily work
> around that by moving the TLS hardware instruction around in the
> template (and update
Hi extcon and power-supply system maintainers,
This series really are 2 separate series, patches 1 - 2 add a new
extcon_get_extcon_dev_by_cable_id function to the extcon core.
Patches 3 - 15 consist of various fixes for the axp288_charger
driver, including one fix which uses the new
Implement extcon_register_notifier's support for a NULL edev argument
using the new extcon_get_extcon_dev_by_cable_id function.
Signed-off-by: Hans de Goede
---
drivers/extcon/extcon.c | 35 +++
1 file changed, 11 insertions(+), 24
From: David Cohen
Add an exntcon driver to for USB OTG ports controlled by 3 GPIOs used on
Intel Baytrail and Cherrytrail tablets.
Signed-off-by: David Cohen
[hdgo...@redhat.com: Port to current kernel, submit upstream]
Signed-off-by: Hans de
On 12/16/2016 11:45 PM, Sam Ravnborg wrote:
> Hi Mike
>
>> diff --git a/arch/sparc/kernel/fpu_traps.S b/arch/sparc/kernel/fpu_traps.S
>> index 336d275..f85a034 100644
>> --- a/arch/sparc/kernel/fpu_traps.S
>> +++ b/arch/sparc/kernel/fpu_traps.S
>> @@ -73,6 +73,16 @@ do_fpdis:
>> ldxa
On 12/17/2016 07:12 PM, David Miller wrote:
> From: Mike Kravetz
> Date: Fri, 16 Dec 2016 10:35:28 -0800
>
>> @@ -166,6 +166,7 @@ bool kern_addr_valid(unsigned long addr);
>> #define _PAGE_EXEC_4V _AC(0x0080,UL) /* Executable Page
>> */
>>
Memblock API can be successfully used to verify whether crashkernel
memory region belongs to low memory, then it can be reserved within
memblock allocator.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 105 ++---
1 file changed, 52
Memblock API can be successfully used to verify whether elfcorehdr
memory region belongs to lowmemory, then it can be reserved within
memblock allocator. There is also available default method for
early parameters parser in kernel/crash_dump.c: setup_elfcorehdr(),
so it's wise to use one instead
Le 12/11/16 à 11:16, Florian Fainelli a écrit :
> The TS-72xx/73xx boards have a CPLD watchdog which is configured to
> reset the board after 8 seconds, if the kernel is large enough that this
> takes about this time to decompress the kernel, we will encounter a
> spurious reboot.
>
> Do not pull
On Fri, 16 Dec 2016, Joshua Clayton wrote:
> Describe a cyclone-ps-spi devicetree entry, required features
>
> Signed-off-by: Joshua Clayton
> Acked-by: Rob Herring
Acked-by: Alan Tull
> ---
>
Main memory initialization method looks messy with cmd line parser
built-in. So it's better for readability to put it into a separated
method.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 87 --
1 file changed, 48 insertions(+),
On Fri, 16 Dec 2016, Joshua Clayton wrote:
> Add support for Altera cyclone V FPGA connected to an spi port
> to the evi devicetree file
>
> Signed-off-by: Joshua Clayton
Acked-by: Alan Tull
> ---
> arch/arm/boot/dts/imx6q-evi.dts | 16
Hi Pavel,
On Tue, Dec 13, 2016 at 10:05:06PM +0100, Pavel Machek wrote:
> Hi!
>
> I have finally found the old mail you were refering to. Let me go
> through it.
>
> > > +/*
> > > + * Convert exposure time `us' to rows. Modify `us' to make it to
> > > + * correspond to the actual exposure time.
to_vep() is doing a container_of() on _ep. It is better to do the NULL
check first and then use it.
Signed-off-by: Sudip Mukherjee
---
drivers/usb/usbip/vudc_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/vudc_dev.c
On Wed, Dec 14, 2016 at 8:39 AM, Bartosz Folta wrote:
> There are hardware PCI implementations of Cadence GEM network
> controller. This patch will allow to use such hardware with reuse of
> existing Platform Driver.
Since it's already applied, perhaps you would consider
On 12/16/2016 11:34 PM, Sam Ravnborg wrote:
> Hi Mike.
>
> On Fri, Dec 16, 2016 at 10:35:25AM -0800, Mike Kravetz wrote:
>> Add new fields to the mm_context structure to support shared context.
>> Instead of a simple context ID, add a pointer to a structure with a
>> reference count. This is
Currently the kernel only supplies an internal API for creating
and destroying device tree overlays.
For some boards vendor specific kernel modules exist for
managing device tree overlays but the have not been
upstreamed.
This patch provides a sysfs based ABI for creation and destruction
of dt
The sysfs filesystem ABI to load and unload devicetree
overlays is decribed.
Signed-off-by: Heinrich Schuchardt
---
.../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++
1 file changed, 24 insertions(+)
create mode 100644
On a Rockchip rk3399-based board during suspend/resume testing, we
found that we could get the console UART into a state where it would
print this to the console a lot:
serial8250: too much work for irq42
Followed eventually by:
NMI watchdog: BUG: soft lockup - CPU#0 stuck for 11s!
Upon
Hi all,
After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
arch/x86/kernel/kvm.c: In function '__kvm_vcpu_is_preempted':
arch/x86/kernel/kvm.c:596:14: error: 'struct kvm_steal_time' has no member
named 'preempted'
return !!src->preempted;
Add the dt-bindings header for the rk3328, that gets shared between
the clock controller and the clock references in the dts.
Add softreset ID for rk3328.
Signed-off-by: Elaine Zhang
---
include/dt-bindings/clock/rk3328-cru.h | 403 +
1
Add the clock tree definition for the new rk3328 SoC.
Changes in v2:
fix up these *_sample error description.
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/Makefile |1 +
drivers/clk/rockchip/clk-rk3328.c | 1068 +
The whole kernel text/data/bss must be reserved to prevent sudden
kernel crashes, for instance, due to unexpected non-zero default static
variables initializations.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 117 +++--
1 file
Right after all the necessary reservations are done, free memory
regions can be tested if it is activated with "memtest" parameter.
Signed-off-by: Serge Semin
---
arch/mips/mm/init.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/mm/init.c
Hi Heinrich,
[auto build test ERROR on linus/master]
[also build test ERROR on next-20161216]
[cannot apply to glikely/devicetree/next robh/for-next v4.9]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
Memblock allocator can be successfully used from now for early
memory management.
Signed-off-by: Serge Semin
---
arch/mips/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 2ef1e2d..527f2fe 100644
---
Both new memblock and boot_mem_map subsystems need to be fully
cleared before a new memory region is added. So the early parser is
correspondingly modified.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 67 +-
1 file changed, 37
In order to get a structured table of platform devices, it is
widespread amongst modern systems to use fdt'es.
MIPS should support one as well. Particularly /memory/ and
/reserved-memory/ should be analyzed and corresponding regions
registered with memblock subsystem.
Signed-off-by: Serge Semin
Most of the modern platforms supported by linux kernel have already
been cleaned up of old bootmem allocator by moving to nobootmem
interface wrapping up the memblock. This patchset is the first
attempt to do the similar improvement for MIPS for UMA systems
only.
Even though the porting was
There is no safe and fast way to get rid of boot_mem_map usage in
the wide set of platform code. But it's luck, that the architecture
specific code doesn't make any direct changes in the boot_mem_map
structure. Additionally the platform specific code registers the
available memory using
On Sun, Dec 18, 2016 at 09:35:48AM +0200, Igor Grinberg wrote:
> Hi Aniroop Mathur,
>
>
> On 12/04/16 15:05, Aniroop Mathur wrote:
> > Hello Mr. Igor Grinberg
> >
> > On Sun, Dec 4, 2016 at 1:32 PM, Igor Grinberg
> > wrote:
> >> Hi Aniroop Mathur,
> >>
> >> On
Hi Linus, please full from:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-for-4.10
...to receive the libnvdimm update for 4.10.
The libnvdimm pull request is relatively small this time around due to
some development topics being deferred to 4.11. However, Jan
Remove info->health, info->present and info->online caching, as no code
is reading the cached values.
Remove if (changed) check before calling power_supply_changed(), we
return early from axp288_charger_extcon_evt_worker if nothing has
changed, so the check is not needed.
Signed-off-by: Hans de
Deal with the charger type changing without a vbus-disconnect being
reported in between the 2 charger type states:
-Do not return from axp288_charger_extcon_evt_worker early in this case
(track old_chg_type)
-Make calling axp288_charger_enable_charger with the same value as before
a nop, to
To set a bit to 1 one needs to pass the mask for the bit to set
as second argument into regmap_update_bits, not "1".
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Setting the irq_enable bits is taken care of by the irq chip when we
request the irqs and the driver should not be meddling with the
irq?_en registers itself.
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 32
1
When the axp288_charger driver was originally merged, it was merged with
a dependency on some other driver providing platform data for it.
However the battery-data-framework which should provide that data never
got merged, so the axp288_charger as merged upstream has never worked,
its probe
Nothing was setting info->otg.cable, so the extcon_get_cable_state_
calls on it would always return -EINVAL.
This commit fixes this by actually setting info->otg.cable using the new
extcon_get_extcon_dev_by_cable_id function.
This commit also makes failing to register the extcon notifier for the
The extcon notifier work calls power_supply_changed on the power_supply
we register, so the extcon notifiers should be registered after we
register the power_supply.
While touching this code anyways, refactor the code for the 3 cable types
into a loop to avoid code repetition.
Signed-off-by:
Make charger_init_hw_regs propagate i2c errors, instead of only warning
about them and then ignoring them.
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 62 ---
1 file changed, 42 insertions(+), 20 deletions(-)
On 12/16/2016 11:53 PM, Sam Ravnborg wrote:
> Hi Mike
>
>> --- a/arch/sparc/mm/hugetlbpage.c
>> +++ b/arch/sparc/mm/hugetlbpage.c
>> @@ -162,8 +162,14 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned
>> long addr,
>> {
>> pte_t orig;
>>
>> -if (!pte_present(*ptep) &&
drivers/extcon/extcon-3gpio_otg.c:190:3-8: No need to set .owner here. The core
will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: David Cohen
Signed-off-by: Fengguang Wu
On Fri, Dec 16, 2016 at 10:24:17AM +0100, Thomas Huth wrote:
> On 15.12.2016 06:53, David Gibson wrote:
> > Currently, the powerpc kvm_arch structure contains a number of variables
> > tracking the state of the guest's hashed page table (HPT) in KVM HV. This
> > patch gathers them all together
On Fri, Dec 16, 2016 at 01:44:57PM +0100, Thomas Huth wrote:
> On 15.12.2016 06:53, David Gibson wrote:
> > The KVM_PPC_ALLOCATE_HTAB ioctl() is used to set the size of hashed page
> > table (HPT) that userspace expects a guest VM to have, and is also used to
> > clear that HPT when necessary
Hi David,
[auto build test WARNING on chanwoo-extcon/extcon-next]
[also build test WARNING on v4.9 next-20161216]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
Hello,
This adds support for the MediaTek hardware accelerator on
some SoCs.
This driver currently implement:
- SHA1 and SHA2 family(HMAC) hash algorithms.
- AES block cipher in CBC/ECB mode with 128/196/256 bits keys.
Chances since v3:
-remove unused structure member
-drop interrupt-parent
This adds support for the MediaTek hardware accelerator on
mt7623/mt2701/mt8521p SoC.
This driver currently implement:
- SHA1 and SHA2 family(HMAC) hash algorithms.
- AES block cipher in CBC/ECB mode with 128/196/256 bits keys.
Signed-off-by: Ryder Lee
---
Add DT bindings documentation for the crypto driver
Signed-off-by: Ryder Lee
---
.../devicetree/bindings/crypto/mediatek-crypto.txt | 27 ++
1 file changed, 27 insertions(+)
create mode 100644
On Tue, Nov 29, 2016 at 11:39 PM, Andrew Morton
wrote:
> On Tue, 29 Nov 2016 17:33:19 -0500 Dan Streetman wrote:
>
>> On Sat, Nov 26, 2016 at 2:15 PM, Vitaly Wool wrote:
>> > Here come 2 patches with z3fold fixes for chunks
The build of frv allmodconfig was failing with the errors like:
/tmp/cc0JSPc3.s: Assembler messages:
/tmp/cc0JSPc3.s:1839: Error: symbol `.LSLT0' is already defined
/tmp/cc0JSPc3.s:1842: Error: symbol `.LASLTP0' is already defined
/tmp/cc0JSPc3.s:1969: Error: symbol `.LELTP0' is already defined
Hi,
A patch for this is already floating on the ML for a while now latest:
(ath9k: do not return early to fix rcu unlocking)
Hopefully Kalle will include it in one of his upcoming pull requests.
Greetings,
Tobias
On 18.12.2016 16:59, Paul E. McKenney wrote:
On Sun, Dec 18, 2016 at
Fix CamelCase styling issues with EP0_out_PIO
Remove unecessary temporary variables
Signed-off-by: Afonso Bordado
---
drivers/staging/emxx_udc/emxx_udc.c | 29 -
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git
On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote:
> Document and implement Apple's ACPI-based (but nonstandard) pm mechanism
> for Thunderbolt. Briefly, an ACPI method provided by Apple is used to
> cut power to the controller. A GPE is enabled while the controller is
>
extcon_register_notifier() allows passing in a NULL pointer for the
extcon_device, so that extcon consumers which want extcon events of a
certain type, but do not know the extcon device name (e.g. because
there are different implementation depending on the board), can still
get such events.
But
Use devm_extcon_register_notifier and devm_power_supply_register
instead of their non devm counterparts, this avoids the need to do
manual cleanup and results in quite a nice code cleanup.
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 71
Add a MODULE_DEVICE_TABLE to fix the module not auto-loading.
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/power/supply/axp288_charger.c
b/drivers/power/supply/axp288_charger.c
On 12/17/2016 07:14 PM, David Miller wrote:
> From: Mike Kravetz
> Date: Fri, 16 Dec 2016 10:35:27 -0800
>
>> In current code, only context ID register 0 is set and used by the MMU.
>> On sun4v platforms that support MMU shared context, there is an additional
>> context
Do not wait for an extcon notification before processing the cable
states, instead queue the otg / cable work on probe to make sure we
immediately process the initial hardware state.
Note this also requiree moving the getting of the USB_HOST cable state
from the extcon notifier to the workqueue
Hi Linus,
Here is the pull-request for the RTC subsystem for 4.10.
Unfortunately, I had to rewrite a commit before sending because
patchwork changed the author's name unexpectedly.
The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:
Linux 4.9-rc1 (2016-10-15 12:17:50
Move the charger_init_hw_regs() above the power_supply_register call,
the axp288_charger_usb_set_property() uses axp288_chrg_info.max_cv and
.max_cc which get set by charger_init_hw_regs().
Signed-off-by: Hans de Goede
---
drivers/power/supply/axp288_charger.c | 8
When the extcon_axp288 driver was originally merged, it was merged with
a dependency on some other driver providing platform data for it.
However such another driver was never merged, so the extcon_axp288 as
merged upstream has never worked, its probe method simply always returns
-ENODEV.
This
The usb_phy based intel-usb-phy code never got merged into the
mainline kernel, so the devm_usb_get_phy() call will always fail,
blocking the driver from loading.
Since new drivers should use the generic-phy framework, not the
old-style usb_phy stuff, keeping this around is not useful.
Therefor
To allow building interfaces which are not id based
two new functions are added to the device tree
overlay API:
of_overlay_count- counts the loaded overlays
of_overlay_destroy_last - removes the last overlay loaded
Signed-off-by: Heinrich Schuchardt
---
Currently the kernel only supplies an internal API for creating
and destroying device tree overlays.
For some boards vendor specific kernel modules exist for
managing device tree overlays but they have not been
upstreamed or upstreaming stalled.
https://lkml.org/lkml/2015/6/12/624
2016년 08월 16일 01:02에 Daniel Vetter 이(가) 쓴 글:
> On Mon, Aug 15, 2016 at 04:42:18PM +0100, Chris Wilson wrote:
>> Rendering operations to the dma-buf are tracked implicitly via the
>> reservation_object (dmabuf->resv). This is used to allow poll() to
>> wait upon outstanding rendering (or just
On Fri, Dec 16, 2016 at 11:39:26AM +0100, Thomas Huth wrote:
> On 15.12.2016 06:53, David Gibson wrote:
> > Currently the kvm_hpt_info structure stores the hashed page table's order,
> > and also the number of HPTEs it contains and a mask for its size. The
> > last two can be easily derived from
On Fri, Dec 16, 2016 at 12:57:26PM +0100, Thomas Huth wrote:
> On 15.12.2016 06:53, David Gibson wrote:
> > Currently, kvmppc_alloc_hpt() both allocates a new hashed page table (HPT)
> > and sets it up as the active page table for a VM. For the upcoming HPT
> > resize implementation we're going
Just add some minor changes into buddy allocator initialization.
After all the alterations it shall work just fine from now.
Signed-off-by: Serge Semin
---
arch/mips/mm/init.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git
Perform memory sanity check right after basic memory is added.
It makes sure there is low memory available and there is no high
memory if one isn't supported. Additionally low memory limit needs
to be calculated so memblock would have a proper upper boundary for
memory allocations.
Signed-off-by:
Replace resource initialization method with one using memblocks.
It fully reflects all available system RAM within memory regions.
Signed-off-by: Serge Semin
---
arch/mips/kernel/setup.c | 40 +-
1 file changed, 12 insertions(+), 28
1 - 100 of 518 matches
Mail list logo