Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1188614ybh; Thu, 16 Jul 2020 05:48:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4qG7XXIklvpz8NZZwv5Yne4iVVrNon3DGB+ISJhURBmkqUEkr3t3BMC71vIO6q6XFi2wY X-Received: by 2002:a17:906:2e4b:: with SMTP id r11mr3478221eji.227.1594903719757; Thu, 16 Jul 2020 05:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594903719; cv=none; d=google.com; s=arc-20160816; b=tI6iHqMJJYk55fGl7DuaEjB8lXN01Cg8JmhETjaLvrbNf+HMDCjr07wAGQMuT47Iyi vl/fBmr5lChvqTvLEdu1Iam6mvowSG2d/FGHmIREGi5haek9YvjvkmnuLq67xclbqLM/ hCg2DLGiq1UAPyUPdQY6AKocy/3g1DIeC4M44iPA+NZvpEy3EqUPNLHuZK9NuR1/nsAB fXOdkHRjhgB9QIE8aNn829Es6SxYHM4bYkZk+YAGehpOTJ8dkEQf4poSqn/bAmxGm8ib VQiMDj9c0LWDuBAJ1vlV3BY0Zae3o+QoWCNnptPaE9VupicKrY9DpWbFaiVpJT+fpTlE ip2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:references :in-reply-to:cc:to:from; bh=VhYKUOveROdYjVnIaGvXD4EGRqjvv6YlShFeWsO/sKE=; b=ZUWD3h/yyr21IzvPLTFT74BCsY/NGgz5C5igetu38ijLvKsdWECTq2wgumDQFld4qN rjU6Q2HecyIRA7K2sXYlOoccfCXwZFau3+Lf7Z22e4ZFXdd1SomAmpwecyJS0Ccb1Z7P M8477PFs5iEqy+YBGPQY1Z8/m1N5lwiWJzMkh0dnUY5zQj3l3xGBeF1ymjW8NUZFrB6l AbAmC84ANwa8JuCpTWLdjHdusKsCIRwC/wl/ZDr1ByjuyAhxdYUmTRp0rYRHmSoFyXai CF7nX6nRtW2hQTjxFFvBSXs/bj5cltYwfPju/neLFvMKzoMh4CQrj8aeSk5P5aCaucS9 ZdXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si3022044ejr.391.2020.07.16.05.48.15; Thu, 16 Jul 2020 05:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727106AbgGPMrv (ORCPT + 99 others); Thu, 16 Jul 2020 08:47:51 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:50051 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbgGPMru (ORCPT ); Thu, 16 Jul 2020 08:47:50 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4B6vDP0wsfz9sTF; Thu, 16 Jul 2020 22:47:49 +1000 (AEST) From: Michael Ellerman To: Satheesh Rajendran , linuxppc-dev@lists.ozlabs.org Cc: Laurent Dufour , linux-kernel@vger.kernel.org, Thiago Jung Bauermann , Ram Pai , Sukadev Bhattiprolu In-Reply-To: <20200619070113.16696-1-sathnaga@linux.vnet.ibm.com> References: <20200619070113.16696-1-sathnaga@linux.vnet.ibm.com> Subject: Re: [PATCH V2] powerpc/pseries/svm: Remove unwanted check for shared_lppaca_size Message-Id: <159490364667.3801815.6147810158620423747.b4-ty@ellerman.id.au> Date: Thu, 16 Jul 2020 22:47:49 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 Jun 2020 12:31:13 +0530, Satheesh Rajendran wrote: > Early secure guest boot hits the below crash while booting with > vcpus numbers aligned with page boundary for PAGE size of 64k > and LPPACA size of 1k i.e 64, 128 etc, due to the BUG_ON assert > for shared_lppaca_total_size equal to shared_lppaca_size, > > [ 0.000000] Partition configured for 64 cpus. > [ 0.000000] CPU maps initialized for 1 thread per core > [ 0.000000] ------------[ cut here ]------------ > [ 0.000000] kernel BUG at arch/powerpc/kernel/paca.c:89! > [ 0.000000] Oops: Exception in kernel mode, sig: 5 [#1] > [ 0.000000] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries > > [...] Applied to powerpc/fixes. [1/1] powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size https://git.kernel.org/powerpc/c/b710d27bf72068b15b2f0305d825988183e2ff28 cheers