Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/627235/?format=api
{ "id": 627235, "url": "http://patchwork.ozlabs.org/api/patches/627235/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/1464359207-2744-10-git-send-email-ash.benz@bk.ru/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1464359207-2744-10-git-send-email-ash.benz@bk.ru>", "list_archive_url": null, "date": "2016-05-27T14:26:46", "name": "[LEDE-DEV,v3,09/10] kernel/mac80211: skip ath10k OTP check if caldata found", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a3e1aa3df9a5388e0f60cdce6123a48626a236a4", "submitter": { "id": 68948, "url": "http://patchwork.ozlabs.org/api/people/68948/?format=api", "name": "Ash Benz", "email": "ash.benz@bk.ru" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/1464359207-2744-10-git-send-email-ash.benz@bk.ru/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/627235/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/627235/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2001:1868:205::9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rGT0p1v6Tz9t3x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 28 May 2016 00:29:14 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1b6Ijh-0005mn-1i; Fri, 27 May 2016 14:27:37 +0000", "from smtp49.i.mail.ru ([94.100.177.109])\n\tby bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat\n\tLinux)) id 1b6Ijb-0005Wx-Hs\n\tfor lede-dev@lists.infradead.org; Fri, 27 May 2016 14:27:32 +0000", "from [115.132.97.57] (port=49566 helo=builder.lan)\n\tby smtp49.i.mail.ru with esmtpa (envelope-from <ash.benz@bk.ru>)\n\tid 1b6IjH-00052k-6b; Fri, 27 May 2016 17:27:12 +0300" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=bk.ru header.i=@bk.ru header.b=tTAJ6Fsf;\n\tdkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru;\n\ts=mail; \n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From;\n\tbh=wn6sXP6AqCJuOVCTrLveUvAMXkDGw/EziM1yf0LF0rw=; \n\tb=tTAJ6FsfaFrGaby+FrczrZYBOzAhHZcZDANYytNROXCsndvzjw6VM4H7dnw3SNoE/eUYNCwuyFXOnXmrcCOW4g5zCXrnfGsJDLEYxGZYhJgsO1DCWzvmdD8OsyfkDtp9ahKuxtA9il4hRVQC33u/SNwA5i3El2H4nKZWHH2NhX8=;", "From": "Ash Benz <ash.benz@bk.ru>", "To": "lede-dev@lists.infradead.org", "Date": "Fri, 27 May 2016 22:26:46 +0800", "Message-Id": "<1464359207-2744-10-git-send-email-ash.benz@bk.ru>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1464359207-2744-1-git-send-email-ash.benz@bk.ru>", "References": "<1464359207-2744-1-git-send-email-ash.benz@bk.ru>", "X-Mras": "OK", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20160527_072732_019189_224B6315 ", "X-CRM114-Status": "UNSURE ( 9.46 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-2.7 (--)", "X-Spam-Report": "SpamAssassin version 3.4.0 on bombadil.infradead.org summary:\n\tContent analysis details: (-2.7 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [94.100.177.109 listed in list.dnswl.org]\n\t-0.0 SPF_HELO_PASS SPF: HELO matches SPF record\n\t-0.0 SPF_PASS SPF: sender matches SPF record\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\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid", "Subject": "[LEDE-DEV] [PATCH v3 09/10] kernel/mac80211: skip ath10k OTP check\n\tif caldata found", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.20", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Cc": "Ash Benz <ash.benz@bk.ru>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "Signed-off-by: Ash Benz <ash.benz@bk.ru>\n---\n .../patches/936-ath10k_skip_otp_check.patch | 42 ++++++++++++++++++++++\n 1 file changed, 42 insertions(+)\n create mode 100644 package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch", "diff": "diff --git a/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch b/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch\nnew file mode 100644\nindex 0000000..39aba41\n--- /dev/null\n+++ b/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch\n@@ -0,0 +1,42 @@\n+--- a/drivers/net/wireless/ath/ath10k/core.c\n++++ b/drivers/net/wireless/ath/ath10k/core.c\n+@@ -1165,9 +1165,6 @@ static int ath10k_core_fetch_firmware_fi\n+ {\n+ \tint ret;\n+ \n+-\t/* calibration file is optional, don't check for any errors */\n+-\tath10k_fetch_cal_file(ar);\n+-\n+ \tar->fw_api = 5;\n+ \tath10k_dbg(ar, ATH10K_DBG_BOOT, \"trying fw api %d\\n\", ar->fw_api);\n+ \n+@@ -1870,6 +1867,9 @@ static int ath10k_core_probe_fw(struct a\n+ \t\tgoto err_power_down;\n+ \t}\n+ \n++\t/* calibration file is optional, don't check for any errors */\n++\tint calret = ath10k_fetch_cal_file(ar);\n++\n+ \tret = ath10k_core_fetch_firmware_files(ar);\n+ \tif (ret) {\n+ \t\tath10k_err(ar, \"could not fetch firmware files (%d)\\n\", ret);\n+@@ -1892,11 +1892,14 @@ static int ath10k_core_probe_fw(struct a\n+ \t\t\t \"could not load pre cal data: %d\\n\", ret);\n+ \t}\n+ \n+-\tret = ath10k_core_get_board_id_from_otp(ar);\n+-\tif (ret && ret != -EOPNOTSUPP) {\n+-\t\tath10k_err(ar, \"failed to get board id from otp: %d\\n\",\n+-\t\t\t ret);\n+-\t\tgoto err_free_firmware_files;\n++\t/* otp and board file not needed if calibration data is present */\n++\tif (calret) {\n++\t\tret = ath10k_core_get_board_id_from_otp(ar);\n++\t\tif (ret && ret != -EOPNOTSUPP) {\n++\t\t\tath10k_err(ar, \"failed to get board id from otp: %d\\n\",\n++\t\t\t\tret);\n++\t\t\treturn ret;\n++\t\t}\n+ \t}\n+ \n+ \tret = ath10k_core_fetch_board_file(ar);\n", "prefixes": [ "LEDE-DEV", "v3", "09/10" ] }