Skip to content

Commit

Permalink
release v4.15-9
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Mar 4, 2018
1 parent 1f664b7 commit 4052e80
Show file tree
Hide file tree
Showing 83 changed files with 607 additions and 259 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v4.15-8 2018-03-03
--------------------
Upgrade Linux to v4.15.7

v4.15-8 2018-02-27
--------------------
Upgrade Linux to v4.15.6
Expand Down
2 changes: 1 addition & 1 deletion aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgbase=linux-samus4
pkgver=4.15
pkgrel=8
pkgrel=9
arch=('x86_64')
url="https://github.com/raphael/linux-samus"
license=('GPL2')
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed build/debian/linux-libc-dev_4.15.6-ph+-56_amd64.deb
Binary file not shown.
Binary file not shown.
21 changes: 21 additions & 0 deletions build/linux-4.15.7-ph+_4.15.7-ph+-58.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Format: 3.0 (quilt)
Source: linux-4.15.7-ph+
Binary: linux-image-4.15.7-ph+, linux-headers-4.15.7-ph+, linux-libc-dev
Architecture: any
Version: 4.15.7-ph+-58
Maintainer: Anonymous <[email protected]>
Homepage: http://www.kernel.org/
Build-Depends: bc, kmod, cpio
Package-List:
linux-headers-4.15.7-ph+ deb kernel optional arch=any
linux-image-4.15.7-ph+ deb kernel optional arch=any
linux-libc-dev deb devel optional arch=any
Checksums-Sha1:
73f8cfa821493804154b9f31f4fcb8a3dc9ae4fc 162873894 linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
515b7fe1b5055dd0a4561e66193f8928795b6048 1211 linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
Checksums-Sha256:
aab96def2046f3c6fe26a96d1dd85b2c34f435b2fe21b71b93fd76f071d7739b 162873894 linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
06188f2ff19cc660a1a5883512bf071aa5557a91aa0c3ea2cd2fa302be82da71 1211 linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
Files:
d7cba7798fe419779c8abb3e13fc976f 162873894 linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
f2ca05edfa539804805a19916bc4e450 1211 linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
39 changes: 39 additions & 0 deletions build/linux-4.15.7-ph+_4.15.7-ph+-58_amd64.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Format: 1.8
Date: Sat, 03 Mar 2018 17:56:46 -0800
Source: linux-4.15.7-ph+
Binary: linux-image-4.15.7-ph+ linux-headers-4.15.7-ph+ linux-libc-dev
Architecture: source amd64
Version: 4.15.7-ph+-58
Distribution: vivid
Urgency: low
Maintainer: Anonymous <[email protected]>
Changed-By: Anonymous <[email protected]>
Description:
linux-headers-4.15.7-ph+ - Linux kernel headers for 4.15.7-ph+ on ${kernel:debarch}
linux-image-4.15.7-ph+ - Linux kernel, version 4.15.7-ph+
linux-libc-dev - Linux support headers for userspace development
Changes:
linux-4.15.7-ph+ (4.15.7-ph+-58) vivid; urgency=low
.
* Custom built Linux kernel.
Checksums-Sha1:
dd0a8cd67c4156cf549169a4778683876c87c6e7 1054 linux-4.15.7-ph+_4.15.7-ph+-58.dsc
73f8cfa821493804154b9f31f4fcb8a3dc9ae4fc 162873894 linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
515b7fe1b5055dd0a4561e66193f8928795b6048 1211 linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
937610598be40db5125db7d57d7ae0b266f82c36 11388528 linux-headers-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
7a57dc57245d8196540c987b662de3a1c08cad83 52908506 linux-image-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
7342efb092da69cccf15934bb64054a3a4be344c 967242 linux-libc-dev_4.15.7-ph+-58_amd64.deb
Checksums-Sha256:
b90401d53d467752f26a174505258a4df6501dc36d472956f92f911a5e032468 1054 linux-4.15.7-ph+_4.15.7-ph+-58.dsc
aab96def2046f3c6fe26a96d1dd85b2c34f435b2fe21b71b93fd76f071d7739b 162873894 linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
06188f2ff19cc660a1a5883512bf071aa5557a91aa0c3ea2cd2fa302be82da71 1211 linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
a271ea753e150c95662aaba5275cc466b3a0c6a25ec32ad7436c0caae2599f6e 11388528 linux-headers-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
e308cfc34ddfe14fa135281c98cf61204e6df6b8e90301b4a732a039662c94ea 52908506 linux-image-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
f28892afaf1c3366f4bf1274be49474c1ec7ea4c336a720063959054d9e0bf84 967242 linux-libc-dev_4.15.7-ph+-58_amd64.deb
Files:
6bd003380e73701c1836b94eb0688d8f 1054 kernel optional linux-4.15.7-ph+_4.15.7-ph+-58.dsc
d7cba7798fe419779c8abb3e13fc976f 162873894 kernel optional linux-4.15.7-ph+_4.15.7-ph+.orig.tar.gz
f2ca05edfa539804805a19916bc4e450 1211 kernel optional linux-4.15.7-ph+_4.15.7-ph+-58.debian.tar.gz
f81f8e89cca239f3f3fab508ebecce54 11388528 kernel optional linux-headers-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
d5e51d91eb08e58b74caf0de4db322f7 52908506 kernel optional linux-image-4.15.7-ph+_4.15.7-ph+-58_amd64.deb
6dde0fd341afa6818d2f56aeae0391d0 967242 devel optional linux-libc-dev_4.15.7-ph+-58_amd64.deb
2 changes: 1 addition & 1 deletion build/linux/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 15
SUBLEVEL = 6
SUBLEVEL = 7
EXTRAVERSION =
NAME = Fearless Coyote

Expand Down
6 changes: 4 additions & 2 deletions build/linux/arch/arm64/kernel/cpufeature.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ static const struct arm64_ftr_bits ftr_id_aa64mmfr2[] = {
};

static const struct arm64_ftr_bits ftr_ctr[] = {
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_EXACT, 31, 1, 1), /* RAO */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_EXACT, 31, 1, 1), /* RES1 */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, 29, 1, 1), /* DIC */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, 28, 1, 1), /* IDC */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_HIGHER_SAFE, 24, 4, 0), /* CWG */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, 20, 4, 0), /* ERG */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_HIGHER_SAFE, 20, 4, 0), /* ERG */
ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, 16, 4, 1), /* DminLine */
/*
* Linux can handle differing I-cache policies. Userspace JITs will
Expand Down
11 changes: 9 additions & 2 deletions build/linux/arch/arm64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,15 @@ void __show_regs(struct pt_regs *regs)

show_regs_print_info(KERN_DEFAULT);
print_pstate(regs);
print_symbol("pc : %s\n", regs->pc);
print_symbol("lr : %s\n", lr);

if (!user_mode(regs)) {
print_symbol("pc : %s\n", regs->pc);
print_symbol("lr : %s\n", lr);
} else {
printk("pc : %016llx\n", regs->pc);
printk("lr : %016llx\n", lr);
}

printk("sp : %016llx\n", sp);

i = top_reg;
Expand Down
10 changes: 1 addition & 9 deletions build/linux/arch/arm64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static const char *handler[]= {
"Error"
};

int show_unhandled_signals = 1;
int show_unhandled_signals = 0;

static void dump_backtrace_entry(unsigned long where)
{
Expand Down Expand Up @@ -526,14 +526,6 @@ asmlinkage long do_ni_syscall(struct pt_regs *regs)
}
#endif

if (show_unhandled_signals_ratelimited()) {
pr_info("%s[%d]: syscall %d\n", current->comm,
task_pid_nr(current), regs->syscallno);
dump_instr("", regs);
if (user_mode(regs))
__show_regs(regs);
}

return sys_ni_syscall();
}

Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/arm64/mm/proc.S
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ ENDPROC(cpu_do_switch_mm)

.macro __idmap_cpu_set_reserved_ttbr1, tmp1, tmp2
adrp \tmp1, empty_zero_page
msr ttbr1_el1, \tmp2
msr ttbr1_el1, \tmp1
isb
tlbi vmalle1
dsb nsh
Expand Down
17 changes: 11 additions & 6 deletions build/linux/arch/microblaze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,21 @@ endif
CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_DIV) += -mno-xl-soft-div
CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_BARREL) += -mxl-barrel-shift
CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR) += -mxl-pattern-compare
CPUFLAGS-$(CONFIG_BIG_ENDIAN) += -mbig-endian
CPUFLAGS-$(CONFIG_LITTLE_ENDIAN) += -mlittle-endian

ifdef CONFIG_CPU_BIG_ENDIAN
KBUILD_CFLAGS += -mbig-endian
KBUILD_AFLAGS += -mbig-endian
LD += -EB
else
KBUILD_CFLAGS += -mlittle-endian
KBUILD_AFLAGS += -mlittle-endian
LD += -EL
endif

CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER))

# r31 holds current when in kernel mode
KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2)

LDFLAGS :=
LDFLAGS_vmlinux :=
KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-y) $(CPUFLAGS-1) $(CPUFLAGS-2)

head-y := arch/microblaze/kernel/head.o
libs-y += arch/microblaze/lib/
Expand Down
1 change: 1 addition & 0 deletions build/linux/arch/mips/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ $(obj)/vmlinux.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS

quiet_cmd_cpp_its_S = ITS $@
cmd_cpp_its_S = $(CPP) $(cpp_flags) -P -C -o $@ $< \
-D__ASSEMBLY__ \
-DKERNEL_NAME="\"Linux $(KERNELRELEASE)\"" \
-DVMLINUX_BINARY="\"$(3)\"" \
-DVMLINUX_COMPRESSION="\"$(2)\"" \
Expand Down
1 change: 0 additions & 1 deletion build/linux/arch/mips/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ struct compat_flock {
compat_off_t l_len;
s32 l_sysid;
compat_pid_t l_pid;
short __unused;
s32 pad[4];
};

Expand Down
25 changes: 22 additions & 3 deletions build/linux/arch/x86/kernel/apic/vector.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,40 @@ static void apic_update_vector(struct irq_data *irqd, unsigned int newvec,
{
struct apic_chip_data *apicd = apic_chip_data(irqd);
struct irq_desc *desc = irq_data_to_desc(irqd);
bool managed = irqd_affinity_is_managed(irqd);

lockdep_assert_held(&vector_lock);

trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector,
apicd->cpu);

/* Setup the vector move, if required */
if (apicd->vector && cpu_online(apicd->cpu)) {
/*
* If there is no vector associated or if the associated vector is
* the shutdown vector, which is associated to make PCI/MSI
* shutdown mode work, then there is nothing to release. Clear out
* prev_vector for this and the offlined target case.
*/
apicd->prev_vector = 0;
if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR)
goto setnew;
/*
* If the target CPU of the previous vector is online, then mark
* the vector as move in progress and store it for cleanup when the
* first interrupt on the new vector arrives. If the target CPU is
* offline then the regular release mechanism via the cleanup
* vector is not possible and the vector can be immediately freed
* in the underlying matrix allocator.
*/
if (cpu_online(apicd->cpu)) {
apicd->move_in_progress = true;
apicd->prev_vector = apicd->vector;
apicd->prev_cpu = apicd->cpu;
} else {
apicd->prev_vector = 0;
irq_matrix_free(vector_matrix, apicd->cpu, apicd->vector,
managed);
}

setnew:
apicd->vector = newvec;
apicd->cpu = newcpu;
BUG_ON(!IS_ERR_OR_NULL(per_cpu(vector_irq, newcpu)[newvec]));
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/x86/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ static int nmi_setup(void)
goto fail;

for_each_possible_cpu(cpu) {
if (!cpu)
if (!IS_ENABLED(CONFIG_SMP) || !cpu)
continue;

memcpy(per_cpu(cpu_msrs, cpu).counters,
Expand Down
70 changes: 63 additions & 7 deletions build/linux/arch/xtensa/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,75 @@ void __init zones_init(void)
free_area_init_node(0, zones_size, ARCH_PFN_OFFSET, NULL);
}

#ifdef CONFIG_HIGHMEM
static void __init free_area_high(unsigned long pfn, unsigned long end)
{
for (; pfn < end; pfn++)
free_highmem_page(pfn_to_page(pfn));
}

static void __init free_highpages(void)
{
unsigned long max_low = max_low_pfn;
struct memblock_region *mem, *res;

reset_all_zones_managed_pages();
/* set highmem page free */
for_each_memblock(memory, mem) {
unsigned long start = memblock_region_memory_base_pfn(mem);
unsigned long end = memblock_region_memory_end_pfn(mem);

/* Ignore complete lowmem entries */
if (end <= max_low)
continue;

if (memblock_is_nomap(mem))
continue;

/* Truncate partial highmem entries */
if (start < max_low)
start = max_low;

/* Find and exclude any reserved regions */
for_each_memblock(reserved, res) {
unsigned long res_start, res_end;

res_start = memblock_region_reserved_base_pfn(res);
res_end = memblock_region_reserved_end_pfn(res);

if (res_end < start)
continue;
if (res_start < start)
res_start = start;
if (res_start > end)
res_start = end;
if (res_end > end)
res_end = end;
if (res_start != start)
free_area_high(start, res_start);
start = res_end;
if (start == end)
break;
}

/* And now free anything which remains */
if (start < end)
free_area_high(start, end);
}
}
#else
static void __init free_highpages(void)
{
}
#endif

/*
* Initialize memory pages.
*/

void __init mem_init(void)
{
#ifdef CONFIG_HIGHMEM
unsigned long tmp;

reset_all_zones_managed_pages();
for (tmp = max_low_pfn; tmp < max_pfn; tmp++)
free_highmem_page(pfn_to_page(tmp));
#endif
free_highpages();

max_mapnr = max_pfn - ARCH_PFN_OFFSET;
high_memory = (void *)__va(max_low_pfn << PAGE_SHIFT);
Expand Down
12 changes: 7 additions & 5 deletions build/linux/crypto/asymmetric_keys/pkcs7_verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static int pkcs7_verify_sig_chain(struct pkcs7_message *pkcs7,
sinfo->index);
return 0;
}
ret = public_key_verify_signature(p->pub, p->sig);
ret = public_key_verify_signature(p->pub, x509->sig);
if (ret < 0)
return ret;
x509->signer = p;
Expand Down Expand Up @@ -366,8 +366,7 @@ static int pkcs7_verify_one(struct pkcs7_message *pkcs7,
*
* (*) -EBADMSG if some part of the message was invalid, or:
*
* (*) 0 if no signature chains were found to be blacklisted or to contain
* unsupported crypto, or:
* (*) 0 if a signature chain passed verification, or:
*
* (*) -EKEYREJECTED if a blacklisted key was encountered, or:
*
Expand Down Expand Up @@ -423,8 +422,11 @@ int pkcs7_verify(struct pkcs7_message *pkcs7,

for (sinfo = pkcs7->signed_infos; sinfo; sinfo = sinfo->next) {
ret = pkcs7_verify_one(pkcs7, sinfo);
if (sinfo->blacklisted && actual_ret == -ENOPKG)
actual_ret = -EKEYREJECTED;
if (sinfo->blacklisted) {
if (actual_ret == -ENOPKG)
actual_ret = -EKEYREJECTED;
continue;
}
if (ret < 0) {
if (ret == -ENOPKG) {
sinfo->unsupported_crypto = true;
Expand Down
4 changes: 3 additions & 1 deletion build/linux/crypto/asymmetric_keys/public_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ int public_key_verify_signature(const struct public_key *pkey,

BUG_ON(!pkey);
BUG_ON(!sig);
BUG_ON(!sig->digest);
BUG_ON(!sig->s);

if (!sig->digest)
return -ENOPKG;

alg_name = sig->pkey_algo;
if (strcmp(sig->pkey_algo, "rsa") == 0) {
/* The data wangled by the RSA algorithm is typically padded
Expand Down
Loading

0 comments on commit 4052e80

Please sign in to comment.