Skip to content

Commit e9011d0

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Conflicts: arch/sparc/mm/init_64.c Conflict was simple non-overlapping additions. Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents cfcfe22 + c78f77e commit e9011d0

173 files changed

Lines changed: 1476 additions & 663 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/input/event-codes.txt‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,19 @@ gestures can normally be extracted from it.
281281
If INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT
282282
device.
283283

284+
INPUT_PROP_TOPBUTTONPAD:
285+
-----------------------
286+
Some laptops, most notably the Lenovo *40 series provide a trackstick
287+
device but do not have physical buttons associated with the trackstick
288+
device. Instead, the top area of the touchpad is marked to show
289+
visual/haptic areas for left, middle, right buttons intended to be used
290+
with the trackstick.
291+
292+
If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
293+
accordingly. This property does not affect kernel behavior.
294+
The kernel does not provide button emulation for such devices but treats
295+
them as any other INPUT_PROP_BUTTONPAD device.
296+
284297
Guidelines:
285298
==========
286299
The guidelines below ensure proper single-touch and multi-finger functionality.

‎MAINTAINERS‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6956,6 +6956,12 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
69566956
S: Maintained
69576957
F: drivers/pinctrl/pinctrl-at91.c
69586958

6959+
PIN CONTROLLER - RENESAS
6960+
M: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6961+
L: linux-sh@vger.kernel.org
6962+
S: Maintained
6963+
F: drivers/pinctrl/sh-pfc/
6964+
69596965
PIN CONTROLLER - SAMSUNG
69606966
M: Tomasz Figa <t.figa@samsung.com>
69616967
M: Thomas Abraham <thomas.abraham@linaro.org>
@@ -8019,6 +8025,16 @@ F: drivers/ata/
80198025
F: include/linux/ata.h
80208026
F: include/linux/libata.h
80218027

8028+
SERIAL ATA AHCI PLATFORM devices support
8029+
M: Hans de Goede <hdegoede@redhat.com>
8030+
M: Tejun Heo <tj@kernel.org>
8031+
L: linux-ide@vger.kernel.org
8032+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git
8033+
S: Supported
8034+
F: drivers/ata/ahci_platform.c
8035+
F: drivers/ata/libahci_platform.c
8036+
F: include/linux/ahci_platform.h
8037+
80228038
SERVER ENGINES 10Gbps iSCSI - BladeEngine 2 DRIVER
80238039
M: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
80248040
L: linux-scsi@vger.kernel.org

‎Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 16
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc6
4+
EXTRAVERSION = -rc7
55
NAME = Shuffling Zombie Juror
66

77
# *DOCUMENTATION*
@@ -688,6 +688,8 @@ KBUILD_CFLAGS += -fomit-frame-pointer
688688
endif
689689
endif
690690

691+
KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
692+
691693
ifdef CONFIG_DEBUG_INFO
692694
KBUILD_CFLAGS += -g
693695
KBUILD_AFLAGS += -Wa,-gdwarf-2

‎arch/arm/crypto/aesbs-glue.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static int aesbs_cbc_encrypt(struct blkcipher_desc *desc,
137137
dst += AES_BLOCK_SIZE;
138138
} while (--blocks);
139139
}
140-
err = blkcipher_walk_done(desc, &walk, 0);
140+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
141141
}
142142
return err;
143143
}
@@ -158,7 +158,7 @@ static int aesbs_cbc_decrypt(struct blkcipher_desc *desc,
158158
bsaes_cbc_encrypt(walk.src.virt.addr, walk.dst.virt.addr,
159159
walk.nbytes, &ctx->dec, walk.iv);
160160
kernel_neon_end();
161-
err = blkcipher_walk_done(desc, &walk, 0);
161+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
162162
}
163163
while (walk.nbytes) {
164164
u32 blocks = walk.nbytes / AES_BLOCK_SIZE;
@@ -182,7 +182,7 @@ static int aesbs_cbc_decrypt(struct blkcipher_desc *desc,
182182
dst += AES_BLOCK_SIZE;
183183
src += AES_BLOCK_SIZE;
184184
} while (--blocks);
185-
err = blkcipher_walk_done(desc, &walk, 0);
185+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
186186
}
187187
return err;
188188
}
@@ -268,7 +268,7 @@ static int aesbs_xts_encrypt(struct blkcipher_desc *desc,
268268
bsaes_xts_encrypt(walk.src.virt.addr, walk.dst.virt.addr,
269269
walk.nbytes, &ctx->enc, walk.iv);
270270
kernel_neon_end();
271-
err = blkcipher_walk_done(desc, &walk, 0);
271+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
272272
}
273273
return err;
274274
}
@@ -292,7 +292,7 @@ static int aesbs_xts_decrypt(struct blkcipher_desc *desc,
292292
bsaes_xts_decrypt(walk.src.virt.addr, walk.dst.virt.addr,
293293
walk.nbytes, &ctx->dec, walk.iv);
294294
kernel_neon_end();
295-
err = blkcipher_walk_done(desc, &walk, 0);
295+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
296296
}
297297
return err;
298298
}

‎arch/arm64/crypto/aes-glue.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
106106
for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) {
107107
aes_ecb_encrypt(walk.dst.virt.addr, walk.src.virt.addr,
108108
(u8 *)ctx->key_enc, rounds, blocks, first);
109-
err = blkcipher_walk_done(desc, &walk, 0);
109+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
110110
}
111111
kernel_neon_end();
112112
return err;
@@ -128,7 +128,7 @@ static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
128128
for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) {
129129
aes_ecb_decrypt(walk.dst.virt.addr, walk.src.virt.addr,
130130
(u8 *)ctx->key_dec, rounds, blocks, first);
131-
err = blkcipher_walk_done(desc, &walk, 0);
131+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
132132
}
133133
kernel_neon_end();
134134
return err;
@@ -151,7 +151,7 @@ static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
151151
aes_cbc_encrypt(walk.dst.virt.addr, walk.src.virt.addr,
152152
(u8 *)ctx->key_enc, rounds, blocks, walk.iv,
153153
first);
154-
err = blkcipher_walk_done(desc, &walk, 0);
154+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
155155
}
156156
kernel_neon_end();
157157
return err;
@@ -174,7 +174,7 @@ static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
174174
aes_cbc_decrypt(walk.dst.virt.addr, walk.src.virt.addr,
175175
(u8 *)ctx->key_dec, rounds, blocks, walk.iv,
176176
first);
177-
err = blkcipher_walk_done(desc, &walk, 0);
177+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
178178
}
179179
kernel_neon_end();
180180
return err;
@@ -243,7 +243,7 @@ static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
243243
aes_xts_encrypt(walk.dst.virt.addr, walk.src.virt.addr,
244244
(u8 *)ctx->key1.key_enc, rounds, blocks,
245245
(u8 *)ctx->key2.key_enc, walk.iv, first);
246-
err = blkcipher_walk_done(desc, &walk, 0);
246+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
247247
}
248248
kernel_neon_end();
249249

@@ -267,7 +267,7 @@ static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
267267
aes_xts_decrypt(walk.dst.virt.addr, walk.src.virt.addr,
268268
(u8 *)ctx->key1.key_dec, rounds, blocks,
269269
(u8 *)ctx->key2.key_enc, walk.iv, first);
270-
err = blkcipher_walk_done(desc, &walk, 0);
270+
err = blkcipher_walk_done(desc, &walk, walk.nbytes % AES_BLOCK_SIZE);
271271
}
272272
kernel_neon_end();
273273

‎arch/arm64/mm/init.c‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ static int __init early_initrd(char *p)
6060
early_param("initrd", early_initrd);
6161
#endif
6262

63+
/*
64+
* Return the maximum physical address for ZONE_DMA (DMA_BIT_MASK(32)). It
65+
* currently assumes that for memory starting above 4G, 32-bit devices will
66+
* use a DMA offset.
67+
*/
68+
static phys_addr_t max_zone_dma_phys(void)
69+
{
70+
phys_addr_t offset = memblock_start_of_DRAM() & GENMASK_ULL(63, 32);
71+
return min(offset + (1ULL << 32), memblock_end_of_DRAM());
72+
}
73+
6374
static void __init zone_sizes_init(unsigned long min, unsigned long max)
6475
{
6576
struct memblock_region *reg;
@@ -70,9 +81,7 @@ static void __init zone_sizes_init(unsigned long min, unsigned long max)
7081

7182
/* 4GB maximum for 32-bit only capable devices */
7283
if (IS_ENABLED(CONFIG_ZONE_DMA)) {
73-
unsigned long max_dma_phys =
74-
(unsigned long)(dma_to_phys(NULL, DMA_BIT_MASK(32)) + 1);
75-
max_dma = max(min, min(max, max_dma_phys >> PAGE_SHIFT));
84+
max_dma = PFN_DOWN(max_zone_dma_phys());
7685
zone_size[ZONE_DMA] = max_dma - min;
7786
}
7887
zone_size[ZONE_NORMAL] = max - max_dma;
@@ -146,7 +155,7 @@ void __init arm64_memblock_init(void)
146155

147156
/* 4GB maximum for 32-bit only capable devices */
148157
if (IS_ENABLED(CONFIG_ZONE_DMA))
149-
dma_phys_limit = dma_to_phys(NULL, DMA_BIT_MASK(32)) + 1;
158+
dma_phys_limit = max_zone_dma_phys();
150159
dma_contiguous_reserve(dma_phys_limit);
151160

152161
memblock_allow_resize();

‎arch/blackfin/configs/BF609-EZKIT_defconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CONFIG_I2C_CHARDEV=y
102102
CONFIG_I2C_BLACKFIN_TWI=y
103103
CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100
104104
CONFIG_SPI=y
105-
CONFIG_SPI_BFIN_V3=y
105+
CONFIG_SPI_ADI_V3=y
106106
CONFIG_GPIOLIB=y
107107
CONFIG_GPIO_SYSFS=y
108108
# CONFIG_HWMON is not set

‎arch/blackfin/kernel/vmlinux.lds.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ SECTIONS
145145

146146
.text_l1 L1_CODE_START : AT(LOADADDR(.exit.data) + SIZEOF(.exit.data))
147147
#else
148-
.init.data : AT(__data_lma + __data_len)
148+
.init.data : AT(__data_lma + __data_len + 32)
149149
{
150150
__sinitdata = .;
151151
INIT_DATA

‎arch/blackfin/mach-bf533/boards/blackstamp.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <linux/spi/spi.h>
2121
#include <linux/spi/flash.h>
2222
#include <linux/irq.h>
23+
#include <linux/gpio.h>
2324
#include <linux/i2c.h>
2425
#include <asm/dma.h>
2526
#include <asm/bfin5xx_spi.h>

‎arch/blackfin/mach-bf537/boards/cm_bf537e.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#endif
2222
#include <linux/ata_platform.h>
2323
#include <linux/irq.h>
24+
#include <linux/gpio.h>
2425
#include <asm/dma.h>
2526
#include <asm/bfin5xx_spi.h>
2627
#include <asm/portmux.h>

0 commit comments

Comments
 (0)