{"id":812281,"url":"http://patchwork.ozlabs.org/api/covers/812281/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/cover/1505122921-5534-1-git-send-email-bmeng.cn@gmail.com/","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505122921-5534-1-git-send-email-bmeng.cn@gmail.com>","list_archive_url":null,"date":"2017-09-11T09:41:50","name":"[v2,00/10] spi-nor: intel-spi: Various fixes and enhancements","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/?format=json","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-mtd/cover/1505122921-5534-1-git-send-email-bmeng.cn@gmail.com/mbox/","series":[{"id":2464,"url":"http://patchwork.ozlabs.org/api/series/2464/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/list/?series=2464","date":"2017-09-11T09:41:50","name":"spi-nor: intel-spi: Various fixes and enhancements","version":2,"mbox":"http://patchwork.ozlabs.org/series/2464/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/812281/comments/","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"l6CAVZWR\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"calBwvIu\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrNCc24JNz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 19:38:36 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drLAg-0006F0-RV; Mon, 11 Sep 2017 09:38:26 +0000","from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drLAF-00067z-P9\n\tfor linux-mtd@lists.infradead.org; Mon, 11 Sep 2017 09:38:01 +0000","by mail-it0-x244.google.com with SMTP id z81so3846636itb.5\n\tfor <linux-mtd@lists.infradead.org>;\n\tMon, 11 Sep 2017 02:37:39 -0700 (PDT)","from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\ts2sm4121069ioa.2.2017.09.11.02.37.36\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 11 Sep 2017 02:37:37 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=1R8qSO/wX9lGS7uYMTtEnxeo0GknLyFjikEVWKpGzeg=;\n\tb=l6C\n\tAVZWR7PavUs8ckaDxeCT/YjdRCeO5sgYTd95Dm2Hsy56QRc2UX/z27yALb5M093Isay8+KDac0K23\n\tHwZ4mReH3FcpCs4tSRAJx88VV003RksrNwL+JLG6rWVwnWNeGS7Qh4VBB2gl8f23lyp/NyOnqtVSy\n\t10irjOnzjtMdukPzB/4iPXHPGr8lJEhxZojc4n0pteGBSuVV4Cwy9cTUsbCDmWbG5EEgnBjyoQzrI\n\tICQsUXSZ0DCvoXgp6zIqnMzaufCwHUW7PiIMAniGbQFq9ke7w1i6lxSSUTZSMr/bxs4r0QGbPembw\n\ts7fqaW7erh8bSvlQMU1/VYcTYRidL+Q==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=C4pvwpzEKg9J8u8BLo3NwWYp1mzoJvuK+IeDW/w8In4=;\n\tb=calBwvIuLVkub79PGvR25nIJ5Ji+6FBHYooNVygcJM9BtKou7UtYFAH25lyn718mC/\n\tsX6DQo5nP+1M/diYqarK4yd06DwcYlMsGHdpABCvf2U7WvNHbg2UXlXf56VAVDmF2neB\n\tSvwGSSkxFz+KBuHTjq9o7NJoWhL2GKTI4XADUNyclFnvUL9F7ikxRR3/Jipe02QcOZ/v\n\tJf2eVrHUTg/SoeQKwn6NZ/l7MlnQz7mBHQvv4Yo2Zq01DqPA1U07AWeJXuv6upYwoPwe\n\tfI1XwmhIZQf1wp7VY2RixlVz5GqiFola6TWYWXLB0rX1h+mIV5LCN5d6lkCdUdINykbM\n\teVkQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=C4pvwpzEKg9J8u8BLo3NwWYp1mzoJvuK+IeDW/w8In4=;\n\tb=AKga8c6bZsXt+RyxXrS+4NSMgXQwIjaU3oV71xJY2+R7r2HuJ2IDgM5AqeOXyUqB5I\n\tnKxfidh/LHieiwqnrRnJr+ethWIOnZpNs02P/HkfXHwIEoOxF0U8Dggrq/9Cyw4IZ3Ao\n\tj+IzSy8FVTan0Zmo/ZL7l7EUeL5t1YleeFMnfAVjzsC6zlK/vqtLFgan9HWOmuTwpNOk\n\tpMcmBwVxgFP/aEvzIebgYkfFR4yPFZMVM7uxA4WpBKnbWECieR3PfsR9wb0lpc52Swzk\n\tpyQ5OCV/sF/yHxeOMWIyA2koh7JwKEGHSY/8721zXA31ajLZDc9sZkJR/5nca/ceYwHg\n\tttdQ==","X-Gm-Message-State":"AHPjjUgv2AbXK1m49ncDckDbGkC71yhkXht3QACzYbWk2UNrko6tlT4d\n\tyrTeOwaFIGcc1dYf1Z02i18=","X-Google-Smtp-Source":"ADKCNb4hXvyb5jjjQAIceXr2rlZfoCWGFF/N1b4UrrAMXo7ivjNAmQhbXbNqZFsIpZqoZB3AWn1B6Q==","X-Received":"by 10.36.7.19 with SMTP id f19mr13289673itf.111.1505122658666;\n\tMon, 11 Sep 2017 02:37:38 -0700 (PDT)","From":"Bin Meng <bmeng.cn@gmail.com>","To":"Mika Westerberg <mika.westerberg@linux.intel.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tMarek Vasut <marek.vasut@gmail.com>,\n\tBoris Brezillon <boris.brezillon@free-electrons.com>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tDavid Woodhouse <dwmw2@infradead.org>, \n\tlinux-mtd <linux-mtd@lists.infradead.org>,\n\tlinux-kernel <linux-kernel@vger.kernel.org>","Subject":"[PATCH v2 00/10] spi-nor: intel-spi: Various fixes and enhancements","Date":"Mon, 11 Sep 2017 02:41:50 -0700","Message-Id":"<1505122921-5534-1-git-send-email-bmeng.cn@gmail.com>","X-Mailer":"git-send-email 1.7.9.5","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170911_023759_894935_7E3401B2 ","X-CRM114-Status":"GOOD (  10.08  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:4001:c0b:0:0:0:244 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (bmeng.cn[at]gmail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Stefan Roese <sr@denx.de>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"This series does several bug fixes and clean ups against the intel-spi\nspi-nor driver, as well as enhancements to make the driver independent\non the underlying BIOS/bootloader.\n\nAt present the driver uses the HW sequencer for the read/write/erase on\nall supported platforms, read_reg/write_reg for BXT, and the SW sequencer\nfor read_reg/write_reg for BYT/LPT. The way the driver uses the HW and SW\nsequencer relies on some programmed register settings and hence creates\nunneeded dependencies with the underlying BIOS/bootloader. For example,\nthe driver unfortunately does not work as expected when booting from\nIntel Baytrail FSP based bootloaders like U-Boot, as the Baytrail FSP\ndoes not set up some SPI controller settings to make the driver happy.\nNow such limitation has been removed with this series.\n\nChanges in v2:\n- Add stable kernel tags in the commit message (patch [03/10])\n- Fix typo of 'operatoin' (patch [10/10])\n- Add Mika Westerberg's 'Acked-by' tag\n\nBin Meng (10):\n  spi-nor: intel-spi: Fix number of protected range registers for\n    BYT/LPT\n  spi-nor: intel-spi: Remove useless 'buf' parameter in the HW/SW cycle\n  spi-nor: intel-spi: Fix broken software sequencing codes\n  spi-nor: intel-spi: Check transfer length in the HW/SW cycle\n  spi-nor: intel-spi: Use SW sequencer for BYT/LPT\n  spi-nor: intel-spi: Remove 'Atomic Cycle Sequence' in\n    intel_spi_write()\n  spi-nor: intel-spi: Don't assume OPMENU0/1 to be programmed by BIOS\n  spi-nor: intel-spi: Remove the unnecessary HSFSTS register RW\n  spi-nor: intel-spi: Rename swseq to swseq_reg in 'struct intel_spi'\n  spi-nor: intel-spi: Fall back to use SW sequencer to erase\n\n drivers/mtd/spi-nor/intel-spi.c | 209 +++++++++++++++++++++++++++++-----------\n 1 file changed, 151 insertions(+), 58 deletions(-)"}