Message ID | 20230609092834.111118-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8B17C7EE29 for <linux-arm-kernel@archiver.kernel.org>; Fri, 9 Jun 2023 09:29:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xJLXHkk6NG957e2d/roMhD7mnHapfER1DVrcN2FuvOI=; b=kMvjsg9rbRDDQV 7AgrYB4+vNKVCcAzTAQJL8PY7ttfvKaozqV5CnJODhKwPfQTFe6i4YF1ac7PSPTGQEObiDH7Z7cqY lN/UvQxnSZMluICbwAHX02OsTXtfu6tyDsc/jYEV0z9Q4bQ9hp4vKa5Qxqtg8eRio/1pcXlAsSuXT +3PC/z6X5lZl6WUC72clq3prXzmj4jwAvPm2GPKKNRH2itfDtN0ugDT5tp8fW0kg3MWPIaBM5Gjlk 1wu8Yi+WySeUJPguE40EfcEcPjaFzqLlx5QNQYw5DmsArA3mJOqyBBswDqT13rkGebeHjdU9mUC6D 2CEc+D018B3G8wwUP/Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7YQI-00CPbq-10; Fri, 09 Jun 2023 09:28:46 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7YQF-00CPa4-1I for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 09:28:44 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f654d713c0so1527763e87.3 for <linux-arm-kernel@lists.infradead.org>; Fri, 09 Jun 2023 02:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686302918; x=1688894918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MVrUH0QkhY4tLFpqShwY663edY1TmohCGs31lf3iH30=; b=hf/NoSJWN8ekgi/UFUjH77ZiqgwuB2yeBIKZkl6BR1l9K1WN9oQ6OzOdQkU6+2muCv cHDM7luar2PdK6xaJOKmy8M1DSajmgnrTgu9FHeXrntMBxItNB7DBLmYcERq2Uluj/m6 nQ/r5myEflIc1NGoO+pgwgizUak4sPosxgav/BAaB50mnnnXsuRiNEhsf+YvOz1S52iz d6ACsBwWLXY/wTaI6DBVOWbZ3fOHOdoycoSaqNAZd45mScXz6YxW8f500vGoxAaPv+gU epqfBeLQQvlaPTx+qajb7dAB5i/vrl08JQIW7PIjf883dODtGAtzIBUnqBZ0/yKjWhh6 oZyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686302918; x=1688894918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MVrUH0QkhY4tLFpqShwY663edY1TmohCGs31lf3iH30=; b=Ct0gZX4FWkebxJXgxuClToRgRS+W+FCnUwB7IvAes8XnXzviJkteYel6qr8G3v1wEg d8m/D/zA77kxvVhcEi3GHCjwzHabxQNg1KDqUPheUOaD9GErqUAsdAxMXyUxuMzrpjPi hkmOlwJUJy0Swmstjp5lSnEywXgqOJSZ6Om8cqv5Lrb3UemBKiDvkEFZP2s0BzCIzetd PJ1AfZQ1g0z072ndLWnCtqMMHydbifk5lHAJWSnH/gOeXY9+BBroGBAVdGAvS34PNs0g c+4OpTm83LLru6jJ9iwcWP0t+iU7dve7DF1hKjTg6iLWhPtz+X6CS97GM9aJKqkS634j UiPA== X-Gm-Message-State: AC+VfDyEexNx3tKL+q7zizMlfM/o2/r5j+kKRN0d0utzx91wLNdHHbx9 52wIoeTXIcjaajvCWGeUDwQlxw== X-Google-Smtp-Source: ACHHUZ73htALtaUvPGvKdLTV9wByoVcTRW1Z7rQowYplMq13KPxysMMv/C6/qmf3vvixMEAAoQEMtg== X-Received: by 2002:a19:4f4e:0:b0:4f6:40e1:4a92 with SMTP id a14-20020a194f4e000000b004f640e14a92mr580725lfk.13.1686302917931; Fri, 09 Jun 2023 02:28:37 -0700 (PDT) Received: from Linus-Dell.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u20-20020ac248b4000000b004f63c6350e5sm481615lfg.148.2023.06.09.02.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 02:28:37 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: Russell King <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann <arnd@arndb.de>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH] ARM: Enable ARCH_HAS_DEBUG_VM_PGTABLE Date: Fri, 9 Jun 2023 11:28:34 +0200 Message-Id: <20230609092834.111118-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_022843_438969_FEFA8189 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <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>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: Enable ARCH_HAS_DEBUG_VM_PGTABLE
|
expand
|
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0fb4b218f665..5af3ed89a2fe 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -7,6 +7,7 @@ config ARM select ARCH_HAS_BINFMT_FLAT select ARCH_HAS_CURRENT_STACK_POINTER select ARCH_HAS_DEBUG_VIRTUAL if MMU + select ARCH_HAS_DEBUG_VM_PGTABLE if MMU select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FORTIFY_SOURCE
Using the generic page table tests is nice for conformance testing. After enabling this on Versatile Express with LPAE and debug prints all tests pass on the classic MMU. However with LPAE enabled we get this: BUG: non-zero pgtables_bytes on freeing mm: -4096 This message comes from kernel/fork.c and not the test per se. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)