Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1408382pxb; Mon, 11 Oct 2021 05:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya9NCA42BlWplSXpctxMo4Iz5yK9PfXsMAZAo1AyOf6mpViL7Lt3G74hCHeRNQa3FygWMX X-Received: by 2002:a17:90a:df91:: with SMTP id p17mr16014998pjv.185.1633955454179; Mon, 11 Oct 2021 05:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633955454; cv=none; d=google.com; s=arc-20160816; b=o5dr7txact9rEYwHVp8tMIMnjF5yljhOXG9kVy3xwBYOOPKxEPWsKRPcRWUAkpIvB9 JCHon0ZFTinVSKJ1OvGgxAPiJ4HmwFoS1blQgFct6VjBzW0AhFc9t57P2JzlQ6hiohRE /mPx1DLRoDovHqlrHKWxj/hEY2zOr9tzdIJJEGXtrJN7fHROXeGpYeV6zYawXQhLNKuM 0CvLlYzwKcaD0k4CHD9rL3TwSN+s1PFc7XkvOAnQzS5kfpJGFVdjGxrMVnqAH7g42xrD rgQaxBvOwtJoHEGSJ/M2F5/VlphaZKSKSM7Ksx3WRzVGXfN2+RIg6l0ACsf64ldmZVCI NZpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Hg6mieHthq3FD7PMeVDqiHe3YsB3NUmLy8VHz7syO+M=; b=oEeu9Sb4WmbL8yMJGWTZfARYnWZAmyXDchPTs4CL6SFaFPrhOWXfHIFBReQTa9MiDa izWdNVQlY2dm/Ge6z68nlZvafOGcOkohOSuH2PnCIwIqNsEhthX1OK3CzFt2qb1SOQel KYyaqTgpmECBv9868h2xkA7gagTlPEXL5u57WkYufg3C7EliS3wpvPKaAx/xcY9oeeEj 9L4SKB2D8X4yWhiDXuazUimHnXRhuldNY/8coVvrhGKqax3dBOZr3W2nwxcMFYVMiqbj YxpZtzbsrISZlJvx9W2SBSdu4YQO1gVjjP33ZJHL3kWaux8pLmGNtFvvxFGG7DaxE9qh 9+Pw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f126si9605901pfg.59.2021.10.11.05.30.40; Mon, 11 Oct 2021 05:30:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234714AbhJKIEJ (ORCPT + 99 others); Mon, 11 Oct 2021 04:04:09 -0400 Received: from verein.lst.de ([213.95.11.211]:36271 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbhJKIEC (ORCPT ); Mon, 11 Oct 2021 04:04:02 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id CF92A68AFE; Mon, 11 Oct 2021 10:01:35 +0200 (CEST) Date: Mon, 11 Oct 2021 10:01:35 +0200 From: Christoph Hellwig To: Simon Ser Cc: Christoph Hellwig , Alex Deucher , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List , Daniel Vetter , Benson Leung , Enric Balletbo i Serra , Greg Kroah-Hartman Subject: Re: linux-next: build failure after merge of the amdgpu tree Message-ID: <20211011080135.GA11242@lst.de> References: <20211008113116.4bdd7b6c@canb.auug.org.au> <_POw9ikafXoqSFqiOb8SZb_uvRZ4okgD4qrl4EtJ0UBiQTV7pwV3pJIM20eIzmpuFWDeBF9NPD00r72ttX0mZZ0bNeH_J44MoaB-jfjrQSU=@emersion.fr> <20211011073348.GA10672@lst.de> <-6WWj2RSqFheia8o3VKtAiF3bELME9376cYzwiLSY1-E7p9nqfWNqJ5i86Q--BKXa3aolokj8g8nj2tQorzn0LXuD85tD_rXSfE5t1lsvBs=@emersion.fr> <20211011074316.GA10882@lst.de> <20211011075125.GA11098@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 07:57:17AM +0000, Simon Ser wrote: > No, we can't have a "I_AM_NOT_BROKEN" ioctl for each and every uAPI mis-use. > User-space detection has been determined to be the best course of action. If your API addition breaks userspace, yes you need an add-in. > I guess I'll just inline these functions in the driver then, if a revert will > be NACK'ed by you? It will be NACKed, and I will also complain to Linus about any PR containing buggy code like this. With your completely broken change you cement in a mapping of an executable name to map to what you consider a "bug" without any way to fix it up. Which is even worse for a something fast moving like chrome/chromeos which will eventually gets its act together and fix things while you'll keep a weird feature mismatch just for it around forever. No wonder our graphics stack is stuch a convoluted buggy mess if you keep piling broken workarounds over workarounds instead of sorting things out properly.