Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1224106rwl; Wed, 12 Apr 2023 09:45:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZY2vTp9zz4jCbLz/ubJqKSJSj8Y9pVaeYZ8zxWZuwlFr/3Ed0HSl8KqNRpRMwnc9n0POCM X-Received: by 2002:a05:6a20:be0a:b0:d9:63c3:e299 with SMTP id ge10-20020a056a20be0a00b000d963c3e299mr14524382pzb.8.1681317935803; Wed, 12 Apr 2023 09:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681317935; cv=none; d=google.com; s=arc-20160816; b=mNliItMHxrg70fpLzm42U2cYTNa3EIWAOdsn6jNbieqvHHgGVbAlMMTkZWBFkR5YOw zPweX/qr3ILR/NsZcagV9omEME9b5VfPtVrZLlqqNPoOjN+VwulpjRTcoBzcw8MBksdh o08A4SQVfqiYXueFYZ9SslS0J6UeeRE8e8DC/gaYpff9jxJ5gRMevNWuCA/IQvVhiu4m qqNpyCKlEVodgyoUapWs7LGs+WC4NPnfv2mFXlDAuYsXoznvuMu8qQHsEubUBtfCbSSM c1PfE8OKxuxhBF6PFMiFF5ohP4S8v2CNC0io1JiEgJ4gOELYxezJl4ETcWWe1KRmPjtI 6jhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XmZm4Gha4P6JSpitXc4Ns06r3Vhto/xc0EEtpkIpVlQ=; b=e0SUiDbxjnYpqCvmUArqga08Td1BcEziM8/i7nBf/7up9YxMoyDrpNV7mivmUqmDDm EBc5SX+A4fw3B964JMI9MOcLT2qD05p4v35W0Wdklm4CfFckfcHRG+YCWLeiWMRkF864 qMdnbw5+Kteh/g95LWRdVBF3wxU6UabqL4nqUOTcTOZuOE7ij5DJpi+rRyqQJyd6SK9c xozwV6I4RsK9P0YFCmaLYk9cCBrdAZVDzRtC/fu1Zk3ZbHJdRSYUCWFTJLcKT+Pb3uzQ Xd33yi+FmPwwl3o/yVt4qodOqALF92FJ0889oo23QWi4wGKzu27CSp3s9qKAXe+oyKuB NVMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JWsLHopw; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a656255000000b00513f15fed67si15664333pgv.517.2023.04.12.09.45.22; Wed, 12 Apr 2023 09:45:35 -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=@linuxfoundation.org header.s=korg header.b=JWsLHopw; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbjDLQn2 (ORCPT + 99 others); Wed, 12 Apr 2023 12:43:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbjDLQnZ (ORCPT ); Wed, 12 Apr 2023 12:43:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DC8665A1; Wed, 12 Apr 2023 09:43:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3BC6463742; Wed, 12 Apr 2023 16:43:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EE23C4339B; Wed, 12 Apr 2023 16:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681317784; bh=tghXf6ZJNEtwzaF6Ct8z2O+2xY38x0zbM8ak45EK8/w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JWsLHopw7Xr+qeJ+1ZM3O8jXOS/hjzlARh8LHzPdDwG+rLR9BrwuS67i5bgXb595o Zkm9JuIY3OViS+6mKEPuJkhVGdxZ5evNBBJHYkhONELH9iKazSefoTp8nAbuJNciW+ LxCnpQVHdhrATPb5DwgdpfMTPm6sHCqKoGeDhzgw= Date: Wed, 12 Apr 2023 18:43:01 +0200 From: Greg Kroah-Hartman To: John Moon Cc: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Randy Dunlap , Arnd Bergmann , Bjorn Andersson , Todd Kjos , Matthias Maennich , Giuliano Procida , kernel-team@android.com, libabigail@sourceware.org, Jordan Crouse , Trilok Soni , Satya Durga Srinivasu Prabhala , Elliot Berman , Guru Das Srinagesh Subject: Re: [PATCH v5 1/2] check-uapi: Introduce check-uapi.sh Message-ID: <2023041216-antitoxic-finch-dd14@gregkh> References: <20230407203456.27141-1-quic_johmoo@quicinc.com> <20230407203456.27141-2-quic_johmoo@quicinc.com> <2023041015-lunar-dandelion-1b4e@gregkh> <2023041136-donator-faceplate-5f91@gregkh> <2023041209-armed-overlaid-3d3d@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On Wed, Apr 12, 2023 at 09:37:16AM -0700, John Moon wrote: > On 4/11/2023 11:14 PM, Greg Kroah-Hartman wrote: > > > Would you find the tool more useful if it simply filtered out all instances > > > where the size of the type did not change? This would filter out the > > > following which the tool currently flags: > > > > > > - enum expansions > > > - reserved field expansions > > > - expansions of a struct with a flex array at the end > > > - type changes > > > - re-ordering of existing members > > > - ...others? > > > > Obviously not, as some of those are real breakages, and some are not at > > all. > > > > Please understand what is an abi breakage. Adding new enums is not. > > Using a reserved field is not. Reording existing members IS. > > > > Yes, understood that method would miss certain classes of breakages. I was > suggesting it as a way to improve the signal-to-noise ratio of the tool > since we don't currently have an algorithm for determining breakages with > 100% accuracy. Why not? You know the different types of things here based on the differences between the dwarf data, and they fall into different categories, and those different categories mean different things. If you have questions as to which type of change is allowed and which is not, just ask us, the rules are not complex, nor impossible to describe, otherwise we wouldn't have a stable api at all, right? thanks, greg k-h