Skip to content

Commit 2bb4646

Browse files
committed
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2 parents 6836b9b + b0483e7 commit 2bb4646

630 files changed

Lines changed: 12002 additions & 6391 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/ABI/testing/ima_policy‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Description:
2020
lsm: [[subj_user=] [subj_role=] [subj_type=]
2121
[obj_user=] [obj_role=] [obj_type=]]
2222

23-
base: func:= [BPRM_CHECK][FILE_MMAP][INODE_PERMISSION]
23+
base: func:= [BPRM_CHECK][FILE_MMAP][FILE_CHECK]
2424
mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC]
2525
fsmagic:= hex value
2626
uid:= decimal value
@@ -40,11 +40,11 @@ Description:
4040

4141
measure func=BPRM_CHECK
4242
measure func=FILE_MMAP mask=MAY_EXEC
43-
measure func=INODE_PERM mask=MAY_READ uid=0
43+
measure func=FILE_CHECK mask=MAY_READ uid=0
4444

4545
The default policy measures all executables in bprm_check,
4646
all files mmapped executable in file_mmap, and all files
47-
open for read by root in inode_permission.
47+
open for read by root in do_filp_open.
4848

4949
Examples of LSM specific definitions:
5050

@@ -54,8 +54,8 @@ Description:
5454

5555
dont_measure obj_type=var_log_t
5656
dont_measure obj_type=auditd_log_t
57-
measure subj_user=system_u func=INODE_PERM mask=MAY_READ
58-
measure subj_role=system_r func=INODE_PERM mask=MAY_READ
57+
measure subj_user=system_u func=FILE_CHECK mask=MAY_READ
58+
measure subj_role=system_r func=FILE_CHECK mask=MAY_READ
5959

6060
Smack:
61-
measure subj_user=_ func=INODE_PERM mask=MAY_READ
61+
measure subj_user=_ func=FILE_CHECK mask=MAY_READ

‎Documentation/cpu-freq/governors.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ show_sampling_rate_max: THIS INTERFACE IS DEPRECATED, DON'T USE IT.
145145
up_threshold: defines what the average CPU usage between the samplings
146146
of 'sampling_rate' needs to be for the kernel to make a decision on
147147
whether it should increase the frequency. For example when it is set
148-
to its default value of '80' it means that between the checking
149-
intervals the CPU needs to be on average more than 80% in use to then
148+
to its default value of '95' it means that between the checking
149+
intervals the CPU needs to be on average more than 95% in use to then
150150
decide that the CPU frequency needs to be increased.
151151

152152
ignore_nice_load: this parameter takes a value of '0' or '1'. When

‎Documentation/fault-injection/fault-injection.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ o provide a way to configure fault attributes
143143
failslab, fail_page_alloc, and fail_make_request use this way.
144144
Helper functions:
145145

146-
init_fault_attr_entries(entries, attr, name);
147-
void cleanup_fault_attr_entries(entries);
146+
init_fault_attr_dentries(entries, attr, name);
147+
void cleanup_fault_attr_dentries(entries);
148148

149149
- module parameters
150150

‎Documentation/input/multi-touch-protocol.txt‎

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,30 @@ set of events/packets.
2727

2828
A set of ABS_MT events with the desired properties is defined. The events
2929
are divided into categories, to allow for partial implementation. The
30-
minimum set consists of ABS_MT_TOUCH_MAJOR, ABS_MT_POSITION_X and
31-
ABS_MT_POSITION_Y, which allows for multiple fingers to be tracked. If the
32-
device supports it, the ABS_MT_WIDTH_MAJOR may be used to provide the size
33-
of the approaching finger. Anisotropy and direction may be specified with
34-
ABS_MT_TOUCH_MINOR, ABS_MT_WIDTH_MINOR and ABS_MT_ORIENTATION. The
35-
ABS_MT_TOOL_TYPE may be used to specify whether the touching tool is a
30+
minimum set consists of ABS_MT_POSITION_X and ABS_MT_POSITION_Y, which
31+
allows for multiple fingers to be tracked. If the device supports it, the
32+
ABS_MT_TOUCH_MAJOR and ABS_MT_WIDTH_MAJOR may be used to provide the size
33+
of the contact area and approaching finger, respectively.
34+
35+
The TOUCH and WIDTH parameters have a geometrical interpretation; imagine
36+
looking through a window at someone gently holding a finger against the
37+
glass. You will see two regions, one inner region consisting of the part
38+
of the finger actually touching the glass, and one outer region formed by
39+
the perimeter of the finger. The diameter of the inner region is the
40+
ABS_MT_TOUCH_MAJOR, the diameter of the outer region is
41+
ABS_MT_WIDTH_MAJOR. Now imagine the person pressing the finger harder
42+
against the glass. The inner region will increase, and in general, the
43+
ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR, which is always smaller than
44+
unity, is related to the finger pressure. For pressure-based devices,
45+
ABS_MT_PRESSURE may be used to provide the pressure on the contact area
46+
instead.
47+
48+
In addition to the MAJOR parameters, the oval shape of the finger can be
49+
described by adding the MINOR parameters, such that MAJOR and MINOR are the
50+
major and minor axis of an ellipse. Finally, the orientation of the oval
51+
shape can be describe with the ORIENTATION parameter.
52+
53+
The ABS_MT_TOOL_TYPE may be used to specify whether the touching tool is a
3654
finger or a pen or something else. Devices with more granular information
3755
may specify general shapes as blobs, i.e., as a sequence of rectangular
3856
shapes grouped together by an ABS_MT_BLOB_ID. Finally, for the few devices
@@ -42,11 +60,9 @@ report finger tracking from hardware [5].
4260
Here is what a minimal event sequence for a two-finger touch would look
4361
like:
4462

45-
ABS_MT_TOUCH_MAJOR
4663
ABS_MT_POSITION_X
4764
ABS_MT_POSITION_Y
4865
SYN_MT_REPORT
49-
ABS_MT_TOUCH_MAJOR
5066
ABS_MT_POSITION_X
5167
ABS_MT_POSITION_Y
5268
SYN_MT_REPORT
@@ -87,6 +103,12 @@ the contact. The ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR approximates
87103
the notion of pressure. The fingers of the hand and the palm all have
88104
different characteristic widths [1].
89105

106+
ABS_MT_PRESSURE
107+
108+
The pressure, in arbitrary units, on the contact area. May be used instead
109+
of TOUCH and WIDTH for pressure-based devices or any device with a spatial
110+
signal intensity distribution.
111+
90112
ABS_MT_ORIENTATION
91113

92114
The orientation of the ellipse. The value should describe a signed quarter
@@ -170,6 +192,16 @@ There are a few devices that support trackingID in hardware. User space can
170192
make use of these native identifiers to reduce bandwidth and cpu usage.
171193

172194

195+
Gestures
196+
--------
197+
198+
In the specific application of creating gesture events, the TOUCH and WIDTH
199+
parameters can be used to, e.g., approximate finger pressure or distinguish
200+
between index finger and thumb. With the addition of the MINOR parameters,
201+
one can also distinguish between a sweeping finger and a pointing finger,
202+
and with ORIENTATION, one can detect twisting of fingers.
203+
204+
173205
Notes
174206
-----
175207

‎Documentation/trace/ftrace-design.txt‎

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
function tracer guts
22
====================
3+
By Mike Frysinger
34

45
Introduction
56
------------
@@ -173,14 +174,16 @@ void ftrace_graph_caller(void)
173174

174175
unsigned long *frompc = &...;
175176
unsigned long selfpc = <return address> - MCOUNT_INSN_SIZE;
176-
prepare_ftrace_return(frompc, selfpc);
177+
/* passing frame pointer up is optional -- see below */
178+
prepare_ftrace_return(frompc, selfpc, frame_pointer);
177179

178180
/* restore all state needed by the ABI */
179181
}
180182
#endif
181183

182-
For information on how to implement prepare_ftrace_return(), simply look at
183-
the x86 version. The only architecture-specific piece in it is the setup of
184+
For information on how to implement prepare_ftrace_return(), simply look at the
185+
x86 version (the frame pointer passing is optional; see the next section for
186+
more information). The only architecture-specific piece in it is the setup of
184187
the fault recovery table (the asm(...) code). The rest should be the same
185188
across architectures.
186189

@@ -205,6 +208,23 @@ void return_to_handler(void)
205208
#endif
206209

207210

211+
HAVE_FUNCTION_GRAPH_FP_TEST
212+
---------------------------
213+
214+
An arch may pass in a unique value (frame pointer) to both the entering and
215+
exiting of a function. On exit, the value is compared and if it does not
216+
match, then it will panic the kernel. This is largely a sanity check for bad
217+
code generation with gcc. If gcc for your port sanely updates the frame
218+
pointer under different opitmization levels, then ignore this option.
219+
220+
However, adding support for it isn't terribly difficult. In your assembly code
221+
that calls prepare_ftrace_return(), pass the frame pointer as the 3rd argument.
222+
Then in the C version of that function, do what the x86 port does and pass it
223+
along to ftrace_push_return_trace() instead of a stub value of 0.
224+
225+
Similarly, when you call ftrace_return_to_handler(), pass it the frame pointer.
226+
227+
208228
HAVE_FTRACE_NMI_ENTER
209229
---------------------
210230

‎Documentation/trace/ftrace.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ If I am only interested in sys_nanosleep and hrtimer_interrupt:
16251625

16261626
# echo sys_nanosleep hrtimer_interrupt \
16271627
> set_ftrace_filter
1628-
# echo ftrace > current_tracer
1628+
# echo function > current_tracer
16291629
# echo 1 > tracing_enabled
16301630
# usleep 1
16311631
# echo 0 > tracing_enabled

‎MAINTAINERS‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3411,8 +3411,10 @@ S: Maintained
34113411
F: drivers/scsi/sym53c8xx_2/
34123412

34133413
LTP (Linux Test Project)
3414-
M: Subrata Modak <subrata@linux.vnet.ibm.com>
3415-
M: Mike Frysinger <vapier@gentoo.org>
3414+
M: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
3415+
M: Garrett Cooper <yanegomi@gmail.com>
3416+
M: Mike Frysinger <vapier@gentoo.org>
3417+
M: Subrata Modak <subrata@linux.vnet.ibm.com>
34163418
L: ltp-list@lists.sourceforge.net (subscribers-only)
34173419
W: http://ltp.sourceforge.net/
34183420
T: git git://git.kernel.org/pub/scm/linux/kernel/git/galak/ltp.git

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 2
22
PATCHLEVEL = 6
33
SUBLEVEL = 33
4-
EXTRAVERSION = -rc5
4+
EXTRAVERSION = -rc8
55
NAME = Man-Eating Seals of Antiquity
66

77
# *DOCUMENTATION*

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ config ARCH_OMAP
702702
select ARCH_HAS_CPUFREQ
703703
select GENERIC_TIME
704704
select GENERIC_CLOCKEVENTS
705+
select ARCH_HAS_HOLES_MEMORYMODEL
705706
help
706707
Support for TI's OMAP platform (OMAP1 and OMAP2).
707708

‎arch/arm/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ CFLAGS_ABI +=-funwind-tables
9494
endif
9595

9696
ifeq ($(CONFIG_THUMB2_KERNEL),y)
97-
AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=thumb,-Wa$(comma)-mauto-it)
97+
AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it)
9898
AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W)
9999
CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN)
100100
AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb

0 commit comments

Comments
 (0)