From patchwork Tue Jun 30 12:58:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 192076 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3791126ilg; Tue, 30 Jun 2020 05:59:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNbstp8T8mv1BeYiFMShdqDC0Lcpvk0UPCm7VOjbQHQIEt0mPdOWRGbpBywy3fedgYvEm9 X-Received: by 2002:a17:906:d79c:: with SMTP id pj28mr17337583ejb.397.1593521953753; Tue, 30 Jun 2020 05:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593521953; cv=none; d=google.com; s=arc-20160816; b=p9ThUCkK2MDGr7hu2FQyO5DBOqw6lhUJvdSPdd+5SYgMLRrsTeSsftisjmfCLNVGYH C5CNJ9jheSfMkEVhZCBZtENEwAPgbepCk1QW4RQgoYGLJnT+I3JM3w87a75beqjSnZ4T YACiIDcA5Q5frUgdBFEkTDzRvkaAWOUXHbdWokCmxBGWoOgTWAkPsTfMN2fCjMMl56ZZ 3JyRwuuAepB2xcmbtmUM+tcJcXtv9Vzyf82YQSp+US9AFhmmgyYopL7qY8QMq37W3uv0 ypyIM9P9jtWOe9ElcqU9g8a76bJ4TrST36iREjBTtPvrIv3Y4OQgl4jD1UpQRfk8uIbc aCfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sN4WZooX8Gl6AP3Ic7xgoU0JpRoYJKFZBAKo2Wp6GOY=; b=swkTx9E4FxfoOfUwqA0uI4ORA8SSzliKzQAJmz/Wlp/N1f/Y4l6ClyTpZRD6Vg81xv LWPtGUvPydHM3o0PFTEtzPsBjKIAruB+p9tDKPad7fxaZHlczqggn+d0D3sgk2KELYvO 3w/pKWd91TCNRBEy9O5g97Fv65roR5Ah7AkNprWMFWo9pyBkKbYDE9wdZb6zWA4J7rz6 svWOqFwjCDaO0yrbHYfIbWlZO/8bGE53QQ042+O43oX2JcR1UxHufwck+LlIP39HNgcO Yjba1m3AoZOE5cyw60slDzAgwa8U/J5+9zfsPTeNplP83ougtfF1cLjblJ5oi110uOEX s/vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NwkdIgvI; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si1618464eje.95.2020.06.30.05.59.13; Tue, 30 Jun 2020 05:59:13 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NwkdIgvI; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388105AbgF3M6v (ORCPT + 9 others); Tue, 30 Jun 2020 08:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387953AbgF3M6u (ORCPT ); Tue, 30 Jun 2020 08:58:50 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE029C061755 for ; Tue, 30 Jun 2020 05:58:50 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id w73so5735501ila.11 for ; Tue, 30 Jun 2020 05:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sN4WZooX8Gl6AP3Ic7xgoU0JpRoYJKFZBAKo2Wp6GOY=; b=NwkdIgvIjDrjCiYlaFBEn/UOBG6CtDIWqacpay+y08rck5lFhwf4gT5B9FYNAs9vzD FZ0GuDIH9dbd2/SLh2f49YB29ERdOsffJMJ5QLVxnIfRQEmTswumKxjBEGP7wepW23pW SZi70uR/hx83eweAUeolnBUvimEOPV0tr8OMSXwZRUrWq4v0fa8NAqXMFbzteb5yoUr3 9CURcA3baW0YtA7gA3GeKCpl8haPk/cEiTDO2qFCoLsdg275sVsuP4tSO+jNE6CFP/sJ SFXhMO19vFpD+sYJZZOx+yWlJb+w1pIah4ttOgI2X5PE28Ot0sRZIYsfUxIxhQmYWOiA b62g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sN4WZooX8Gl6AP3Ic7xgoU0JpRoYJKFZBAKo2Wp6GOY=; b=VXR3eL56OBDm1FDKsvbs50wygNX6iEslTQsIHUPD/9+tCn05S5x59gH42G5kAw8eAE GsKiypdeVZPUUDDVD96s1WDdEjAyRv1xyt67Z9spWEbUrywl26SacWHAD34oE5fRqjwy FxBZhByljyKHTWzOE3wknVVRrjv9cdk/rcZczxeshNITn8YAwHJIgDfncKmX1Y1j8ikM dSqMpYvl7dFazvIs99Fiw5ijA0bBId9c5Imnei7UAm7JC0X5REdW4OhT3CE3HuzEyzuK 2Jutje9tdJE6743akJ4eTpQh3lEMD8sdJ/ZSCfjiUTcgSl/VGMyBwZrQGKbOU94E3tU+ AvVg== X-Gm-Message-State: AOAM532Uap76MGn2h67LvmbLDBE0fs3L6iVeKf8+HTaGSYGzGXcZ2rMN 3b+kwpjvL1ibqSVr0OlQRsPkcg== X-Received: by 2002:a92:10a:: with SMTP id 10mr2399769ilb.172.1593521930164; Tue, 30 Jun 2020 05:58:50 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id z9sm1622588ilb.41.2020.06.30.05.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 05:58:49 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/3] net: ipa: small improvements Date: Tue, 30 Jun 2020 07:58:43 -0500 Message-Id: <20200630125846.1281988-1-elder@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series contains two patches that improve the error output that's reported when an error occurs while changing the state of a GSI channel or event ring. The first ensures all such error conditions report an error, and the second simplifies the messages a little and ensures they are all consistent. A third (independent) patch gets rid of an unused symbol in the microcontroller code. Version 2 fixes two alignment problems pointed out by checkpatch.pl, as requested by Jakub Kicinski. -Alex Alex Elder (3): net: ipa: always report GSI state errors net: ipa: standarize more GSI error messages net: ipa: kill IPA_MEM_UC_OFFSET drivers/net/ipa/gsi.c | 111 +++++++++++++++++++++------------------ drivers/net/ipa/ipa_uc.c | 10 ++-- 2 files changed, 63 insertions(+), 58 deletions(-) -- 2.25.1