Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with master #7

Merged
merged 165 commits into from
Nov 15, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
aa1cf25
ata: sata_rcar: Disable DIPM mode for r8a7790 ES1
horms Oct 27, 2014
03e83cb
Revert "AHCI: Do not acquire ata_host::lock from single IRQ handler"
htejun Oct 27, 2014
7865f83
Revert "AHCI: Optimize single IRQ interrupt processing"
htejun Oct 27, 2014
66a7cbc
ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks
htejun Oct 27, 2014
690000b
ahci: Add Device IDs for Intel Sunrise Point PCH
jamesdralston Oct 13, 2014
e35b988
ata: sata_rcar: Add r8a7793 device support
KojiMatsuoka Oct 28, 2014
7b358f0
iwlwifi: mvm: initialize the cur_ucode upon boot
egrumbach Oct 23, 2014
805dbe1
mac80211_hwsim: release driver when ieee80211_register_hw fails
Oct 28, 2014
10b6848
mac80211: flush keys for AP mode on ieee80211_do_stop
Oct 27, 2014
84469a4
mac80211: use secondary channel offset IE also beacons during CSA
lucacoelho Oct 28, 2014
ff1e417
mac80211: schedule the actual switch of the station before CSA count 0
lucacoelho Oct 28, 2014
2225846
ACPI / blacklist: blacklist Win8 OSI for Dell Vostro 3546
Oct 27, 2014
4623884
mac80211: properly flush delayed scan work on interface removal
jmberg Oct 21, 2014
ece9c72
block: Fix computation of merged request priority
jankara Oct 30, 2014
ec1f127
sunhme: Add DMA mapping error checks.
davem330 Oct 31, 2014
4373747
net: mvpp2: fix possible memory leak
sudipm-mukherjee Nov 1, 2014
3e8fc38
net: systemport: fix DMA allocation/freeing sizes
ffainelli Oct 31, 2014
914adb5
net: systemport: do not crash freeing an unitialized TX ring
ffainelli Oct 31, 2014
1868855
Merge branch 'systemport-net'
davem330 Nov 1, 2014
1db3ddf
drivers: net: ethernet: xilinx: xilinx_emaclite: Compatible with 'xln…
Chen-Gang Nov 1, 2014
d52fdbb
smc91x: retrieve IRQ and trigger flags in a modern way
linusw Oct 31, 2014
fa51ee1
HID: usbhid: enable always-poll quirk for Elan Touchscreen 0103
Oct 31, 2014
b8fff40
mac80211: fix use-after-free in defragmentation
jmberg-intel Nov 3, 2014
31b8b34
iwlwifi: fix RFkill while calibrating
egrumbach Nov 2, 2014
c1207c0
netfilter: nft_reject_bridge: Fix powerpc build error
groeck Nov 3, 2014
7071cf7
uapi: add missing network related headers to kbuild
shemminger Nov 2, 2014
a8f9bfd
tun: Fix csum_start with VLAN acceleration
herbertx Nov 2, 2014
2eb783c
tun: Fix TUN_PKT_STRIP setting
herbertx Nov 2, 2014
2b11e67
Merge branch 'tun-net'
davem330 Nov 3, 2014
f4c4a4e
net: fec: fix suspend broken on multiple MACs sillicons
Nov 3, 2014
3ce9b20
macvtap: Fix csum_start when VLAN tags are present
herbertx Nov 3, 2014
6c6151d
ip6_tunnel: Use ip6_tnl_dev_init as the ndo_init function.
klassert Nov 3, 2014
16a0231
vti6: Use vti6_dev_init as the ndo_init function.
klassert Nov 3, 2014
ebe084a
sit: Use ipip6_tunnel_init as the ndo_init function.
klassert Nov 3, 2014
f03eb12
gre6: Move the setting of dev->iflink into the ndo_init functions.
klassert Nov 3, 2014
c495d64
Merge branch 'ipv6_tunnel_iflink_init'
davem330 Nov 3, 2014
9fd3d3a
sfc: don't BUG_ON efx->max_channels == 0 in probe
ecree-solarflare Nov 3, 2014
9c5c6ed
HID: core: cleanup .claimed field on disconnect
bentiss Nov 3, 2014
9a23c1d
ahci: fix AHCI parameters not taken into account
atenart Nov 3, 2014
c00ed46
Merge tag 'iwlwifi-for-john-2014-11-03' of git://git.kernel.org/pub/s…
linvjw Nov 4, 2014
0c9a67c
Merge tag 'mac80211-for-john-2014-11-04' of git://git.kernel.org/pub/…
linvjw Nov 4, 2014
f3af020
blk-mq: make mq_queue_reinit_notify() freeze queues in parallel
htejun Nov 4, 2014
09c9e05
dtb: xgene: fix: Backward compatibility with older firmware
isubrama Nov 3, 2014
c3f4465
drivers: net: xgene: Backward compatibility with older firmware
isubrama Nov 3, 2014
bdd330f
drivers: net: xgene: fix: Use separate resources
isubrama Nov 3, 2014
15e4123
Merge branch 'xgene-net'
davem330 Nov 4, 2014
7179621
cpufreq: cpufreq-dt: Fix arguments in clock failure error message
Oct 31, 2014
45cac46
geneve: Set GSO type on transmit.
jessegross Nov 4, 2014
d3ca9ea
geneve: Unregister pernet subsys on module unload.
jessegross Nov 4, 2014
219b5f2
net: Add missing descriptions for fwmark_reflect for ipv4 and ipv6.
Nov 4, 2014
9cdb5db
include/linux/socket.h: Fix comment
Villemoes Nov 5, 2014
b994ca6
drivers: net: ethernet: xilinx: xilinx_emaclite: revert the original …
Chen-Gang Nov 4, 2014
16ee817
stmmac: fix stmmac_tx_avail should be called with TX locked
Nov 4, 2014
758a0ab
stmmac: release tx lock, in case of dma mapping error.
Nov 4, 2014
b9d7370
stmmac: fix lock in stmmac_set_rx_mode
Nov 4, 2014
4741cf9
stmmac: fix concurrency in eee initialization.
Nov 4, 2014
777da23
stmmac: fix atomicity in pm routines
Nov 4, 2014
46d3802
Merge branch 'stmmac-net'
davem330 Nov 5, 2014
1f37bf8
tcp: zero retrans_stamp if all retrans were acked
marceloleitner Nov 4, 2014
66f1c44
bridge: include in6.h in if_bridge.h for struct in6_addr
cha5on Nov 4, 2014
e4742b1
Input: synaptics - add min/max quirk for Lenovo T440s
tiwai Nov 6, 2014
2c2a9cb
net: mv643xx_eth: reclaim TX skbs only when released by the HW
Nov 5, 2014
4484d05
drivers: net: cpsw: remove cpsw_ale_stop from cpsw_ale_destroy
mugunthanvnm Nov 5, 2014
5816c3d
net/9p: remove a comment about pref member which doesn't exist
pfpacket Nov 5, 2014
b31f65f
net: dsa: slave: Fix autoneg for phys on switch MDIO bus
lunn Nov 5, 2014
a158906
net/mlx5_core: Fix race in create EQ
Nov 6, 2014
364d179
net/mlx5_core: Fix race on driver load
Nov 6, 2014
c811906
Merge branch 'mlx5-net'
davem330 Nov 6, 2014
44aa91a
enic: handle error condition properly in enic_rq_indicate_buf
Nov 6, 2014
f6b7734
enic: update desc properly in rx_copybreak
Nov 6, 2014
9d01412
netxen: Fix link event handling.
Nov 6, 2014
1f56231
Merge tag 'master-2014-11-04' of git://git.kernel.org/pub/scm/linux/k…
davem330 Nov 7, 2014
1310b54
net: fec: fix regression on i.MX28 introduced by rx_copybreak support
lw-karo Nov 7, 2014
a4c724d
platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb…
GiedriusS Oct 30, 2014
436c2a5
asix: Do full reset during ax88772_bind
charleskeepax Nov 6, 2014
09712f5
cpufreq: Avoid crash in resume on SMP without OPP
geertu Nov 4, 2014
c16561e
PM / Domains: Change prototype for the attach and detach callbacks
storulf Nov 5, 2014
c42bfd7
Input: twl4030-pwrbutton - ensure a wakeup event is recorded.
neilbrown Nov 7, 2014
caeb0d3
Input: elantech - use elantech_report_trackpoint for hardware v4 too
ulrikdb Nov 8, 2014
0dc1587
Input: elantech - fix crc_enabled for Fujitsu H730
ulrikdb Nov 8, 2014
b456591
ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP
dryles-intel Nov 7, 2014
403b963
PM / sleep: Fix entering suspend-to-IDLE if no freeze_oops is set
lumag Nov 8, 2014
4ab8f7f
Input: alps - ignore potential bare packets when device is out of sync
pali Nov 8, 2014
9d720b3
Input: alps - allow up to 2 invalid packets without resetting device
pali Nov 8, 2014
65f6ecc
cxgb4vf: Move fl_starv_thres into adapter->sge data structure
Nov 7, 2014
ce8f407
cxgb4/cxgb4vf: For T5 use Packing and Padding Boundaries for SGE DMA …
Nov 7, 2014
50d21a6
cxgb4vf: FL Starvation Threshold needs to be larger than the SGE's Eg…
Nov 7, 2014
10b450c
Merge branch 'cxgb4-net'
davem330 Nov 10, 2014
cfdf1e1
udptunnel: Add SKB_GSO_UDP_TUNNEL during gro_complete.
jessegross Nov 10, 2014
a815286
cxgb4 : Fix bug in DCB app deletion
anish Nov 7, 2014
92697dc
scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND
abattersby Nov 10, 2014
0cdbcd6
platform: hp_accel: Add SERIO_I8042 as a dependency since it now incl…
GiedriusS Nov 10, 2014
1a29058
ALSA: usb-audio: Fix memory leak in FTU quirk
tiwai Nov 11, 2014
f4a1edd
net/mlx4_en: Advertize encapsulation offloads features only when VXLA…
ogerlitz Nov 9, 2014
5748eb8
net: ppp: Don't call bpf_prog_create() in ppp_lock
tiwai Nov 10, 2014
e40607c
net: sctp: fix NULL pointer dereference in af->from_addr_param on mal…
borkmann Nov 10, 2014
4184b2a
net: sctp: fix memory leak in auth key management
borkmann Nov 10, 2014
5337b5b
ipv6: fix IPV6_PKTINFO with v4 mapped
Nov 11, 2014
79ce047
net: phy: Correctly handle MII ioctl which changes autonegotiation.
Nov 11, 2014
67732cd
PM / Domains: Fix initial default state of the need_restore flag
storulf Nov 11, 2014
48eb5b9
ixgbe: phy: fix uninitialized status in ixgbe_setup_phy_link_tnx
borkmann Nov 11, 2014
93ecd26
net: qualcomm: Fix dependency
lategoodbye Nov 11, 2014
c96e731
net: bcmgenet: connect and disconnect from the PHY state machine
ffainelli Nov 11, 2014
dbd479d
net: bcmgenet: apply MII configuration in bcmgenet_open()
ffainelli Nov 11, 2014
caa13a9
Merge branch 'bcmgenet-net'
davem330 Nov 11, 2014
7f60dca
block: blk-merge: fix blk_recount_segments()
ming1 Nov 11, 2014
fbf8e72
selftests/net: psock_fanout seg faults in sock_fanout_read_ring()
Nov 11, 2014
394c97f
ALSA: hda/realtek - Change EAPD to verb control
kailangyang Nov 12, 2014
ee7bc3c
cxgb4 : dcb open-lldp interop fixes
anish Nov 12, 2014
cca04b2
net: ptp: fix time stamp matching logic for VLAN packets.
richardcochran Nov 12, 2014
6251edd
netlink: Properly unbind in error conditions.
hiroa-ki Nov 12, 2014
65eca3a
virtio_console: move early VQ enablement
cohuck Oct 20, 2014
3542aed
ALSA: hda - Add mute LED control for Lenovo Ideapad Z560
tiwai Nov 12, 2014
9b0b265
arm64: efi: Fix stub cache maintenance
Nov 13, 2014
287e8c6
arm64: Fix data type for physical address
MilesMH Oct 8, 2014
97fc154
arm64: __clear_user: handle exceptions on strb
jkkm Nov 12, 2014
899d593
Correct the race condition in aarch64_insn_patch_text_sync()
wcohen Nov 11, 2014
5fd6690
arm64: ARCH_PFN_OFFSET should be unsigned long
Oct 28, 2014
3b98ec4
Merge tag 'sound-3.18-rc5' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Nov 13, 2014
ad0eab9
Fix thinko in iov_iter_single_seg_count
paulusmack Nov 13, 2014
3231300
ceph: fix flush tid comparision
ukernel Oct 23, 2014
aaef317
libceph: do not crash on large auth tickets
idryomov Oct 22, 2014
a390de0
libceph: unlink from o_linger_requests when clearing r_osd
idryomov Nov 4, 2014
ba9d114
libceph: clear r_req_lru_item in __unregister_linger_request()
idryomov Nov 5, 2014
cc9f1f5
libceph: change from BUG to WARN for __remove_osd() asserts
idryomov Nov 5, 2014
242bcd5
net/smsc911x: Fix rare soft reset timeout issue due to PHY power-down…
akochetkov Nov 13, 2014
6ff53fd
net/smsc911x: Fix delays in the PHY enable/disable routines
akochetkov Nov 13, 2014
0c828f2
lib: rhashtable - Remove weird non-ASCII characters from comments
herbertx Nov 13, 2014
ccf899a
smsc911x: power-up phydev before doing a software reset.
Nov 13, 2014
19ca9fc
vxlan: Do not reuse sockets for a different address family
marceloleitner Nov 13, 2014
c406515
zram: avoid kunmap_atomic() of a NULL pointer
Nov 13, 2014
5842001
mm/compaction: skip the range until proper target pageblock is met
JoonsooKim Nov 13, 2014
ad53f92
mm/page_alloc: fix incorrect isolation behavior by rechecking migrate…
JoonsooKim Nov 13, 2014
51bb1a4
mm/page_alloc: add freepage on isolate pageblock to correct buddy list
JoonsooKim Nov 13, 2014
8f82b55
mm/page_alloc: move freepage counting logic to __free_one_page()
JoonsooKim Nov 13, 2014
3c60509
mm/page_alloc: restrict max order of merging on isolated pageblock
JoonsooKim Nov 13, 2014
95069ac
mm/slab: fix unalignment problem on Malta with EVA due to slab merge
JoonsooKim Nov 13, 2014
dae803e
mm: alloc_contig_range: demote pages busy message from warn to info
mina86 Nov 13, 2014
1d5bfe1
mm, compaction: prevent infinite loop in compact_zone
tehcaster Nov 13, 2014
8edc6e1
fanotify: fix notification of groups with inode & mount marks
jankara Nov 13, 2014
57cbc87
mm/debug-pagealloc: correct freepage accounting and order resetting
JoonsooKim Nov 13, 2014
f784a3f
mem-hotplug: reset node managed pages when hot-adding a new pgdat
tang-chen Nov 13, 2014
0bd8542
mem-hotplug: reset node present pages when hot-adding a new pgdat
tang-chen Nov 13, 2014
bc53a3f
kernel/panic.c: update comments for print_tainted
Nov 13, 2014
8fe671f
MAINTAINERS: add IIO include files
Nov 13, 2014
6b07974
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 14, 2014
b0ab3f1
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 14, 2014
971ad4e
Merge branch 'akpm' (fixes from Andrew Morton)
torvalds Nov 14, 2014
a7ef82a
Input: alps - ignore bad data on Dell Latitudes E6440 and E7440
pali Nov 9, 2014
f386474
Input: elantech - report the middle button of the touchpad
ulrikdb Nov 14, 2014
2d9eb81
Input: elantech - provide a sysfs knob for crc_enabled
ulrikdb Nov 14, 2014
c6c748e
Input: elantech - update the documentation
ulrikdb Nov 14, 2014
5cf5203
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Nov 14, 2014
b23dc5a
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Nov 14, 2014
eaca2d8
firewire: cdev: prevent kernel stack leaking into ioctl arguments
Nov 11, 2014
a9b7071
Merge branch 'acpi-blacklist'
rafaeljw Nov 14, 2014
3168949
Merge branches 'pm-domains', 'pm-sleep' and 'pm-cpufreq'
rafaeljw Nov 14, 2014
3865efc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 14, 2014
f720d7d
Merge tag 'firewire-fix' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 14, 2014
78646f6
Merge tag 'pm+acpi-3.18-rc5' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Nov 14, 2014
6f0d7a9
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Nov 14, 2014
e57c641
Merge branch 'for-3.18-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Nov 14, 2014
5ae9376
Merge tag 'platform-drivers-x86-v3.18-3' of git://git.infradead.org/u…
torvalds Nov 14, 2014
0861fd1
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Nov 14, 2014
56c381f
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 14, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/ata/sata_rcar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
Required properties:
- compatible : should contain one of the following:
- "renesas,sata-r8a7779" for R-Car H1
- "renesas,sata-r8a7790" for R-Car H2
- "renesas,sata-r8a7791" for R-Car M2
- "renesas,sata-r8a7790-es1" for R-Car H2 ES1
- "renesas,sata-r8a7790" for R-Car H2 other than ES1
- "renesas,sata-r8a7791" for R-Car M2-W
- "renesas,sata-r8a7793" for R-Car M2-N
- reg : address and length of the SATA registers;
- interrupts : must consist of one interrupt specifier.

Expand Down
81 changes: 75 additions & 6 deletions Documentation/input/elantech.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,38 @@ Contents
7.2.1 Status packet
7.2.2 Head packet
7.2.3 Motion packet
8. Trackpoint (for Hardware version 3 and 4)
8.1 Registers
8.2 Native relative mode 6 byte packet format
8.2.1 Status Packet



1. Introduction
~~~~~~~~~~~~

Currently the Linux Elantech touchpad driver is aware of two different
hardware versions unimaginatively called version 1 and version 2. Version 1
is found in "older" laptops and uses 4 bytes per packet. Version 2 seems to
be introduced with the EeePC and uses 6 bytes per packet, and provides
additional features such as position of two fingers, and width of the touch.
Currently the Linux Elantech touchpad driver is aware of four different
hardware versions unimaginatively called version 1,version 2, version 3
and version 4. Version 1 is found in "older" laptops and uses 4 bytes per
packet. Version 2 seems to be introduced with the EeePC and uses 6 bytes
per packet, and provides additional features such as position of two fingers,
and width of the touch. Hardware version 3 uses 6 bytes per packet (and
for 2 fingers the concatenation of two 6 bytes packets) and allows tracking
of up to 3 fingers. Hardware version 4 uses 6 bytes per packet, and can
combine a status packet with multiple head or motion packets. Hardware version
4 allows tracking up to 5 fingers.

Some Hardware version 3 and version 4 also have a trackpoint which uses a
separate packet format. It is also 6 bytes per packet.

The driver tries to support both hardware versions and should be compatible
with the Xorg Synaptics touchpad driver and its graphical configuration
utilities.

Note that a mouse button is also associated with either the touchpad or the
trackpoint when a trackpoint is available. Disabling the Touchpad in xorg
(TouchPadOff=0) will also disable the buttons associated with the touchpad.

Additionally the operation of the touchpad can be altered by adjusting the
contents of some of its internal registers. These registers are represented
by the driver as sysfs entries under /sys/bus/serio/drivers/psmouse/serio?
Expand All @@ -78,7 +94,7 @@ completeness sake.
2. Extra knobs
~~~~~~~~~~~

Currently the Linux Elantech touchpad driver provides two extra knobs under
Currently the Linux Elantech touchpad driver provides three extra knobs under
/sys/bus/serio/drivers/psmouse/serio? for the user.

* debug
Expand Down Expand Up @@ -112,6 +128,20 @@ Currently the Linux Elantech touchpad driver provides two extra knobs under
data consistency checking can be done. For now checking is disabled by
default. Currently even turning it on will do nothing.

* crc_enabled

Sets crc_enabled to 0/1. The name "crc_enabled" is the official name of
this integrity check, even though it is not an actual cyclic redundancy
check.

Depending on the state of crc_enabled, certain basic data integrity
verification is done by the driver on hardware version 3 and 4. The
driver will reject any packet that appears corrupted. Using this knob,
The state of crc_enabled can be altered with this knob.

Reading the crc_enabled value will show the active value. Echoing
"0" or "1" to this file will set the state to "0" or "1".

/////////////////////////////////////////////////////////////////////////////

3. Differentiating hardware versions
Expand Down Expand Up @@ -746,3 +776,42 @@ byte 5:

byte 0 ~ 2 for one finger
byte 3 ~ 5 for another


8. Trackpoint (for Hardware version 3 and 4)
=========================================
8.1 Registers
~~~~~~~~~
No special registers have been identified.

8.2 Native relative mode 6 byte packet format
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8.2.1 Status Packet
~~~~~~~~~~~~~

byte 0:
bit 7 6 5 4 3 2 1 0
0 0 sx sy 0 M R L
byte 1:
bit 7 6 5 4 3 2 1 0
~sx 0 0 0 0 0 0 0
byte 2:
bit 7 6 5 4 3 2 1 0
~sy 0 0 0 0 0 0 0
byte 3:
bit 7 6 5 4 3 2 1 0
0 0 ~sy ~sx 0 1 1 0
byte 4:
bit 7 6 5 4 3 2 1 0
x7 x6 x5 x4 x3 x2 x1 x0
byte 5:
bit 7 6 5 4 3 2 1 0
y7 y6 y5 y4 y3 y2 y1 y0


x and y are written in two's complement spread
over 9 bits with sx/sy the relative top bit and
x7..x0 and y7..y0 the lower bits.
~sx is the inverse of sx, ~sy is the inverse of sy.
The sign of y is opposite to what the input driver
expects for a relative movement
14 changes: 14 additions & 0 deletions Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ ip_forward_use_pmtu - BOOLEAN
0 - disabled
1 - enabled

fwmark_reflect - BOOLEAN
Controls the fwmark of kernel-generated IPv4 reply packets that are not
associated with a socket for example, TCP RSTs or ICMP echo replies).
If unset, these packets have a fwmark of zero. If set, they have the
fwmark of the packet they are replying to.
Default: 0

route/max_size - INTEGER
Maximum number of routes allowed in the kernel. Increase
this when using large numbers of interfaces and/or routes.
Expand Down Expand Up @@ -1201,6 +1208,13 @@ conf/all/forwarding - BOOLEAN
proxy_ndp - BOOLEAN
Do proxy ndp.

fwmark_reflect - BOOLEAN
Controls the fwmark of kernel-generated IPv6 reply packets that are not
associated with a socket for example, TCP RSTs or ICMPv6 echo replies).
If unset, these packets have a fwmark of zero. If set, they have the
fwmark of the packet they are replying to.
Default: 0

conf/interface/*:
Change special settings per interface.

Expand Down
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4716,6 +4716,7 @@ L: [email protected]
S: Maintained
F: drivers/iio/
F: drivers/staging/iio/
F: include/linux/iio/

IKANOS/ADI EAGLE ADSL USB DRIVER
M: Matthieu Castet <[email protected]>
Expand Down
10 changes: 5 additions & 5 deletions arch/arm64/boot/dts/apm-storm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
compatible = "apm,xgene-enet";
status = "disabled";
reg = <0x0 0x17020000 0x0 0xd100>,
<0x0 0X17030000 0x0 0X400>,
<0x0 0X17030000 0x0 0Xc300>,
<0x0 0X10000000 0x0 0X200>;
reg-names = "enet_csr", "ring_csr", "ring_cmd";
interrupts = <0x0 0x3c 0x4>;
Expand All @@ -624,9 +624,9 @@
sgenet0: ethernet@1f210000 {
compatible = "apm,xgene-enet";
status = "disabled";
reg = <0x0 0x1f210000 0x0 0x10000>,
<0x0 0x1f200000 0x0 0X10000>,
<0x0 0x1B000000 0x0 0X20000>;
reg = <0x0 0x1f210000 0x0 0xd100>,
<0x0 0x1f200000 0x0 0Xc300>,
<0x0 0x1B000000 0x0 0X200>;
reg-names = "enet_csr", "ring_csr", "ring_cmd";
interrupts = <0x0 0xA0 0x4>;
dma-coherent;
Expand All @@ -639,7 +639,7 @@
compatible = "apm,xgene-enet";
status = "disabled";
reg = <0x0 0x1f610000 0x0 0xd100>,
<0x0 0x1f600000 0x0 0X400>,
<0x0 0x1f600000 0x0 0Xc300>,
<0x0 0x18000000 0x0 0X200>;
reg-names = "enet_csr", "ring_csr", "ring_cmd";
interrupts = <0x0 0x60 0x4>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/include/asm/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static inline void *phys_to_virt(phys_addr_t x)
* virt_to_page(k) convert a _valid_ virtual address to struct page *
* virt_addr_valid(k) indicates whether a virtual address is valid
*/
#define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
#define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET)

#define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
Expand Down
27 changes: 21 additions & 6 deletions arch/arm64/kernel/efi-entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,42 @@ ENTRY(efi_stub_entry)
b.eq efi_load_fail

/*
* efi_entry() will have relocated the kernel image if necessary
* and we return here with device tree address in x0 and the kernel
* entry point stored at *image_addr. Save those values in registers
* which are callee preserved.
* efi_entry() will have copied the kernel image if necessary and we
* return here with device tree address in x0 and the kernel entry
* point stored at *image_addr. Save those values in registers which
* are callee preserved.
*/
mov x20, x0 // DTB address
ldr x0, [sp, #16] // relocated _text address
mov x21, x0

/*
* Flush dcache covering current runtime addresses
* of kernel text/data. Then flush all of icache.
* Calculate size of the kernel Image (same for original and copy).
*/
adrp x1, _text
add x1, x1, #:lo12:_text
adrp x2, _edata
add x2, x2, #:lo12:_edata
sub x1, x2, x1

/*
* Flush the copied Image to the PoC, and ensure it is not shadowed by
* stale icache entries from before relocation.
*/
bl __flush_dcache_area
ic ialluis

/*
* Ensure that the rest of this function (in the original Image) is
* visible when the caches are disabled. The I-cache can't have stale
* entries for the VA range of the current image, so no maintenance is
* necessary.
*/
adr x0, efi_stub_entry
adr x1, efi_stub_entry_end
sub x1, x1, x0
bl __flush_dcache_area

/* Turn off Dcache and MMU */
mrs x0, CurrentEL
cmp x0, #CurrentEL_EL2
Expand Down Expand Up @@ -105,4 +119,5 @@ efi_load_fail:
ldp x29, x30, [sp], #32
ret

efi_stub_entry_end:
ENDPROC(efi_stub_entry)
5 changes: 3 additions & 2 deletions arch/arm64/kernel/insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ static int __kprobes aarch64_insn_patch_text_cb(void *arg)
* which ends with "dsb; isb" pair guaranteeing global
* visibility.
*/
atomic_set(&pp->cpu_count, -1);
/* Notify other processors with an additional increment. */
atomic_inc(&pp->cpu_count);
} else {
while (atomic_read(&pp->cpu_count) != -1)
while (atomic_read(&pp->cpu_count) <= num_online_cpus())
cpu_relax();
isb();
}
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/lib/clear_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ USER(9f, strh wzr, [x0], #2 )
sub x1, x1, #2
4: adds x1, x1, #1
b.mi 5f
strb wzr, [x0]
USER(9f, strb wzr, [x0] )
5: mov x0, #0
ret
ENDPROC(__clear_user)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static void __init alloc_init_pmd(pud_t *pud, unsigned long addr,
}

static void __init alloc_init_pud(pgd_t *pgd, unsigned long addr,
unsigned long end, unsigned long phys,
unsigned long end, phys_addr_t phys,
int map_io)
{
pud_t *pud;
Expand Down
19 changes: 11 additions & 8 deletions block/blk-merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,22 @@ void blk_recalc_rq_segments(struct request *rq)

void blk_recount_segments(struct request_queue *q, struct bio *bio)
{
bool no_sg_merge = !!test_bit(QUEUE_FLAG_NO_SG_MERGE,
&q->queue_flags);
bool merge_not_need = bio->bi_vcnt < queue_max_segments(q);
unsigned short seg_cnt;

/* estimate segment number by bi_vcnt for non-cloned bio */
if (bio_flagged(bio, BIO_CLONED))
seg_cnt = bio_segments(bio);
else
seg_cnt = bio->bi_vcnt;

if (no_sg_merge && !bio_flagged(bio, BIO_CLONED) &&
merge_not_need)
bio->bi_phys_segments = bio->bi_vcnt;
if (test_bit(QUEUE_FLAG_NO_SG_MERGE, &q->queue_flags) &&
(seg_cnt < queue_max_segments(q)))
bio->bi_phys_segments = seg_cnt;
else {
struct bio *nxt = bio->bi_next;

bio->bi_next = NULL;
bio->bi_phys_segments = __blk_recalc_rq_segments(q, bio,
no_sg_merge && merge_not_need);
bio->bi_phys_segments = __blk_recalc_rq_segments(q, bio, false);
bio->bi_next = nxt;
}

Expand Down
Loading