Cover Letter Detail
Show a cover letter.
GET /api/covers/807088/?format=api
{ "id": 807088, "url": "http://patchwork.ozlabs.org/api/covers/807088/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/cover/20170829131238.4988-1-jglauber@cavium.com/", "project": { "id": 19, "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api", "name": "Linux IMX development", "link_name": "linux-imx", "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org", "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170829131238.4988-1-jglauber@cavium.com>", "list_archive_url": null, "date": "2017-08-29T13:12:31", "name": "[RFC,v9,0/7] Cavium ARM64 uncore PMU support", "submitter": { "id": 68350, "url": "http://patchwork.ozlabs.org/api/people/68350/?format=api", "name": "Jan Glauber", "email": "jglauber@cavium.com" }, "mbox": "http://patchwork.ozlabs.org/project/linux-imx/cover/20170829131238.4988-1-jglauber@cavium.com/mbox/", "series": [ { "id": 366, "url": "http://patchwork.ozlabs.org/api/series/366/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=366", "date": "2017-08-29T13:12:31", "name": "Cavium ARM64 uncore PMU support", "version": 9, "mbox": "http://patchwork.ozlabs.org/series/366/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/807088/comments/", "headers": { "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming-imx@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=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\n\theader.b=\"nNoxokgJ\"; 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 3xhTcN20F7z9s75\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 23:14:12 +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 1dmgLG-0005Pg-MS; Tue, 29 Aug 2017 13:14:06 +0000", "from mail-wm0-f68.google.com ([74.125.82.68])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmgKe-0004dA-Ju for linux-arm-kernel@lists.infradead.org;\n\tTue, 29 Aug 2017 13:13:34 +0000", "by mail-wm0-f68.google.com with SMTP id e204so977319wma.2\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tTue, 29 Aug 2017 06:13:07 -0700 (PDT)", "from localhost.localdomain\n\t(dslb-088-067-130-225.088.067.pools.vodafone-ip.de. [88.67.130.225])\n\tby smtp.gmail.com with ESMTPSA id\n\t52sm2589890wru.59.2017.08.29.06.13.03\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 06:13:04 -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=vJ7DKsVgMhXTOfXvWnwf3AIZw9W1qo3bggH6ifi+VOI=;\n\tb=nNo\n\txokgJNysz2LW3d9Q9WS+YUqPEHLv+nmqTYWdkMT8A2uGhYjADX1DQ1HIJnmdvkmN3CV15sQ07e8me\n\tDpj0w1n+wkaKS/vCgDvw3jqa+PhRszh0UaXQUVIueRgNKVIW+BniD245WiRY+JteRYAAo2/77A6gc\n\t0dbOJDnIdu00dH/70e3mUsJ3x02F6nej5+hiGgDbVbm8B+8VGV6MtPg/rbXn1CztuAUmlacXm0aK4\n\ttPsI72aquoQcSr6Rw/siJYha1j08ShLyGgmwW40SRJkLecfRrTMKBC60G4w8l8XxSrV03PbqT4ozY\n\t8x++2gEY+O4PEjO7RpIzVvqy07+4KvQ==;", "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=yLYtmvBYeIcDkzM/Dq5Vijv/IhNXDzoS+VXKlfyKEBE=;\n\tb=eLauoOoT6xG9P1lMUN4bYiQSaGOZDY/rbvL61yWa7ZnmnFIBy+66XE3ReSaDiRxZVJ\n\tzqd37oZJVLDsEVdhnSqvX8DyFSJmbv2FngXc/1Qxp3OIdDS4tXkWXq0eRTVSU9MjeM+i\n\tgQpqC+RlkDbthQ+/9BCLAY7CBeTiDqbQr2u8T5E1A7PGYMxgQW9MAYVutSbyArBGWO0m\n\tjuUgW9LTddw/eScbZp794Gaxj66wfsd0JdvDH9xyuXJBaIroRYksjyqlWrav9Syhpxdh\n\tz6BzIYQr/tZYFa8AOZdKgQFDDdnKYVzSDycKy5thE/N+m7Cn+Cb+uhecIFPzx0gKlyIP\n\t/gPA==", "X-Gm-Message-State": "AHYfb5jPEDQ6RTwP2dRtG911zaWf0f42tcHKqKL1/9yfaehLlNl/sPMn\n\tjMcV7+Du384jxA==", "X-Received": "by 10.28.59.65 with SMTP id i62mr2189777wma.36.1504012384593;\n\tTue, 29 Aug 2017 06:13:04 -0700 (PDT)", "From": "Jan Glauber <jglauber@cavium.com>", "To": "Mark Rutland <mark.rutland@arm.com>,\n\tWill Deacon <will.deacon@arm.com>", "Subject": "[RFC PATCH v9 0/7] Cavium ARM64 uncore PMU support", "Date": "Tue, 29 Aug 2017 15:12:31 +0200", "Message-Id": "<20170829131238.4988-1-jglauber@cavium.com>", "X-Mailer": "git-send-email 2.9.0.rc0.21.g7777322", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170829_061329_404108_FAD25C92 ", "X-CRM114-Status": "GOOD ( 14.43 )", "X-Spam-Score": "-1.7 (-)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-1.7 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 trust [74.125.82.68 listed in list.dnswl.org]\n\t-0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)\n\t[74.125.82.68 listed in wl.mailspike.net]\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 (jan.glauber[at]gmail.com)\n\t0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level\n\tmail domains are different\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_MSPIKE_WL Mailspike good senders\n\t0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and\n\tEnvelopeFrom freemail headers are different", "X-BeenThere": "linux-arm-kernel@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>", "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>", "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>", "Cc": "David Daney <david.daney@cavium.com>,\n\tSuzuki K Poulose <Suzuki.Poulose@arm.com>, linux-kernel@vger.kernel.org, \n\tBorislav Petkov <bp@alien8.de>, Jan Glauber <jglauber@cavium.com>,\n\tlinux-arm-kernel@lists.infradead.org", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>", "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org", "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org" }, "content": "I'm posting this as RFC following this discussion:\nhttps://marc.info/?l=linux-arm-kernel&m=150099526923838&w=2\n\nI've implemented the wrapper for the PCI devices and put it under\ndrivers/soc/cavium which I found more appropriate than drivers/misc.\n\nI was not able to find a way to build the EDAC driver and the PMU driver\nwith all combinations (builtin and module) so I limited the build options\nto module only. The problem is that the select from EDAC or PMU\nsets the wrappers build type to whatever EDAC or PMU choose.\nBut all parts must be either built-in or modules, having the wrapper\nbuiltin and calling into module code will not work. If there is a better\nsolution please let me know.\n\nThe PMU code is the same as in v8.\n\nAdd support for various PMU counters found on the Cavium ThunderX and\nOcteonTx SoC.\n\nThe PMU driver provides common \"uncore\" functions to avoid code duplication\nand support adding more device PMUs (like L2 cache) in the future.\n\nChanges to v8:\n- Wrapper for PCI devices\n\nJan Glauber (7):\n edac: thunderx: Remove suspend/resume support\n edac,soc: thunderx: Add wrapper for EDAC LMC PCI device\n edac,soc: thunderx: Add wrapper for EDAC OCX PCI device\n perf: export perf_event_update_userpage()\n perf: cavium: Support memory controller PMU counters\n perf: cavium: Support transmit-link PMU counters\n perf: cavium: Add Documentation\n\n Documentation/perf/cavium-pmu.txt | 75 +++++\n drivers/edac/Kconfig | 3 +\n drivers/edac/thunderx_edac.c | 92 +-----\n drivers/perf/Kconfig | 15 +\n drivers/perf/Makefile | 1 +\n drivers/perf/cavium_pmu.c | 680 ++++++++++++++++++++++++++++++++++++++\n drivers/soc/Kconfig | 1 +\n drivers/soc/Makefile | 1 +\n drivers/soc/cavium/Kconfig | 14 +\n drivers/soc/cavium/Makefile | 2 +\n drivers/soc/cavium/cavium_lmc.c | 53 +++\n drivers/soc/cavium/cavium_ocx.c | 49 +++\n include/linux/cpuhotplug.h | 1 +\n include/linux/soc/cavium/lmc.h | 12 +\n include/linux/soc/cavium/ocx.h | 12 +\n kernel/events/core.c | 1 +\n 16 files changed, 933 insertions(+), 79 deletions(-)\n create mode 100644 Documentation/perf/cavium-pmu.txt\n create mode 100644 drivers/perf/cavium_pmu.c\n create mode 100644 drivers/soc/cavium/Kconfig\n create mode 100644 drivers/soc/cavium/Makefile\n create mode 100644 drivers/soc/cavium/cavium_lmc.c\n create mode 100644 drivers/soc/cavium/cavium_ocx.c\n create mode 100644 include/linux/soc/cavium/lmc.h\n create mode 100644 include/linux/soc/cavium/ocx.h" }