On Wed, Aug 09, 2017 at 05:12:55PM -0500, Rob Herring wrote:
> On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding
> wrote:
> > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote:
> >> Now that we have a custom printf format specifier, convert users of
> >> full_name to use %pOF instead. This
On Wed, Jul 19, 2017 at 05:26:13PM +0200, Philipp Zabel wrote:
> Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
> reset lines") started to transition the reset control request API calls
> to explicitly state whether the driver needs exclusive or shared reset
> control beha
On Wed, Jul 19, 2017 at 05:26:14PM +0200, Philipp Zabel wrote:
> Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
> reset lines") started to transition the reset control request API calls
> to explicitly state whether the driver needs exclusive or shared reset
> control beha
From: Markus Elfring
Date: Mon, 21 Aug 2017 08:43:50 +0200
Omit extra messages for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/binfmt_flat.c | 8 +++-
1 file changed, 3 insertions(+), 5 deleti
On Sat 19-08-17 18:21:26, Chen Yu wrote:
> There is a problem that when counting the pages for creating
> the hibernation snapshot will take significant amount of
> time, especially on system with large memory. Since the counting
> job is performed with irq disabled, this might lead to NMI lockup.
On Sun 20-08-17 17:36:41, David Rientjes wrote:
> Fix build:
>
> mm/compaction.c: In function ‘isolate_freepages_block’:
> mm/compaction.c:469:4: error: implicit declaration of function
> ‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration]
> if (pageblock_skip_persistent(page,
On 21/08/17 14:23, NeilBrown wrote:
> On Fri, Aug 18 2017, Ian Kent wrote:
>
>> On 18/08/17 13:24, NeilBrown wrote:
>>> On Thu, Aug 17 2017, Ian Kent wrote:
>>>
On 16/08/17 19:34, Jeff Layton wrote:
> On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote:
>> On Mon, Aug 14 2017, Jeff Lay
From: Kuninori Morimoto
Anton Volkov noticed that engine->dev is NULL before
of_dma_controller_register() in probe.
Thus there might be a NULL pointer dereference in
rcar_dmac_chan_start_xfer while accessing chan->chan.device->dev which
is equal to (&dmac->engine)->dev.
On same reason, same and
On 08/18/2017 03:34 AM, Laurent Dufour wrote:
> This is a port on kernel 4.13 of the work done by Peter Zijlstra to
> handle page fault without holding the mm semaphore [1].
>
> The idea is to try to handle user space page faults without holding the
> mmap_sem. This should allow better concurrency
On Fri, Aug 18 2017, Ian Kent wrote:
> On 18/08/17 13:24, NeilBrown wrote:
>> On Thu, Aug 17 2017, Ian Kent wrote:
>>
>>> On 16/08/17 19:34, Jeff Layton wrote:
On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote:
> On Mon, Aug 14 2017, Jeff Layton wrote:
>
>> On Mon, 2017-08-14 at
On Fri 18-08-17 20:23:05, Michael S. Tsirkin wrote:
> On Thu, Aug 17, 2017 at 11:26:55AM +0800, Wei Wang wrote:
[...]
> > +void walk_free_mem_block(void *opaque1,
> > +unsigned int min_order,
> > +void (*visit)(void *opaque2,
>
> You can just avoid opaque2 c
Hi Laurent
> I don't think this fully fixes the problem, as the rcar_dmac_isr_error() IRQ
> handler is still registered before all this. Furthermore, at least some of
> the
> initialization at the end of rcar_dmac_chan_probe() has to be moved before
> the
> rcar_dmac_isr_channel() IRQ handle
On Mon 21-08-17 14:12:47, Wei Wang wrote:
> On 08/18/2017 09:46 PM, Michal Hocko wrote:
[...]
> >>+/**
> >>+ * walk_free_mem_block - Walk through the free page blocks in the system
> >>+ * @opaque1: the context passed from the caller
> >>+ * @min_order: the minimum order of free lists to check
> >>
Hi Jens,
On Wed, Aug 16, 2017 at 09:56:12AM -0600, Jens Axboe wrote:
> On 08/15/2017 10:48 PM, Minchan Kim wrote:
> > Hi Jens,
> >
> > On Mon, Aug 14, 2017 at 10:17:09AM -0600, Jens Axboe wrote:
> >> On 08/14/2017 09:38 AM, Jens Axboe wrote:
> >>> On 08/14/2017 09:31 AM, Minchan Kim wrote:
>
On Mon, Aug 07, 2017 at 05:19:40PM +0530, Vignesh R wrote:
> Add a new compatible string "ti,k2g-ecap" to support PWM ECAP IP of
> TI 66AK2G SoC.
>
> Signed-off-by: Vignesh R
> ---
> Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
> 1 file changed, 1 insertion(+)
Applied to for-4.14
On 08/18/2017 09:46 PM, Michal Hocko wrote:
On Thu 17-08-17 11:26:55, Wei Wang wrote:
This patch adds support to walk through the free page blocks in the
system and report them via a callback function. Some page blocks may
leave the free list after zone->lock is released, so it is the caller's
r
On Thu, Jul 20, 2017 at 12:48:16PM +0200, Johan Hovold wrote:
> Remove unbalanced RPM put at driver unbind which resulted in a negative
> usage count.
>
> Fixes: 19891b20e7c2 ("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM")
> Signed-off-by: Johan Hovold
> ---
> drivers/pwm/pwm-tiehrpwm.c | 1
drm_simple_display_pipe_funcs are not supposed to change at runtime.
All functions working with drm_simple_display_pipe_funcs provided
by work with const
drm_simple_display_pipe_funcs. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2
On Wed, Aug 02, 2017 at 11:43:44AM +0530, Vignesh R wrote:
> 66AK2G SoC has ECAP subsystem that is used as pwm-backlight provider for
> display. Hence, enable pwm-tiecap driver to be built for Keystone
> architecture.
>
> Signed-off-by: Vignesh R
> ---
> drivers/pwm/Kconfig | 2 +-
> 1 file chan
On 8/18/2017 6:45 AM, Chris Lew wrote:
@@ -782,7 +855,10 @@ static int qcom_smem_probe(struct platform_device *pdev)
}
version = qcom_smem_get_sbl_version(smem);
- if (version >> 16 != SMEM_EXPECTED_VERSION) {
+ switch (version >> 16) {
+ case SMEM_GLOBAL_PART_V
From: Magnus Damm
Extend the driver to make use of iommu_device_sysfs_add()/remove()
functions to hook up initial sysfs support.
Suggested-by: Joerg Roedel
Signed-off-by: Magnus Damm
---
Applies on top of next-20170817
drivers/iommu/ipmmu-vmsa.c |6 ++
1 file changed, 6 insertions(
Hi James,
we have fixed the sparse warnings associated with this patch set and
posting V4 of mpt3sas patches soon. We are also working on sparse
error/warnings that existed before this patch set and we ll be posting
it separately.
Thanks,
Suganath Prabu S
On Wed, Aug 9, 2017 at 2:48 AM, J Freyens
Adding compatible string "ls1088a-dcfg" so that
guts driver can be init for ls1088
Signed-off-by: Ashish Kumar
Signed-off-by: Amrita Kumari
---
drivers/soc/fsl/guts.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c
index 6
On 08/18/2017 11:23 PM, Arnaldo Carvalho de Melo wrote:
Em Fri, Aug 18, 2017 at 05:47:08PM +0900, Taeung Song escreveu:
With a existing 't' hotkey, support the three view based on percent,
total period and number of samples on the annotate TUI browser,
circulating them like below:
Percent
Hi Arnd,
On 7/30/17 9:31 PM, Keerthy wrote:
knav_pool_create is an exported function. In the event of a call
before knav_queue_probe, we encounter a NULL pointer dereference
in the following line. Hence return -EPROBE_DEFER to the caller till
the kdev pointer is non-NULL.
Signed-off-by: Keerthy
Hi Rob,
2017-08-11 2:23 GMT+09:00 Rob Herring :
> On Thu, Jul 6, 2017 at 4:58 PM, Masahiro Yamada
> wrote:
>> Hi IRQ experts, DT exports,
>>
>>
>> I have a question about CONFIG_IRQ_DOMAIN_HIERARCHY.
>>
>> When IRQ domains are hierarchy,
>> how can we specify IRQ number re-mapping between the
>>
On 08/18/2017 11:17 PM, Arnaldo Carvalho de Melo wrote:
Em Fri, Aug 18, 2017 at 05:47:03PM +0900, Taeung Song escreveu:
Cc: Namhyung Kim
Cc: Jiri Olsa
Signed-off-by: Taeung Song
Ok, now that check for !--stdio is lifted and replaced with:
- if (symbol_conf.show_nr_samples && !annot
On 08/18/2017 10:33 PM, Arnaldo Carvalho de Melo wrote:
Em Fri, Aug 18, 2017 at 05:46:48PM +0900, Taeung Song escreveu:
Add --show-nr-samples option to perf-annotate
so that it corresponds with perf-report.
So, at this point I tried to test it and forgot this was just about
--stdio, which co
On 08/19/2017 02:10 AM, Michael S. Tsirkin wrote:
On Fri, Aug 18, 2017 at 04:36:06PM +0800, Wei Wang wrote:
On 08/18/2017 10:28 AM, Michael S. Tsirkin wrote:
On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote:
Add a new vq to report hints of guest free pages to the host.
Signed-off-by:
On 08/19/2017 02:26 AM, Michael S. Tsirkin wrote:
On Fri, Aug 18, 2017 at 04:41:41PM +0800, Wei Wang wrote:
On 08/18/2017 10:13 AM, Michael S. Tsirkin wrote:
On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote:
Add a new vq to report hints of guest free pages to the host.
Please add some
snd_soc_dai_ops are not supposed to change at runtime. All functions
working with snd_soc_dai_ops provided by work with
const snd_soc_dai_ops. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
drivers/staging/greybus/audio_codec.c | 2 +-
1 file changed, 1 insertion(+), 1
1) Fix IGMP handling wrt VRF, from David Ahern.
2) Fix timer access to freed object in dccp, from Eric Dumazet.
3) Use kmalloc_array() in ptr_ring to avoid overflow cases which
are triggerable by userspace. Also from Eric Dumazet.
4) Fix infinite loop in unmapping cleanup of nfp driver, fro
On Sun, Aug 20, 2017 at 12:04:25PM -0700, Long Li wrote:
> From: Long Li
>
> Add "rdma" to CIFS mount option, which tells CIFS this is for connecting to a
> SMB server over SMBDirect. Add checks to validate this feature is only used
> on SMB 3.X dialects.
>
> To connect to SMBDirect, use "mount.
On 19/08/17 01:27, Bjorn Helgaas wrote:
> On Fri, Aug 18, 2017 at 08:05:42AM +1000, Alexey Kardashevskiy wrote:
>> On 11/08/17 18:19, Alexey Kardashevskiy wrote:
>>> From: Gavin Shan
>>>
>>> The PowerNV platform is the only user of pcibios_sriov_disable().
>>> The IOV BAR could be shifted by pci_i
On 08/19/2017 12:05 PM, Jarkko Sakkinen wrote:
On Thu, Aug 17, 2017 at 11:15:36PM -0500, Jiandi An wrote:
For ARM64, the locality is handled by Trust Zone in FW.
The layout does not have crb_regs_head. It is hitting
the following line.
dev_warn(dev, FW_BUG "Bad ACPI memory layout");
Current
This patch series based on v4.13-rc1, include i2c binding file information
formats modification, MT7622 i2c dt-binding and compatible.
changes since v3:
- Split the formats modification into another patch
changes since v2:
- Remove all the length settings from mt7622_i2c_quirks
changes since v1:
From: Jun Gao
Use common name MediaTek and modify the compatible information
formats of all SoCs to the same.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree
From: Jun Gao
Add i2c compatible for MT7622. Compare to MT8173 i2c controller,
MT7622 limits message numbers to 255, and does not support 4GB
DMA mode.
Signed-off-by: Jun Gao
Reviewed-by: Yingjoe Chen
---
drivers/i2c/busses/i2c-mt65xx.c | 14 ++
1 file changed, 14 insertions(+)
d
From: Jun Gao
Add MT7622 i2c binding to binding file. Compare to MT8173 i2c
controller, MT7622 limits message numbers to 255, and does not
support 4GB DMA mode.
Signed-off-by: Jun Gao
---
Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Docu
Hi,
Thank you both for those valuable info.
On 08/19/2017 08:42 PM, Masahiro Yamada wrote:
> Hi.
> (+CC Sam)
>
> 2017-08-15 20:02 GMT+09:00 Cao jin :
>> Masahiro-san,
>>
>> I have a question about make *config. In scripts/kconfig/Makefile, there
>> is following statement:
>>
>> $(obj)/zconf.tab
> -Original Message-
> From: Waiman Long [mailto:long...@redhat.com]
> Sent: Friday, August 18, 2017 10:10 PM
> To: Wangkai (Kevin,C); Alexander Viro; Jonathan Corbet
> Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org;
> linux-fsde...@vger.kernel.org; Paul E. McKenney; Andrew M
From: David Daney
Date: Fri, 18 Aug 2017 16:40:30 -0700
> I suggest that the whole thing go via the BPF/net-next path as there
> are dependencies on code that is not yet merged to Linus' tree.
What kind of dependency? On networking or MIPS changes?
If the dependency is on MIPS changes, then if
From: Bhumika Goyal
Date: Sat, 19 Aug 2017 16:25:52 +0530
> Make this const as it is only used in a copy operation.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal
Applied to net-next, thanks.
On Mon, Aug 21, 2017 at 2:55 AM, Bjorn Helgaas wrote:
> On Sun, Aug 20, 2017 at 09:06:51AM +0530, Oza Oza wrote:
>> On Sun, Aug 20, 2017 at 2:34 AM, Bjorn Helgaas wrote:
>> > On Fri, Aug 04, 2017 at 09:18:16PM +0530, Oza Pawandeep wrote:
>> >> PERST must be asserted around ~500ms before the reboo
Convert exec test output to TAP13 format, using the ksft framework.
Signed-off-by: Paul Elder
---
Changes from v1: Fixed a couple coding style errors and changed a forgotten
printf() to ksft_print_msg()
tools/testing/selftests/exec/execveat.c | 151 ++--
1 file chan
From: Christophe JAILLET
Date: Sun, 20 Aug 2017 06:35:00 +0200
> If 'irq_of_parse_and_map()' or 'of_address_to_resource()' fail, 'err' is
> known to be 0 at this point.
> So return -ENODEV instead in the first case and use 'of_iomap()' instead of
> the equivalent 'of_address_to_resource()/ioremap
From: Chris Packham
Date: Mon, 21 Aug 2017 08:52:54 +1200
> Two typos in switchdev.txt
>
> Signed-off-by: Chris Packham
Applied.
Folks,
Ok, people did talk, exchanged ideas, lovely :) What happens now? Do I
repost this or go back to PCI bus flags or something else? Thanks.
On 14/08/17 19:45, Alexey Kardashevskiy wrote:
> Folks,
>
> Is there anything to change besides those compiler errors and David's
> comment in 5/5? O
On Friday, August 11, 2017 10:57 AM, Zhang Rui wrote:
> On Mon, 2017-07-24 at 19:29 +0300, Mikko Perttunen wrote:
>> On Tegra186, the BPMP (Boot and Power Management Processor) exposes
>> an
>> interface to thermal sensors on the system-on-chip. This driver
>> implements access to the interface.
On Sat, 19 Aug 2017, Jarkko Sakkinen wrote:
> Hi James,
>
> Not much this time except a few fixes.
>
> /Jarkko
>
> The following changes since commit 76e22e212a850bbd16cf49f9c586d4635507e0b5:
>
> apparmor: fix incorrect type assignment when freeing proxies (2017-08-18
> 06:45:37 -0700)
>
>
This patch exports gmac aclk and pclk for dts reference.
Signed-off-by: Elaine Zhang
---
include/dt-bindings/clock/rv1108-cru.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/clock/rv1108-cru.h
b/include/dt-bindings/clock/rv1108-cru.h
index f269d833e41a..2239ae2a19b9
Hello,
On (08/18/17 00:04), Laurent Dufour wrote:
> This is a port on kernel 4.13 of the work done by Peter Zijlstra to
> handle page fault without holding the mm semaphore [1].
>
> The idea is to try to handle user space page faults without holding the
> mmap_sem. This should allow better concur
This MAC has no internal phy for rv1108.
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk-rv1108.c | 12 ++--
include/dt-bindings/clock/rv1108-cru.h | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/clk/rockchip/clk-rv1108.c
b/drivers/clk/r
Elaine Zhang (3):
clk: rockchip: add rv1108 ACLK_GAMC and PCLK_GMAC ID
clk: rockchip: rv1108: add ACLK_GMAC and PCLK_GMAC clk id
clk: rockchip: rv1108: rename macphy to mac
drivers/clk/rockchip/clk-rv1108.c | 14 --
include/dt-bindings/clock/rv1108-cru.h | 8 +---
2 fi
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk-rv1108.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk-rv1108.c
b/drivers/clk/rockchip/clk-rv1108.c
index d1065dd9f442..0e441ec21e90 100644
--- a/drivers/clk/rockchip/clk-rv1108.c
+++ b/drivers/clk/rockchip
3.16 doesn't need this, because 3.16 doesn't support Loongson-3 R2/R3.
Huacai
On Fri, Aug 18, 2017 at 9:13 PM, Ben Hutchings wrote:
> 3.16.47-rc1 review patch. If anyone has any objections, please let me know.
>
> --
>
> From: Huacai Chen
>
> commit 17c99d9421695a0e0de18bf1e709
在 2017/8/17 23:10, Rob Herring 写道:
On Thu, Aug 10, 2017 at 04:32:13PM +0800, Tao Wang wrote:
From: Tao Wang
This adds documentation of device tree bindings for the
thermal sensor controller of hi3660 SoC.
Signed-off-by: Tao Wang
---
.../devicetree/bindings/thermal/hisi-tsensor.txt | 23
> On 21 Aug 2017, at 02:37, SF Markus Elfring
> wrote:
>
> From: Markus Elfring
> Date: Sun, 20 Aug 2017 20:32:10 +0200
>
> Three update suggestions were taken into account
> from static source code analysis.
>
> Markus Elfring (3):
> Delete an error message for a failed memory allocation i
Hi Arnd,
2017-08-21 4:51 GMT+09:00 Arnd Bergmann :
> On Sun, Aug 20, 2017 at 3:19 PM, Masahiro Yamada
> wrote:
>> 2017-07-20 16:24 GMT+09:00 Arnd Bergmann :
>>> - enable all three warnings with "make W=1" in 4.13, but leave them
>>> disabled by default.
>>> - backport Linus' patch, plus the fol
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/
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
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
Signed-off-by: Heiko Stuebner
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index c803d2d5dfb7..216fbf6adec9 100644
--- a/drivers
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
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed,
From: Joseph Chen
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 differenc
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
Hi Lee,
as we talked about on IRC on friday, here are the patches enabling
rk805 support in the common rk808 driver. As we agreed I've dropped
the cosmetic patches for clk and rtc adding the rk805 to the Kconfig
helptext and I've also dropped the input driver patch, which Dmitry
already applied.
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-by: Rob Herring
Signed-off-by: Heiko Stuebner
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 18329c8b4fe7..c803d2d5dfb7 100644
--- a/d
2017-08-21 7:13 GMT+08:00 Adam Borowski :
> Hi!
> I'm afraid I keep getting a quite reliable, but random, splat when running
> KVM:
I reported something similar before. https://lkml.org/lkml/2017/6/29/64
Regards,
Wanpeng Li
>
> [ cut here ]
> WARNING: CPU: 5 PID: 5826 at
On Sun, Aug 20, 2017 at 8:23 PM, Lukas Wunner wrote:
> On Sun, Aug 20, 2017 at 06:05:05PM +0200, Rafael J. Wysocki wrote:
>> From: Rafael J. Wysocki
>>
>> Reorganize the power management part of admin-guide by adding a
>> description of major power management strategies supported by the
>> kernel
On Wed, 16 Aug 2017, Roman Gushchin wrote:
> It's natural to expect that inside a container there are their own sshd,
> "activity manager" or some other stuff, which can play with oom_score_adj.
> If it can override the upper cgroup-level settings, the whole delegation model
> is broken.
>
I don
Hi
> Signed-off-by: Daniel Baluta
> ---
> Documentation/devicetree/bindings/sound/simple-scu-card.txt | 1 +
> sound/soc/generic/simple-scu-card.c | 4
> 2 files changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/simple-scu-card.txt
On Thu, 17 Aug 2017, Roman Gushchin wrote:
> Hi David!
>
> Please, find an updated version of docs patch below.
>
Looks much better, thanks! I think the only pending issue is discussing
the relationship of memory.oom_kill_all_tasks with /proc/pid/oom_score_adj
== OOM_SCORE_ADJ_MIN.
Fix build:
mm/compaction.c: In function ‘isolate_freepages_block’:
mm/compaction.c:469:4: error: implicit declaration of function
‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration]
if (pageblock_skip_persistent(page, order)) {
^
mm/compaction.c:470:5: error: implicit decl
Hi,
This seventh series add some changes to the previous one [1], including a
simplified landlock_context, architecture-independent rules, more documentation
and multiples fixes.
As planed [6], I simplified and make the FS event more generic for the IOCTL,
LOCK or FCNTL actions. The action flags
A landlocked process has less privileges than a non-landlocked process
and must then be subject to additional restrictions when manipulating
processes. To be allowed to use ptrace(2) and related syscalls on a
target process, a landlocked process must have a subset of the target
process' rules.
Sig
Test basic context access, ptrace protection and filesystem event with
multiple cases.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Kees Cook
Cc: Serge E. Hallyn
Cc: Shuah Khan
Cc: Will Drewry
---
C
2017-08-21 4:22 GMT+09:00 Arnd Bergmann :
> On Sun, Aug 20, 2017 at 2:31 PM, Masahiro Yamada
> wrote:
>> Hi Arnd,
>>
>> This patch was picked up for linux-next
>> (I assume it was queued up for 4.14-rc1)
>> but I see this warning in Linus' tree.
>>
>> If we are not comfortable with this warning in
Add a basic sandbox tool to create a process isolated from some part of
the system. This sandbox create a read-only environment. It is only
allowed to write to a character device such as a TTY:
# :> X
# echo $?
0
# ./samples/bpf/landlock1 /bin/sh -i
Launching a new sandboxed process.
#
This documentation can be built with the Sphinx framework.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Jonathan Corbet
Cc: Kees Cook
Cc: Serge E. Hallyn
---
Changes since v6:
* add a check for ctx->
The goal of the program subtype is to be able to have different static
fine-grained verifications for a unique program type.
The struct bpf_verifier_ops gets a new optional function:
is_valid_subtype(). This new verifier is called at the beginning of the
eBPF program verification to check if the (
Add a new type of eBPF program used by Landlock rules.
This new BPF program type will be registered with the Landlock LSM
initialization.
Add an initial Landlock Kconfig.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: Jam
Handle 33 filesystem-related LSM hooks for the Landlock filesystem
event: LANDLOCK_SUBTYPE_EVENT_FS.
A Landlock event wrap LSM hooks for similar kernel object types (e.g.
struct file, struct path...). Multiple LSM hooks can trigger the same
Landlock event.
Landlock handle nine coarse-grained acti
This step mechanism may be useful to return an information about the
error without being able to write to TH_LOG_STREAM.
Set _metadata->no_print to true to print this counter.
Signed-off-by: Mickaël Salaün
Cc: Andy Lutomirski
Cc: Arnaldo Carvalho de Melo
Cc: Kees Cook
Cc: Shuah Khan
Cc: Will
The seccomp(2) syscall can be used by a task to apply a Landlock rule to
itself. As a seccomp filter, a Landlock rule is enforced for the current
task and all its future children. A rule is immutable and a task can
only add new restricting rules to itself, forming a chain of rules.
A Landlock rule
Add an eBPF function bpf_handle_fs_get_mode(handle_fs) to get the mode
of a an abstract object wrapping either a file, a dentry, a path, or an
inode.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Kees Coo
Hi!
I'm afraid I keep getting a quite reliable, but random, splat when running
KVM:
[ cut here ]
WARNING: CPU: 5 PID: 5826 at arch/x86/kvm/mmu.c:717
mmu_spte_clear_track_bits+0x123/0x170
Modules linked in: tun nbd arc4 rtl8xxxu mac80211 cfg80211 rfkill nouveau video
ttm
C
Things have been pretty calm, and rc6 is out there. Nothing
particular really stands out - it all looks normal, with just under
half of the patch being drivers (networking stands out, but there's
infiniband, sound and misc other things too), a third of the rest
being arch updates, and the rest is
> With the below #ifdef __LITTLE_ENDIAN spanning the entire
> bpf_int_jit_compile(), a user can then enable and compile
> eBPF JIT for big endian, even set the bpf_jit_enable to 1
> to turn it on, but it won't JIT anything, which is contrary
> to the expectation.
>
> This should rather be a hard de
On Mon, Aug 14, 2017 at 1:20 PM, Bartosz Golaszewski wrote:
> Shrink the driver by removing the code dealing with dummy interrupts
> and replacing it with calls to the irq_sim API.
>
> Signed-off-by: Bartosz Golaszewski
> Acked-by: Jonathan Cameron
> Reviewed-by: Linus Walleij
I applied this
On 08/19/2017 11:20 AM, Shubham Bansal wrote:
[...]
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 61a0cb1..cc31f8b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -50,7 +50,7 @@ config ARM
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
select HAVE_ARCH
On Wed, Aug 16, 2017 at 4:44 PM, Thomas Gleixner wrote:
> I merged the irq part (1+2) into a separate branch, which can be consumed
> by the gpio folks so the mockup driver patch can be merged as well.
>
>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-gpio
Awesome, thanks
On Wed, Aug 9, 2017 at 2:24 PM, Bartosz Golaszewski wrote:
> We now provide resource managed versions of irq_alloc_generic_chip()
> and irq_setup_generic_chip(). Use them in all relevant gpio drivers.
>
> v1 -> v2:
> - added three patches which explicitly disable driver unbinding for
> non-modu
When registering the rtc device to be used to handle alarm timers,
get_device is used to ensure the device doesn't go away but the module can
still be unloaded. Call try_module_get to ensure the rtc driver will not go
away.
Reported-by: Michal Simek
Signed-off-by: Alexandre Belloni
---
kernel/t
On Wed, Aug 2, 2017 at 9:51 AM, Bartosz Golaszewski wrote:
> We now provide resource managed versions of irq_alloc_generic_chip()
> and irq_setup_generic_chip(). Use them in all relevant gpio drivers.
>
> Bartosz Golaszewski (6):
> gpio: sta2x11: use devres for irq generic chip
> gpio: ml-ioh
From: Colin Ian King
Trivial fix to spelling mistake in dev_err messages
Signed-off-by: Colin Ian King
---
drivers/soc/ti/knav_dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c
index 026182d3b27c..f463e04be412 10
From: Colin Ian King
Arrays aesni_simd_skciphers and aesni_simd_skciphers2 are local to the
source and do not need to be in global scope, so make them static.
Cleans up sparse warnings:
symbol 'aesni_simd_skciphers' was not declared. Should it be static?
symbol 'aesni_simd_skciphers2' was not de
On Sun, Aug 20, 2017 at 09:06:51AM +0530, Oza Oza wrote:
> On Sun, Aug 20, 2017 at 2:34 AM, Bjorn Helgaas wrote:
> > On Fri, Aug 04, 2017 at 09:18:16PM +0530, Oza Pawandeep wrote:
> >> PERST must be asserted around ~500ms before the reboot is applied.
> >>
> >> During soft reset (e.g., "reboot" fr
Am 20.08.2017 um 17:40 schrieb Andrew Lunn:
>> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable)
>> +{
>> +struct rtd119x_rtc *data = dev_get_drvdata(dev);
>> +u32 val;
>> +
>> +val = readl_relaxed(data->base + RTD_RTCEN);
>> +dev_info(dev, "%s: rtcen = 0x%08x\n"
1 - 100 of 243 matches
Mail list logo