Message ID | 20210624211727.501019-4-trix@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=ak/p=LS=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 55AE0C49EA7 for <linux-arm-kernel@archiver.kernel.org>; Thu, 24 Jun 2021 21:19:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 19F2C6008E for <linux-arm-kernel@archiver.kernel.org>; Thu, 24 Jun 2021 21:19:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19F2C6008E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iQIsmL2MK/XIQxvjZ76gh3vNpaqeE4F1qGDm6lnmuSo=; b=p8fgrX2D2kBdzU ce1kCMZfvkId91chWbOao89JyB8RVb6qxIusz81D5R9AdmGShADHvCLrf8ImwO7qqQADK85ZMO3YH RsPPohNIeb7e+KjkyZ/UDBtm3wYR+izMXoCPB4HXGfLikp5oRIqn6ho8YLWl40qKPlWAsMNdVH0Pq flMS39YZTjqVAZiCYtoge51k8LjYzYbhltojepxpnv8Zex7U2A5yTxxhDJvAuvf4Bn8UooNU8NjA+ riA52S4ho3NzU9bNBLKkXpsyWxsm9Q6eyJlhLuEtqJCYK532a37eZfuG7hVIhAUEcM0f7Mghzm6x4 ITV1mEMMjxyxe/Q9gsyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwWjk-00GKHz-LH; Thu, 24 Jun 2021 21:18:12 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwWjS-00GKE3-Fj for linux-arm-kernel@lists.infradead.org; Thu, 24 Jun 2021 21:17:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624569473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=06yao2CDsis15QoJOXCwwfY4/53M6JaTIu7lUfBh14M=; b=KpvgPGdiue1bDNDyFY+EDTzLkySKJLSWih1DBzl0rno8LLGy1pA44O1Z2ZI/1k5JeG5jP8 wpKcDd6I6KCSU60308AA1T0kgqfs0lAHx6K9X2Q0vU3wCtTanzpuM0BFHlWCNqxE3TDLJf sJc43dEJ2h6c5gevAOBzq2WYbPaq44Q= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-274-lMR4HX1ZMfyoaFDrh-22aA-1; Thu, 24 Jun 2021 17:17:52 -0400 X-MC-Unique: lMR4HX1ZMfyoaFDrh-22aA-1 Received: by mail-oi1-f197.google.com with SMTP id b12-20020a056808010cb029021dde407eb3so4593264oie.13 for <linux-arm-kernel@lists.infradead.org>; Thu, 24 Jun 2021 14:17:52 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=06yao2CDsis15QoJOXCwwfY4/53M6JaTIu7lUfBh14M=; b=FkLUsdC4HIuKXmZP9281lpw3Jgyq0o8m+esLckDQJVdXoZMZlh1d5RUHGAA8eTMhYO I1JazF6QFre+9fl1m0hEyx+IQ3DFxOmLPkdXjpNa5AQsz49MlsgxdacU1U/8+DoFN6vm eZcimC5p8WUCM+sFSWDK0ERseEGc0ukmJ66Ime/FLLVt7kJ7ywW/BkHYzVbgGoRJNrZu EMDq/qjmRKj8Pls3sR3DB2QzeVG6rF1v//dZfMWxHKmNPg84o/rLPvZvyuNlbMnScqKM h0o09RjZ0kqbOJZJ+sZRAOQsxgxJy3OdyTnl6ifHLOlu1Gb1TSvZXS67t8FPyIiS7d55 XImw== X-Gm-Message-State: AOAM5305RyKB1xoKuomC0vXff8nCnr559iR6fPdcDC5ECEsy28rpFG8E g3mbZ29gUjcswIw5+gAcri4NW293K5M3S84AvnGS681cX5n/RJYSsDqxBmJczfAkXgT9Jz1GMPZ T2pjMwCnIXR48FNxF2Knb4kGmBdT1GjRDYZw= X-Received: by 2002:a4a:41d2:: with SMTP id x201mr2732003ooa.35.1624569471625; Thu, 24 Jun 2021 14:17:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwipQ+FG1zdbSHi5cUqqClnF72jO5dbxM0s0OMGyT/NJe/wW8gpvlxwYtX9N8bXPmn34b+0Kg== X-Received: by 2002:a4a:41d2:: with SMTP id x201mr2731989ooa.35.1624569471466; Thu, 24 Jun 2021 14:17:51 -0700 (PDT) Received: from localhost.localdomain.com (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id 94sm915513otj.33.2021.06.24.14.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 14:17:49 -0700 (PDT) From: trix@redhat.com To: mdf@kernel.org, hao.wu@intel.com, michal.simek@xilinx.com Cc: linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tom Rix <trix@redhat.com> Subject: [PATCH v4 2/5] fpga: add FPGA_MGR_REIMAGE flag Date: Thu, 24 Jun 2021 14:17:24 -0700 Message-Id: <20210624211727.501019-4-trix@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210624211727.501019-1-trix@redhat.com> References: <20210624211727.501019-1-trix@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_141754_631356_301E72A0 X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
generalize fpga_mgr_load
|
expand
|
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h index 53f9402d6aa17..0791e22b07f88 100644 --- a/include/linux/fpga/fpga-mgr.h +++ b/include/linux/fpga/fpga-mgr.h @@ -67,12 +67,15 @@ enum fpga_mgr_states { * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first * * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed + * + * %FPGA_MGR_REIMAGE: Reimage the whole card, fpga bs and other device fw */ #define FPGA_MGR_PARTIAL_RECONFIG BIT(0) #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) #define FPGA_MGR_ENCRYPTED_BITSTREAM BIT(2) #define FPGA_MGR_BITSTREAM_LSB_FIRST BIT(3) #define FPGA_MGR_COMPRESSED_BITSTREAM BIT(4) +#define FPGA_MGR_REIMAGE BIT(5) /** * struct fpga_image_info - information specific to an FPGA image