{"id":818133,"url":"http://patchwork.ozlabs.org/api/covers/818133/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/1506330344-31556-1-git-send-email-vladimir.murzin@arm.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","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":"<1506330344-31556-1-git-send-email-vladimir.murzin@arm.com>","list_archive_url":null,"date":"2017-09-25T09:05:36","name":"[v3,0/8] ARM: NOMMU: MPU updates","submitter":{"id":65248,"url":"http://patchwork.ozlabs.org/api/people/65248/?format=json","name":"Vladimir Murzin","email":"vladimir.murzin@arm.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/1506330344-31556-1-git-send-email-vladimir.murzin@arm.com/mbox/","series":[{"id":4911,"url":"http://patchwork.ozlabs.org/api/series/4911/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=4911","date":"2017-09-25T09:05:36","name":"ARM: NOMMU: MPU updates","version":3,"mbox":"http://patchwork.ozlabs.org/series/4911/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/818133/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=\"VeCFcAvd\"; 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 3y0yrC04Wjz9sDB\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 19:06:35 +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 1dwPLS-0001YX-SL; Mon, 25 Sep 2017 09:06:30 +0000","from foss.arm.com ([217.140.101.70])\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dwPLP-0001KD-2e for linux-arm-kernel@lists.infradead.org;\n\tMon, 25 Sep 2017 09:06:28 +0000","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EDE451529;\n\tMon, 25 Sep 2017 02:06:04 -0700 (PDT)","from bc-c11-3-12.euhpc.arm.com. (bc-c11-3-12.euhpc.arm.com\n\t[10.6.2.250])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t71A0F3F3E1; Mon, 25 Sep 2017 02:06:03 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To\n\t:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=+5UEn1KG1HOp+7KCVDIFbVVeb3GSwT2tk/TLtdfIkj4=;\n\tb=VeCFcAvdaNmLgn\n\tsHazB/8c/srPgNmfUxpaL+8M4vHT1Gld60LUWMvNYU1nHsq08gwdQidhLQ2f/rk9C8Hl1W1yYMMnz\n\tdjVNHq847ANXpgKBddIO6vvDhRrHP4jR7LOKBTAxoBxGRiwaFBQ2TQTbjQhr27v9uyMITtrpb3xT7\n\tSQQMHwNOnajzk1kqyWtDtaOQmtOSJNqmqhWFncx4NGNQzbI1GzQps+Y1Gv8/Rxw5xhriw0k7mgFlF\n\tcofGec3u83uarx8VzIGGK9C2/hZYKIZwKPYfP6IL3rriI60gsyFlkTT2SAiEWL6oPzzLXnIjCnThJ\n\ttiPLoBqMjcsr7O0lBBLw==;","From":"Vladimir Murzin <vladimir.murzin@arm.com>","To":"linux-arm-kernel@lists.infradead.org","Subject":"[PATCH v3 0/8] ARM: NOMMU: MPU updates","Date":"Mon, 25 Sep 2017 10:05:36 +0100","Message-Id":"<1506330344-31556-1-git-send-email-vladimir.murzin@arm.com>","X-Mailer":"git-send-email 2.0.0","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170925_020627_126961_9DB7370A ","X-CRM114-Status":"GOOD (  11.29  )","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [217.140.101.70 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","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":"alexandre.torgue@st.com, manabian@gmail.com, linux@armlinux.org.uk,\n\tstefan@agner.ch, kbuild-all@01.org, u.kleine-koenig@pengutronix.de,\n\tsza@esh.hu","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","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":"Hi,\n\nThis is an update of the existent MPU code which consist set of\nclean-ups and enhancements. The most significant changes are in the\nway how MPU settings sync-up for secondaries (PATCH 3/8), more\nflexible layout for memory (PATCH 7/8) and support for XIP (PATCH\n8/8). Since there is no in-tree user of MPU, support for M-class has\nbeen added (PATCH 6/8).\n\nThere is also practical benefit of patch set:\n\n\"These MPU patches introduce a nice feature that it simplifies the\nbootloader: do not need to setup the MPU, for example for coherent DMA\nregion, which is described in device-tree too.\" András Szemző\n\nChangelog:\n           v2 -> v3\n              - fixed support for XIP (PATCH 8/8)\n\t      - rebased on 4.14-rc2\n\n           v1 -> v2\n              - support for XIP (PATCH 8/8)\n\t      - rebased on 4.13-rc1\n\n        RFC v2 -> v1\n               - dropped RFC tag\n\t       - Tested-by from András\n\t       - rebased on 4.12-rc5\n\n           RFC -> RFC v2\n\t       - fixed MPU enable for v7m (PATCH 6/7)\n\nThanks!\n\nVladimir Murzin (8):\n  ARM: NOMMU: Move out MPU setup in separate module\n  ARM: NOMMU: Update MPU accessors to use cp15 helpers\n  ARM: NOMMU: Rework MPU to be mostly done in C\n  ARM: NOMMU: Disallow MPU for XIP\n  ARM: Kconfig: Kill CONFIG_VECTORS_BASE\n  ARM: V7M: Add support for MPU to M-class\n  ARM: NOMMU: Use more MPU regions to cover memory\n  ARM: NOMMU: Support MPU in XIP configuration\n\n arch/arm/Kconfig                  |   9 -\n arch/arm/Kconfig-nommu            |   4 +-\n arch/arm/include/asm/cputype.h    |  10 +\n arch/arm/include/asm/mpu.h        |  26 +-\n arch/arm/include/asm/smp.h        |   2 +-\n arch/arm/include/asm/v7m.h        |  10 +\n arch/arm/kernel/asm-offsets.c     |  11 +\n arch/arm/kernel/head-nommu.S      | 148 +++++++++---\n arch/arm/kernel/smp.c             |   2 +-\n arch/arm/kernel/vmlinux-xip.lds.S |  23 ++\n arch/arm/mm/Makefile              |   1 +\n arch/arm/mm/nommu.c               | 254 +-------------------\n arch/arm/mm/pmsa-v7.c             | 484 ++++++++++++++++++++++++++++++++++++++\n 13 files changed, 682 insertions(+), 302 deletions(-)\n create mode 100644 arch/arm/mm/pmsa-v7.c"}