The currently when perf TUI report shows callchain, the first level
chains have bogus '+' sign even though only the last one has children.
Since they are on a single line of the chain, toggling intermediate
entries has no effect. Fix it to show '+' sign at the last entry
only. Note that
On Tue, Aug 12, 2014 at 8:43 PM, Doug Anderson diand...@chromium.org wrote:
Hi,
On Mon, Aug 11, 2014 at 5:46 AM, Ulf Hansson ulf.hans...@linaro.org wrote:
On 11 August 2014 09:44, Linus Walleij linus.wall...@linaro.org wrote:
On Mon, Aug 4, 2014 at 12:18 AM, Heiko Stübner he...@sntech.de
On 08/12/2014 09:40 AM, Namhyung Kim wrote:
Some paths in perf script don't call perf_session__delete() after
creating a new session.
Cc: Adrian Hunter adrian.hun...@intel.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/builtin-script.c | 35
From: Aniroop Mathur a.mat...@samsung.com
Earlier, user space can only read from iio device node but cannot write to it.
This patch adds write function in iio buffer file operations,
which will allow user-space applications/HAL to write the data
to iio device node.
So now there will be two way
Known issue:
If gpios are in use(export to userspace through sysfs interface, etc),
then call pl2303_release(unplug usb-serial convertor, modprobe -r,
etc),
will cause trouble, so we need to make sure there is no gpio user
before
call pl2303_release.
This is a real problem that
On 08/04/2014 01:30 PM, jgr...@suse.com wrote:
From: Juergen Gross jgr...@suse.com
If a scsi host driver specifies .cmd_len in it's scsi_host_template, a driver's
private command pool is needed. scsi_find_host_cmd_pool() will locate it, but
scsi_alloc_host_cmd_pool() isn't saving the pool
Hi,
On Tuesday, August 12, 2014 10:49:12 PM Daniel Lezcano wrote:
On 08/12/2014 05:11 PM, Bartlomiej Zolnierkiewicz wrote:
Fix building of exynos_defconfig with disabled CONFIG_PM_SLEEP by
adding checking whether Exynos cpuidle support is enabled before
accessing exynos_enter_aftr.
On 08/12/14 18:17, Fabio Estevam wrote:
On Tue, Aug 12, 2014 at 2:30 PM, Randy Dunlap rdun...@infradead.org wrote:
This patch fixed 'make xmldocs' failed on linus's tree and
linux-next as of 8th/Aug,2014.
When drm merge for 3.17-rc1 happen, a file was renamed from
drm_stub.c to drm_drv.c.
Previous format definition uses MACRO BIT(...), which is not very
maintainable as Bjorn mentioned before:
I'd like to see all those BIT(...) things changed to use the #defines
that already exist in include/uapi/linux/pci_regs.h, e.g.,
PCI_ERR_COR_RCVR. That way grep will find these uses, which
No response since last commit so spread it to a bigger range.
This patch series is for AER related cleanup update based on PCIe
SPEC r3.0.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On 08/12/2014 10:32 PM, Chen Gang wrote:
Yeah, we need.
The solution you suggest assumes that an arch is either little or big endian.
But we cannot ignore the hybriads that can do both.
For the architectures which can do both, for me, they are: sh, powerpc,
m32r, and mips (may mark
Since commit 6c2b374d is commited, the capability of PCI-e AER
has changed a lot. This patch adds all missed CE/UC error bits
existed in PCI-e SPEC r3.0. Meanwhile, adjust the code format
to make it simpler to read/maintain.
Signed-off-by: Chen, Gong gong.c...@linux.intel.com
---
In PCI-e SPEC r3.0, BIT 0 of Uncorrectable Error Status Register
is redefined and it has an explicit requirement that when writing
this field, a value of 1b is the only choice. So change previous
initial maks from 0 to 1.
Signed-off-by: Chen, Gong gong.c...@linux.intel.com
---
NOTE: After
In PCI-e SPEC r3.0, BIT 0 of Uncorrectable Error Status Register
has been redefined for a different purpose.
BIT 0:
Undefined ??? The value read from this bit is undefined. In
previous versions of this specification, this
bit was used to mask a Link Training
This patch adds all missed AER error bits(CE UC) existed in PCI-e
SPEC r3.0 for trace interface.
Signed-off-by: Chen, Gong gong.c...@linux.intel.com
---
include/ras/ras_event.h | 35 ++-
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git
Hi Steve and Masami,
On Tue, 5 Aug 2014 17:37:52 -0400, Steven Rostedt wrote:
Hi Masami,
This looks great. I'm a bit busy at the moment (just came back from
vacation, and digging myself out of the hole that left me). But I
definitely want this in. I have a bunch of tests too, that I can put
On Tue, 2014-08-12 at 21:12 +0200, Oleg Nesterov wrote:
On 08/12, Rik van Riel wrote:
Back in 2009, Spencer Candland pointed out there is a race with
do_sys_times, where multiple threads calling do_sys_times can
sometimes get decreasing results.
https://lkml.org/lkml/2009/11/3/522
On Wed, 13 Aug 2014 09:21:31 +0300, Adrian Hunter wrote:
On 08/12/2014 09:40 AM, Namhyung Kim wrote:
input = open(file.path, O_RDONLY); /* input_name */
if (input 0) {
perror(failed to open file);
-return -1;
+
On Wed, Aug 13, 2014 at 08:17:50AM +0200, Hannes Petermaier wrote:
Known issue:
If gpios are in use(export to userspace through sysfs interface, etc),
then call pl2303_release(unplug usb-serial convertor, modprobe -r,
etc),
will cause trouble, so we need to make sure there is no
On Wed, Aug 13, 2014 at 10:50:32AM +0800, Lan Tianyu wrote:
On 2014年08月13日 10:03, Wolfram Sang wrote:
On Tue, Aug 12, 2014 at 12:53:21PM +0300, Mika Westerberg wrote:
On Mon, Aug 11, 2014 at 03:00:55PM +0800, Lan Tianyu wrote:
Commit da3c6647(I2C/ACPI: Clean up I2C ACPI code and Add
From: vishnu.ps vishnu...@samsung.com
Signed-off-by: vishnu.ps vishnu...@samsung.com
---
mm/mmap.c | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 80217c9..5cce169 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@
On Wed, Aug 13, 2014 at 09:05:09AM +0200, Johan Hovold wrote:
On Wed, Aug 13, 2014 at 08:17:50AM +0200, Hannes Petermaier wrote:
Known issue:
If gpios are in use(export to userspace through sysfs interface, etc),
then call pl2303_release(unplug usb-serial convertor, modprobe -r,
POSLEDNÁ OZNÁMENIE
VÁŠ EMAIL ID získal (450,000.00 EUR) v španielskom El Gordo
International E-mail lotérie ocenenie sa štastné císla 9/11/13/24/43 a
Ref: ES/9420X2/68.
Pre objasnenie a riadenie Kontakt:
STALLION MEGA NÁROK AGENCY
Pán, Juan Carlos
E-mail, infosta...@aol.com
Tel :0034-632 662 036
On Wed, 13 Aug 2014 15:59:04 +0900, Namhyung Kim wrote:
On Tue, 5 Aug 2014 17:37:52 -0400, Steven Rostedt wrote:
Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote:
- What's the good naming method of testcases?
I'm okay with the ftracetest, but tracing-test may be an option. :)
Ouch,
Hi Jaegeuk,
-Original Message-
From: Jaegeuk Kim [mailto:jaeg...@kernel.org]
Sent: Wednesday, August 13, 2014 3:49 AM
To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org;
linux-f2fs-de...@lists.sourceforge.net
Cc: Jaegeuk Kim
Subject: [f2fs-dev] [PATCH 01/13] f2fs:
...@samsung.com
---
drivers/extcon/Kconfig |1 +
1 file changed, 1 insertion(+)
Index: linux-next-20140813/drivers/extcon/Kconfig
===
--- linux-next-20140813.orig/drivers/extcon/Kconfig
+++ linux-next-20140813/drivers/extcon
On Wed, Aug 13, 2014 at 9:08 AM, vishnu.ps vishnu...@samsung.com wrote:
From: vishnu.ps vishnu...@samsung.com
Signed-off-by: vishnu.ps vishnu...@samsung.com
---
mm/mmap.c | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
Please don't run
On Tue, Aug 12, 2014 at 10:55:24PM +0200, Andi Kleen wrote:
On Tue, Aug 12, 2014 at 03:50:17PM +0200, Jiri Olsa wrote:
On Thu, Jul 31, 2014 at 10:17:00AM -0700, Andi Kleen wrote:
SNIP
v5:
- Rename functions
- Fix gtk build problem
- Fix crash without -g
- Improve error
On 2014年08月13日 15:07, Mika Westerberg wrote:
On Wed, Aug 13, 2014 at 10:50:32AM +0800, Lan Tianyu wrote:
On 2014年08月13日 10:03, Wolfram Sang wrote:
On Tue, Aug 12, 2014 at 12:53:21PM +0300, Mika Westerberg wrote:
On Mon, Aug 11, 2014 at 03:00:55PM +0800, Lan Tianyu wrote:
Commit
On 8/11/2014 8:46 AM, Benjamin Herrenschmidt wrote:
On Tue, 2014-08-05 at 15:51 +0100, One Thousand Gnomes wrote:
On Tue, 05 Aug 2014 20:12:09 +0530
Vishal Mansur vman...@linux.vnet.ibm.com wrote:
EEH kernel services are inconsistently exported by the
kernel. eeh_check_failure is exported
On Tue, Aug 05, 2014 at 11:12:58AM +0300, Mikko Perttunen wrote:
Hardware-triggered thermal reset requires configuring the I2C
reset procedure. This configuration is read from the device tree,
so document the relevant properties in the binding documentation.
Signed-off-by: Mikko Perttunen
On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote:
This adds the required information to reset the board during an overheating
situation to the Jetson TK1 device tree. The thermal reset is handled by the
PMC by sending an I2C message to the PMIC. The entries specify the I2C
On 8/13/14 14:51, H. Peter Anvin wrote:
On 08/12/2014 10:32 PM, Chen Gang wrote:
Yeah, we need.
The solution you suggest assumes that an arch is either little or big
endian.
But we cannot ignore the hybriads that can do both.
For the architectures which can do both, for me, they are:
On 12 August 2014 17:03, Prarit Bhargava pra...@redhat.com wrote:
Okay, this is what I have and I can reproduce this *easily* 100% of the time.
I've used your above config options and have enabled LOCKDEP.
In order to restore the locking, I've applied the following patch to the
cpufreq
: MyungJoo Ham myungjoo@samsung.com
Cc: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/Kconfig |1 +
1 file changed, 1 insertion(+)
Index: linux-next-20140813/drivers/extcon/Kconfig
===
--- linux-next-20140813.orig
This patch set add support for the MEN 14F021P00 Board Management called BMC.
The BMC is a PIC Mikrocontroller which assembled on almost all of our
3U Compact PCI CPU board and a few Box PCs.
main part of the BMC is to start and monitor the board, but there are a
lot more features which can be
The MEN 14F021P00 Board Management Controller provides an
I2C interface to the host to access the feature implemented in the BMC.
The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik
and on a few Box/Display Computer.
Added MFD Core driver, supporting the I2C
Added driver to support the 14F021P00 BMC LEDs.
The BMC is a Board Management Controller including four LEDs which
can be switched on and off.
Signed-off-by: Andreas Werner andreas.wer...@men.de
---
drivers/leds/Kconfig | 6 ++
drivers/leds/Makefile | 1 +
Added driver to support the 14F021P00 BMC Hardware Monitoring.
The BMC is a Board Management Controller including monitoring of the
board voltages.
Signed-off-by: Andreas Werner andreas.wer...@men.de
---
drivers/hwmon/Kconfig | 7 ++
drivers/hwmon/Makefile | 1 +
Added driver to support the 14F021P00 BMC Watchdog.
The BMC is a Board Management Controller including watchdog functionality.
Signed-off-by: Andreas Werner andreas.wer...@men.de
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/Makefile| 1 +
On 08/12/2014 12:22 PM, Andy Lutomirski wrote:
On Tue, Aug 12, 2014 at 12:17 PM, Theodore Ts'o ty...@mit.edu wrote:
On Tue, Aug 12, 2014 at 12:11:29PM -0700, Andy Lutomirski wrote:
What's the status of this series? I assume that it's too late for at
least patches 2-5 to make it into 3.17.
On 13/08/14 10:35, Thierry Reding wrote:
* PGP Signed by an unknown key
On Tue, Aug 05, 2014 at 11:12:58AM +0300, Mikko Perttunen wrote:
Hardware-triggered thermal reset requires configuring the I2C
reset procedure. This configuration is read from the device tree,
so document the relevant
On 13/08/14 10:37, Thierry Reding wrote:
* PGP Signed by an unknown key
On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote:
This adds the required information to reset the board during an overheating
situation to the Jetson TK1 device tree. The thermal reset is handled by the
PMC
On Tue, Aug 05, 2014 at 11:13:00AM +0300, Mikko Perttunen wrote:
This adds a device tree controlled option to enable PMC-based
thermal reset in overheating situations. Thermtrip is supported on
Tegra114 and Tegra124. The thermal reset only works when the thermal
The binding updates in patch
Hi All,
one more RFC...
Major difference vs previous set is a new 'load 64-bit immediate' eBPF insn.
Which is first 16-byte instruction. It shows how eBPF ISA can be extended
while maintaining backward compatibility, but mainly it cleans up eBPF
program access to maps and improves run-time
add new map type: BPF_MAP_TYPE_HASH
and its simple (not auto resizeable) hash table implementation
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
include/uapi/linux/bpf.h |1 +
kernel/bpf/Makefile |2 +-
kernel/bpf/hashtab.c | 372
in native eBPF programs userspace is using pseudo BPF_CALL instructions
which encode one of 'enum bpf_func_id' inside insn-imm field.
Verifier checks that program using correct function arguments to given func_id.
If all checks passed, kernel needs to fixup BPF_CALL-imm fields by
replacing func_id
BPF syscall is a demux for different BPF releated commands.
'maps' is a generic storage of different types for sharing data between kernel
and userspace.
The maps can be created from user space via BPF syscall:
- create a map with given type and attributes
fd = bpf_map_create(map_type, struct
add BPF_LD_IMM64 instruction to load 64-bit immediate value into register.
All previous instructions were 8-byte. This is first 16-byte instruction.
Two consecutive 'struct bpf_insn' blocks are interpreted as single instruction:
insn[0/1].code = BPF_LD | BPF_DW | BPF_IMM
insn[0/1].dst_reg =
since verifier walks all possible paths it's important to recognize
equivalent verifier states to speed up verification.
If one of the old states is more strict than the current state, it means
the current state doesn't need to be explored further, since verifier already
concluded that more
this example has two probes in C that use two different maps.
1st probe is the similar to dropmon.c. It attaches to kfree_skb tracepoint and
count number of packet drops at different locations
2nd probe attaches to kprobe/sys_write and computes a histogram of different
write sizes
Usage:
$ sudo
simple .o parser and loader using BPF syscall.
.o is a standard ELF generated by LLVM backend
It parses elf file compiled by llvm .c-.o
- parses 'maps' section and creates maps via BPF syscall
- parses 'license' section and passes it to syscall
- parses elf relocations for BPF maps and adjusts
the library includes a trivial set of BPF syscall wrappers:
int bpf_create_map(int key_size, int value_size, int max_entries);
int bpf_update_elem(int fd, void *key, void *value);
int bpf_lookup_elem(int fd, void *key, void *value);
int bpf_delete_elem(int fd, void *key);
int
simple verifier test from user space. Tests valid and invalid programs
and expects predefined error log messages from kernel
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
samples/bpf/Makefile|3 +-
samples/bpf/test_verifier.c | 354
On Tue, Aug 12, 2014 at 06:45:13PM -0700, Andi Kleen wrote:
From: Andi Kleen a...@linux.intel.com
Signed-off-by: Andi Kleen a...@linux.intel.com
---
arch/x86/kernel/cpu/perf_event_intel.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c
llvm backend that generated eBPF and emits either
binary ELF or human readable eBPF assembler
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
the body of the patch is removed to prevent spam.
I doubt too many falks are interested in reading llvm diffs on lkml.
The backend is available in
ex1_kern.c - C program which will be compiled into eBPF
to filter netif_receive_skb events on skb-dev-name == lo
ex1_user.c - corresponding user space component that
forever reads /sys/.../trace_pipe
Usage:
$ sudo ex1
should see:
writing bpf-4 -
simple packet drop monitor:
- in-kernel eBPF program attaches to kfree_skb() event and records number
of packet drops at given location
- userspace iterates over the map every second and prints stats
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
samples/bpf/Makefile |3 +-
On Wed, Aug 13, 2014 at 10:51:02AM +0300, Mikko Perttunen wrote:
On 13/08/14 10:35, Thierry Reding wrote:
On Tue, Aug 05, 2014 at 11:12:58AM +0300, Mikko Perttunen wrote:
[...]
+Required properties for hardware-triggered thermal reset:
+(only tegra30, tegra114, tegra124)
+-
User interface:
fd = open(/sys/kernel/debug/tracing/__event__/filter)
write(fd, bpf_123)
where 123 is process local FD associated with eBPF program previously loaded.
__event__ is static tracepoint event or syscall.
(kprobe support is in next patch)
Once program is successfully attached to
On Tue, Aug 12, 2014 at 06:45:14PM -0700, Andi Kleen wrote:
+ case 61: /* Broadwell */
+ case 71:
+ case 79:
Same deal; please put a descriptive comment per model number.
On Tuesday 12 August 2014 18:39:39 Aravind Gopalakrishnan wrote:
(btw, this is a 'Kabini' processor and not a
'Kaveri')
Right, sorry.
(I think you mentioned you were able to reproduce on 3.16. So assuming
-rc will be affected too)
At least, 3.16-rc7 was affected too.
Are you noticing this
this socket filter example does:
- creates a hashtable in kernel with key 4 bytes and value 8 bytes
- populates map[6] = 0; map[17] = 0; // 6 - tcp_proto, 17 - udp_proto
- loads eBPF program:
r0 = skb[14 + 9]; // load one byte of ip-proto
*(u32*)(fp - 4) = r0;
value =
CC kbuild
On Wed, Aug 13, 2014 at 12:48 AM, Chen Gang gang.chen.5...@gmail.com wrote:
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c49a775..0510a5d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -199,6 +199,11 @@ config NEED_DMA_MAP_STATE
config ARCH_SUPPORTS_UPROBES
On Tue, 12 Aug 2014, Linus Walleij wrote:
On Tue, Jun 17, 2014 at 10:23 PM, Lee Jones lee.jo...@linaro.org wrote:
On Wed, 09 Apr 2014, Linus Walleij wrote:
This defines the device tree bindings for the Toshiba TC3589x
series of multi-purpose expanders. Only the stuff I can test
is
introduce new setsockopt() command:
int fd;
setsockopt(sock, SOL_SOCKET, SO_ATTACH_FILTER_EBPF, fd, sizeof(fd))
fd is associated with eBPF program priorly loaded via:
fd = syscall(__NR_bpf, BPF_PROG_LOAD, BPF_PROG_TYPE_SOCKET_FILTER,
prog, sizeof(prog));
setsockopt() calls
On Wed, Aug 13, 2014 at 10:52:18AM +0300, Mikko Perttunen wrote:
On 13/08/14 10:37, Thierry Reding wrote:
* PGP Signed by an unknown key
On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote:
This adds the required information to reset the board during an overheating
situation to
On 13/08/14 10:53, Thierry Reding wrote:
* PGP Signed by an unknown key
On Tue, Aug 05, 2014 at 11:13:00AM +0300, Mikko Perttunen wrote:
This adds a device tree controlled option to enable PMC-based
thermal reset in overheating situations. Thermtrip is supported on
Tegra114 and Tegra124. The
Hi,
What do you think, would it be better just to left the check for all
x86 32-bit hardware?.
2014-07-18 11:31 GMT+04:00 Ondrej Zary li...@rainbow-software.org:
On Friday 18 July 2014, mat...@sai.msu.ru wrote:
From: Matwey V. Kornilov mat...@sai.msu.ru
The code in intel_bug_present is
On 13/08/14 11:03, Thierry Reding wrote:
* PGP Signed by an unknown key
On Wed, Aug 13, 2014 at 10:52:18AM +0300, Mikko Perttunen wrote:
On 13/08/14 10:37, Thierry Reding wrote:
Old Signed by an unknown key
On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote:
This adds the
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
kernel/trace/trace_kprobe.c | 24
1 file changed, 24 insertions(+)
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c
index 282f6e4e5539..a71e3d521938 100644
--- a/kernel/trace/trace_kprobe.c
On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote:
Hi,
this series adds support for hardware-triggered thermal reset to the PMC
driver. Namely, it adds device tree properties for specifying the I2C
command to be sent when thermtrip is triggered. It is to be noted
that
expose bpf_map_lookup_elem(), bpf_map_update_elem(), bpf_map_delete_elem()
map accessors to eBPF programs
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
include/linux/bpf.h |5
include/uapi/linux/bpf.h |3 ++
kernel/bpf/syscall.c | 68
add optional attributes for BPF_PROG_LOAD syscall:
BPF_PROG_LOG_LEVEL, /* verbosity level of eBPF verifier */
BPF_PROG_LOG_BUF, /* user supplied buffer */
BPF_PROG_LOG_SIZE, /* size of user buffer */
In such case the verifier will return its verification log in the user
This patch adds verifier core which simulates execution of every insn and
records the state of registers and program stack. Every branch instruction seen
during simulation is pushed into state stack. When verifier reaches BPF_EXIT,
it pops the state from the stack and continues until it reaches
On Tue, Aug 12, 2014 at 06:45:15PM -0700, Andi Kleen wrote:
From: Andi Kleen a...@linux.intel.com
On Broadwell INST_RETIRED.PREC_DIST cannot be used with any period
that doesn't have the lowest 6 bits cleared. And the period
should not be smaller than 128.
Add a new callback to enforce
On Tue, Aug 12, 2014 at 11:45:32AM +0200, Vlastimil Babka wrote:
On 08/12/2014 07:17 AM, Minchan Kim wrote:
On Wed, Aug 06, 2014 at 04:18:33PM +0900, Joonsoo Kim wrote:
One solution to this problem is checking pageblock migratetype with
holding zone lock in __free_one_page() and I posted it
eBPF programs passed from userspace are using pseudo BPF_LD_IMM64 instructions
to refer to process-local map_fd. Scan the program for such instructions and
if FDs are valid, convert them to 'struct bpf_map' pointers which will be used
by verifier to check access to maps in bpf_map_lookup/update()
check that control flow graph of eBPF program is a directed acyclic graph
check_cfg() does:
- detect loops
- detect unreachable instructions
- check that program terminates with BPF_EXIT insn
- check that all branches are within program boundary
Signed-off-by: Alexei Starovoitov
On 8/13/14 16:03, Geert Uytterhoeven wrote:
CC kbuild
On Wed, Aug 13, 2014 at 12:48 AM, Chen Gang gang.chen.5...@gmail.com wrote:
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c49a775..0510a5d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -199,6 +199,11 @@ config
On Mon, Aug 11, 2014 at 03:49:04PM -0700, Paul E. McKenney wrote:
From: Paul E. McKenney paul...@linux.vnet.ibm.com
Because idle-task code may need to be patched, RCU-tasks need to wait
for idle tasks to schedule. This commit therefore detects this case
via context switch. Block CPU
On 13/08/14 11:07, Thierry Reding wrote:
* PGP Signed by an unknown key
On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote:
Hi,
this series adds support for hardware-triggered thermal reset to the PMC
driver. Namely, it adds device tree properties for specifying the I2C
command
this patch adds all of eBPF verfier documentation and empty bpf_check()
The end goal for the verifier is to statically check safety of the program.
Verifier will catch:
- loops
- out of range jumps
- unreachable instructions
- invalid instructions
- uninitialized register access
- uninitialized
eBPF programs are safe run-to-completion functions with load/unload
methods from userspace similar to kernel modules.
User space API:
- load eBPF program
fd = bpf_prog_load(bpf_prog_type, struct nlattr *prog, int len)
where 'prog' is a sequence of sections (TEXT, LICENSE)
TEXT - array of
'maps' is a generic storage of different types for sharing data between kernel
and userspace.
The maps are accessed from user space via BPF syscall, which has commands:
- create a map with given type and attributes
fd = bpf_map_create(map_type, struct nlattr *attr, int len)
returns fd or
On 08/12/14 at 02:10pm, Dave Young wrote:
noefi kernel param means actually disabling efi runtime, Per suggestion from
Leif Lindholm efi=noruntime should be better. But since noefi is already used
in X86 thus just adding another param efi=noruntime for same purpose.
Signed-off-by: Dave Young
done as separate commit to ease conflict resolution
Signed-off-by: Alexei Starovoitov a...@plumgrid.com
---
arch/x86/syscalls/syscall_64.tbl |1 +
include/linux/syscalls.h |3 ++-
include/uapi/asm-generic/unistd.h |4 +++-
kernel/sys_ni.c |3 +++
4
eBPF can be used from user space.
uapi/linux/bpf.h: eBPF instruction set definition
linux/filter.h: the rest
This patch only moves macro definitions, but practically it freezes existing
eBPF instruction set, though new instructions can still be added in the future.
These eBPF definitions
* Namhyung Kim namhy...@kernel.org wrote:
The currently when perf TUI report shows callchain, the first level
chains have bogus '+' sign even though only the last one has children.
Since they are on a single line of the chain, toggling intermediate
entries has no effect. Fix it to show
On Mon, Aug 11, 2014 at 02:53:35PM +0530, Aneesh Kumar K.V wrote:
Joonsoo Kim iamjoonsoo@lge.com writes:
The check '!PageBuddy(page) page_count(page) == 0
migratetype == MIGRATE_ISOLATE' would mean the page on free processing.
Although it could go into buddy allocator within a short
On Tue, Aug 12, 2014 at 01:45:23AM +, Minchan Kim wrote:
On Wed, Aug 06, 2014 at 04:18:30PM +0900, Joonsoo Kim wrote:
In __free_one_page(), we check the buddy page if it is guard page.
And, if so, we should clear guard attribute on the buddy page. But,
currently, we clear original
Commit-ID: 514b2346df385fce61cefb940813207758648136
Gitweb: http://git.kernel.org/tip/514b2346df385fce61cefb940813207758648136
Author: Yan, Zheng zheng.z@intel.com
AuthorDate: Wed, 30 Jul 2014 15:22:12 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014
Commit-ID: 0f7c29ce90c4d20c23de5657e1e2c2eabf51d69a
Gitweb: http://git.kernel.org/tip/0f7c29ce90c4d20c23de5657e1e2c2eabf51d69a
Author: Peter Zijlstra pet...@infradead.org
AuthorDate: Wed, 30 Jul 2014 12:08:56 +0200
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014
Commit-ID: f86977620ee4635f26befcf436700493a38ce002
Gitweb: http://git.kernel.org/tip/f86977620ee4635f26befcf436700493a38ce002
Author: Jiri Olsa jo...@kernel.org
AuthorDate: Fri, 1 Aug 2014 14:33:01 +0200
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014 07:51:03 +0200
Commit-ID: fadfe7be6e50de7f03913833b33c56cd8fb66bac
Gitweb: http://git.kernel.org/tip/fadfe7be6e50de7f03913833b33c56cd8fb66bac
Author: Jiri Olsa jo...@kernel.org
AuthorDate: Fri, 1 Aug 2014 14:33:02 +0200
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014 07:51:04 +0200
Commit-ID: 8268fdfc45b747bcb3351464efefbdf611aeea9b
Gitweb: http://git.kernel.org/tip/8268fdfc45b747bcb3351464efefbdf611aeea9b
Author: Yan, Zheng zheng.z@intel.com
AuthorDate: Wed, 30 Jul 2014 15:22:14 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014
Commit-ID: c1e46580c3b7bf25053519cf39f01a2f9ea4d865
Gitweb: http://git.kernel.org/tip/c1e46580c3b7bf25053519cf39f01a2f9ea4d865
Author: Yan, Zheng zheng.z@intel.com
AuthorDate: Wed, 30 Jul 2014 15:22:15 +0800
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014
Commit-ID: 17a6034555c601331311d31beb395f6665056b3e
Gitweb: http://git.kernel.org/tip/17a6034555c601331311d31beb395f6665056b3e
Author: Fengguang Wu fengguang...@intel.com
AuthorDate: Mon, 4 Aug 2014 13:29:11 +0200
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014
Commit-ID: 36bbb2f2988a29cdc3f8e0c93478795934553454
Gitweb: http://git.kernel.org/tip/36bbb2f2988a29cdc3f8e0c93478795934553454
Author: Andi Kleen a...@linux.intel.com
AuthorDate: Thu, 31 Jul 2014 14:05:22 -0700
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014 07:51:10
Commit-ID: f3908b8cfb65ab6e78ac84df3b864eb22d5b6d9e
Gitweb: http://git.kernel.org/tip/f3908b8cfb65ab6e78ac84df3b864eb22d5b6d9e
Author: Andi Kleen a...@linux.intel.com
AuthorDate: Mon, 11 Aug 2014 21:27:11 +0200
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Wed, 13 Aug 2014 07:51:14
1 - 100 of 1656 matches
Mail list logo