public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. ba957627e2d8b69191984f12c995bba926b0331d
Date: Thu, 19 Jan 2017 20:21:32 +0000	[thread overview]
Message-ID: <20170119202132.705131078E80@git01.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3657 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  ba957627e2d8b69191984f12c995bba926b0331d (commit)
      from  d7e4445e8d9368e9bfbfb47471531e7e5acedeb1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ba957627e2d8b69191984f12c995bba926b0331d
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Thu Jan 19 18:20:31 2017 +0100

    kernel: support for newer eMMC modules
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 lfs/linux                                                |  5 ++++-
 ...linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch | 16 ++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 src/patches/linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch

Difference in files:
diff --git a/lfs/linux b/lfs/linux
index 19d2729..d7b21e6 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2016  IPFire Team <info(a)ipfire.org>                      #
+# Copyright (C) 2007-2017  IPFire Team <info(a)ipfire.org>                      #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -173,6 +173,9 @@ endif
 	# update the queued trim blacklist from kernel 4.2rc1
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.43_new_qtrim_blacklist.patch
 
+	# remove eMMC EXT_CSD revision check to use newer eMMC modules
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch
+
 	# Hyper-V patches
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/0001-Drivers-net-hyperv-Get-rid-of-the-rndis_filter_packe.patch
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/0002-Drivers-net-hyperv-Cleanup-the-receive-path.patch
diff --git a/src/patches/linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch b/src/patches/linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch
new file mode 100644
index 0000000..fbade3a
--- /dev/null
+++ b/src/patches/linux-3.14.79_mmc_remove_EXT_CSD_revision_check.patch
@@ -0,0 +1,16 @@
+diff -Naur linux-3.14.79.org/drivers/mmc/core/mmc.c linux-3.14.79/drivers/mmc/core/mmc.c
+--- linux-3.14.79.org/drivers/mmc/core/mmc.c	2016-09-11 10:00:18.000000000 +0200
++++ linux-3.14.79/drivers/mmc/core/mmc.c	2017-01-19 18:15:07.940781595 +0100
+@@ -297,12 +297,6 @@
+ 	}
+ 
+ 	card->ext_csd.rev = ext_csd[EXT_CSD_REV];
+-	if (card->ext_csd.rev > 7) {
+-		pr_err("%s: unrecognised EXT_CSD revision %d\n",
+-			mmc_hostname(card->host), card->ext_csd.rev);
+-		err = -EINVAL;
+-		goto out;
+-	}
+ 
+ 	card->ext_csd.raw_sectors[0] = ext_csd[EXT_CSD_SEC_CNT + 0];
+ 	card->ext_csd.raw_sectors[1] = ext_csd[EXT_CSD_SEC_CNT + 1];


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2017-01-19 20:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170119202132.705131078E80@git01.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox