From patchwork Tue May 2 04:06:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 757383 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wH75x0rWPz9sDB for ; Tue, 2 May 2017 14:07:01 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T0Kdo4nD"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wH75w6wZlzDqCL for ; Tue, 2 May 2017 14:07:00 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T0Kdo4nD"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wH75p0xMwzDqBQ for ; Tue, 2 May 2017 14:06:54 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T0Kdo4nD"; dkim-atps=neutral Received: by mail-pf0-x244.google.com with SMTP id g23so30385960pfj.1 for ; Mon, 01 May 2017 21:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=F6Eg6BFyuEH5JGis52SMEgwhXLwktlmtZ44BXs0Ukvs=; b=T0Kdo4nDg4pjrQpWz8CCv/FsZJLc90k6fUhlaWUxKeVV0WRma0xqq1lad+RaKd+Eng Itc4t7cXN+V6eFGTlvkrhPnHYQpoDIyeFCvPKwuvQuKQpYJkl1oltWFghczuGKoMCARg Qu8wR1mjbUMmZvBtnFf88slbkNzpYp4THhUXEV+Z2eyW1GTMF8r/+4+Uqkf9r90isFpb 3sWPvOS9m4JzvA/whOY4AYLZEm0McELYW46xp3gIqeYHke83n0XXDMhnlDBmoLQiuUT/ 02bhJbmUhwnTvMZGP/fC6SEnsByCjMSSiN/AsVJ8GouRQBoEYKsgOlHLUVqENz8IKeui 4w6A== 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; bh=F6Eg6BFyuEH5JGis52SMEgwhXLwktlmtZ44BXs0Ukvs=; b=VHD2LZl0l9hNEUvYMr1kqrmKDv5yZRRGMiQv9Lzrw501yiViSIGg2mMuIIXwvSYITv 91ooOFirU8fl6Pf3S/a2/1tkT6c8utMlzpjQUHdSU/78NvPDvwvx0zyynhlRL+3J8M+v pmuoy/Hke7kwB1Zr9AycEqKsFp7rIVhGXx3U5AHsVYBJL/thkGG4G+62fQ87Gu/uNt58 cgsK5bOi3lt53vkVd8WzkYOuzRUIykgNyqI4KKuXhhnR4N59O//qGW4fL/pkRa7jjiy8 7ic/5AB1TTNtkmlqqLZW8mFcZ2NfoT8AOsVNCt23YZLpqtMLXkZX4qWD0Wx7alyMKX/R maQA== X-Gm-Message-State: AN3rC/5mWJTLKU3hFETXlh0VCVUQxhCnAdJrGnPGGVB+8HU0vOM4JS4H 6vwKt20tgVJLbA== X-Received: by 10.99.56.81 with SMTP id h17mr6369772pgn.171.1493698012486; Mon, 01 May 2017 21:06:52 -0700 (PDT) Received: from flat-canetoad.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id y67sm11106106pgy.39.2017.05.01.21.06.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 21:06:51 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Tue, 2 May 2017 14:06:42 +1000 Message-Id: <20170502040642.6910-1-oohall@gmail.com> X-Mailer: git-send-email 2.9.3 Subject: [Skiboot] [PATCH] hdata: Make FSPv1 work again X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" One less thing to work around for those crazy enough to try. Signed-off-by: Oliver O'Halloran --- hdata/fsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hdata/fsp.c b/hdata/fsp.c index 0a89d66f985e..1d7a30422faf 100644 --- a/hdata/fsp.c +++ b/hdata/fsp.c @@ -55,6 +55,7 @@ static enum sp_type find_service_proc_type(const struct HDIF_common_hdr *spss, flags = be16_to_cpu(sp_impl->func_flags); switch (hw_ver) { + case 0x1: case 0x2: /* We only support FSP2 */ sp_type = SP_FSP; break;