Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp168870ybg; Mon, 27 Jul 2020 19:20:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgO2IiIR5/OroIiIQfko9ZIP7ry6OqEijztvEW63lkwgshYRcZjSjV4SQfbaMooaUTITZb X-Received: by 2002:a17:906:f905:: with SMTP id lc5mr7625288ejb.340.1595902840375; Mon, 27 Jul 2020 19:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595902840; cv=none; d=google.com; s=arc-20160816; b=veH7mVCLmncYHjysYlLl2DLqNwp9Lu9P0iWg0ULCbtecYXyIxHgT9GJ7/YYkei+Ra0 2mqKehaQqJp2/xOLb+XLGRHZzFKJ8CH2VNd2k1ocrt84pKo07PqJLlnAahb+wYy38h6y JNBNIbc+1d0ddQyf4JTLb6EgJFLIqzh5YMjzs0JzbAUGfReXlAoCF/aYMGah+r3p48L3 EZMGPD76dK0265A1THxBQV2I+LvrDhEbUu7N+6n24+GnBmpgTkDWhHJqadx82vDc/5UN cZXc7uiO/+JQ4Ae0C60Y7ki1N5hXVW+jzzqUSUicc8pdKOH+HpTrIbk51Sd6g2kEqGYe jGEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=4fA3iJ0Dpc0yZRETc2f3JKFPx4wegIPn3K/FYC6rjgI=; b=lqY9qodRfPqtV0uW2RCmrfzHR8t1eRAOW0jf3X1xBM7hDbhzWUgGdEhcJ0b8Ooi9Yn eS8J1rYIrKRgY17iInIQGe0TSNoUuTwPrhSJriwWjTM0QrZnAyubEYqS2KWroGqzQhnW QiEEihftB2PTj3nW2oqaKR4wDuD2tgYgiJKBnuet5QdfCreZkIVh2c0f4101QeSPWPiZ sE91U7ym+uo13KXrfl6U0KJoYhvXJzntDBbBPgytbAiyQzcCXRmvjjcCRcwmKey5t4Qt furxwNiT2Ja4LKNap87UZE5K7rnB523RvHyk6Jx0cO+IwGuPpkFur9kpoDVTxefsiRqm jYqA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b24si6863311edw.188.2020.07.27.19.20.17; Mon, 27 Jul 2020 19:20:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726845AbgG1CRo (ORCPT + 99 others); Mon, 27 Jul 2020 22:17:44 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36136 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726247AbgG1CRo (ORCPT ); Mon, 27 Jul 2020 22:17:44 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06S23aAj093814; Mon, 27 Jul 2020 22:17:33 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 32hsqfeb7s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Jul 2020 22:17:33 -0400 Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 06S28uGZ113120; Mon, 27 Jul 2020 22:17:33 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0b-001b2d01.pphosted.com with ESMTP id 32hsqfeb7e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Jul 2020 22:17:33 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 06S2AeBO004692; Tue, 28 Jul 2020 02:17:32 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma02dal.us.ibm.com with ESMTP id 32gcy439jn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jul 2020 02:17:32 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 06S2HRpu57803244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Jul 2020 02:17:27 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D3C2AC605A; Tue, 28 Jul 2020 02:17:30 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 869BDC6055; Tue, 28 Jul 2020 02:17:27 +0000 (GMT) Received: from morokweng.localdomain (unknown [9.211.132.76]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTPS; Tue, 28 Jul 2020 02:17:27 +0000 (GMT) References: <159579157320.5790.6748078824637688685.stgit@hbathini> <159579233676.5790.10701756666641782647.stgit@hbathini> User-agent: mu4e 1.2.0; emacs 26.3 From: Thiago Jung Bauermann To: Hari Bathini Cc: Michael Ellerman , Andrew Morton , Mahesh J Salgaonkar , Sourabh Jain , Vivek Goyal , Dave Young , Petr Tesarik , linuxppc-dev , Kexec-ml , lkml , Pingfan Liu , Eric Biederman , Mimi Zohar , Nayna Jain Subject: Re: [RESEND PATCH v5 07/11] ppc64/kexec_file: enable early kernel's OPAL calls In-reply-to: <159579233676.5790.10701756666641782647.stgit@hbathini> Date: Mon, 27 Jul 2020 23:17:23 -0300 Message-ID: <87eeowxu18.fsf@morokweng.localdomain> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-27_16:2020-07-27,2020-07-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 priorityscore=1501 phishscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=934 adultscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007280012 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hari Bathini writes: > Kernel built with CONFIG_PPC_EARLY_DEBUG_OPAL enabled expects r8 & r9 > to be filled with OPAL base & entry addresses respectively. Setting > these registers allows the kernel to perform OPAL calls before the > device tree is parsed. > > Signed-off-by: Hari Bathini Reviewed-by: Thiago Jung Bauermann -- Thiago Jung Bauermann IBM Linux Technology Center