Skip to content

Commit

Permalink
release v4.16-5
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Apr 19, 2018
1 parent dd16f34 commit 16bb301
Show file tree
Hide file tree
Showing 112 changed files with 2,049 additions and 1,316 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
v4.16-5 2018-04-19
--------------------
Upgrade to v4.16.3

v4.16-4 2018-04-12
--------------------
Optimize.

v4.16-3 2018-04-12
--------------------
Fix sleep and reboot issue.
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.16
pkgrel=3
pkgrel=5
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.16.2-ph-76_amd64.deb
Binary file not shown.
Binary file not shown.
21 changes: 21 additions & 0 deletions build/linux-4.16.3-ph_4.16.3-ph-80.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Format: 3.0 (quilt)
Source: linux-4.16.3-ph
Binary: linux-image-4.16.3-ph, linux-headers-4.16.3-ph, linux-libc-dev
Architecture: any
Version: 4.16.3-ph-80
Maintainer: Anonymous <root@chromia>
Homepage: http://www.kernel.org/
Build-Depends: bc, kmod, cpio
Package-List:
linux-headers-4.16.3-ph deb kernel optional arch=any
linux-image-4.16.3-ph deb kernel optional arch=any
linux-libc-dev deb devel optional arch=any
Checksums-Sha1:
2beb99a9f8a5ce204bafddf6b0d7bdfc28f3bc25 560533120 linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
c8231a491981b61f08c3427eea7b87180a1f21df 1206 linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
Checksums-Sha256:
2d5cd770cd29968f62b7de30f8d6ee38e0fe14d4de20d5db2e90337c1a86a156 560533120 linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
7e0ac084c69e603606f85737524b0e8b67672b859ce5dd64edf3f6c54461a3b9 1206 linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
Files:
72bf189a4f141a8401e3f9e0ef12fd7c 560533120 linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
96f3f0c9ee80962a45ebd247d3a21d83 1206 linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
39 changes: 39 additions & 0 deletions build/linux-4.16.3-ph_4.16.3-ph-80_amd64.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Format: 1.8
Date: Thu, 19 Apr 2018 11:29:58 -0700
Source: linux-4.16.3-ph
Binary: linux-image-4.16.3-ph linux-headers-4.16.3-ph linux-libc-dev
Architecture: source amd64
Version: 4.16.3-ph-80
Distribution: vivid
Urgency: low
Maintainer: Anonymous <root@chromia>
Changed-By: Anonymous <root@chromia>
Description:
linux-headers-4.16.3-ph - Linux kernel headers for 4.16.3-ph on ${kernel:debarch}
linux-image-4.16.3-ph - Linux kernel, version 4.16.3-ph
linux-libc-dev - Linux support headers for userspace development
Changes:
linux-4.16.3-ph (4.16.3-ph-80) vivid; urgency=low
.
* Custom built Linux kernel.
Checksums-Sha1:
04976c4ef7d88e8e8dee723c6aa9df8bd138f10a 1032 linux-4.16.3-ph_4.16.3-ph-80.dsc
2beb99a9f8a5ce204bafddf6b0d7bdfc28f3bc25 560533120 linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
c8231a491981b61f08c3427eea7b87180a1f21df 1206 linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
d326efb5ee36621a5a272e406f8542d978830c50 11599280 linux-headers-4.16.3-ph_4.16.3-ph-80_amd64.deb
cd9a1a0616630b113f5c671b581ba3486a6e2e98 54405868 linux-image-4.16.3-ph_4.16.3-ph-80_amd64.deb
c8320610f59512cfa44512ff56c1a0277c8f67bb 985184 linux-libc-dev_4.16.3-ph-80_amd64.deb
Checksums-Sha256:
37bac6eb41f0f70baff32153ee98b8ffee5fd190d194c25531b757637f0dd5c1 1032 linux-4.16.3-ph_4.16.3-ph-80.dsc
2d5cd770cd29968f62b7de30f8d6ee38e0fe14d4de20d5db2e90337c1a86a156 560533120 linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
7e0ac084c69e603606f85737524b0e8b67672b859ce5dd64edf3f6c54461a3b9 1206 linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
04b1426ccc79ad96c9feee3a07203ddcd8f334bc13e8b010159d6deb05416d46 11599280 linux-headers-4.16.3-ph_4.16.3-ph-80_amd64.deb
74bbfd8720b923aa36c7b88ae1246543352eb4c512326c881bb4bb34a4fd93e2 54405868 linux-image-4.16.3-ph_4.16.3-ph-80_amd64.deb
ea00fea0836d2891d0d811a9b997fbbb0837be3f4fbc34881f4820984cd441fa 985184 linux-libc-dev_4.16.3-ph-80_amd64.deb
Files:
3c6f6d692f05296bb599bebc6f700c26 1032 kernel optional linux-4.16.3-ph_4.16.3-ph-80.dsc
72bf189a4f141a8401e3f9e0ef12fd7c 560533120 kernel optional linux-4.16.3-ph_4.16.3-ph.orig.tar.gz
96f3f0c9ee80962a45ebd247d3a21d83 1206 kernel optional linux-4.16.3-ph_4.16.3-ph-80.debian.tar.gz
f7038a2e1b7ece67c02ac0acf870e4d0 11599280 kernel optional linux-headers-4.16.3-ph_4.16.3-ph-80_amd64.deb
88c52a5888f9b85d780d03a08c693577 54405868 kernel optional linux-image-4.16.3-ph_4.16.3-ph-80_amd64.deb
a260524a9704f0f16f0400f950a15086 985184 devel optional linux-libc-dev_4.16.3-ph-80_amd64.deb
Empty file.
Empty file modified build/linux/Documentation/features/list-arch.sh
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/filesystems/cifs/winucase_convert.pl
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/sphinx/kernel_include.py
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/sphinx/parse-headers.pl
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/sphinx/rstFlatTable.py
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/target/target-export-device
100644 → 100755
Empty file.
Empty file modified build/linux/Documentation/target/tcm_mod_builder.py
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion build/linux/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 16
SUBLEVEL = 2
SUBLEVEL = 3
EXTRAVERSION =
LOCALVERSION =
NAME = Fearless Coyote

# *DOCUMENTATION*
Expand Down
9 changes: 1 addition & 8 deletions build/linux/arch/arm/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ asmlinkage void __div0(void)
error("Attempting division by 0!");
}

unsigned long __stack_chk_guard;

void __stack_chk_guard_setup(void)
{
__stack_chk_guard = 0x000a0dff;
}
const unsigned long __stack_chk_guard = 0x000a0dff;

void __stack_chk_fail(void)
{
Expand All @@ -150,8 +145,6 @@ decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p,
{
int ret;

__stack_chk_guard_setup();

output_data = (unsigned char *)output_start;
free_mem_ptr = free_mem_ptr_p;
free_mem_end_ptr = free_mem_ptr_end_p;
Expand Down
9 changes: 1 addition & 8 deletions build/linux/arch/mips/boot/compressed/decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ void error(char *x)
#include "../../../../lib/decompress_unxz.c"
#endif

unsigned long __stack_chk_guard;

void __stack_chk_guard_setup(void)
{
__stack_chk_guard = 0x000a0dff;
}
const unsigned long __stack_chk_guard = 0x000a0dff;

void __stack_chk_fail(void)
{
Expand All @@ -92,8 +87,6 @@ void decompress_kernel(unsigned long boot_heap_start)
{
unsigned long zimage_start, zimage_size;

__stack_chk_guard_setup();

zimage_start = (unsigned long)(&__image_begin);
zimage_size = (unsigned long)(&__image_end) -
(unsigned long)(&__image_begin);
Expand Down
4 changes: 4 additions & 0 deletions build/linux/arch/parisc/kernel/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,10 @@ static int match_pci_device(struct device *dev, int index,
(modpath->mod == PCI_FUNC(devfn)));
}

/* index might be out of bounds for bc[] */
if (index >= 6)
return 0;

id = PCI_SLOT(pdev->devfn) | (PCI_FUNC(pdev->devfn) << 5);
return (modpath->bc[index] == id);
}
Expand Down
6 changes: 5 additions & 1 deletion build/linux/arch/parisc/kernel/hpmc.S
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ END(hpmc_pim_data)
.text

.import intr_save, code
.align 16
ENTRY_CFI(os_hpmc)
.os_hpmc:

Expand Down Expand Up @@ -300,12 +301,15 @@ os_hpmc_6:

b .
nop
.align 16 /* make function length multiple of 16 bytes */
ENDPROC_CFI(os_hpmc)
.os_hpmc_end:


__INITRODATA
.globl os_hpmc_size
.align 4
.export os_hpmc_size
.type os_hpmc_size, @object
.size os_hpmc_size, 4
os_hpmc_size:
.word .os_hpmc_end-.os_hpmc
4 changes: 0 additions & 4 deletions build/linux/arch/powerpc/kvm/book3s_hv_rm_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,6 @@ static void do_tlbies(struct kvm *kvm, unsigned long *rbvalues,
for (i = 0; i < npages; ++i) {
asm volatile(PPC_TLBIE_5(%0,%1,0,0,0) : :
"r" (rbvalues[i]), "r" (kvm->arch.lpid));
trace_tlbie(kvm->arch.lpid, 0, rbvalues[i],
kvm->arch.lpid, 0, 0, 0);
}

if (cpu_has_feature(CPU_FTR_P9_TLBIE_BUG)) {
Expand All @@ -492,8 +490,6 @@ static void do_tlbies(struct kvm *kvm, unsigned long *rbvalues,
for (i = 0; i < npages; ++i) {
asm volatile(PPC_TLBIEL(%0,%1,0,0,0) : :
"r" (rbvalues[i]), "r" (0));
trace_tlbie(kvm->arch.lpid, 1, rbvalues[i],
0, 0, 0, 0);
}
asm volatile("ptesync" : : : "memory");
}
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/s390/kernel/compat_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static int setup_frame32(struct ksignal *ksig, sigset_t *set,
if (put_compat_sigset((compat_sigset_t __user *)frame->sc.oldmask,
set, sizeof(compat_sigset_t)))
return -EFAULT;
if (__put_user(ptr_to_compat(&frame->sc), &frame->sc.sregs))
if (__put_user(ptr_to_compat(&frame->sregs), &frame->sc.sregs))
return -EFAULT;

/* Store registers needed to create the signal frame */
Expand Down
1 change: 1 addition & 0 deletions build/linux/arch/s390/kernel/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ static ssize_t reipl_generic_loadparm_store(struct ipl_parameter_block *ipb,
/* copy and convert to ebcdic */
memcpy(ipb->hdr.loadparm, buf, lp_len);
ASCEBC(ipb->hdr.loadparm, LOADPARM_LEN);
ipb->hdr.flags |= DIAG308_FLAGS_LP_VALID;
return len;
}

Expand Down
9 changes: 1 addition & 8 deletions build/linux/arch/sh/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,7 @@ static void error(char *x)
while(1); /* Halt */
}

unsigned long __stack_chk_guard;

void __stack_chk_guard_setup(void)
{
__stack_chk_guard = 0x000a0dff;
}
const unsigned long __stack_chk_guard = 0x000a0dff;

void __stack_chk_fail(void)
{
Expand All @@ -130,8 +125,6 @@ void decompress_kernel(void)
{
unsigned long output_addr;

__stack_chk_guard_setup();

#ifdef CONFIG_SUPERH64
output_addr = (CONFIG_MEMORY_START + 0x2000);
#else
Expand Down
4 changes: 2 additions & 2 deletions build/linux/arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ struct apic {
/* Probe, setup and smpboot functions */
int (*probe)(void);
int (*acpi_madt_oem_check)(char *oem_id, char *oem_table_id);
int (*apic_id_valid)(int apicid);
int (*apic_id_valid)(u32 apicid);
int (*apic_id_registered)(void);

bool (*check_apicid_used)(physid_mask_t *map, int apicid);
Expand Down Expand Up @@ -492,7 +492,7 @@ static inline unsigned int read_apic_id(void)
return apic->get_apic_id(reg);
}

extern int default_apic_id_valid(int apicid);
extern int default_apic_id_valid(u32 apicid);
extern int default_acpi_madt_oem_check(char *, char *);
extern void default_setup_apic_routing(void);

Expand Down
1 change: 1 addition & 0 deletions build/linux/arch/x86/include/asm/mce.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ enum smca_bank_types {
SMCA_IF, /* Instruction Fetch */
SMCA_L2_CACHE, /* L2 Cache */
SMCA_DE, /* Decoder Unit */
SMCA_RESERVED, /* Reserved */
SMCA_EX, /* Execution Unit */
SMCA_FP, /* Floating Point */
SMCA_L3_CACHE, /* L3 Cache */
Expand Down
18 changes: 9 additions & 9 deletions build/linux/arch/x86/include/uapi/asm/bootparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ struct boot_e820_entry {
* setup data structure.
*/
struct jailhouse_setup_data {
u16 version;
u16 compatible_version;
u16 pm_timer_address;
u16 num_cpus;
u64 pci_mmconfig_base;
u32 tsc_khz;
u32 apic_khz;
u8 standard_ioapic;
u8 cpu_ids[255];
__u16 version;
__u16 compatible_version;
__u16 pm_timer_address;
__u16 num_cpus;
__u64 pci_mmconfig_base;
__u32 tsc_khz;
__u32 apic_khz;
__u8 standard_ioapic;
__u8 cpu_ids[255];
} __attribute__((packed));

/* The so-called "zeropage" */
Expand Down
13 changes: 8 additions & 5 deletions build/linux/arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ acpi_parse_x2apic(struct acpi_subtable_header *header, const unsigned long end)
{
struct acpi_madt_local_x2apic *processor = NULL;
#ifdef CONFIG_X86_X2APIC
int apic_id;
u32 apic_id;
u8 enabled;
#endif

Expand All @@ -222,10 +222,13 @@ acpi_parse_x2apic(struct acpi_subtable_header *header, const unsigned long end)
* to not preallocating memory for all NR_CPUS
* when we use CPU hotplug.
*/
if (!apic->apic_id_valid(apic_id) && enabled)
printk(KERN_WARNING PREFIX "x2apic entry ignored\n");
else
acpi_register_lapic(apic_id, processor->uid, enabled);
if (!apic->apic_id_valid(apic_id)) {
if (enabled)
pr_warn(PREFIX "x2apic entry ignored\n");
return 0;
}

acpi_register_lapic(apic_id, processor->uid, enabled);
#else
printk(KERN_WARNING PREFIX "x2apic entry ignored\n");
#endif
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/x86/kernel/apic/apic_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int default_check_phys_apicid_present(int phys_apicid)
return physid_isset(phys_apicid, phys_cpu_present_map);
}

int default_apic_id_valid(int apicid)
int default_apic_id_valid(u32 apicid)
{
return (apicid < 255);
}
2 changes: 1 addition & 1 deletion build/linux/arch/x86/kernel/apic/apic_numachip.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static u32 numachip2_set_apic_id(unsigned int id)
return id << 24;
}

static int numachip_apic_id_valid(int apicid)
static int numachip_apic_id_valid(u32 apicid)
{
/* Trust what bootloader passes in MADT */
return 1;
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/x86/kernel/apic/x2apic.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Common bits for X2APIC cluster/physical modes. */

int x2apic_apic_id_valid(int apicid);
int x2apic_apic_id_valid(u32 apicid);
int x2apic_apic_id_registered(void);
void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest);
unsigned int x2apic_get_apic_id(unsigned long id);
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/x86/kernel/apic/x2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static int x2apic_phys_probe(void)
}

/* Common x2apic functions, also used by x2apic_cluster */
int x2apic_apic_id_valid(int apicid)
int x2apic_apic_id_valid(u32 apicid)
{
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion build/linux/arch/x86/kernel/apic/x2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static void uv_send_IPI_all(int vector)
uv_send_IPI_mask(cpu_online_mask, vector);
}

static int uv_apic_id_valid(int apicid)
static int uv_apic_id_valid(u32 apicid)
{
return 1;
}
Expand Down
Loading

0 comments on commit 16bb301

Please sign in to comment.