Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4506003ybc; Fri, 15 Nov 2019 05:51:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwDEWZq/TcKVUjf0zC/+0cvfTczOQW0bL3CCI8vxgUbZ1CmhUxvtfHj8LI0/xZ3Mn6zlvkC X-Received: by 2002:a17:906:1542:: with SMTP id c2mr1095810ejd.80.1573825904079; Fri, 15 Nov 2019 05:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573825904; cv=none; d=google.com; s=arc-20160816; b=j26vEHzLpFyN4+W7U9+Mdc3r19Ez5/LUrZyCBxppj/H3VbFiNc9Xskd9nsljXIY7T6 JvIeIKAXSGH24c5mbEbhSjXyq1a3VSl37JTRas7jbnkxeFsbtxJZlXwKCzGi26scFre1 IZEICJIk97tqmIRTArDc/uEzjlrXDxjZYKKaJvlQ0yBc7zpB+7tg9q8eI7/HkfqZbU7i vAwGyssHSLOHJMk4rLXQQet3vSlTjzHd/c4Xf1Q8ZuTx1cQZXlD60/zuy2sxbz33hnCI WgqNr5jiLSHDJGSz/Ctbnak09xVhLmoa//hyiZtZjZJ2BKAtvNxxz6zCzOAIzHZD5rU6 oGDw== 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=di5ZAsLuTIIhhKKfoi7B5tnpw3+Xa/5YL8AqSuLLL7k=; b=H1nLykxkhEiQH6OVuswl7j1Y2hcKY+gv0n+8KnIJl76sw3XZZLzwsvkLE4tls+kDab VeILJJKIbt5T/jaidgWI9E6CmgaBNmq8hNeB4/SKpbAeNKLtlLnuc4oel+rL/pN6l49t 5AS7xA0Fs62fDh0YW+Wxja0E/Z0M0Cr1gQpbRjuzBR8qKiqb5iSxUhIykm+1iFc4D/6Q FSvmTt8Z7U6hSBpLZOyjhrlsnpjQlUjzbv7W9LyEKmugNm4m09GlS+ukvr4wEjCPwdNm 8n9b34CmLfyW5GPw7HXAp0a8dMB1oOaMWZH1vyXH44DhWIGKnpSa1t5Ce7qoniBhNUJo O5RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=XmFl+gBh; 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=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si950789ejt.334.2019.11.15.05.51.19; Fri, 15 Nov 2019 05:51:44 -0800 (PST) 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=@9elements.com header.s=google header.b=XmFl+gBh; 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=NONE sp=NONE dis=NONE) header.from=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727534AbfKONt4 (ORCPT + 99 others); Fri, 15 Nov 2019 08:49:56 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39737 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727380AbfKONt4 (ORCPT ); Fri, 15 Nov 2019 08:49:56 -0500 Received: by mail-wr1-f66.google.com with SMTP id l7so11055919wrp.6 for ; Fri, 15 Nov 2019 05:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=di5ZAsLuTIIhhKKfoi7B5tnpw3+Xa/5YL8AqSuLLL7k=; b=XmFl+gBhZeLvUb2d8jXf3fLeWTwF7ficul6IAAUE8/FP2ZrAMJx5nbXZtMnt+VQn7P HNRoFbXyCkjZZrio9veq95E3F2ovlTTTn7oGM2SfYWdZUDKxJd3t/YjtsUJ83XrDjWVQ bgZvfAkUuMMe4lE312T1HsV7q7WsWIK3ZhMNQnW4O9aQfmPEXdJbw+SzBWsHwfvrB3Aj P1EV0Xp6Eu1pAXoyg+7ycz+gaksmx6S59Q2j/Wr5iTeu03t4DGGJ0d70qWVmZmAAH0Uu GzN2jNNPuSOrM4qHQdY/xPZOW2dQ2GeEeWd6s1F3lhKs/+R2aFO2igIqQwgIxwiCqw8h xeuw== 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=di5ZAsLuTIIhhKKfoi7B5tnpw3+Xa/5YL8AqSuLLL7k=; b=MFSmTGB5I1LWaaO/xeBV0DLENIiFXTTDZ3HtB+abkZ4ADml+dwAT9TmE9qOmPpNh2n Su8TR/a4YR+byPz1gb2Rvdz6XlHpk+c/+3+vI5wZBBcBtF/WJX8LoVGE7AAvGIaFgNka D2allZ6SBKyUXYV5faJSHWD2cLO0gkuZZu0kfYSoDFqpDxBhCX4gACCoAv1aVlhiDi7l 9Cjuhjh+SUKrmDtqp7Kw9nGjCkenoJtdoka+3YH+QXyLOmxAkq9AGv0gO//esTHbkBpk 60k2yqejfj7vYVUbm1EdYWNjhyx8vGiZQsi2z94QAvJupHuLEGJJdrTvm5lqfM3CIW1f wKRw== X-Gm-Message-State: APjAAAXYsoaIcBXzRYneSz0CTXh+Dp590P7VIkS8ePFhDRC8Hh2pOW+T /ISQ3esOdq3GBZymEtO4mgbYO+xh3/QZ36dN X-Received: by 2002:adf:e701:: with SMTP id c1mr2185435wrm.166.1573825793847; Fri, 15 Nov 2019 05:49:53 -0800 (PST) Received: from localhost.localdomain (ip-94-114-101-228.unity-media.net. [94.114.101.228]) by smtp.gmail.com with ESMTPSA id f14sm11119906wrv.17.2019.11.15.05.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 05:49:52 -0800 (PST) From: patrick.rudolph@9elements.com To: linux-kernel@vger.kernel.org Cc: coreboot@coreboot.org, patrick.rudolph@9elements.com, Allison Randal , Alexios Zavras , Greg Kroah-Hartman , Thomas Gleixner , Arthur Heymans Subject: [PATCH 0/3] firmware: google: Fix minor bugs Date: Fri, 15 Nov 2019 14:48:36 +0100 Message-Id: <20191115134842.17013-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Patrick Rudolph This patch series fixes 3 independent bugs in the google firmware drivers. Patch 1-2 do proper cleanup at kernel module unloading. Patch 3 adds a check if the optional GSMI SMM handler is actually present in the firmware and responses to the driver. Arthur Heymans (2): firmware: google: Unregister driver_info on failure and exit in gsmi firmware: google: Probe for a GSMI handler in firmware Patrick Rudolph (1): firmware: google: Release devices before unregistering the bus drivers/firmware/google/coreboot_table.c | 6 ++++++ drivers/firmware/google/gsmi.c | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) -- 2.21.0