From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDED7C43462 for ; Thu, 8 Apr 2021 16:46:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A359361131 for ; Thu, 8 Apr 2021 16:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232375AbhDHQq1 (ORCPT ); Thu, 8 Apr 2021 12:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232023AbhDHQqZ (ORCPT ); Thu, 8 Apr 2021 12:46:25 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4205DC061761 for ; Thu, 8 Apr 2021 09:46:14 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id y5so2848657qkl.9 for ; Thu, 08 Apr 2021 09:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=YgqR7clyk2k4fwdMNax1iDXb2sF/XnKNGxf0wo1TO8GFWHr9fn3olwvZRTnhLiG401 Mg74Akp1RiWZym/qucXFCGV+PA7tE9GSB1FxRXUa12JWocy5RCT3AKfLOF0rPbKAp8zK QDz77Rezb71XzcRKjk67GImEAzjs/v2nKZ80axmwHu/PYnVK5lGGWeP6MQm0qGM8cjbc CePlxVevLaG+j2FEa/lmwKvJRXnHCFMMOtqfpLtAmxzzonEYQ4xP8e4P3F42nXwP39SP QBVuP3x8MHGGhx7X6YmAx60QXV9mNcADixygvhUrdhGe5SJSv9lS4wXFKSFMCma9xIw7 TuxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=IpzpwxJLWIDZmsin8aIiNpD3DZQEYfIET/uUfKAqeX/VuGXPVoBhb+CvvVIX4CHpmX HyCqneze7OJw8ehme/jo+Z05uZoWHx57j5GBFkTw7/Zf5QV/K1lz6GEUgIb67qow85h/ WsS4EdlW35+0Nhd5kPaVHO2pf1+0wX8+lPj1WeMsEzocsrPvfjR4Np9c5R3/LFHmpaNh lZyel24n8SWoMj1YpxgLvBe8rulLx2CPV93O6/tLhjRv7zGdm8cyVWmhEamAQdHWat9m 5b27kisBHd9hQA5vJkZtVjY8Hzci+F9lsDGxqiFCWysxoonY7k0zIoCA8C57DOKOntOW Ei/Q== X-Gm-Message-State: AOAM530F8bkEFyGaChxTuc/7vt29sSh/lqC3SKqgtOSIJ4a0lCdHr7q7 SkMT63uml8xppNRzwfhm+mTd2A== X-Google-Smtp-Source: ABdhPJzbDYutSfn+FmJJZIAbAHyE8DAfowirb1kwOsQfAUvjL2fOsMnXGxO5fiM2OyXlWuyJctyzMw== X-Received: by 2002:a37:6c01:: with SMTP id h1mr9726497qkc.182.1617900373391; Thu, 08 Apr 2021 09:46:13 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-162-115-133.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.115.133]) by smtp.gmail.com with ESMTPSA id p5sm21412244qkj.35.2021.04.08.09.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 09:46:12 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lUXnI-002nMT-BD; Thu, 08 Apr 2021 13:46:12 -0300 Date: Thu, 8 Apr 2021 13:46:12 -0300 From: Jason Gunthorpe To: Arnd Bergmann , David Hildenbrand , Linux Kernel Mailing List , Linux-MM , Joel Stanley , David Airlie , Andrew Jeffery , Lucas Stach , Russell King , Christian Gmeiner , Mike Rapoport , Bartlomiej Zolnierkiewicz , Linus Walleij , Michal Simek , Masahiro Yamada , Randy Dunlap , Peter Collingbourne , linux-aspeed , dri-devel , Linux ARM , The etnaviv authors , Linux Fbdev development list Subject: Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv Message-ID: <20210408164612.GD227011@ziepe.ca> References: <20210408092011.52763-1-david@redhat.com> <20210408092011.52763-3-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 01:38:17PM +0200, Daniel Vetter wrote: > If you want to change this, we need automatic conflict resolution like apt > and other package managers have, with suggestions how to fix the config if > you want to enable a driver, but some of its requirements are missing. The > current approach of hiding driver symbols complete if any of their > dependencies are off is really not great. +1 to this.. Though Kconfig is basically already unusuable unless you have hours to carefully craft the kconfig you need to get out. I'm not sure trying to optimize this by abusing the existing language rules is such a good idea. I gave a very half hearted go at a simple heuristic solution solve for kconfig a while ago. It is good enough to sometimes automate a kconfig task, but it is not so nice. I use it to do things like "turn on all RDMA drivers" which is quite a hard to do by hand. It looks liked heursitics need a lot of fine tuning as the conditionals are complex enough that it is hard to guess which branch is going to yield a success. Jason From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DF34C433ED for ; Thu, 8 Apr 2021 16:48:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79583610A2 for ; Thu, 8 Apr 2021 16:48:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79583610A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bwgZdBUSBSYTuA2p/hZDgvLYY7jWh69g7pM0NWnuL6I=; b=NUshhZX7C8No3mun/NsTNFMPj UwgGPYDZXO5nZmRA2KS9T7rrp4i4yLjfWqp8twWfiJyqXv39e6Dc/dWJb1eEmmMfFA6oxRl5Vb9cd YdOv8RqBtL8ORboHhN7ZfR7nprSsh4kZjZ+NzL85B16o/cIPohmJ03fZ36WbKPv2X+cpV2Msm+Y1g BxPOf0Ny07L2ZuF++G5as3qC2I22MVqLK4x9+TDjhcKKaJx3dvsSlCRZMvMhM+iaNrID1vDBc03fO SFZlt3FPOqNSwHyxorC8/Hyuij5+Pdjymmlou/fBz0y+Ei/+Q5w3/FhbeVIuG99hzUwYlVBkKVdhv 5cSv1gG1g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUXnR-008g0l-0b; Thu, 08 Apr 2021 16:46:21 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUXnM-008g00-JQ for linux-arm-kernel@lists.infradead.org; Thu, 08 Apr 2021 16:46:18 +0000 Received: by mail-qk1-x736.google.com with SMTP id o5so2925985qkb.0 for ; Thu, 08 Apr 2021 09:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=YgqR7clyk2k4fwdMNax1iDXb2sF/XnKNGxf0wo1TO8GFWHr9fn3olwvZRTnhLiG401 Mg74Akp1RiWZym/qucXFCGV+PA7tE9GSB1FxRXUa12JWocy5RCT3AKfLOF0rPbKAp8zK QDz77Rezb71XzcRKjk67GImEAzjs/v2nKZ80axmwHu/PYnVK5lGGWeP6MQm0qGM8cjbc CePlxVevLaG+j2FEa/lmwKvJRXnHCFMMOtqfpLtAmxzzonEYQ4xP8e4P3F42nXwP39SP QBVuP3x8MHGGhx7X6YmAx60QXV9mNcADixygvhUrdhGe5SJSv9lS4wXFKSFMCma9xIw7 TuxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=V6IpcRi0XsNLS/oB7sIfbc4Hs7WfGts1U7J6YRYLLYXFBHM7W+et48LOfaWZB7uzMt +gX5VTkgDulls9GvDDVix/eTeXBTy8FcySsIzE/Ll7EyeeJwUw/L1wIwpojA3/lE/OTx W7M/fwk5vWxYyFDQBPWbVEp/WckY7X58AWvG9xTBOl+qkW2xfdsOuafN98LoV/Q+wsZx mR6wwcEC1a44Um+pLABR5trbpoZGq2i6HLkJqzjAZAcFqjfVqjeyk0nmgTU459n+gbZs 6+RttrHa43rzOLQA0S9DrNX9/LUU9z59nozqgzSZq0sQQ/lLr6+u1w96SzpHM3D3zMNG R+2g== X-Gm-Message-State: AOAM5300AxEaarwUJdgd/hcw6QkGQPhlOOnmEDiQj4qBQwuVr5iLV8lf Nh1CKj+JdKL/ld0hd041i88HTA== X-Google-Smtp-Source: ABdhPJzbDYutSfn+FmJJZIAbAHyE8DAfowirb1kwOsQfAUvjL2fOsMnXGxO5fiM2OyXlWuyJctyzMw== X-Received: by 2002:a37:6c01:: with SMTP id h1mr9726497qkc.182.1617900373391; Thu, 08 Apr 2021 09:46:13 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-162-115-133.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.115.133]) by smtp.gmail.com with ESMTPSA id p5sm21412244qkj.35.2021.04.08.09.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 09:46:12 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lUXnI-002nMT-BD; Thu, 08 Apr 2021 13:46:12 -0300 Date: Thu, 8 Apr 2021 13:46:12 -0300 From: Jason Gunthorpe To: Arnd Bergmann , David Hildenbrand , Linux Kernel Mailing List , Linux-MM , Joel Stanley , David Airlie , Andrew Jeffery , Lucas Stach , Russell King , Christian Gmeiner , Mike Rapoport , Bartlomiej Zolnierkiewicz , Linus Walleij , Michal Simek , Masahiro Yamada , Randy Dunlap , Peter Collingbourne , linux-aspeed , dri-devel , Linux ARM , The etnaviv authors , Linux Fbdev development list Subject: Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv Message-ID: <20210408164612.GD227011@ziepe.ca> References: <20210408092011.52763-1-david@redhat.com> <20210408092011.52763-3-david@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210408_174616_765430_6BD16182 X-CRM114-Status: GOOD ( 16.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 08, 2021 at 01:38:17PM +0200, Daniel Vetter wrote: > If you want to change this, we need automatic conflict resolution like apt > and other package managers have, with suggestions how to fix the config if > you want to enable a driver, but some of its requirements are missing. The > current approach of hiding driver symbols complete if any of their > dependencies are off is really not great. +1 to this.. Though Kconfig is basically already unusuable unless you have hours to carefully craft the kconfig you need to get out. I'm not sure trying to optimize this by abusing the existing language rules is such a good idea. I gave a very half hearted go at a simple heuristic solution solve for kconfig a while ago. It is good enough to sometimes automate a kconfig task, but it is not so nice. I use it to do things like "turn on all RDMA drivers" which is quite a hard to do by hand. It looks liked heursitics need a lot of fine tuning as the conditionals are complex enough that it is hard to guess which branch is going to yield a success. Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BB25C43460 for ; Thu, 8 Apr 2021 16:46:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B349A6113A for ; Thu, 8 Apr 2021 16:46:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B349A6113A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D2CCE6EB73; Thu, 8 Apr 2021 16:46:15 +0000 (UTC) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6345B6EB73 for ; Thu, 8 Apr 2021 16:46:14 +0000 (UTC) Received: by mail-qk1-x735.google.com with SMTP id c3so2868758qkc.5 for ; Thu, 08 Apr 2021 09:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=YgqR7clyk2k4fwdMNax1iDXb2sF/XnKNGxf0wo1TO8GFWHr9fn3olwvZRTnhLiG401 Mg74Akp1RiWZym/qucXFCGV+PA7tE9GSB1FxRXUa12JWocy5RCT3AKfLOF0rPbKAp8zK QDz77Rezb71XzcRKjk67GImEAzjs/v2nKZ80axmwHu/PYnVK5lGGWeP6MQm0qGM8cjbc CePlxVevLaG+j2FEa/lmwKvJRXnHCFMMOtqfpLtAmxzzonEYQ4xP8e4P3F42nXwP39SP QBVuP3x8MHGGhx7X6YmAx60QXV9mNcADixygvhUrdhGe5SJSv9lS4wXFKSFMCma9xIw7 TuxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P9Dutpry47e9G1LsI+esYplVO+0VII6tEqAJFfWkRFs=; b=Hcqb46n+9/ZFlBx6vss8OxWFIiwrxmz+HbST79o3d5FVYn1mYiUwXMtSVZeL97c8Dl Nrk0u+lfNwFahKL4S68mrin0kUi7VXw4h7rLzzU//Id5DWefECocq2Y9cToMdVtcGz1F crqbg35cnJznd/wQdFYoMveBOMsHaux0KMeWInmFdjHi+Bxan0cg6hclmue2krG4tf+b c8ZnrdZwlmH4CeCNpt94KyISHCKN1w57ZjnfTwhDdgN4KVdWZG/cA8AWktL+jky91UOs 43oUBe+lW000pZW5G6F68gmBDIlSrSjmvCnPNf92io/32CETcU6yj1s9dxZQv9KyS5qm 5yTw== X-Gm-Message-State: AOAM531EY3PTICwU+vsHRHpw6FSBwoU1bPEPM67A20YgUHv+HNUBDDs/ Z2E123r+6kICJzvaNbNkL7OEfg== X-Google-Smtp-Source: ABdhPJzbDYutSfn+FmJJZIAbAHyE8DAfowirb1kwOsQfAUvjL2fOsMnXGxO5fiM2OyXlWuyJctyzMw== X-Received: by 2002:a37:6c01:: with SMTP id h1mr9726497qkc.182.1617900373391; Thu, 08 Apr 2021 09:46:13 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-162-115-133.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.115.133]) by smtp.gmail.com with ESMTPSA id p5sm21412244qkj.35.2021.04.08.09.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 09:46:12 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lUXnI-002nMT-BD; Thu, 08 Apr 2021 13:46:12 -0300 Date: Thu, 8 Apr 2021 13:46:12 -0300 From: Jason Gunthorpe To: Arnd Bergmann , David Hildenbrand , Linux Kernel Mailing List , Linux-MM , Joel Stanley , David Airlie , Andrew Jeffery , Lucas Stach , Russell King , Christian Gmeiner , Mike Rapoport , Bartlomiej Zolnierkiewicz , Linus Walleij , Michal Simek , Masahiro Yamada , Randy Dunlap , Peter Collingbourne , linux-aspeed , dri-devel , Linux ARM , The etnaviv authors , Linux Fbdev development list Subject: Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv Message-ID: <20210408164612.GD227011@ziepe.ca> References: <20210408092011.52763-1-david@redhat.com> <20210408092011.52763-3-david@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Apr 08, 2021 at 01:38:17PM +0200, Daniel Vetter wrote: > If you want to change this, we need automatic conflict resolution like apt > and other package managers have, with suggestions how to fix the config if > you want to enable a driver, but some of its requirements are missing. The > current approach of hiding driver symbols complete if any of their > dependencies are off is really not great. +1 to this.. Though Kconfig is basically already unusuable unless you have hours to carefully craft the kconfig you need to get out. I'm not sure trying to optimize this by abusing the existing language rules is such a good idea. I gave a very half hearted go at a simple heuristic solution solve for kconfig a while ago. It is good enough to sometimes automate a kconfig task, but it is not so nice. I use it to do things like "turn on all RDMA drivers" which is quite a hard to do by hand. It looks liked heursitics need a lot of fine tuning as the conditionals are complex enough that it is hard to guess which branch is going to yield a success. Jason _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel