Hold on to the pages allocated and mapped for transaction
buffers until the system is under memory pressure. When
that happens, use linux shrinker to free pages. Without
using shrinker, patch "android: binder: Move buffer out
of area shared with user space" will cause a significant
slow down for sm
Binder driver allocates buffer meta data in a region that is mapped
in user space. These meta data contain pointers in the kernel.
This patch allocates buffer meta data on the kernel heap that is
not mapped in user space, and uses a pointer to refer to the data mapped.
Change-Id: Ie19d2393a5015d9
Add tracepoints in binder transaction allocator to
record lru hits and alloc/free page.
Change-Id: I7715f943c57d6172c35bdff8298d8c5aef24a51a
Signed-off-by: Sherry Yang
---
drivers/android/binder_alloc.c | 27 +++--
drivers/android/binder_trace.h | 55 +
binder_alloc_selftest tests that alloc_new_buf handles page allocation and
deallocation properly when allocate and free buffers. The test allocates 5
buffers of various sizes to cover all possible page alignment cases, and
frees the buffers using a list of exhaustive freeing order.
Test: boot the
This patch set moves internal kernel data in the binder driver out of mmap
regions that is readable by user space. A shrinker is added to the driver
to dynamically manage the memory used by binder transactions and only free
pages when the system is under memory pressure. This patch set also adds
te
On Tue, 2017-08-15 at 14:46 -0700, Andy Lutomirski wrote:
> On Tue, Aug 15, 2017 at 12:18 PM, Sai Praneeth Prakhya
> wrote:
> > +/*
> > + * Makes the calling kernel thread switch to/from efi_mm context
> > + * Can be used from SetVirtualAddressMap() or during efi runtime calls
> > + * (Note: This
On Tue, Aug 15, 2017 at 5:21 PM, Steven Rostedt wrote:
> On Thu, 10 Aug 2017 13:36:35 -0700
> Kees Cook wrote:
>
>> This reverts commit 68c4a4f8abc60c9440ede9cd123d48b78325f7a3, with
>> various conflict clean-ups.
>>
>> With the default root directory mode set to 0750 now, the capability
>> check
On 2017년 07월 17일 10:30, Chanwoo Choi wrote:
> These patches just clean-up code for extcon functions.
>
> Firstly, patch2 modifies the description for functions/structures
> in order to improve the readability and guide the role of
> functions more well.
>
> Second, the extcon header file defines
On Tue, 15 Aug 2017 17:29:38 -0700
Kees Cook wrote:
> On Tue, Aug 15, 2017 at 5:21 PM, Steven Rostedt wrote:
> > On Thu, 10 Aug 2017 13:36:35 -0700
> > Kees Cook wrote:
> >
> >> This reverts commit 68c4a4f8abc60c9440ede9cd123d48b78325f7a3, with
> >> various conflict clean-ups.
> >>
> >> With
On Tue, 2017-08-15 at 10:37 -0600, Alex Williamson wrote:
> Of course I don't think either of those are worth imposing a
> performance penalty where we don't otherwise need one. However, if we
> look at a VM scenario where the guest is following the PCI standard for
> programming MSI-X interrupts
Add a per-register reset controller driver. This deals with the fact
that not all registers are adjoined.
Signed-off-by: Andreas Färber
---
drivers/reset/Kconfig | 6 +++
drivers/reset/Makefile| 1 +
drivers/reset/reset-rtd129x.c | 100
Add binding for Realtek RTD1295 reset controller.
Signed-off-by: Andreas Färber
---
.../bindings/reset/realtek,rtd129x-reset.txt | 18
include/dt-bindings/reset/realtek,rtd1295.h| 112 +
2 files changed, 130 insertions(+)
create mode 100644
Documentation
On Tue, Aug 15, 2017 at 11:19:40AM -0400, Steven Rostedt wrote:
> > @@ -1385,6 +1407,17 @@ static int find_later_rq(struct task_struct *task)
> > * already under consideration through later_mask.
> > */
> > if (best_cpu < nr_cpu_ids) {
>
Replace reset controller indices with constants.
Signed-off-by: Andreas Färber
---
arch/arm64/boot/dts/realtek/rtd1295.dtsi | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
index e77720
Add nodes for the Realtek RTD1295 reset controllers.
Signed-off-by: Andreas Färber
---
arch/arm64/boot/dts/realtek/rtd1295.dtsi | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
Associate the UART nodes with the corresponding reset controller bits.
Signed-off-by: Andreas Färber
---
arch/arm64/boot/dts/realtek/rtd1295.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
index 9f1d
Hello,
This series adds reset controllers for the Realtek RTD1295 SoC.
Since there is still no public source code for RTD1295, the individual resets
were derived from reset-names in the vendor DT; the implementation was a guess.
More experimental patches at:
https://github.com/afaerber/linux/com
On Tue, Aug 15, 2017 at 04:50:40PM -0700, Frank Rowand wrote:
> On 08/15/17 14:15, Tom Rini wrote:
> > With support for stacked overlays being part of libfdt it is now
> > possible and likely that overlays which require __symbols__ will be
> > applied to the dtb files generated by the kernel. This
On Tue, Aug 15, 2017 at 5:23 PM, Sai Praneeth Prakhya
wrote:
> On Tue, 2017-08-15 at 14:46 -0700, Andy Lutomirski wrote:
>> On Tue, Aug 15, 2017 at 12:18 PM, Sai Praneeth Prakhya
>> wrote:
>> > +/*
>> > + * Makes the calling kernel thread switch to/from efi_mm context
>> > + * Can be used from Se
Hi all,
This has worked its way from a pull request on GitHub through to this
patch, which is a great credit to the determination and effort of
Florian.
I think it's an excellent first contribution.
Reviewed-by: Daniel Axtens
Regards,
Daniel
Hoeze writes:
> From: Hoeze
>
> This patch adds
1) Fix TCP checksum offload handling in iwlwifi driver, from Emmanuel
Grumbach.
2) In ksz DSA tagging code, free SKB if skb_put_padto() fails. From
Vivien Didelot.
3) Fix two regressions with bonding on wireless, from Andreas Born.
4) Fix build when busypoll is disabled, from Daniel Bork
During a mkdir, we synchronously check the entire limbo list on each
package for free RMIDs by sending IPIs and the worst case would end up
taking more than tolerable amount of time in IPIs. For ex: On SKL we
could end up reading all 192 RMIDs for llc_occupancy.
Modify this to make some improvemen
Sending some fixes to V3 as per discussions with Thomas. This is on top
of the merged patches in tip and contains the following:
- a fix to MBM hot cpu handling to avoid doubling of the overflow timer
interval.
- some changes to the limbo RMID processing patch to make corrections
to handle th
When a CPU is dying, we cancel the worker and schedule a new worker on a
different CPU on the same domain. But if the timer is already about to
expire (say 0.99s) then we essentially double the interval.
We modify the hot cpu handling to cancel the delayed work on the dying
cpu and run the worker
On Tue, Aug 15, 2017 at 12:43:16PM -0700, Kees Cook wrote:
> Hi Greg,
>
> Please pull these additional lkdtm changes for next.
>
> Thanks!
>
> -Kees
>
> The following changes since commit c7fea48876773603721f545f8c1a2f894291ef85:
>
> lkdtm: Provide timing tests for atomic_t vs refcount_t (20
On Tue, Aug 15, 2017 at 9:29 AM, Dan Williams wrote:
> On Tue, Aug 15, 2017 at 5:42 AM, Jan Kara wrote:
>> On Mon 14-08-17 23:12:22, Dan Williams wrote:
>>> diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
>>> index ff151814a02d..73fdc0ada9ee 100644
>>> --- a/include/linux/mm_type
For SoC to achieve its lowest power platform idle state a set of hardware
preconditions must be met. These preconditions or constraints can be
obtained by issuing a device specific method (_DSM) with function "1".
Refer to the document provided in the link below.
Here during initialization (from a
On 2017/8/16 0:42, Jaegeuk Kim wrote:
> On 08/15, Chao Yu wrote:
>> On 2017/8/15 11:22, Jaegeuk Kim wrote:
>>> On 08/15, Chao Yu wrote:
Hi Jaegeuk,
On 2017/8/11 8:42, Jaegeuk Kim wrote:
> If we set CP_ERROR_FLAG in roll-forward error, f2fs is no longer to
> proceed
> any
On 2017/8/16 1:27, Waiman Long wrote:
> Cpuset v2 has some valuable attributes that are not present in
> v1 because of backward compatibility concern. One of that is the
> restoration of the original cpu and memory node mask after a hot
> removal and addition event sequence.
>
> This patch adds a
On 08/15/17 at 06:18pm, Joerg Roedel wrote:
> On Wed, Aug 09, 2017 at 04:33:32PM +0800, Baoquan He wrote:
> > Baoquan He (12):
> > iommu/amd: Detect pre enabled translation
> > iommu/amd: add several helper functions
> > Revert "iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel"
> > iommu/
On Wed, 16 Aug 2017 09:38:11 +0900
Byungchul Park wrote:
> On Tue, Aug 15, 2017 at 11:19:40AM -0400, Steven Rostedt wrote:
> > > @@ -1385,6 +1407,17 @@ static int find_later_rq(struct task_struct *task)
> > >* already under consideration through later_mask.
> > >
2017-08-10 1:43 GMT+09:00 Masahiro Yamada :
> This SoC is too old. It is difficult to maintain any longer.
>
> Signed-off-by: Masahiro Yamada
Applied to linux-uniphier.
--
Best Regards
Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada :
> To include dt-bindings headers.
>
> Signed-off-by: Masahiro Yamada
With a type (incluude -> include) fixed,
applied to linux-uniphier.
--
Best Regards
Masahiro Yamada
Dear Kishon and Felipe,
I applied these patches on extcon-next branch for v4.14-rc1.
And I created the immutable branch ('ib-extcon-usb-phy-4.14')
and send the pull-request for these patches in order to
prevent the merge conflict.
Best Regards,
Chanwoo Choi
The following changes since commit 5
On Mon, Aug 14, 2017 at 06:44:06PM +0800, Yisheng Xie wrote:
> The compr_data_size is a stat for compressed size of pages stored, which
> should be updated when we compresse a page.
>
> Meanwhile fix a typo in comment:
> * read_from_bdev_async() return 1 to avoid call page_endio() in zram_rw_page(
On Mon, Aug 14, 2017 at 06:44:07PM +0800, Yisheng Xie wrote:
> ZRAM_SAME means page consists the same element not the entirely zero page.
>
> Signed-off-by: Yisheng Xie
Acked-by: Minchan Kim
Thanks!
2017-08-10 1:43 GMT+09:00 Masahiro Yamada :
> To include dt-bindings headers.
>
> Signed-off-by: Masahiro Yamada
Applied to linux-uniphier.
--
Best Regards
Masahiro Yamada
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index
change in RESEND v9:
None changes, add Lee Jones and other related email address.
change in v9:
PATCH V9 1/12: (1) fix spelling issue: s/Chip/chip/
(2) apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 2/12: apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 3/12: None
PATCH V9 4/12: a
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6 deletions(-
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Mark Brown
From: Elaine Zhang
The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld
devices. It contains the following components:
- Regulators
- RTC
- Clocking
Both RK808 and RK805 chips are using a similar register map,
so we can reuse the RTC and Clocking functionality.
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the clk driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertio
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +-
1 file changed, 21 i
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the rtc driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertio
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 18329c8..c803d2d 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -97,6 +97,7 @
RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs.
This driver is also designed for other Rockchip PMICs to expend.
Different PMIC maybe have different pin features, for example,
RK816 has one pin which can be used for TS or GPIO(input/out).
The mainly difference between PMICs pins
This driver provides a input driver for the power
key on the Rockchip RK805 PMIC.
Signed-off-by: Joseph Chen
---
drivers/input/misc/Kconfig| 6 +++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rk805-pwrkey.c | 111 ++
3 files changed
801 - 848 of 848 matches
Mail list logo