Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1174943imj; Sat, 16 Feb 2019 23:13:35 -0800 (PST) X-Google-Smtp-Source: AHgI3Iage/YLxXY40+NcfKlqpVrzKcy2AdURVv0mZOQiwzPE8T61UaG/Ccp+AvR549Hy9QXq1n1e X-Received: by 2002:a17:902:2887:: with SMTP id f7mr18422092plb.176.1550387615857; Sat, 16 Feb 2019 23:13:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550387615; cv=none; d=google.com; s=arc-20160816; b=Ta7GCqonncZqzWA8vUB3XnZY3a4Mp859H1Z9jCsoejbzNorsNvGc+IwEklNjJm0qVu W0zdJLdfgT9Z6Jv4tbGuu3K7Ho/DoOo1c9Bowud2C93Y6CJ4MKJB6G6KIx18p7cx55uk xbBfVorgbJAVBAiRRXea+RZ2E0ReqAuj7NH5okjSvJIU69Cy5DBgS4TdwCw54VE+llfg V2CEOxr+67qyXgAvOxO/jZCXGTZJll/PiAuJx/Y7WSUBcVbllAdrEMLhbjeIbr+3/k9m dxQRCwZKLalCXFlv3gdLogo0m9eFBdl8Lkynu0p532Y8ks2YjuObX1hyTLYq8TCm41Gb bEWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Hby5Y8oP0iz5i2BX7pLH1MgRKgkNkisDr/+ZSdJCx+o=; b=BAHK2e1hDxPLodl51+3qX6xkoOhongyG1E/bRDBEw3Mw0f7AymRDh2EqIND9TGR7ym SZTe5EKZ3lu2CR+gt1B+0O82LJXaxO/H8gq12moeXUS0HnYFPcgcKSOC6N9IEFNbhTkA VhUBcVy+kU40AOGfKsyLJY0CK1jnP8rpKO7HAG2Qvy+SK+3U7xwW/wdvvG8YsGg8/Fgu YH1o2hM928mupBm8JTaXAi/xHtMrjsZXxRtpe17rcxXvy+IIS4Ge/VSkv21rLUNS5RID DmlVCCtBDeDPT3gj5odJiiHkFxKCRwg2pg3vxFpFwQtCgfud3ET5cJb6HVhfoKsVGCRv Jy3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PHNcVOuE; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24si4364020pgg.534.2019.02.16.23.13.19; Sat, 16 Feb 2019 23:13:35 -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=@gmail.com header.s=20161025 header.b=PHNcVOuE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732637AbfBPT0x (ORCPT + 99 others); Sat, 16 Feb 2019 14:26:53 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:39321 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728542AbfBPT0x (ORCPT ); Sat, 16 Feb 2019 14:26:53 -0500 Received: by mail-pl1-f196.google.com with SMTP id 101so6646264pld.6; Sat, 16 Feb 2019 11:26:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Hby5Y8oP0iz5i2BX7pLH1MgRKgkNkisDr/+ZSdJCx+o=; b=PHNcVOuEjifHC2WY+RdZMQ+K5nuYaZQrSa+WV1egJIoUzmHCEH2aG9NnSi/NRWi9Yk VxnJYnWjJ6yaaCSnPOCOg2hnLxdgkugpuj5b76pY8xP2DOxY4UGs/zMFZtCoFJE0u9rv ZXpnC4mDp4WDvQPnrDamLH4QvHunxshfYBf6//rnyt2A3bNkds+QJQZAnmmoQhqEEu0X O5D7FIOcEmt9PPBqzCOM+eUL/stU7afi4Bn3Uio95gmCwUznpOXChyhUbNN+XKyABzDy jbDSsyrZp2FIJd1kHUicZLJohl4C59+MTVepp9g+26bjVn7laRI6DnEBrgdaXpZt8RRP 6oaA== 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=Hby5Y8oP0iz5i2BX7pLH1MgRKgkNkisDr/+ZSdJCx+o=; b=dFdCSrhx4lNVYD69CXeDPikOXib0kkkJOJXsSzlSsI/1GydAmeFDM0GNuMoTxjgRcL wqV+CtpMElOqQAoT6EFyAUGupbkfVb6XCJ8VxgMEfg4WvMAjaex2iIXCANF12cP3xGTW Hu4SnJPdddWjnaxvcJjb77sWGNC1hR65VXoqbNiJuWvO80uOnvQ/Vc6VD2OGdbfntnNP wpM0TznRtH6TVdM4MrrxWGH+bl5gfGD+e7QiLPSh6odM81bqEuntamRnq37D4Z8Yvi9n 9PdY8ZwqvJtZnfMsPlBMK/m4HgdtA1wBkeixKRGli/5s1hkUuDta8EAgWyNNasBRzE3J Vwfw== X-Gm-Message-State: AHQUAuasBpJaQvX9ROi+7wwO/9RfN9BXGM7RORXuNTKRkChol3fPXyK/ 2I7QKU0DqOmFrRms4ofN9r14h+hbIz0= X-Received: by 2002:a17:902:9a04:: with SMTP id v4mr17034079plp.34.1550345212326; Sat, 16 Feb 2019 11:26:52 -0800 (PST) Received: from localhost.localdomain ([43.224.245.179]) by smtp.gmail.com with ESMTPSA id n75sm13472398pfb.39.2019.02.16.11.26.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 Feb 2019 11:26:51 -0800 (PST) From: Xiang Xiao X-Google-Original-From: Xiang Xiao To: Andy Shevchenko , Randy Dunlap , Greg KH , alexander.shishkin@linux.intel.com, Ohad Ben Cohen , Bjorn Andersson , wendy.liang@xilinx.com, Arnaud POULIQUEN , Kumar Gala , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Xiang Xiao Subject: [PATCH V3] Add syslog redirection driver Date: Sun, 17 Feb 2019 03:26:42 +0800 Message-Id: <1550345203-25460-1-git-send-email-xiaoxiang@xiaomi.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes vs. V2: - Remove memrchr function - Output message line by line Guiding Li (1): rpmsg: add syslog redirection driver drivers/rpmsg/Kconfig | 12 ++++ drivers/rpmsg/Makefile | 1 + drivers/rpmsg/rpmsg_syslog.c | 163 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 176 insertions(+) create mode 100644 drivers/rpmsg/rpmsg_syslog.c -- 2.7.4