Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp436435rdb; Thu, 15 Feb 2024 05:03:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9t9xvOYci1sg7eUmK+5uLyeHQgC8HV9SkhjEHTWQU/saQwzuAGp14wHtZFAJ1ae1uSMG75SUic9HdA+26c7jKlqT83MacqWZbcF3BpA== X-Google-Smtp-Source: AGHT+IEslzR8llubDa2UWE7QI/uux35VHFgaEZV1DUNrStbwBlw5bzDqAjMPNWrr5vYAlhEOwzhL X-Received: by 2002:a17:902:7405:b0:1db:33d9:2892 with SMTP id g5-20020a170902740500b001db33d92892mr1219898pll.27.1708002207220; Thu, 15 Feb 2024 05:03:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708002207; cv=pass; d=google.com; s=arc-20160816; b=wJoE3lYQBjb8oouO4B+AhBEj0PeZt6ykVJkLhUHjfGTFjG0wg+ehTdxMnFN11Nfi+X jWn6eDkDekYgzA+J3PU0Ux+/Wi18ScOYG6d8kasyCejQUicF//iba9/9IY+ULZjEvnuT 029IzrLgRVQ+f68PHnk4TM3tJ6EPPOgOltQr1LLgMEivIRYTYYGTC4Hu63AeSGyzMEdP h7yCE2XauqOSWoSVGrwWE7nj+XxQBXuXcFOvVDoxfklYyk0Ieo85N725B6a0C7lH0g2+ 88ALdTetirJLFSlWu2NMpURBZ+1v5bpnxK5DpmO3b7HWvO2X3jXQxkEcclgT8qshhevJ BzMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=ROr4NRLABKiQSgKW14C9gOoap5QV55IMjmz3jyKtTKI=; fh=IXmnaKDd/Y2yM6BpI6h5VlygVpxtmsrYlCtHGPQI1xM=; b=w1pzGYhF7Mrp6PUJP+nitnxfWkslCVgNi1tLfsJXN8+uO+tvC3aCKF1hXR0eOH0ZTx ZFVJXpFCannpEYNDvNQKXKNurN80eFd/yV8R+KIL5qplsxJnJIVzTwvcQxxgEBMlfB59 gNGq+1RULTzvWcDERvYFzArXQj+j1nkeVFGS9Q+YNFqDTg0PMoX3JMs+vq4stbX9WQmR X+3b+MttMqvS+XPIW9DuGejsjg6nD/dJ2BbhclYUrqcQx13VXCdGg6yn7Jr4v4FfZ/pO itqqtHZeeklpaxR9fJyRwe/5yKYTdsWVOBynlGk2nKnfdz3p6mzI9HfkxGFFERB62e7M wHkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66945-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66945-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lv11-20020a1709032a8b00b001d99acc35b8si1132319plb.573.2024.02.15.05.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:03:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66945-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66945-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66945-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 526B428C116 for ; Thu, 15 Feb 2024 13:01:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50A4F12F399; Thu, 15 Feb 2024 13:01:07 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CFF4128837 for ; Thu, 15 Feb 2024 13:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708002066; cv=none; b=M5KTnMaZw1olaytqV3TeUrf3nHBUKpmBi8IwE4brOoU2lMl1SVyJvaJ06QBQQJ4BUYq1+vBaQYNTNzDOkDyuyXC0M90igVctwYFrV/dxLWTTSZ/h7DBiTM0RIQg7Wa0aAD3zWgCoKc9mvUiNfas25MnNTu52pCB9oLhh4z655Ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708002066; c=relaxed/simple; bh=jc15789bDMt21egKqX/pmOgCvN19cqwTcBI3ocGrRmo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=pMqs75Q0QG7pHJeBK1KQmwTCvJWBSv8VcEuyq3ERyBrYAMfwCZlMQz35E2gYjWexOYQLavJZD6AH9ZMnAwYsaSK2WYhikajVfT+HEaQBWn878l7FrAUc+zVUgTnyhMgBrkfGnVZIkz3r7whs644uAL44FD9Fg7QhTrlUJdB1IFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TbFYW3FMLz4wcM; Fri, 16 Feb 2024 00:01:03 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot In-Reply-To: References: Subject: Re: [PATCH] powerpc: Force inlining of arch_vmap_p{u/m}d_supported() Message-Id: <170800202445.601034.6210064022309317315.b4-ty@ellerman.id.au> Date: Fri, 16 Feb 2024 00:00:24 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 13 Feb 2024 14:58:37 +0100, Christophe Leroy wrote: > arch_vmap_pud_supported() and arch_vmap_pmd_supported() are > expected to constant-fold to false when RADIX is not enabled. > > Force inlining in order to avoid following failure which > leads to unexpected call of non-existing pud_set_huge() and > pmd_set_huge() on powerpc 8xx. > > [...] Applied to powerpc/next. [1/1] powerpc: Force inlining of arch_vmap_p{u/m}d_supported() https://git.kernel.org/powerpc/c/c5aebb53b32460bc52680dd4e2a2f6b84d5ea521 cheers