From patchwork Fri Oct 19 08:44:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhuo, Qiuxu" X-Patchwork-Id: 10648823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FE1A112B for ; Fri, 19 Oct 2018 08:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3182628A69 for ; Fri, 19 Oct 2018 08:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25E1C28AB0; Fri, 19 Oct 2018 08:44:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBF5F28A69 for ; Fri, 19 Oct 2018 08:44:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbeJSQtw (ORCPT ); Fri, 19 Oct 2018 12:49:52 -0400 Received: from mga04.intel.com ([192.55.52.120]:21172 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726816AbeJSQtw (ORCPT ); Fri, 19 Oct 2018 12:49:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2018 01:44:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,399,1534834800"; d="scan'208";a="100810372" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga001.jf.intel.com with ESMTP; 19 Oct 2018 01:44:45 -0700 Received: from qiuxu-dev.sh.intel.com (10.22.254.139) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 19 Oct 2018 01:44:44 -0700 From: Qiuxu Zhuo To: CC: , , , , , , Qiuxu Zhuo Subject: [PATCH v1 0/5] Add support for non-volatile DIMMs Date: Fri, 19 Oct 2018 16:44:13 +0800 Message-ID: <1539938653-24030-1-git-send-email-qiuxu.zhuo@intel.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [10.22.254.139] Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Base This series is based on Tony's latest sent out version. Test Base : tip/master with top commit 9d19978b x86/swiotlb*. Merge : Boris for-next from v4.19-rc4 to cf841e39 ACPI/ADXL*. Result : Decoding via ACPI ADXL and via original skx_edac code worked well on Skylake-2S + BIOS with ADXL DSM support. Descriptions Patch 1-4 are bug fix, cleanup, and preparation for patch 5. Patch 1 Fix function calling order bug in skx_exit(). Patch 2 Prepend hex formatting with '0x' in the skx_edac driver. Patch 3 Move the skx_edac debugfs node under EDAC debugfs root directory. Patch 4 Let EDAC core show the decoded result for debugfs. Patch 5 Update the skx_edac driver to use the wrapped ACPI ADXL interface on systems that have non-volatile DIMMs (if the BIOS supplies it). Qiuxu Zhuo (5): EDAC, skx_edac: Fix function calling order in skx_exit() EDAC, skx_edac: Prepend hex formatting with '0x' EDAC, skx_edac: Clean up debugfs EDAC, skx_edac: Let EDAC core show the decoded result for debugfs EDAC, skx_edac: Add address translation for non-volatile DIMMs drivers/edac/Kconfig | 1 + drivers/edac/skx_edac.c | 322 ++++++++++++++++++++++++++++++---------- 2 files changed, 247 insertions(+), 76 deletions(-)