Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1039266imm; Wed, 23 May 2018 09:18:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqeROEuA/K6tV+udv80ag07nP/9rBT0o5a7gh7kAqedj8u/ff/8TtLvh5K5M4HfHCrOG9Sz X-Received: by 2002:a17:902:6181:: with SMTP id u1-v6mr3565414plj.272.1527092291358; Wed, 23 May 2018 09:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527092291; cv=none; d=google.com; s=arc-20160816; b=nxSPTk+gZvO7DjPbQ9En1wFMmSyBEsV68FVJ8vfnwAeNhpvQFKr3rw7Xjrk1H5HO7N foUe+JjQ7ogSH0Qnlxppp0xLPWIXEOm3EH6Q5Q35UE2/3gf0894e4ghkyIBXYEvhdY8y h/LBeWQ++zWJrMFEFV1yYgu5mJakaXkCf3oNwlc1d5FMVZ0hfboz13xDWFCuJG4nZrAY 4/6VMYzdjP98UgdTAHlyI/YqyeUSTNL8D0jyR1gU3rm9SR9RBpgbuQaBF69gcz37jNBg /PcgLb8H29bhJjK1lP5z7Y78hNW1P1WGTikvf+H00RtTpemubP8ZY563Byn+fOiCFNUl LAiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=ko0nsj3CJ+eH5DM+y8IohqXjhFJQtP9bm7kK4Eg1awI=; b=jv2im3oX3iDjZ4wKEJbHq/fZg6ub98E9yQS/gFElDpHP1dqicfSUf1IRNb96eJrXwP ncnfwwF2YM3qvaxrPv7ZklcH1pUeLyvp8BkMSQWsI2sfQ3NeQJ3QsCM4t51uOQ70d/6N z3skZO7flqn8wOhmayXEC7G4TfAhEXUHsypGNQ5tDTdc6YjuowLCaBWaAOiPO73S+IAv hdQwJfQSatxWL9BMjzy1OzRxwcBr4CHIsyvUHvQMspCFOhCUmRhaB6J5UdHbthRTBioE j2auOo8pfX+IGTZ6+Xzst6r9Qvj4ocztYJ9ta5OYUHoeWh660Ej3RJ6Esu2g8SQGX1JE ufgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wH7onheU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v24-v6si19727373pfj.292.2018.05.23.09.17.50; Wed, 23 May 2018 09:18:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wH7onheU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757AbeEWQRh (ORCPT + 99 others); Wed, 23 May 2018 12:17:37 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:32836 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754629AbeEWQRf (ORCPT ); Wed, 23 May 2018 12:17:35 -0400 Received: by mail-yw0-f195.google.com with SMTP id g16-v6so6883592ywk.0 for ; Wed, 23 May 2018 09:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ko0nsj3CJ+eH5DM+y8IohqXjhFJQtP9bm7kK4Eg1awI=; b=wH7onheUiwelWu3FCd42191TMfLBk/DRjpTPSl1CyBwGV5vAHW7Z1YcAp3SLY0/GNg KZo64K6oRX0cz6bB427elM5lcnGQf+gBAiP/UQQL9B95zvG54O0jCsffUo9Xccylyh06 OwIOXRZETJZ/D80Q2uXjCceL4aQDL2urqAD7czHmyDoEQs8NlnHvMbCJMU5Yw/T5WLEv P0BHDA504ocx8WlbhLCleouWsMs2ctRQn9rN42ungAsvIv8vYf1Dmt5YfX5eBG/UKnsf gYq73ihpJFYVD1QdUkqbnBeOfPQaycQp+RmRL5pnHjEEgxvzs7d14JtDDy6VbeovWa75 TekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ko0nsj3CJ+eH5DM+y8IohqXjhFJQtP9bm7kK4Eg1awI=; b=XpmnkDO/Hi3OPwkTxMnWUhTKWSM9yLbKXw5pzrkBP8lJXsdo0qTX5LoBjVUfK5MI8E J8XxJMCprnzu89Ac57dk6dj69kKi49rq7Iowa+1uj2u3f6LbBC8vqtRnb9t8Rte7ubzo DTIaMIruG4c28BXSvlOB+GvoBQzFYbemWYYE+3vT2PMozXT27B/2k9/P908a0YkGtjI1 SkmQnHrv/zWrcrIG1gyZsgH68JafF8rk0BliAxBouXDwEDLN7bSfMHmbEDUgQRj07X7m XyObS2qVVtARvXuJ5rsrOi5EuIXGsYC1WU/XGoRSj6v7IIG9OjxzuYwsh14/3cWk9hUA BTtw== X-Gm-Message-State: ALKqPwedN9DqneiLzo3b95whbDv2w+lZP2Ik6EMtxjnjENzhU0SIxWG/ m96QULvByw+IJblSf57NdwVoYEdiAzuH2G/eMokVbA== X-Received: by 2002:a81:b549:: with SMTP id c9-v6mr1808605ywk.267.1527092254718; Wed, 23 May 2018 09:17:34 -0700 (PDT) MIME-Version: 1.0 References: <20180522165842.233949-1-groeck@google.com> <20180523135609.GK4828@sirena.org.uk> <20180523155811.GO4828@sirena.org.uk> In-Reply-To: <20180523155811.GO4828@sirena.org.uk> From: Guenter Roeck Date: Wed, 23 May 2018 09:17:23 -0700 Message-ID: Subject: Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files To: Mark Brown Cc: Takashi Iwai , Liam Girdwood , alsa-devel@alsa-project.org, Guenter Roeck , "Patel, Chintan M" , Jaroslav Kysela , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2018 at 8:58 AM Mark Brown wrote: > On Wed, May 23, 2018 at 08:54:18AM -0700, Guenter Roeck wrote: > > On Wed, May 23, 2018 at 6:56 AM Mark Brown wrote: > > > On Wed, May 23, 2018 at 03:54:54PM +0200, Takashi Iwai wrote: > > > > And I'm wondering whether we should move these definitions to uapi > > > > headers. > > > Yes, we should. > > Are you sure ? They used to be in > > sound/soc/intel/skylake/skl-tplg-interface.h. > > I took my clue from sound/soc/soc-topology.c, where the v4 structures are > > also > > declared locally and not in the uapi files. > I'm saying we should move them there. They're clearly part of the > userspace ABI and therefore belong in uapi, it was a mistake to let them > be elsewhere. They define a firmware file format. Not sure if I would call that userspace ABI. I don't mind adding the structures to sound/soc/intel/skylake/skl-tplg-interface.h, but it seems a bit out of scope to tie this with moving the file to include/uapi/sound. I think that should be a separate discussion. Thanks, Guenter