Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp602241ybz; Wed, 15 Apr 2020 14:57:24 -0700 (PDT) X-Google-Smtp-Source: APiQypKYLF6nMu9gPN1sBrtionAL8QLlkfaJ4S0KHbf+FE1eQ27yPmG4FjWvnqifJGgAc0PeIAUF X-Received: by 2002:a17:906:6014:: with SMTP id o20mr7067862ejj.357.1586987844521; Wed, 15 Apr 2020 14:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586987844; cv=none; d=google.com; s=arc-20160816; b=DkOWT8ygEAwyxGqHTMyk2PuzhCOOLpjIJSdzc1v+2oPUYHNUDB/jQ2Ilwp/YxDiHM9 gzhqDD6rMLdS6wOIwq/eYmgAmXpom3EwBdHBG5MtG2P3VhlsWgvGWL8A1QHRI/Pe3Mql oJUKInWx8g1/T7W+ILI4vbAf3FXQc1AJQJhbxtltOYg07i9g2YGSOK69WRvtKe0dBQG1 4TsPKeNfhZzymBxdv2LjmM0H2rflYn/zRL8vUnF7LUdluXTVFepLuCRtTHkvD+ZqtIQP IAUXYbS9ZyLCYIYnxnG3wJSAGIkEkkmFhXQs3cr8Keke3QI93gedHPv+RcYXaBN+figW IxaQ== 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:ironport-sdr:ironport-sdr; bh=p3CxA7nDTZFNPWRY7IpZj6A1o+ofT/6+GxfgQ/LdEY8=; b=R9rH2gU06mgvKTkNSZudBRK4eMIIC08gKmIUTlEVSfG8r8CFg7D76nkILosnJNI40P 83ZXpRdW+dvCV1htvs33+Iz+e3ZZkT5q2n7s5UHG10zF9AILvaLLHimlfUurNP4pfTkc gT6NgTfVq76tx3VAvT2Y7vGsFReem9w8Ccd036oduePbyqfSQzjfUp0+DHxqSZ2QsHRY ZmocqpFMRqFKXMiAxN775Bfedd+NjohofuxK9fCEabJivFmjWHJ5gdoS+Ie2sUmFmz/8 ACQ3WLJv5JYMAHccSj9410YH3sSiJfC0q2JqtqNpziV5SBB2fuc0r1J+sY+Ooc7LUm1V MQeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci25si10678100ejb.476.2020.04.15.14.57.00; Wed, 15 Apr 2020 14:57:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633155AbgDNUbi (ORCPT + 99 others); Tue, 14 Apr 2020 16:31:38 -0400 Received: from mga05.intel.com ([192.55.52.43]:19887 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2633141AbgDNUbc (ORCPT ); Tue, 14 Apr 2020 16:31:32 -0400 IronPort-SDR: 0E/i2S/t/SrGBvpo7MlJKg5g/xw43VoYFVcSO8BtoW8VtL8LfocJWjibk/V9KYcxFgxLP4f8In vKixC4Z9XYZA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2020 13:31:31 -0700 IronPort-SDR: bOko6i7G2Cvd+l+59nK1HE1zgsFtO5KioBUHSU3TkP8t5A7Djd07uHhW+tdoyByVnO8+C51j8+ pkifmWB4u+Fg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,384,1580803200"; d="scan'208";a="453669027" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga005.fm.intel.com with ESMTP; 14 Apr 2020 13:31:30 -0700 From: richard.gong@linux.intel.com To: mdf@kernel.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, dinguyen@kernel.org, richard.gong@linux.intel.com, Richard Gong Subject: [RESEND PATCHv1 0/1] firmware: fpga: replace the error codes with the standard one Date: Tue, 14 Apr 2020 15:47:53 -0500 Message-Id: <1586897274-307-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong The Intel service layer driver has defined error codes for the specific services, which started from FPGA configuration then RSU (Remote Status Update). Intel service layer driver should define the standard error codes rather than keep adding more error codes for the new services. The standard error codes will be used by all the clients of Intel service layer driver. Replace FPGA and RSU specific error codes with Intel service layer’s Common error codes. Richard Gong (1): firmware: fpga: replace the error codes with the standard ones drivers/firmware/stratix10-rsu.c | 10 +-- drivers/firmware/stratix10-svc.c | 62 ++++++------------- drivers/fpga/stratix10-soc.c | 25 +++----- include/linux/firmware/intel/stratix10-smc.h | 49 +++++++-------- .../linux/firmware/intel/stratix10-svc-client.h | 71 +++++++++------------- 5 files changed, 84 insertions(+), 133 deletions(-) -- 2.7.4