From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.groups.io with SMTP id smtpd.web09.2026.1610394278645971313 for ; Mon, 11 Jan 2021 11:44:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=f9ndLrHc; spf=pass (domain: redhat.com, ip: 63.128.21.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610394277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7cQnHMXJZW20zffW+K3QQnsXfnDFvkchANcQsYXQD1M=; b=f9ndLrHcYzz4oXS5RxGxOGG8xpFIhZl0wrlJ4Su9jxSSymXytTZ4o2qWcSWDMgscFE3cjn Z8uOA99F4lHgtd04V+qyZ5m7z5iTXOkq0GBTPqqwrQ32jwQT/8sWpiCUFdclxtmLQxf9gP JRTOuVe6PthuSuuejrdFODBzqwCg42Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-432-fSY0sytFML6onKXqBFMLDQ-1; Mon, 11 Jan 2021 14:44:33 -0500 X-MC-Unique: fSY0sytFML6onKXqBFMLDQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A5A92107ACFA; Mon, 11 Jan 2021 19:44:32 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-112-114.ams2.redhat.com [10.36.112.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id A8F8160BE2; Mon, 11 Jan 2021 19:44:31 +0000 (UTC) Subject: Re: [edk2-devel] [Patch V3 2/2] MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability From: "Laszlo Ersek" To: devel@edk2.groups.io, heng.luo@intel.com Cc: Ray Ni , Hao A Wu References: <20210104065954.3901-1-heng.luo@intel.com> <20210104065954.3901-2-heng.luo@intel.com> <9a081622-94c8-d921-1631-b595f189c807@redhat.com> Message-ID: <7b6ecc0d-0933-68a4-0eaa-917d38297e36@redhat.com> Date: Mon, 11 Jan 2021 20:44:30 +0100 MIME-Version: 1.0 In-Reply-To: <9a081622-94c8-d921-1631-b595f189c807@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Hi Heng, On 01/11/21 20:38, Laszlo Ersek wrote: > General request for the future: if you implement some kind of policy in > core edk2, please at least *document* the policy somewhere. It's > unacceptable to have to decipher the source code for such a possibly > impactful change in the core. There is no need for a wiki page or an > RFC, but a sane bugzilla ticket and a sane commit message are required. > > (The documentation of the PCD in the "MdeModulePkg.dec" file is > unsatisfactory too, and the UNI file has not been updated at all.) Wow, I've even found the following regression in the bug tracker: https://bugzilla.tianocore.org/show_bug.cgi?id=3158 Your approach in https://bugzilla.tianocore.org/show_bug.cgi?id=3158#c1 is entirely wrong. It is not the burden of platform owners to fix up the regression you have introduced. It is your responsibility to *not break* existent use cases. You can offer the feature, and platforms that want the feature may enable it (or you can enable it by default if you can prove or test that no platform breaks in response). Please revert this patch immediately, or flip the PCD default to FALSE immediately. Laszlo