Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=a8be038fab6013fc4ac25c54f4b265cc3ea15643
commit a8be038fab6013fc4ac25c54f4b265cc3ea15643 Author: crazy <[email protected]> Date: Mon Feb 12 01:57:55 2018 +0100 kernel-4.15.2-1-x86_64 * drop ancient and wrong msg from amd64_edac ( see comment in FB ) diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild index 2da2495..6dc71ef 100644 --- a/source/base/kernel/FrugalBuild +++ b/source/base/kernel/FrugalBuild @@ -41,6 +41,10 @@ _F_kernel_patches=( 0001-Revert-ath10k-activate-user-space-firmware-loading-a.patch # mute PPS error shit .. buggy in 4.14.x mute-pps_state_mismatch.patch + # don't tell folks howto break a working box + # also that msg is wrong , ancient and means for very old boxes + # however after refactoring in 4.15 it bugs everyone + drop_ancient-and-wrong-msg.patch ) for ppatch in "${_F_kernel_patches[@]}" diff --git a/source/base/kernel/drop_ancient-and-wrong-msg.patch b/source/base/kernel/drop_ancient-and-wrong-msg.patch new file mode 100644 index 0000000..f184b08 --- /dev/null +++ b/source/base/kernel/drop_ancient-and-wrong-msg.patch @@ -0,0 +1,29 @@ +diff -Naur linux-4.15.1/drivers/edac/amd64_edac.c linux-4.15.1-p/drivers/edac/amd64_edac.c +--- linux-4.15.1/drivers/edac/amd64_edac.c 2018-02-03 17:58:44.000000000 +0100 ++++ linux-4.15.1-p/drivers/edac/amd64_edac.c 2018-02-12 01:52:10.411149240 +0100 +@@ -3020,17 +3020,6 @@ + amd64_warn("Error restoring NB MCGCTL settings!\n"); + } + +-/* +- * EDAC requires that the BIOS have ECC enabled before +- * taking over the processing of ECC errors. A command line +- * option allows to force-enable hardware ECC later in +- * enable_ecc_error_reporting(). +- */ +-static const char *ecc_msg = +- "ECC disabled in the BIOS or no ECC capability, module will not load.\n" +- " Either enable ECC checking or force module loading by setting " +- "'ecc_enable_override'.\n" +- " (Note that use of the override may cause unknown side effects.)\n"; + + static bool ecc_enabled(struct pci_dev *F3, u16 nid) + { +@@ -3083,7 +3072,6 @@ + nid, (ecc_en ? "enabled" : "disabled")); + + if (!ecc_en || !nb_mce_en) { +- amd64_info("%s", ecc_msg); + return false; + } + return true; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
