Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1446894
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andrey Pronin <apronin@chromium.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] tpm: add optional max xfer size check |
| Date | Wed, 20 Jul 2016 04:40:01 +0200 |
| Message-ID | <rWPAt-3ST-1@gated-at.bofh.it> (permalink) |
| References | <rV0gF-qZ-9@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=YbDOOMhKeKs57u6OXDEsQpPV4gKW7OIHlbzNEC2FSTY=; b=XfwLJ/dY/LiO48dRx8AEYfvGY4y2zTJudwWC7O9mcJ3+PTkYU95Zp0eLPDA16znCHm rgHabEpuLoZKKqWwmNSU48pUbr8RXsVg7MdNV2yHARgYY9Ro/BOpWVcG5fFYHqELoaCS Y968v5Ebmzapo6CEniuNJFg1qPZunPpapehgU= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=YbDOOMhKeKs57u6OXDEsQpPV4gKW7OIHlbzNEC2FSTY=; b=lejzhVlFFfyji+/S+T7ZRyKu7SRIpyJnq+As0NJTnUSwJjovgGJyekqdRZkXZzA4xk nVD+twazvOsOK10nPUQNPm5LALLu3LXicfJ2HsiP8HNF1viQ3Hb4wP6ojk2urK74b2+P 1bmzBAip64zyvtdjYHBMmZ6wTv9Z3b+73jYVhy5nwcONe0Hbm5fWuJAsVYFvhu8z3Mv3 9w65B2sRKi8jdLEQbUz2TNYZ6lJbCvsAhCa3Pl3iDPXWY0uebotld4lZf8qKrDhQJPtw Q59b/xqWuEhGIl/TJ5RUANiUQ1p1lsPUNX/YYMDxtbPdt+Co2q/aSzJgmkm0EK39pji2 iAOQ== |
| X-Gm-Message-State | ALyK8tI9iZrZEoQ6eFPNm3ml/BX23p85ausYRe10k0WJAjVOxT8lV1CHkb9fC7MgGfiGM8iM |
| X-Received | by 10.66.62.168 with SMTP id z8mr70046368par.152.1468982062654; Tue, 19 Jul 2016 19:34:22 -0700 (PDT) |
| X-Mailer | git-send-email 2.8.0.rc3.226.g39d4020 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 18 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Peter Huewe <peterhuewe@gmx.de>, Marcel Selhorst <tpmdd@selhorst.net>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com>, tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Christophe Ricard <christophe.ricard@gmail.com>, Andrey Pronin <apronin@chromium.org> |
| X-Original-Date | Tue, 19 Jul 2016 19:34:18 -0700 |
| X-Original-Message-ID | <cover.1468981325.git.apronin@chromium.org> |
| X-Original-References | <1468546745-14646-1-git-send-email-apronin@chromium.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1446894 |
Show key headers only | View raw
This patchset introduces an optional maximum transfer size that can be specified by a tpm driver. Setting the max_xfer_size helps to catch the cases when burstcnt is incorrectly reported by the device (e.g. >64 for spi - happened in practice) and gracefully handle such situations. v2: removed unnecessary accessors in tpm_tis_core.h, fixed style Andrey Pronin (2): tpm_tis_core: add optional max xfer size check tpm_tis_spi: add max xfer size drivers/char/tpm/tpm_tis_core.c | 18 ++++++++++++++++-- drivers/char/tpm/tpm_tis_core.h | 1 + drivers/char/tpm/tpm_tis_spi.c | 1 + 3 files changed, 18 insertions(+), 2 deletions(-) -- 2.6.6
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] tpm: add optional max xfer size check Andrey Pronin <apronin@chromium.org> - 2016-07-15 03:40 +0200
[PATCH 1/2] tpm_tis_core: add optional max xfer size check Andrey Pronin <apronin@chromium.org> - 2016-07-15 03:40 +0200
Re: [PATCH 1/2] tpm_tis_core: add optional max xfer size check Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-07-15 05:20 +0200
Re: [PATCH 1/2] tpm_tis_core: add optional max xfer size check Andrey Pronin <apronin@chromium.org> - 2016-07-15 05:30 +0200
Re: [PATCH 1/2] tpm_tis_core: add optional max xfer size check Guenter Roeck <groeck@google.com> - 2016-07-15 05:50 +0200
Re: [PATCH 1/2] tpm_tis_core: add optional max xfer size check Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-07-18 21:00 +0200
[PATCH 2/2] tpm_tis_spi: add max xfer size Andrey Pronin <apronin@chromium.org> - 2016-07-15 03:40 +0200
[PATCH v2 0/2] tpm: add optional max xfer size check Andrey Pronin <apronin@chromium.org> - 2016-07-20 04:40 +0200
[PATCH v2 2/2] tpm_tis_spi: add max xfer size Andrey Pronin <apronin@chromium.org> - 2016-07-20 04:40 +0200
[PATCH v2 1/2] tpm_tis_core: add optional max xfer size check Andrey Pronin <apronin@chromium.org> - 2016-07-20 04:40 +0200
Re: [PATCH v2 0/2] tpm: add optional max xfer size check Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-07-20 17:20 +0200
csiph-web