Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2555188ybe; Thu, 12 Sep 2019 11:11:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlSCS6+3WRRJnBsAmPF5N8ZLCan+hdgesXW2/qT+OB2vYcuzXbDKTPHXEA+mQTNjdmvMIL X-Received: by 2002:a17:906:aad2:: with SMTP id kt18mr35617633ejb.201.1568311897641; Thu, 12 Sep 2019 11:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568311897; cv=none; d=google.com; s=arc-20160816; b=J8QZUKqH7h5HoolGJTMsvEKqiV5aa6/odWfGUw5pir+hHwfZCzyyrd7WbUUltDtV73 4jCdrDP+Xw4UcS9yokcrDsdomgU96AV13eOv4j9SnPzKBVMbYhSFv7/kMvZvKmZBMPeR 3ati3VE7CbCxiGxnLzC8E3XYxkV6USG7O3qjAlTlt43P0Ncc60A5GnepCba+E9FTBHAG OdItSSxwyTNFXqxCatvYrEKSghQpdLvDtXqKIb0uKBiIEAwoe0g/7e+mmbd0wsd0FM0G oL13Ck4DL/u19GMzhK8uIfvs5/42UBpwR8Ylo5G93Tqdy1HyJj4PliPDGqtJQ6C/0CS4 wl8Q== 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:references :in-reply-to:subject:cc:to:from; bh=n0EEg8T10q/S7ZsTs+TRDinvZTLA9NfplgygZMxSc0o=; b=irq9jb6i3yIQfyb0QTfvxJiMxL6lAjA0uTMOIcTkSD6gfSAip7h8OhRFdHLQd0u7wg 5Pdc0uQj9F5cpS+KW5UJ8iWeOi1Zk0g0/4n0BZu+YamVClVVqY0Ps2MwX0Ry1Ufrxa0c hxUP5EBTYoM062Tu9MpubCTSPOhkTJQXhr1+hI5EP1QmKhJ1TNC2nf4olm1g72ZGcxuv 76QBEHjt3x1QyDNKvHmsor56rYaJ4vrasufoV3VRW4czYqqwd/2qlGhsiuwhBZf/5Tbk 8+KzU3qJLSClnSRhQf/hcTDa3JP1v3rajYQbiR7t/R9r9g0MMT80ANxLp9vbGDmhVD4k 2+Ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id j9si7671455ejt.290.2019.09.12.11.11.13; Thu, 12 Sep 2019 11:11:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1733084AbfILPkC (ORCPT + 99 others); Thu, 12 Sep 2019 11:40:02 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47324 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732566AbfILPkC (ORCPT ); Thu, 12 Sep 2019 11:40:02 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x8CFXoMW109103; Thu, 12 Sep 2019 11:39:49 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 2uyqfmv0k7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2019 11:39:49 -0400 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x8CFYJmk111935; Thu, 12 Sep 2019 11:39:48 -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 2uyqfmv0ju-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2019 11:39:48 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x8CFZlMR026556; Thu, 12 Sep 2019 15:39:48 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma02dal.us.ibm.com with ESMTP id 2uv467yxgm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2019 15:39:47 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8CFdj4j52166930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Sep 2019 15:39:45 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D3F86A061; Thu, 12 Sep 2019 15:39:45 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7AA6D6A057; Thu, 12 Sep 2019 15:39:45 +0000 (GMT) Received: from localhost (unknown [9.41.101.192]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 12 Sep 2019 15:39:45 +0000 (GMT) From: Nathan Lynch To: "Gautham R. Shenoy" Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Vaidyanathan Srinivasan , Kamalesh Babulal , "Naveen N . Rao" , "Aneesh Kumar K.V" , Michael Ellerman , Nicholas Piggin , Tyrel Datwyler Subject: Re: [PATCH 0/2] pseries/hotplug: Change the default behaviour of cede_offline In-Reply-To: <1568284541-15169-1-git-send-email-ego@linux.vnet.ibm.com> References: <1568284541-15169-1-git-send-email-ego@linux.vnet.ibm.com> Date: Thu, 12 Sep 2019 10:39:45 -0500 Message-ID: <87impxr0am.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-12_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=642 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909120160 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Gautham R. Shenoy" writes: > The patchset also defines a new sysfs attribute > "/sys/device/system/cpu/cede_offline_enabled" on PSeries Linux guests > to allow userspace programs to change the state into which the > offlined CPU need to be put to at runtime. A boolean sysfs interface will become awkward if we need to add another mode in the future. What do you think about naming the attribute something like 'offline_mode', with the possible values 'extended-cede' and 'rtas-stopped'?