Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-08-11 Thread Chen-Yu Tsai
On Sat, Aug 12, 2017 at 12:51 PM, wrote: > 在 2017-08-12 12:04,Chen-Yu Tsai 写道: >> >> On Sat, Jul 22, 2017 at 11:00 AM, wrote: >>> >>> 在 2017-05-29 15:34,Chen-Yu Tsai 写道: Hi, On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: >> >> >> [...] >> > + > +

Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-08-11 Thread icenowy
在 2017-08-12 12:04,Chen-Yu Tsai 写道: On Sat, Jul 22, 2017 at 11:00 AM, wrote: 在 2017-05-29 15:34,Chen-Yu Tsai 写道: Hi, On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: [...] + +/* + * For the special bit in gate part, please see the BSP source code at + * https://github.co

Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-08-11 Thread Chen-Yu Tsai
On Sat, Aug 12, 2017 at 12:04 PM, wrote: > 在 2017-05-29 15:34,Chen-Yu Tsai 写道: >> >> Hi, >> >> On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: >>> >>> Allwinner R40 SoC have a clock controller module in the style of the >>> SoCs beyond sun6i, however, it's more rich and complex. >>

Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-08-11 Thread Chen-Yu Tsai
On Sat, Jul 22, 2017 at 11:00 AM, wrote: > 在 2017-05-29 15:34,Chen-Yu Tsai 写道: >> >> Hi, >> >> On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: [...] >>> + >>> +/* >>> + * For the special bit in gate part, please see the BSP source code at >>> + * >>> https://github.com/BPI-SINOVO

Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-08-11 Thread icenowy
在 2017-05-29 15:34,Chen-Yu Tsai 写道: Hi, On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: Allwinner R40 SoC have a clock controller module in the style of the SoCs beyond sun6i, however, it's more rich and complex. Add support for it. Signed-off-by: Icenowy Zheng --- Changes in

[PATCH v4 3/4] seccomp: Implement SECCOMP_RET_KILL_PROCESS action

2017-08-11 Thread Kees Cook
Right now, SECCOMP_RET_KILL_THREAD (neé SECCOMP_RET_KILL) kills the current thread. There have been a few requests for this to kill the entire process (the thread group). This cannot be just changed (discovered when adding coredump support since coredumping kills the entire process) because there a

[PATCH v4 1/4] seccomp: Rename SECCOMP_RET_KILL to SECCOMP_RET_KILL_THREAD

2017-08-11 Thread Kees Cook
In preparation for adding SECCOMP_RET_KILL_PROCESS, rename SECCOMP_RET_KILL to the more accurate SECCOMP_RET_KILL_THREAD. The existing selftest values are intentionally left as SECCOMP_RET_KILL just to be sure we're exercising the alias. Signed-off-by: Kees Cook --- Documentation/networking/fil

[PATCH v4 0/4] seccomp: Implement SECCOMP_RET_KILL_PROCESS action

2017-08-11 Thread Kees Cook
This series is the result of Fabricio, Tyler, Will and I going around a few times on possible solutions for finding a way to enhance RET_KILL to kill the process group. There's a lot of ways this could be done, but I wanted something that felt cleanest. My sense of what constitutes "clean" has shif

[PATCH v4 2/4] seccomp: Introduce SECCOMP_RET_KILL_PROCESS

2017-08-11 Thread Kees Cook
This introduces the BPF return value for SECCOMP_RET_KILL_PROCESS to kill an entire process. This cannot yet be reached by seccomp, but it changes the default-kill behavior (for unknown return values) from kill-thread to kill-process. Signed-off-by: Kees Cook --- include/uapi/linux/seccomp.h | 1

[PATCH v4 4/4] selftests/seccomp: Test thread vs process killing

2017-08-11 Thread Kees Cook
This verifies that SECCOMP_RET_KILL_PROCESS is higher priority than SECCOMP_RET_KILL_THREAD. (This also moves a bunch of defines up earlier in the file to use them earlier.) Signed-off-by: Kees Cook Reviewed-by: Tyler Hicks --- tools/testing/selftests/seccomp/seccomp_bpf.c | 228 +++

Re: [PATCH v2 2/3] hwmon: (pmbus): Add POWER system power supply driver

2017-08-11 Thread Guenter Roeck
On Fri, Aug 11, 2017 at 09:30:59AM -0500, Eddie James wrote: > > > On 08/10/2017 08:18 PM, Guenter Roeck wrote: > >On Thu, Aug 10, 2017 at 05:19:45PM -0500, Eddie James wrote: > >>From: "Edward A. James" > >> > >>Add the driver to monitor POWER system power supplies with hwmon over > >>pmbus. >

Re: [PATCH v2 2/3] hwmon: (pmbus): Add POWER system power supply driver

2017-08-11 Thread Eddie James
On 08/10/2017 08:18 PM, Guenter Roeck wrote: On Thu, Aug 10, 2017 at 05:19:45PM -0500, Eddie James wrote: From: "Edward A. James" Add the driver to monitor POWER system power supplies with hwmon over pmbus. Signed-off-by: Edward A. James --- drivers/hwmon/pmbus/Kconfig | 10 +++ driv

Re: NPTL docs inquiry

2017-08-11 Thread Michael Kerrisk (man-pages)
On 08/11/2017 10:11 AM, Yubin Ruan wrote: > 2017-08-09 3:27 GMT+08:00 Michael Kerrisk (man-pages) > : >> >> Hi, >> >> On 08/07/2017 06:42 PM, Randy Dunlap wrote: >>> On 08/07/2017 09:31 AM, Yubin Ruan wrote: Hi, I am wondering whether there is any progress for NPTL. In page[1] I see lots

Re: NPTL docs inquiry

2017-08-11 Thread Yubin Ruan
2017-08-09 3:27 GMT+08:00 Michael Kerrisk (man-pages) : > > Hi, > > On 08/07/2017 06:42 PM, Randy Dunlap wrote: > > On 08/07/2017 09:31 AM, Yubin Ruan wrote: > >> Hi, I am wondering whether there is any progress for NPTL. In page[1] > >> I see lots of pthread-related pages are missing. Pretty shock

Re: [PATCH v4 resend 1/2] rtmutex: update rt-mutex-design

2017-08-11 Thread Alex Shi
On 08/08/2017 04:30 AM, Jonathan Corbet wrote: > On Mon, 31 Jul 2017 09:53:01 +0800 > Alex Shi wrote: > >> On 07/31/2017 09:50 AM, Alex Shi wrote: >>> -Reviewers: Ingo Molnar, Thomas Gleixner, Thomas Duetsch, and Randy Dunlap >>> +Original Reviewers: Ingo Molnar, Thomas Gleixner, Thomas Duets