From patchwork Tue Jan 7 15:14:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13929149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BD19E77197 for ; Tue, 7 Jan 2025 15:15:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B07226B00A8; Tue, 7 Jan 2025 10:14:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AB6BF6B00AA; Tue, 7 Jan 2025 10:14:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 957C86B00B0; Tue, 7 Jan 2025 10:14:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 6D8BF6B00AA for ; Tue, 7 Jan 2025 10:14:59 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id BA3DEAF5CA for ; Tue, 7 Jan 2025 15:14:58 +0000 (UTC) X-FDA: 82981003476.28.BB972BE Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf26.hostedemail.com (Postfix) with ESMTP id E5EDB140014 for ; Tue, 7 Jan 2025 15:14:56 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=linutronix.de header.s=2020 header.b=GastSH01; dkim=pass header.d=linutronix.de header.s=2020e header.b=OBHHGAWz; dmarc=pass (policy=none) header.from=linutronix.de; spf=pass (imf26.hostedemail.com: domain of t-8ch@linutronix.de designates 193.142.43.55 as permitted sender) smtp.mailfrom=t-8ch@linutronix.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736262897; a=rsa-sha256; cv=none; b=hgkFUuEwrq8VyLYvPVs/gITaRSFNaPrLqQCCKu8cwxFgKattDXfj/DtkwyJEOu7A3JEosP 66A+sWzieb5+ARggOQt0mEf5xtW2pzoU/3+WVB4bx5/md06YajFnx1PP1+wbcKxmOrWWbN T/MCbZdq4059Qww9RdIspoeMLqFj4TA= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=linutronix.de header.s=2020 header.b=GastSH01; dkim=pass header.d=linutronix.de header.s=2020e header.b=OBHHGAWz; dmarc=pass (policy=none) header.from=linutronix.de; spf=pass (imf26.hostedemail.com: domain of t-8ch@linutronix.de designates 193.142.43.55 as permitted sender) smtp.mailfrom=t-8ch@linutronix.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736262897; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=sCicWoiJ2PPUbfuW8fJ3dfo9H0yJpSulZ9DMj/yBOJQ=; b=GFnrCLdxLbmr4qMyeRQFU0r10ExRNwhkjiWT4cjFCRXQDfFLcEdJ7tdt10Sbdto+KL9+H5 rUl8BA4yB7rOmVu68IXKFNwusL4yeKhIHNfs5UqkMpiTjN2PcWqow9a9gReTb+5HKzaXvP 8q9NUJkP66Yx3ks4USAUnxDEF5QJxgs= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1736262894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sCicWoiJ2PPUbfuW8fJ3dfo9H0yJpSulZ9DMj/yBOJQ=; b=GastSH01ogRzkOZD82Fid3xB3jn9NcSoiSee/lgVGEtNFtLLGD1Euo+f1WX6qtch3NRVfI Chm1AWhLB4T4RsFezdzZYxaYuYPAnPMAVN/VA7YI0roKbDS93DXxGUNGu5XwV4tfdhuuWH fdJuHe0+qp+wKecvOdUR+YuarkJiwJ0tdMg/TPhcsZMQ6csxb566D7nAqCmJnx08kqCcXe 5EZbJ6hQZaPbG37pHNMglgjpDAOcPGmrKnkKuJSlSPew8DnhZNOoaBqstNTXFtgXk+vlsq Km1aZnz0S4wvUe5xEFtyZtApLIPeiHqKGFHtkoj7QHxWLUhgU5L/k/wvrsN0rw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1736262894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sCicWoiJ2PPUbfuW8fJ3dfo9H0yJpSulZ9DMj/yBOJQ=; b=OBHHGAWzrs3hcUocIj8fwNvupeAjJHv3TUlqBLra2Pgff4geXaq70k43BV57RK8yg9cEKx 17oIcxsIEAipEjCg== Subject: [PATCH 0/3] selftests/mm: virtual_address_range: Two bugfixes and a cleanup Date: Tue, 07 Jan 2025 16:14:44 +0100 Message-Id: <20250107-virtual_address_range-tests-v1-0-3834a2fb47fe@linutronix.de> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOREfWcC/x3M3QpAQBBA4VfRXNtav4tXkbbNDqaEZpaUvLvN5 Ven84AgEwp0yQOMFwntW0SWJjAubptRkY+GXOeVzrRRF3E43Wqd94wilv8ooARRbdWUhanrybU G4uFgnOj+7/3wvh/7UwftbQAAAA== X-Change-ID: 20250107-virtual_address_range-tests-95843766fa97 To: Andrew Morton , Shuah Khan , Dev Jain , Thomas Gleixner Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , stable@vger.kernel.org, kernel test robot X-Developer-Signature: v=1; a=ed25519-sha256; t=1736262892; l=842; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=JUGocPrWu2QxeYZ5cRItpEriLyPsPdb256CAX16xnb4=; b=2gfAGnXQw1hiHxNv7xHvpqQxjBKUovhW4dlr/7eq6B2gJM8zjGHqfpHVHYb2SJyERvxvUbTBn OJhSSXjkz+UCfLXeByK5H1tPkrREsCtIArCtQwU325Cx2dtoJU4UuIb X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= X-Stat-Signature: pu75tm995i5fw358mhexwwahfjaccqgi X-Rspam-User: X-Rspamd-Queue-Id: E5EDB140014 X-Rspamd-Server: rspam08 X-HE-Tag: 1736262896-136235 X-HE-Meta: U2FsdGVkX1+7nZL0QNxReDZZ+86qHpb7zWPdB7ZHeD/JDHtanrDwcZWzLWt2TUEk0VSR2Qf7yGTiE2nE34x0Vo2Nhu8gf3l1WrnMD9y4WBLC2z5CNa71hdX9SCpetg5ju/rWIUjia94/g5lxT2YqFU9yuvcpn1/9tx4JB2qhFf7XIWJZBBc0jxrve3SoE7vtZcx7Wa1wQFIi5kM9w5+pSH/hLQG9maC4LQqv2tNxLJCF28vF4ZzNYaDyhid1SlGs+ue1KSTsrLB8d9zdN42I2AwUzTSuHzeNwRC89U0Kq+HJHsDYvZEKXN5sBOd8GP2W9CdmRRoQwJmtejzOS5lYiiQ84e8kUyFOO0enKk8tAxDUwKWJ4Ql537ydQ5sEVuzHDbuYACJ+z7x+T9/Ol6iJSUVD39g+UANiJV3eA2P4oG3eWSftqDKM9hLUQDHTFJJSDNv3asL8Ly5O28bzFCck+3S0bMKx8mDT6j59GUKoo74xdqj3vAntwKDO4STgkreSw25QE9wMCIKlJ1BWSCj8v688h8PLKy3/6AtezSyGN0+AGOeVDia3ynybn9GgHfj4J7+8CUUqvlBSt8v3Ug+i8ldDrolyJjIa8Syw29YriHj4Ir3sTP20SV446BFOTof030ptYAiCGkOVUxaDML7xB4RTH/xv78IIMm3uCXq5zmL42unwXnQag4xUMhyhhinGgalJUvYLp+HLaqohMIEriohiCh74pFskJmwfHsrbm195dWeepUBie5vugSS+S0DnaOxAZFMGr/JhBVTqmOqUfEsdSpNYsr4Re/mZ97HniJBIaFYU/XE7G2Hqb4BZoA3eq3rgt9D0495OiqDu2QCT2iHsPM4aowDTjgyh42clE07R1OQ+MVcao1MMBYLaIzr+aHkgkDXZgFiISXvZXPAPGOXcKxbqIKzunSGmLHeFo+BS/+9sWt1QEW6C/jcgUoRuhRrAY9dcGzdadlzQ0xj G9D+AeYA 3u8lDuqzEoCsGkNDyv9aqEUdf7pfjk+E9XpsO5IBrvVgvDzmbr5r9NK4gc4C/horNAU3XurZ1JSQSZt+qPjUvYzoXtvnVYpWme1c5EhTrF58LGZZRCM9VVJnooZz+Fmzo8aSyUeHBa3gQ7ucau1GsEIHT9kr7AV5994j4bzoGeQaRBfBpfCHFpO0pyAm5o6yQYfzxgFPQjgCfTF1ttJYkW4mJEyteO5eB6yPExnGz+kLVShhi6Nt2wByyNSMEF7v9ZdybjndKULCOTTDG9sZdsuZ7h30sDddUoVNnt20BUNmOtfH+JRequRiPyu4/cs1NagMWnZhUumDhLXPMfwrrJXqqr0sQE0iJJ8vNYZi8CFlDkJ5DkT6ZVMG634F+0K+9obLOkUzh0jF+x3+hUsYLDNZ2dUspknp4w0VrS2VI9we87vj00NyW8t/Ih9JLsVCpv4/1CGYXUEqIk/GOvFe7vFCbEPZM2cbM7xE1 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The selftest started failing since commit e93d2521b27f ("x86/vdso: Split virtual clock pages into dedicated mapping") was merged. While debugging I stumbled upon another bug and potential cleanup. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (3): selftests/mm: virtual_address_range: Fix error when CommitLimit < 1GiB selftests/mm: virtual_address_range: Avoid reading VVAR mappings selftests/mm: virtual_address_range: Dump to /dev/null tools/testing/selftests/mm/virtual_address_range.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) --- base-commit: fbfd64d25c7af3b8695201ebc85efe90be28c5a3 change-id: 20250107-virtual_address_range-tests-95843766fa97 Best regards,