Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752051AbbEDCS2 (ORCPT ); Sun, 3 May 2015 22:18:28 -0400 Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:60670 "EHLO outbound-smtp03.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751463AbbEDCR7 (ORCPT ); Sun, 3 May 2015 22:17:59 -0400 From: "Bryan O'Donoghue" To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, dvhart@infradead.org, pure.logic@nexus-software.ie, andy.schevchenko@gmail.com, boon.leong.ong@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Cc: derek.browne@intel.com, josef.ahmad@intel.com, erik.nyquist@intel.com Subject: [PATCH 0/2] x86/quark: Add eSRAM driver and test code Date: Mon, 4 May 2015 03:17:53 +0100 Message-Id: <1430705875-6990-1-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1654 Lines: 35 Quark X1000 SoC contains a 512 KiB embedded SRAM (eSRAM) memory that can be mapped onto an area of DRAM in block or on per-page overlay mode where a 4 KiB aligned region can be overlayed - allowing for broken up mappings with a 4 KiB individual granularity. eSRAM has access times similar to an L1 cache. The following patchset adds a gen_pool driver and automatic test routine to exercise eSRAM. The intent of the eSRAM driver is to allow other drivers to allocate SRAM buffers. In contrast to the original BSP code no attempt will be made to map kernel .data section code, this is a simple SRAM buffer allocation/free mechanism and a sanity test to ensure it's ongoing correctness. Bryan O'Donoghue (2): x86/quark: Add Quark embedded SRAM support x86/quark: Add Quark embedded SRAM self-test arch/x86/Kconfig.debug | 13 + arch/x86/include/asm/esram.h | 66 ++++ arch/x86/platform/intel-quark/Makefile | 2 + arch/x86/platform/intel-quark/esram.c | 502 +++++++++++++++++++++++++ arch/x86/platform/intel-quark/esram_selftest.c | 159 ++++++++ drivers/platform/x86/Kconfig | 17 +- 6 files changed, 758 insertions(+), 1 deletion(-) create mode 100644 arch/x86/include/asm/esram.h create mode 100644 arch/x86/platform/intel-quark/esram.c create mode 100644 arch/x86/platform/intel-quark/esram_selftest.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/