Revert "gnu: linux-libre: Add fix from 4.4.150, 4.9.122, 4.14.65, 4.18.3."

This reverts commit 50dbd26ce0.
This commit is contained in:
Mark H Weaver 2018-08-19 02:13:49 -04:00
parent b13ba3f1ba
commit 4ecd049074
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -407,50 +407,32 @@ (define %linux-compatible-systems '("x86_64-linux" "i686-linux" "armhf-linux" "a
(define %linux-libre-version "4.18.2") (define %linux-libre-version "4.18.2")
(define %linux-libre-hash "0kfbzwp56yf7lb884jcdwx5cia73k5ks3nzxb306lj4s249qkn17") (define %linux-libre-hash "0kfbzwp56yf7lb884jcdwx5cia73k5ks3nzxb306lj4s249qkn17")
;; This is the sole patch from versions 4.4.150, 4.9.122, 4.14.65, and 4.18.3.
;; We apply it manually for now since these linux-libre versions have not yet
;; been released.
(define %linux-libre-exempt-zeroed-PTEs-from-inversion-patch
(origin
(method url-fetch)
(uri (string-append
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
"/patch/?id=8f7b7e0bd3c6dd83c2795a25985bc60cfd3bdac1"))
(file-name "linux-libre-exempt-zeroed-PTEs-from-inversion.patch")
(sha256
(base32 "0vlpcgqhmlxnb6wpi7fpyqfdgskpza5fhlx8j5scdipj6cm1107l"))))
(define %linux-libre-patches (define %linux-libre-patches
(list %boot-logo-patch (list %boot-logo-patch
%linux-libre-exempt-zeroed-PTEs-from-inversion-patch)) (origin
(method url-fetch)
(define %linux-libre-4.18-patches (uri (string-append
(append "https://salsa.debian.org/kernel-team/linux"
%linux-libre-patches "/raw/34a7d9011fcfcfa38b68282fd2b1a8797e6834f0"
(list (origin "/debian/patches/bugfix/arm/"
(method url-fetch) "arm-mm-export-__sync_icache_dcache-for-xen-privcmd.patch"))
(uri (string-append (file-name "linux-libre-4.18-arm-export-__sync_icache_dcache.patch")
"https://salsa.debian.org/kernel-team/linux" (sha256
"/raw/34a7d9011fcfcfa38b68282fd2b1a8797e6834f0" (base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f")))
"/debian/patches/bugfix/arm/" (origin
"arm-mm-export-__sync_icache_dcache-for-xen-privcmd.patch")) (method url-fetch)
(file-name "linux-libre-4.18-arm-export-__sync_icache_dcache.patch") (uri (string-append
(sha256 "https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git"
(base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f"))) "/patch/?id=c5157101e7793b42a56e07368c7f4cb73fb58008"))
(origin (file-name "linux-libre-4.18-arm64-export-__sync_icache_dcache.patch")
(method url-fetch) (sha256
(uri (string-append (base32 "0q13arsi8al3l3yq6d76z4h8n45wlpkjyxlrgn1sqbx5xjksycyz")))))
"https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git"
"/patch/?id=c5157101e7793b42a56e07368c7f4cb73fb58008"))
(file-name "linux-libre-4.18-arm64-export-__sync_icache_dcache.patch")
(sha256
(base32 "0q13arsi8al3l3yq6d76z4h8n45wlpkjyxlrgn1sqbx5xjksycyz"))))))
(define-public linux-libre (define-public linux-libre
(make-linux-libre %linux-libre-version (make-linux-libre %linux-libre-version
%linux-libre-hash %linux-libre-hash
%linux-compatible-systems %linux-compatible-systems
#:patches %linux-libre-4.18-patches #:patches %linux-libre-patches
#:configuration-file kernel-config)) #:configuration-file kernel-config))
(define %linux-libre-4.14-version "4.14.64") (define %linux-libre-4.14-version "4.14.64")
@ -460,28 +442,24 @@ (define-public linux-libre-4.14
(make-linux-libre %linux-libre-4.14-version (make-linux-libre %linux-libre-4.14-version
%linux-libre-4.14-hash %linux-libre-4.14-hash
'("x86_64-linux" "i686-linux" "armhf-linux") '("x86_64-linux" "i686-linux" "armhf-linux")
#:patches %linux-libre-patches
#:configuration-file kernel-config)) #:configuration-file kernel-config))
(define-public linux-libre-4.9 (define-public linux-libre-4.9
(make-linux-libre "4.9.121" (make-linux-libre "4.9.121"
"00vrx2rq1fcyg6fbknb92jh3ip6771zjg7g151drrhc16h4xvi9l" "00vrx2rq1fcyg6fbknb92jh3ip6771zjg7g151drrhc16h4xvi9l"
%intel-compatible-systems %intel-compatible-systems
#:patches %linux-libre-patches
#:configuration-file kernel-config)) #:configuration-file kernel-config))
(define-public linux-libre-4.4 (define-public linux-libre-4.4
(make-linux-libre "4.4.149" (make-linux-libre "4.4.149"
"12xf9mk8scajjal6dijs1l95s1cmkfwfc2mlbrra4lvy4cdg5fds" "12xf9mk8scajjal6dijs1l95s1cmkfwfc2mlbrra4lvy4cdg5fds"
%intel-compatible-systems %intel-compatible-systems
#:patches %linux-libre-patches
#:configuration-file kernel-config)) #:configuration-file kernel-config))
(define-public linux-libre-arm-generic (define-public linux-libre-arm-generic
(make-linux-libre %linux-libre-version (make-linux-libre %linux-libre-version
%linux-libre-hash %linux-libre-hash
'("armhf-linux") '("armhf-linux")
#:patches %linux-libre-4.18-patches
#:defconfig "multi_v7_defconfig" #:defconfig "multi_v7_defconfig"
#:extra-version "arm-generic")) #:extra-version "arm-generic"))
@ -489,7 +467,6 @@ (define-public linux-libre-arm-generic-4.14
(make-linux-libre %linux-libre-4.14-version (make-linux-libre %linux-libre-4.14-version
%linux-libre-4.14-hash %linux-libre-4.14-hash
'("armhf-linux") '("armhf-linux")
#:patches %linux-libre-patches
#:defconfig "multi_v7_defconfig" #:defconfig "multi_v7_defconfig"
#:extra-version "arm-generic")) #:extra-version "arm-generic"))
@ -497,7 +474,6 @@ (define-public linux-libre-arm-omap2plus
(make-linux-libre %linux-libre-version (make-linux-libre %linux-libre-version
%linux-libre-hash %linux-libre-hash
'("armhf-linux") '("armhf-linux")
#:patches %linux-libre-4.18-patches
#:defconfig "omap2plus_defconfig" #:defconfig "omap2plus_defconfig"
#:extra-version "arm-omap2plus")) #:extra-version "arm-omap2plus"))
@ -505,7 +481,6 @@ (define-public linux-libre-arm-omap2plus-4.14
(make-linux-libre %linux-libre-4.14-version (make-linux-libre %linux-libre-4.14-version
%linux-libre-4.14-hash %linux-libre-4.14-hash
'("armhf-linux") '("armhf-linux")
#:patches %linux-libre-patches
#:defconfig "omap2plus_defconfig" #:defconfig "omap2plus_defconfig"
#:extra-version "arm-omap2plus")) #:extra-version "arm-omap2plus"))