Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1186166lqb; Thu, 30 May 2024 02:59:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKKNDw5SaTU29xBHQgLycq6ytX+hCVy5u8Z+xRx3qewHr8uXq0K2I5J5XyAg4QLc2xTllmUSYJl0Ho+xI138Men5iEiwAMBxUBmiCIUQ== X-Google-Smtp-Source: AGHT+IH7Ggyse/1UcpTvqFXAEUvH5Hf6ad9rE2lLrGTHeqd0Efqzs+QTWASWugdZ1DbvgE4fBmi3 X-Received: by 2002:a05:6a00:450c:b0:6f3:ecdc:220e with SMTP id d2e1a72fcca58-702311ddf6cmr2090161b3a.24.1717063156242; Thu, 30 May 2024 02:59:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717063156; cv=pass; d=google.com; s=arc-20160816; b=Zt2Ex4OUL9YvyiyDuG3sTtl5uZ5x2fCh2f7n0tzdvWKh/sX+dNEn13wb8C4ejmi5KU 77qfGwhfUEaoq/l2FNYKClJVWN0svzQHbT+UD9lVCpfcAt0zci34XL2fF8zEy+10sgSI XAKwVZefWVeEwzRQZNhRUvOFORo2GeCM20xWM9S28BboeP51BzscLNDN3p2E4YmY/foh WzOEtSh41w4RT8CVqCoNV2fpWnSWgMZgCDp4o536FxazVm40EQkyOPXKDSLpHGrjTumj shyhVAOgbHJZLFwLBMJ3hoiikjpgZViFDZkcU+bO2AD8yIaSZbY1PE/LYJlWHvmmpdTJ L0ow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=EoCF9CEsDQuWFBvfe+ol3H4MmAOovrJ/lqBuRsL+qrY=; fh=qU0s4fFOqy1O8cgnNf/vNgY462TdHUkr4Vg6JWRCkhM=; b=JQi36y56vq6qIFg6hxxloL+UWMm2/4CPsbw1LCwtzbXy9eVGZmt1rdFcl2tPMuez1V yEzTdZOxclmriwnXdbsPSXZQNQmKYgxXqWxd+CXUDFXEBWda84JFciOZ2GXgxjqsGP0y nzSlQJVwRkLGxK2WIT3mvNHKOOD5/8n7B9h1sifUSqd602/QS6LQXQi1N751pJcfz0qx 3LQVD/nWk+XkGH2C2bi/hrhvBvZPlUssRZjcHZGjdz1yfDBB6bzZhzBs3XGk33WIQ34Y Xy08hVdjXhjng17RIJHVh5xVWneoJ7ver6jlKFRtDCnAQRVDvOYeBZ18L2DASXtpJvFJ XtLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=IHVWIpq+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=g9HeyhDu; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-195216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6bbe7c1d897si1836894a12.62.2024.05.30.02.59.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 02:59:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=IHVWIpq+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=g9HeyhDu; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-195216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 45A89B26443 for ; Thu, 30 May 2024 09:50:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 081B81586C8; Thu, 30 May 2024 09:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="IHVWIpq+"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="g9HeyhDu" Received: from wfhigh3-smtp.messagingengine.com (wfhigh3-smtp.messagingengine.com [64.147.123.154]) (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 E37C614D71B; Thu, 30 May 2024 09:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717062651; cv=none; b=DOnK0Fvh+Awzixabho8+fAiPaL+qjACuFExFYXiws4dE5ktBTk7+zrJDUt/Z1U1d53VmAMMPlpc8aPJ0DR1QhDri1LkdEOzSDn8nZSfC1YP6vTOksSajoXSTe/0VCY91r4CokCa5A6coJItJZIEv67fCST5rVYPlbwwNEaE+8rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717062651; c=relaxed/simple; bh=TYAa6LrsH4ZpL/6JA7vVWCjcf2hW1D1GbSww//UmSu8=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=eoCJ903fuHLlKARafAJxWsX9zsFEy6tzwsvDvSfYP06QmeTq314ZJ3RwDzdp9VFH7jAjc32Mrh/5eoYslkv0cAQD+8xApd1eOd5uHf0GxknjJnTbsAK5+YTL8524oUiSxFX5R8YAJ6qeGkJT45cak3eTT0z9mzXdYzJwgJjFlTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=IHVWIpq+; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=g9HeyhDu; arc=none smtp.client-ip=64.147.123.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.west.internal (Postfix) with ESMTP id F092D1800124; Thu, 30 May 2024 05:50:47 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Thu, 30 May 2024 05:50:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1717062647; x=1717149047; bh=EoCF9CEsDQuWFBvfe+ol3H4MmAOovrJ/lqBuRsL+qrY=; b= IHVWIpq+4MC3JbXynRj67WVI5IDA6ZfPq2aA2lOFyyc/zeO5Q0j0PbzhR9FIgn4U NsCPgYvFnRF66lA9CNOqYXirnBUdC3fl1yBxMdHN+bRO61kogSv1aEO4t6KFwVh2 KItd2Q7h4SEM0qAMkZ5yB+e34zSYBVksl3PD/be6T1sCfOEILWcVCQr0FbS7q94P 7r5K9vjLxrMszQmuuwPlOPqHZUm2BaWPTx0L+N4Lcx0DFxKQhHmZ6VjtIPqeLeLf gS2wzVbPX809PKl9vm1+cAxY4N/NUQP3x7WSfGqaeyqRPpudA3OrhTV5BvWz4yrH Jt+BbJQZo8ivtK0VnB8T+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717062647; x= 1717149047; bh=EoCF9CEsDQuWFBvfe+ol3H4MmAOovrJ/lqBuRsL+qrY=; b=g 9HeyhDuhRnwF4cqgc9xluXiTWjS4yRJ8jIbJTwp8mcBrub6ysbVpZEANthgymuFc /t/y4sq4uexrNQed+DnaA9lTsgr6V+AW9FG0bplSlYlhsjFDpQSVSG/Hd9ReQa6Y VhKdOI9n9WOuzNUuRV0MaXkTainj8FScAW4El/C2UIbw0Uv3DD0qfY6ZvCHUIhX3 NY1qXqr8Ds8w7TwKlwmi8NUtLAfzLGfmyPVu+6t+WUKjPsGh3ch6LmFuvzIORwvU 8KRZApTEYbSunoVlH5IzV3HOF93NZ8Wy7KYbTLA9HGjno9fUMGDjgRjoZ6jelc7a EZybXeykhg3EdrwH0T8HQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekgedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpedufeegfeetudeghefftdehfefgveffleefgfehhfej ueegveethfduuddvieehgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5723E36A0076; Thu, 30 May 2024 05:50:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-491-g033e30d24-fm-20240520.001-g033e30d2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <173627fe-3370-413b-8f9c-50c65892cef9@app.fastmail.com> In-Reply-To: References: <20240522-loongarch-booting-fixes-v3-0-25e77a8fc86e@flygoat.com> <20240522-loongarch-booting-fixes-v3-3-25e77a8fc86e@flygoat.com> Date: Thu, 30 May 2024 10:50:28 +0100 From: "Jiaxun Yang" To: "WANG Rui" Cc: "Huacai Chen" , "Binbin Zhou" , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, "stable@vger.kernel.org" Subject: Re: [PATCH v3 3/4] LoongArch: Fix entry point in image header Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A82024=E5=B9=B45=E6=9C=8830=E6=97=A5=E4=BA=94=E6=9C=88 =E4=B8=8A=E5= =8D=886:01=EF=BC=8CWANG Rui=E5=86=99=E9=81=93=EF=BC=9A [...] >> /* >> * Put .bss..swapper_pg_dir as the first thing in .bss. This will >> @@ -142,6 +143,7 @@ SECTIONS >> >> #ifdef CONFIG_EFI_STUB >> /* header symbols */ >> + _kernel_entry_phys =3D kernel_entry & TO_PHYS_MASK; > > - _kernel_entry_phys =3D kernel_entry & TO_PHYS_MASK; > + _kernel_entry_phys =3D ABSOLUTE(kernel_entry & TO_PHYS_MASK); > Thanks Rui! Huacai, do you mind committing this fix? Thanks [...] >> >> > > - Rui --=20 - Jiaxun