On Tue, Jun 27, 2017 at 10:37:34AM -0700, Florian Fainelli wrote:
> On 06/27/2017 10:29 AM, Maxime Ripard wrote:
> > On Tue, Jun 27, 2017 at 02:37:48PM +0200, Corentin Labbe wrote:
> >> On Tue, Jun 27, 2017 at 11:33:56AM +0100, Andre Przywara wrote:
> >>> Hi,
> >>>
> >>> On 27/06/17 11:23, Icenowy
On Fri, 30 Jun 2017, Josh Poimboeuf wrote:
> On Mon, Jun 19, 2017 at 06:56:37PM +0200, Miroslav Benes wrote:
> >
> > > > > I often wonder whether it's really a good idea to even allow the
> > > > > unloading of patch modules at all. It adds complexity to the
> > > > > livepatch
> > > > > code.
On Thu, Jun 29, 2017 at 11:26:40AM +0300, Fathi Boudra wrote:
> On 4 April 2017 at 16:32, Corentin Labbe wrote:
> > This patch add a generic testsuite for testing ethernet network device
> > driver.
> >
> > Signed-off-by: Corentin Labbe
> > ---
> >
> > Changes since v1:
> > - Test for starting m
Hi Maxime,
On 30 June 2017 at 19:58, Jonathan Liu wrote:
> Hi Maxime,
>
> On 30 June 2017 at 19:34, Maxime Ripard
> wrote:
>> Hi,
>>
>> On Fri, Jun 30, 2017 at 08:22:13AM +1000, Jonathan Liu wrote:
>>> Hi Maxime,
>>>
>>> On 30 June 2017 at 01:56, Maxime Ripard
>>> wrote:
>>> > On Wed, Jun 28, 2
On Sat, 01 Jul 2017 00:34:23 +0200,
Gustavo A. R. Silva wrote:
>
> platform_get_irq() returns an error code, but the ac97c
> driver ignores it and always returns -ENXIO. This is not correct,
> and prevents -EPROBE_DEFER from being propagated properly.
> Notice that platform_get_irq() no longer ret
> > What happens if the root_hpa is dropped by the L0 MMU? I'm not sure
> > what removes it from the shadow EPT list.
>
> That would result in a vmfunc vmexit, which will jump to handle_vmfunc
> and then a call to mmu_alloc_shadow_roots() that will overwrite the shadow
> eptp entry with the new
Answer: No nothing got broken except the driver itself.
On Fri, Jun 30, 2017 at 4:10 PM, David F. wrote:
> Hi,
>
> I have a driver that reads data from a file that has worked from
> kernel 3.x up to 4.9.13. I haven't tried all the other 4.9's or 4.10,
> or 4.11.6 or earlier, but in 4.11.7 it's n
On 30 June 2017 at 15:58, Vincent Guittot wrote:
> The running state is a subset of runnable state which means that running
> can't be set if runnable (weight) is cleared. There are corner cases
> where the current sched_entity has been already dequeued but cfs_rq->curr
> has not been updated yet
The running state is a subset of runnable state which means that running
can't be set if runnable (weight) is cleared. There are corner cases
where the current sched_entity has been already dequeued but cfs_rq->curr
has not been updated yet and still points to the dequeued sched_entity.
If ___updat
Hi, Andrea
OWL_CPUx_ADDR is the physical address of CPUx wakeup function.
OWL_CPUx_FLAG is a valid flag of OWL_CPUx_ADDR.
After CPUxs are wakeuped by SEV instruction, they will check their own
OWL_CPUx_FLAG register. If the register vlaue is 0x55aa, CPUx will jump to
OWL_CPUx_ADDR to boot up,
On Fri, Jun 30, 2017 at 05:17:35PM -0500, Gustavo A. R. Silva wrote:
> Check return value from call to platform_get_irq(),
> so in case of failure print error message and propagate
> the return value.
>
> Signed-off-by: Gustavo A. R. Silva
Acked-by: Nicolin Chen
Thanks
> ---
> sound/soc/fsl/
On Fri, 30 Jun 2017, Andreas Dilger wrote:
> On Jun 29, 2017, at 8:25 PM, Mikulas Patocka wrote:
> >
> > The __vmalloc function has a parameter gfp_mask with the allocation flags,
> > however it doesn't fully respect the GFP_NOIO and GFP_NOFS flags. The
> > pages are allocated with the specifi
On Fri, Jun 30, 2017 at 9:09 AM, Jerry Hoemann wrote:
> Add a bus level dsm_mask to nvdimm_bus_descriptor to allow the passthru
> calling mechanism to specify a different mask from the cmd_mask.
>
> Populate bus_dsm_mask and use it to filter dsm calls that user can
> make through the pass thru int
On Fri, Jun 30, 2017 at 9:09 AM, Jerry Hoemann wrote:
> Have module parameter override_dsm_mask override the dsm_mask for
> root calls like it does for non-root dsm calls.
>
> Signed-off-by: Jerry Hoemann
> ---
> drivers/acpi/nfit/core.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a
On Fri, Jun 30, 2017 at 02:00:54PM +1000, Stephen Rothwell wrote:
> Hi Darren,
>
> After merging the drivers-x86 tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/platform/x86/sony-laptop.c: In function 'sony_laptop_setup_input':
> drivers/platform/x86/sony
On Fri, Jun 30, 2017 at 11:50:52PM +0300, Andy Shevchenko wrote:
> On Fri, Jun 30, 2017 at 9:21 PM, Darren Hart wrote:
> > On Fri, Jun 30, 2017 at 06:58:24PM +0300, Andy Shevchenko wrote:
> >> On Fri, Jun 30, 2017 at 6:45 PM, Arnd Bergmann wrote:
>
> > Will you squash it, or shall I?
>
> Please
On Jun 29, 2017, at 8:25 PM, Mikulas Patocka wrote:
>
> The __vmalloc function has a parameter gfp_mask with the allocation flags,
> however it doesn't fully respect the GFP_NOIO and GFP_NOFS flags. The
> pages are allocated with the specified gfp flags, but the pagetables are
> always allocated
Hey,
On Wed, Jun 28, 2017 at 07:11:59PM +0900, Kunihiko Hayashi wrote:
> Add a thermal driver for on-chip PVT (Process, Voltage and Temperature)
> monitoring unit implemented on UniPhier SoCs. This driver supports
> temperature monitoring and alert function.
>
> Signed-off-by: Kunihiko Hayashi
>
On Thu, Jun 22, 2017 at 11:42:03AM +0800, Tao Wang wrote:
> Bind thermal sensor driver for Hi3660.
>
> Signed-off-by: Tao Wang
> Signed-off-by: Leo Yan
> ---
> Changes in v2:
> - rebase changes on linux next
>
> arch/arm64/boot/dts/hisilicon/hi3660.dtsi |6 ++
> 1 file changed, 6 inser
Hi, Enric,
On Fri, 2017-06-30 at 10:15 +0200, Enric Balletbo Serra wrote:
> Hi Rui,
>
> 2017-06-30 7:05 GMT+02:00 Zhang Rui :
> >
> > On Thu, 2017-06-29 at 18:50 +0200, Enric Balletbo i Serra wrote:
> > >
> > > Under each thermal zone there is a optional file called "mode".
> > > Writing
> > >
On Thu, Jun 22, 2017 at 11:42:01AM +0800, Tao Wang wrote:
> This adds documentation of device tree bindings for the
> thermal sensor controller of hi3660 SoC.
>
> Signed-off-by: Tao Wang
> ---
> Changes in v2:
> - remove redundant property
>
> .../devicetree/bindings/thermal/hi3660-thermal.txt
Hey Tao,
On Thu, Jun 22, 2017 at 11:42:02AM +0800, Tao Wang wrote:
> This patch adds the support for thermal sensor of Hi3660 SoC.
> this will register sensors for thermal framework and use device
> tree to bind cooling device.
>
> Signed-off-by: Tao Wang
> Signed-off-by: Leo Yan
> ---
> Change
> -Original Message-
> From: Paul Elder on Friday, June 30, 2017 7:28 PM
> On 07/01/2017 08:47 AM, Shuah Khan wrote:
> > Convert to TAP13 output using ksft_ api. Child runs tests, increments test
> > counters, and prints test results.
> >
> > Signed-off-by: Shuah Khan
> > ---
> >
> > Cha
On Fri, Jun 23, 2017 at 10:25:45PM +0200, Stefan Wahren wrote:
>
> > Christophe JAILLET hat am 23. Juni 2017 um
> > 21:44 geschrieben:
> >
> >
> > 'tz' is a valid pointer at this point, so calling PTR_ERR on it is
> > pointless.
> > This 'err = PTR_ERR(tz)' looks like a cut'n'paste from a few
Hey Mikko,
Sorry for the late answer,
On Fri, Jun 16, 2017 at 02:28:25PM +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. It supports readi
About this commit in mm:
---
commit c1aca87fb3f84a813fb3dda656bbee583c9c87a3
Author: Alexey Dobriyan
Date: Fri Jun 30 11:02:04 2017 +1000
fs/seq_file.c: delete small-value optimization
num_to_str() optimizes printing small integers [
From: Ondrej Zary
When an IRQ arrives during PDMA transfer, pread() and pwrite() return
without waiting for the 53C80 registers to be ready and this ends up
messing up the chip state. This was observed with SONY CDU-55S which is
slow enough to disconnect during 4096-byte reads.
IRQ during PDMA i
From: Ondrej Zary
Limit PDMA send to 512 B to avoid data corruption on DTC3181E. The
corruption is always the same: one byte missing at the beginning of
a 128 B block. It happens only with slow Quantum LPS 240 drive, not with
faster IBM DORS-32160. It's not clear what causes this. Documentation
f
From: Ondrej Zary
The polling loops in pread() and pwrite() can easily become infinite
loops and hang the machine.
Merge the IRQ check into host buffer wait loop and add polling limit.
Also place a limit on polling for 53C80 registers accessibility.
[Use NCR5380_poll_politely2() for register p
From: Ondrej Zary
generic_NCR5380_dma_xfer_len() incorrectly uses cmd->transfersize
which causes rescan-scsi-bus and CD-ROM access to hang the system.
Use cmd->SCp.this_residual instead, like other NCR5380 drivers.
Signed-off-by: Ondrej Zary
Signed-off-by: Finn Thain
---
drivers/scsi/g_NCR538
Ondrej, would you please test this new series?
Changed since v1:
- PDMA transfer residual is calculated earlier.
- End of DMA flag check is now polled (if there is any residual).
Changed since v2:
- Bail out of transfer loops when Gated IRQ gets asserted.
- Make udelay conditional on board type.
The word "read" may be used to mean "DMA read operation" or
"SCSI READ command", though a READ command implies writing to memory.
Signed-off-by: Finn Thain
---
drivers/scsi/g_NCR5380.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/scsi/g_NCR5380.c b/d
Signed-off-by: Finn Thain
---
drivers/scsi/g_NCR5380.c | 61 ++--
1 file changed, 28 insertions(+), 33 deletions(-)
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c
index 911a4300ea51..dedaed2d16e4 100644
--- a/drivers/scsi/g_NCR5380.c
On Fri, 30 Jun 2017, Ondrej Zary wrote:
> > > No more log spamming on DTC but reads are corrupted even more than
> > > before. The IRQ check after data transfer increases the chance of
> > > catching an IRQ before the buffer could become ready.
> >
> > If we delay the IRQ check, that just means
On 07/01/2017 08:47 AM, Shuah Khan wrote:
> Convert to TAP13 output using ksft_ api. Child runs tests, increments test
> counters, and prints test results.
>
> Signed-off-by: Shuah Khan
> ---
>
> Changes since v1:
> - Add ksft_print_header()
>
> tools/testing/selftests/kcmp/kcmp_test.c | 48
>
If a process is in a mountns and has symbols in /tmp/perf-.map,
look first in the namespace using the tgid for the pidns that the
process might be in. If the map isn't found there, try looking in
the mountns where perf is running, and use the tgid that's appropriate
for perf's pid namespace. If a
Teach perf how to resolve symbols from binaries that are in a different
mount namespace from the tool. This allows perf to generate meaningful
stack traces even if the binary resides in a different mount namespace
from the tool.
Signed-off-by: Krister Johansen
---
tools/perf/util/dso.c|
If a stripped binary is placed in the cache, the user is in a situation
where there's a cached elf file present, but it doesn't have any symtab
to use for name resolution. Grab the debuginfo for binaries that don't
end in .ko. This yields a better chance of resolving symbols from
older traces.
S
The perf top command needs to unshare its fs from the helper threads
in order to successfully setns(2) during its symbol lookup. It also
needs to impelement a force flag to ignore ownership of perf-.map
files.
Signed-off-by: Krister Johansen
---
tools/perf/builtin-top.c | 15 +++
1
Update the perf documentation to describe the --target-ns option to
probe and buildid-cache. Note the existence of the new --force flag
to top.
Signed-off-by: Krister Johansen
---
tools/perf/Documentation/perf-buildid-cache.txt | 5 +
tools/perf/Documentation/perf-probe.txt | 5
Teaches perf how to place a uprobe on a file that's in a different mount
namespace. The user must add the probe using the --target-ns argument
to perf probe. Once it has been placed, it may be recorded against
without further namespace-specific commands.
Signed-off-by: Krister Johansen
---
too
This patch set is similar to a set of features I implemented for bcc
back in April. At a high-level it does the following:
- Allow the tracing tools to resolve symbols if the traced process has a
binary that is in a different mount namespace from perf.
- Allow the perf-.map files to live eithe
Teach buildid-cache how to add, remove, and update binary objects from
other mount namespaces. Allow probe events tracing binaries in
different namespaces to add their objects to the probe and build-id
caches too. As a handy side effect, this also lets us access SDT probes
in binaries from altern
On 6/30/17 5:57 PM, Jerome Glisse wrote:
On Fri, Jun 30, 2017 at 04:19:25PM -0700, Evgeny Baskakov wrote:
Hi Jerome,
It seems that the kernel can pass 0 in src_pfns for pages that it cannot
migrate (i.e. the kernel knows that they cannot migrate prior to calling
alloc_and_copy).
So, a zero in
On (06/30/17 10:45), Steven Rostedt wrote:
> On Fri, 30 Jun 2017 23:28:51 +0900
> Sergey Senozhatsky wrote:
>
> > I guess the question was, a knob that would determine what happens after
> > current wakes up printk_kthread -- does it stay in console_unlock() and
> > wait for new console_sem owner
Fathi Boudra writes:
> On 30 June 2017 at 05:20, Bamvor Zhang Jian
> wrote:
>> On 29 June 2017 at 19:39, Fathi Boudra wrote:
>>> On 29 June 2017 at 12:01, Michael Ellerman wrote:
Fathi Boudra writes:
> Fix hardcoded and misplaced libmount headers. Use pkg-config instead to
On Tue, Jun 13, 2017 at 06:16:21PM -0500, Grygorii Strashko wrote:
> There are two reasons for this change:
> 1) enabling of HW_TS_PUSH events as suggested by Richard Cochran and
> discussed in [1]
> 2) fixing an TX timestamping miss issue which happens with low speed
> ethernet connections and was
On Fri, Jun 30, 2017 at 04:19:25PM -0700, Evgeny Baskakov wrote:
> Hi Jerome,
>
> It seems that the kernel can pass 0 in src_pfns for pages that it cannot
> migrate (i.e. the kernel knows that they cannot migrate prior to calling
> alloc_and_copy).
>
> So, a zero in src_pfns can mean either "the
On 6/30/2017 6:08 AM, Andrea Arcangeli wrote:
On Fri, Jun 30, 2017 at 11:47:35AM +0200, Michal Hocko wrote:
[...]
As an aside, I rememeber that prior to MADV_FREE there was long
discussion about lazy freeing of memory from userspace. Some users
wanted to be signalled when their memory was free
On 06/20, Dong Aisheng wrote:
> Hi Stephen,
>
> On Mon, Jun 19, 2017 at 06:45:12PM -0700, Stephen Boyd wrote:
> > On 05/15, Dong Aisheng wrote:
> > > ---
> > > drivers/clk/clk-divider.c| 2 ++
> > > include/linux/clk-provider.h | 4
> > > 2 files changed, 6 insertions(+)
> > >
> > > dif
Hi,
On Thu, Jun 29, 2017 at 02:10:09PM +0200, Benjamin Tissoires wrote:
> [...]
>
> + /* get design capacity */
> + ret = i2c_smbus_read_word_data(client,
> +MSHW0011_BAT0_REG_DESIGN_CAPACITY);
> + if (ret < 0) {
> + dev_err(&client->dev,
> > Sysfs "badblocks" information may be updated during run-time that:
> > - MCE, SCI, and sysfs "scrub" may add new bad blocks
> > - Writes and ioctl() may clear bad blocks
> >
> > Add support to send sysfs notifications to sysfs "badblocks" file
> > under region and pmem directories when their
On 06/20, Dong Aisheng wrote:
> On Mon, Jun 19, 2017 at 06:59:17PM -0700, Stephen Boyd wrote:
> > On 05/15, Dong Aisheng wrote:
> > > +
> > > + if (clk_pllv4_is_enabled(hw)) {
> > > + WARN(1, "clk_pllv4: can't change rate when pll is enabled");
> > > + return -EINVAL;
> >
> > Sad,
On Fri, 30 Jun 2017, Michal Hocko wrote:
> On Fri 30-06-17 14:11:57, Mikulas Patocka wrote:
> >
> >
> > On Fri, 30 Jun 2017, Michal Hocko wrote:
> >
> > > On Thu 29-06-17 22:25:09, Mikulas Patocka wrote:
> > > > The __vmalloc function has a parameter gfp_mask with the allocation
> > > > flag
On 06/21, A.s. Dong wrote:
> > -Original Message-
> > From: Stephen Boyd [mailto:sb...@codeaurora.org]
> > Sent: Wednesday, June 21, 2017 4:42 AM
> > To: Dong Aisheng
> > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> > linux-arm-ker...@lists.infradead.org; mturqu
On Fri, Jun 30, 2017 at 05:50:57PM -0400, Steven Rostedt wrote:
> On Fri, 30 Jun 2017 11:17:50 -0600
> Michael Sartain wrote:
>
> > Export the cached pid / tgid mappings to userspace. This allows user
> > apps to translate the pids from a trace to their respective thread
> > group.
> >
> > Examp
Hi Vitaly,
[auto build test WARNING on next-20170619]
[cannot apply to tip/x86/core linus/master linux/master v4.12-rc6 v4.12-rc5
v4.12-rc4 v4.12-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/com
Hi Jérôme,
[auto build test WARNING on mmotm/master]
[also build test WARNING on next-20170630]
[cannot apply to linus/master v4.12-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/J-r-me
On Fri, Jun 30, 2017 at 6:58 PM, Stephen Boyd wrote:
> If we have a structure that's marked const it will be placed
> into the .rodata section but it could reference an init section
> function. Include the read only data section in the check we have
> for read/write data sections referencing init
On Fri, Jun 16, 2017 at 02:28:22PM +0300, Mikko Perttunen wrote:
> This adds the thermal sensor device provided by the BPMP, and the
> relevant thermal sensors to the Tegra186 device tree.
>
> Signed-off-by: Mikko Perttunen
> ---
> arch/arm64/boot/dts/nvidia/tegra186.dtsi | 48
> +++
> On Jun 30, 2017, at 9:10 AM, Arnd Bergmann wrote:
>
> When NVMe support is disabled, we get a couple of harmless warnings:
>
> drivers/scsi/qla2xxx/qla_nvme.c:667:13: error:
> 'qla_nvme_unregister_remote_port' defined but not used
> [-Werror=unused-function]
> drivers/scsi/qla2xxx/qla_nvme.
Hi Ard,
On Thu, Jun 01, 2017 at 08:46:26AM +, Ard Biesheuvel wrote:
> On 1 June 2017 at 08:11, Gary Lin wrote:
> > On Fri, May 12, 2017 at 04:05:34PM +0800, Gary Lin wrote:
> >> A new section, secdata, in the setup header is introduced to store the
> >> distro-specific security version which
Convert to TAP13 output using ksft_ api. Child runs tests, increments test
counters, and prints test results.
Signed-off-by: Shuah Khan
---
Changes since v1:
- Add ksft_print_header()
tools/testing/selftests/kcmp/kcmp_test.c | 48 +---
1 file changed, 19 insertions(
On Fri, Jun 30, 2017 at 2:50 PM, Steven Rostedt wrote:
> On Fri, 30 Jun 2017 11:17:50 -0600
[..]
>>
>> Signed-off-by: Michael Sartain
>> ---
>> kernel/trace/trace.c | 60
>> +++-
>> 1 file changed, 59 insertions(+), 1 deletion(-)
>>
>> diff --git
The memory-barriers.txt document contains an obsolete passage stating that
smp_read_barrier_depends() is required to force ordering for read-to-write
dependencies. We now know that this is not required, even for DEC Alpha.
This commit therefore updates this passage to state that read-to-write
depe
> On Jun 30, 2017, at 6:47 AM, Colin King wrote:
>
> From: Colin Ian King
>
> Fix the following typos/spelling mistakes:
>
> "attribure" -> "attribute"
> "suppored" -> "supported"
> "Symobilic" -> "Symbolic"
> "iteself" -> "itself"
> "reqeust" -> "request"
> "nvme_wait_on_comand" -> "nvme_wai
Hi Steven,
On Jun 30, 2017 5:32 AM, "Steven Rostedt" wrote:
[..]
>> Did you have any comments about this patch? It was sent a while ago
>> and if you can provide me your initial thoughts on it, I would
>> appreciate it. (Sorry to ping you about it during the busy merge
>> window time, but I was t
On 6/26/17 5:07 PM, Evgeny Baskakov wrote:
> Hi Jerome,
>
> The documentation shown above doesn't tell what the alloc_and_copy
callback should do for source pages that have not been allocated yet.
Instead, it unconditionally suggests checking if the MIGRATE_PFN_VALID
and MIGRATE_PFN_MIGRATE fl
Using up to and including 4.11.7 getting reports coming in of black
screens on new laptops (includes booting to console only). The
solution is to use kernel parameter acpi=off. The newer include Dell
Latitude 5289 and Lenovo e-560. (although searching Internet even
older system affected like HP
Hi,
I have a driver that reads data from a file that has worked from
kernel 3.x up to 4.9.13. I haven't tried all the other 4.9's or 4.10,
or 4.11.6 or earlier, but in 4.11.7 it's now broken and an error is
returned. It's based on
http://krishnamohanlinux.blogspot.com/2013/12/how-to-write-to-fi
platform_get_irq() returns an error code, but the omap_hdq
driver ignores it and always returns -ENXIO. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.
Notice that platform_get_irq() no longer returns 0 on error.
Print error message and propagate the return value of
If we have a structure that's marked const it will be placed
into the .rodata section but it could reference an init section
function. Include the read only data section in the check we have
for read/write data sections referencing init sections so we can
find this class of problems. This exposes q
On Fri, Jun 30, 2017 at 05:47:44PM +0200, Arnd Bergmann wrote:
> When we try to 'select' drivers whose dependencies are not met,
> we get a kconfig warning and undefined behavior as further 'select'
> statements in those drivers can not be honored:
>
> warning: (TEST_KMOD) selects TUN which has un
clk_disable_unprepare(info->clk) is missed in of_platform_serial_probe(),
while irq_dispose_mapping(port->irq) is missed in of_platform_serial_setup().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/tty/serial/8250/8250_of.c | 20 +++
The existing tools/testing/selftests/sysctl/ tests include two test cases,
but these use existing production kernel sysctl interfaces. We want to
expand test coverage but we can't just be looking for random safe production
values to poke at, that's just insane!
Instead just dedicate a test driver
Add a few initial respective tests for an array:
o Echoing values separated by spaces works
o Echoing only first elements will set first elements
o Confirm PAGE_SIZE limit still applies even if an array is used
Cc: Kees Cook
Cc: "Eric W. Biederman"
Cc: Shuah Khan
Signed-off-by: Luis R. R
Test against a simple proc_douintvec() case. While at it, add
a test against UINT_MAX. Make sure UINT_MAX works, and UINT_MAX+1
will fail and that negative values are not accepted.
Cc: Kees Cook
Cc: "Eric W. Biederman"
Cc: Shuah Khan
Signed-off-by: Luis R. Rodriguez
---
lib/test_sysctl.c
ound. I've made Orson's check a
function, and integrated his exit strategy to restore the production sysctl
writes_strict setting. To do this I've also added a PROD_SYCTL, which now users
can also override through an environment variable.
These changes are also present on my linux-ne
This adds a generic script to let us more easily add more tests cases.
Since we really have only two types of tests cases just fold them into the
one file. Each test unit is now identified into its separate function:
# ./sysctl.sh -l
Test ID list:
TEST_ID x NUM_TEST
TEST_ID: Test ID
NUM_TEST
Test against a simple proc_dointvec() case. While at it, add a test
against INT_MAX. Make sure INT_MAX works, and INT_MAX+1 will fail. Also
test negative values work.
Cc: Kees Cook
Cc: "Eric W. Biederman"
Cc: Shuah Khan
Signed-off-by: Luis R. Rodriguez
---
lib/test_sysctl.c
Add the following tests to ensure we do not regress:
o Test using a buffer full of space (PAGE_SIZE-1) followed by a
single digit works
o Test using a buffer full of spaces (PAGE_SIZE or over) will fail
As tests increase instead of unloading the module and reloading it
we can just do a s
On Thu, Jun 29, 2017 at 12:35:27PM -0700, Andrew Morton wrote:
> On Wed, 28 Jun 2017 18:31:11 +1000 Stephen Rothwell
> wrote:
>
> > Hi all,
> >
> > Today's linux-next merge of the akpm-current tree got conflicts in:
> >
> > tools/testing/selftests/sysctl/common_tests
> > tools/testing/self
Check return value from call to platform_get_irq(),
so in case of failure print error message and propagate
the return value.
Signed-off-by: Gustavo A. R. Silva
---
sound/soc/fsl/imx-ssi.c | 4
1 file changed, 4 insertions(+)
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
i
platform_get_irq() returns an error code, but the ac97c
driver ignores it and always returns -ENXIO. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.
Notice that platform_get_irq() no longer returns 0 on error.
Print and propagate the return value of platform_get_irq
From: Arnaldo Carvalho de Melo
The warning(str_error_r(errno)) pattern can be replaced with a function,
do it.
And while at it use pr_warning(), we have way too many error reporting
facilities, time to drop some, starting with the one we got from the git
sources.
Cc: Adrian Hunter
Cc: David Ah
From: Arnaldo Carvalho de Melo
Now everything uses pr_warning(), so ditch it.
Cc: Adrian Hunter
Cc: David Ahern
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Wang Nan
Link: http://lkml.kernel.org/n/tip-hv8r0mgdhk73wtfq3zrha...@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tes
From: Arnaldo Carvalho de Melo
Complete the switch to using te pr_{warning,error,etc} error reporting
facilities.
Cc: Adrian Hunter
Cc: David Ahern
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Wang Nan
Link: http://lkml.kernel.org/n/tip-3l9gr6237b4aqyo0rsspi...@git.kernel.org
Signed-off-by: Arnaldo C
From: Arnaldo Carvalho de Melo
Finally can nuke this function, no more users.
Cc: Adrian Hunter
Cc: David Ahern
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Wang Nan
Link: http://lkml.kernel.org/n/tip-eivvvzn8ie6w42gy3batx...@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/tes
From: Arnaldo Carvalho de Melo
Just warn the user and ignore those values.
Cc: Adrian Hunter
Cc: David Ahern
Cc: Jiri Olsa
Cc: Namhyung Kim
Cc: Wang Nan
Link: http://lkml.kernel.org/n/tip-tbf60nj3ierm6hrkhpoth...@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builti
From: Adrian Hunter
Add a field to display the content the raw_data of a synthesized event.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-22-git-send-email-adrian.hun...@intel.com
[ Resolved conflict with 106dacd86f04 ("perf script: Support -F
br
From: Adrian Hunter
Add itrace option to output power events.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-25-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Documentation/itrace.txt | 5 +++--
tool
From: Adrian Hunter
Add byte-swapping macros to kernel.h
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-23-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/include/linux/kernel.h | 35 ++
From: Adrian Hunter
Instruction trace decoders such as Intel PT may have additional information
recorded in the trace. For example, Intel PT has power information and a
there is a new instruction 'ptwrite' that can write a value into a PTWRITE
trace packet.
Such information may be associated wit
From: Adrian Hunter
Add itrace option to output ptwrite events.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-24-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Documentation/itrace.txt | 7 ---
From: Adrian Hunter
Add definitions for synthesized Intel PT events for power and ptwrite.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1498811802-2301-1-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/builtin-scrip
From: Adrian Hunter
Tidy the lookup of the Intel PT selected event (perf_evsel) into a separate
function.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-30-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/p
From: Adrian Hunter
Remove unused struct intel_pt member instructions_sample_period.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-28-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/intel-pt.c |
From: Adrian Hunter
Tidy print messages into called function intel_pt_synth_event().
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-31-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/intel-pt.c |
From: Adrian Hunter
Add script intel-pt-events.py that provides an example of how to unpack the
raw data for power events and PTWRITE.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-35-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo C
From: Adrian Hunter
Join needlessly wrapped lines.
Signed-off-by: Adrian Hunter
Cc: Andi Kleen
Link:
http://lkml.kernel.org/r/1495786658-18063-29-git-send-email-adrian.hun...@intel.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/util/intel-pt.c | 6 ++
1 file changed, 2 inser
1 - 100 of 763 matches
Mail list logo