Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp826267rwn; Thu, 15 Sep 2022 07:04:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6N9ETDRbB94H0rOpc7Tii2LpUwT7eDWm3cKnujxGsnHd2j5Mt8dp1jPSaEctCXkdEbd7FC X-Received: by 2002:a63:87c8:0:b0:438:e0db:3211 with SMTP id i191-20020a6387c8000000b00438e0db3211mr30553pge.512.1663250649825; Thu, 15 Sep 2022 07:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663250649; cv=none; d=google.com; s=arc-20160816; b=P6HaEdPB1q1TqZfGnbMfqpERU/BXba9pAQQ/02vaQ9BYVaCVeUHJUKAbavazBJeC1y fMY532GW2u58I1xTrWzLbUVx4YPMoH1HrCdAJIhLtOyDbMa1WuXKsSWpB0+GSgm3MV6h jTwBVr/Bt6pMJx3SNiC4+fCQkM5lNaFELT0EEMyRSePt0UTky6i/A/lxDds6fEKJuAN2 6oonlhBIWdGeajIbEQCY/vHqm0VcC6Q2oCQ1XYIfJEkbd4Iqlldf/lJgaQhGInYuRkLf l6ZB6TscJUA89J69WCADigx55BB6DIkh7Nr8dW5Lzkm2Xcu0CX/0enst33ChQxDg5g0h AQNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=DUiCHVuZrvBO36klH9izOeBWCZAy20AWfKcpBlwGBq4=; b=MILz3gmT79oe3Sha/gLCX3lWFI8iu9zjgKnvHBv65MxCXZgHoCoBnAfIdTqKg00tpF JbDW/jIlbgYPcxZxBfLLvh9wjwvXm2l+ZzO16XqyCbWAydFEryphnri5Nhf5awx3vopv P4EWglGvSMLh9PTDCIonHltD2DlFjHbbvYTJ+j5Sac6DGuEgTGjDyFTdnksQb5GVJWcI TNsytALdL+VP0KfDGlV928Nth1xR+EAyqgRHQdyG3hABYMHgZpzuo0lIZYZnEwlF1J7j 43GRKDoIA0TECfq4nfFWL/FICBLpvGdg3uNjllyo3+CT/91ZozQOi5w1DXLibwyFF8U+ r/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=QuhoIGmm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v190-20020a632fc7000000b0041cd5c02963si18304569pgv.334.2022.09.15.07.03.44; Thu, 15 Sep 2022 07:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=QuhoIGmm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbiIONpy (ORCPT + 99 others); Thu, 15 Sep 2022 09:45:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbiIONpd (ORCPT ); Thu, 15 Sep 2022 09:45:33 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9963659E6 for ; Thu, 15 Sep 2022 06:45:11 -0700 (PDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28FDCXPQ004631; Thu, 15 Sep 2022 13:45:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type : content-transfer-encoding; s=pp1; bh=DUiCHVuZrvBO36klH9izOeBWCZAy20AWfKcpBlwGBq4=; b=QuhoIGmmHoV2lGJImEHwmkjZ9GI44np1+7KDrkMCUBlOvd4MMv6q4XeACBYf6WGRgDER pmk4Vik0HqplwUfyxpirBMgs7ETlWh0pRW4U1gwS8a1X5MPgQcR49TcZ3repD6Pam72c YqP+9d3wKRuSAGAGscKMzqZ45ZnXB/QmgJfPnpsdUiNc8cAul8NZtm32xQYqVSyJ8WMp LnCZM6I/b4oKRfjJpdxwZe7Fbt6KloUv43wLGFF+V76ZcTPhP02oe+HykT5+0+z1OSjT jbAsUCbeJEgk01hg9DuhucxaergMKtWGB8Fha8LUu6NQpKR8U77AHD8NydtWCu3nUvXV AQ== Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jm4qr15cj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2022 13:45:01 +0000 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28FDalNr007133; Thu, 15 Sep 2022 13:45:00 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma02dal.us.ibm.com with ESMTP id 3jjy2neg70-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2022 13:45:00 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28FDixjR65143274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Sep 2022 13:44:59 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4B92028071; Thu, 15 Sep 2022 13:44:59 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2944D28060; Thu, 15 Sep 2022 13:44:59 +0000 (GMT) Received: from localhost (unknown [9.65.104.87]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 15 Sep 2022 13:44:59 +0000 (GMT) From: Nathan Lynch To: Michal =?utf-8?Q?Such=C3=A1nek?= Cc: Laurent Dufour , Tyrel Datwyler , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Michal Hocko , Lee@kitsune.suse.cz, Chun-Yi Subject: Re: [PATCH] powerpc/pseries: add lparctl driver for platform-specific functions In-Reply-To: <20220914081419.GE28810@kitsune.suse.cz> References: <20220730000458.130938-1-nathanl@linux.ibm.com> <0ead0cd1-f6f6-ecf0-65d9-f3d9366e258c@linux.ibm.com> <87k07dl1f6.fsf@linux.ibm.com> <20220913091302.GY28810@kitsune.suse.cz> <87v8prtgcj.fsf@linux.ibm.com> <20220913163343.GA28810@kitsune.suse.cz> <87sfkvtdfx.fsf@linux.ibm.com> <20220914081419.GE28810@kitsune.suse.cz> Date: Thu, 15 Sep 2022 08:43:20 -0500 Message-ID: <87leqku51j.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-GUID: el257NwRPQ7fxjA3_1kwWFrfGZMoGHpa X-Proofpoint-ORIG-GUID: el257NwRPQ7fxjA3_1kwWFrfGZMoGHpa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-15_08,2022-09-14_04,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 adultscore=0 malwarescore=0 phishscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=852 impostorscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2208220000 definitions=main-2209150078 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal Such=C3=A1nek writes: > On Tue, Sep 13, 2022 at 12:02:42PM -0500, Nathan Lynch wrote: >> Anyway, of course I intend to support the more complex calls, but >> supporting the simple calls actually unbreaks a lot of stuff. > > The thing is that supporting calls that return more than one page of > data is absolutely required, and this interface built around fixed size > data transfer can't do it. Again, it is appropriate for the system parameter commands and handlers to deal in small fixed size buffers. Code for VPD retrieval will have to work differently. > So it sounds like a ticked for redoing the driver right after it's > implemented, or ending up with two subtly different interfaces - one for > the calls that can return multiple pages of data, and one for the simple > calls. > > That does not sound like a good idea at all to me. That's not my plan, and I won't be trying to get anything merged without supporting some of the more complex cases. OK?