My Linux and Open Source Software Penguin Logo Linux and Open Source News and Reviews
The Hungry Penguin
Linux & Me Blog    My Linux Blog (Archived)    What is Linux?    What is Open Source?

Sidebar

Open Source and the London Olympics



Dedicated Servers

lkml.org

lkml.org - the realtime linux kernel mailinglist archive

[PATCH v3 0/4] ocfs2: use kobject for online file check
Gang He writes: (Summary) Use embedded kobject mechanism for online file check feature, this will avoid to use a global list to save/search per-device online file check related data. Compare with first version, split the code change into four patches, make sure each patch will not bring ocfs2 kernel modules compiling errors.
modules compiling errors.
modules compiling errors.
Gang He (4):
ocfs2: move some definitions to header file
ocfs2: fix some small problems
ocfs2: add kobject for online file check
ocfs2: add duplicative ino number check
ocfs2: add duplicative ino number check
fs/ocfs2/filecheck.c |
drivers/net/ieee802154/ca8210.c:918:9-12: ERROR: spi is NULL but d ...
Julia Lawall writes: (Summary) git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git remote update linus git checkout ded845a781a578dfb0b5b2c138e5a067aa3b1242 vim +918 drivers/net/ieee802154/ca8210.c ded845a78 Harry Morris 2017-03-28 902 * @len: length of the buffer being sent ded845a78 Harry Morris 2017-03-28 903 * ded845a78 Harry Morris 2017-03-28 904 * Return: 0 or linux error code ded845a78 Harry Morris 2017-03-28 905 */ ded845a78 Harry Morris 2017-03-28 906 static int ca8210_spi_transfer( ded845a78 Harry Morris 2017-03-28 907 struct spi_device *spi, ded845a78 Harry Morris 2017-03-28 908 const u8 *buf, ded845a78 Harry Morris 2017-03-28 909 size_t len ded845a78 Harry Morris 2017-03-28 910 ) ded845a78 Harry Morris 2017-03-28 911 { ded845a78 Harry Morris 2017-03-28 912 int i, status = 0;
[PATCH] ARM: dts: rockchip: correct regular setting for act8846
Eddie Cai writes: (Summary) 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi b/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi index 8134966..4cfa109 100644 --- a/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi @@ -179,6 +179,7 @@ regulator-name = "vccio_sd"; - vcca_18: REG7 { - regulator-name = "vcca_18"; + vcca_33: REG7 { + regulator-name = "vcca_33"; - vcca_33: REG8 { - regulator-name = "vcca_33"; - vcc_lan: REG9 { - regulator-name = "vcca_lan";
Re: [PATCH 2/2] crypto: engine - Permit to enqueue skcipher request
Julia Lawall writes: (Summary) 735d37b5 Baolin Wang 2016-01-26 439 */ 735d37b5 Baolin Wang 2016-01-26 440 int crypto_engine_start(struct crypto_engine *engine) 735d37b5 Baolin Wang 2016-01-26 441 { 735d37b5 Baolin Wang 2016-01-26 442 unsigned long flags; 735d37b5 Baolin Wang 2016-01-26 449 } 735d37b5 Baolin Wang 2016-01-26 450 1d8d4838 Corentin Labbe 2017-05-23 451 if (!engine->skcipher_one_request &&
[PATCH v3 0/5] net-next: stmmac: rework the speed selection
Corentin Labbe writes: (Summary) Regards Changes since v3: - Added the patch #4 "Convert old_link to bool" as suggested by Joe Perches - Changed the speedmask Changes since v2: - Use true/false for new_state in patch #1 Corentin Labbe (5): net: stmmac: Convert new_state to bool net: stmmac: Remove unnecessary parenthesis net: stmmac: use SPEED_xxx instead of raw value net: stmmac: Convert old_link to bool net: stmmac: rework the speed selection drivers/net/ethernet/stmicro/stmmac/common.h |
[PATCH] mei: make sysfs modalias format similar as uevent modalias
Pratyush Anand writes: (Summary) modprobe is not able to resolve sysfs modalias for mei devices. 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index d1928fdd0f43..07aad8576334 100644 --- a/drivers/misc/mei/bus.c +++ b/drivers/misc/mei/bus.c @@ -763,8 +763,10 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *a, { struct mei_cl_device *cldev = to_mei_cl_device(dev);
[PATCH 0/2] add UniPhier watchdog support
Keiji Hayashibara writes: (Summary) This series adds support for watchdog timer implemented on UniPhier LD11 and LD20 SoCs. Keiji Hayashibara (2):
watchdog: uniphier: add UniPhier watchdog driver
arm64: dts: uniphier: add watchdog node for LD11 and LD20 arm64: dts: uniphier: add watchdog node for LD11 and LD20 .../devicetree/bindings/watchdog/uniphier-wdt.txt | 4 + arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 + drivers/watchdog/Kconfig | 1 + drivers/watchdog/uniphier_wdt.c |
[PATCH] KVM: x86: dynamically allocate large struct in em_fxrstor
Nick Desaulniers writes: (Summary) Fixes the warning:
Fixes the warning:
arch/x86/kvm/emulate.c:4018:12: warning: stack frame size of 1080 bytes in function
'em_fxrstor' [-Wframe-larger-than=]
static int em_fxrstor(struct x86_emulate_ctxt *ctxt) ^
^
Found with CONFIG_FRAME_WARN set to 1024.
Found with CONFIG_FRAME_WARN set to 1024.
Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com> 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 0816ab2e8adc..1d7c9ceeff56 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -4017,30 +4017,38 @@ static int fxrstor_fixup(struct x86_emulate_ctxt *ctxt, static int em_fxrstor(struct x86_emulate_ctxt *ctxt) { - struct fxregs_state fx_state; 16) { + rc = emulate_gp(ctxt, 0);
[GIT PULL 0/7] perf/urgent callchain fixes
Namhyung Kim writes: (Summary) (Namhyung Kim) ---------------------------------------------------------------- Milian Wolff (5): perf report: don't crash on invalid maps in `-g srcline` mode perf report: fix memory leak in addr2line when called by addr2inlines perf report: fix off-by-one for non-activation frames perf report: always honor callchain order for inlined nodes perf report: do not drop last inlined frame Namhyung Kim (2): perf script: Add --inline option perf tools: Fix to put caller above callee in children mode tools/perf/Documentation/perf-script.txt |
[PATCH v3] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)
Ralph Sennhauser writes: (Summary) + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software.
[PATCH] mm/zsmalloc: fix -Wunneeded-internal-declaration warning
Nick Desaulniers writes: (Summary) is_first_page() is only called from the macro VM_BUG_ON_PAGE() which is only compiled in as a runtime check when CONFIG_DEBUG_VM is set, otherwise is checked at compile time and not actually compiled in. Fixes the following warning, found with Clang:
Fixes the following warning, found with Clang:
mm/zsmalloc.c:472:12: warning: function 'is_first_page' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int is_first_page(struct page *page)
^
^
Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com> 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index d41edd28298b..15959d35fc26 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -469,7 +469,7 @@ static bool is_zspage_isolated(struct zspage *zspage) return zspage->isolated;
[PATCH 0/6] sched: Minor fixes and cleanups
Viresh Kumar writes: (Summary) Hi,
Hi,
The first patch fixes a potential regression we may observe on the UP systems and the others are doing minor optimizations in the scheduler core.
core.
They are all tested on ARM 32 (exynos) and 64 (hikey) bit platforms. --
viresh
viresh
Viresh Kumar (6):
sched: fair: Call cpufreq update util handlers less frequently on UP sched: Reuse put_prev_task()
sched: fair: Pass rq to weighted_cpuload()
sched: fair: Avoid checking cfs_rq->nr_running twice sched: fair: Drop always true parameter of update_cfs_rq_load_avg() sched: cpufreq: Optimize cpufreq_update_this_cpu() a bit sched: cpufreq: Optimize cpufreq_update_this_cpu() a bit kernel/sched/core.c |
[lkp-robot] [sched/core] 1c3c5eab17: BUG:using_smp_processor_id() ...
kernel test robot writes: (Summary)
[PATCH] powerpc: dts: use #include "..." to include local DT
Masahiro Yamada writes: (Summary) 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/dts/ac14xx.dts b/arch/powerpc/boot/dts/ac14xx.dts index 27fcabc2f857..83bcfd865167 100644 --- a/arch/powerpc/boot/dts/ac14xx.dts +++ b/arch/powerpc/boot/dts/ac14xx.dts @@ -10,7 +10,7 @@ */ -#include <mpc5121.dtsi> diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts b/arch/powerpc/boot/dts/mpc5121ads.dts index 75888ce2c792..73c30621429b 100644 --- a/arch/powerpc/boot/dts/mpc5121ads.dts +++ b/arch/powerpc/boot/dts/mpc5121ads.dts @@ -9,7 +9,7 @@ * option) any later version. diff --git a/arch/powerpc/boot/dts/pdm360ng.dts b/arch/powerpc/boot/dts/pdm360ng.dts index 0cec7244abe7..445b88114009 100644 --- a/arch/powerpc/boot/dts/pdm360ng.dts +++ b/arch/powerpc/boot/dts/pdm360ng.dts @@ -13,7 +13,7 @@ * option) any later version.
[PATCH] ARM: dts: versatile: use #include "..." to include local DT
Masahiro Yamada writes: (Summary) Most of DT files in ARM use #include "..." to make pre-processor include DT in the same directory, but this is one of the exceptional files that use #include <...> for that.
Fix it to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from dtc_cpp_flags.
dtc_cpp_flags.
ARM: dts: versatile: use #include "..." to include DT in the same directory Most of DT files in ARM use #include "..." to make pre-processor include DT in the same directory, but we have 3 exceptional files that use #include <...>
[PATCH] ARM: dts: imx6: use #include "..." to include local DT
Masahiro Yamada writes: (Summary) 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-zii-rdu2.dts b/arch/arm/boot/dts/imx6q-zii-rdu2.dts index b2d346640fd7..6be8a1eea895 100644 --- a/arch/arm/boot/dts/imx6q-zii-rdu2.dts +++ b/arch/arm/boot/dts/imx6q-zii-rdu2.dts @@ -41,8 +41,8 @@ /dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-zii-rdu2.dtsi" / { model = "ZII RDU2 Board"; diff --git a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts index 882b3bd97e07..547a76677ab3 100644 --- a/arch/arm/boot/dts/imx6qp-zii-rdu2.dts +++ b/arch/arm/boot/dts/imx6qp-zii-rdu2.dts @@ -41,8 +41,8 @@ /dts-v1/;
[PATCH] serial: 8250_of: Add reset support
Joel Stanley writes: (Summary) +- resets : phandle + reset specifier pairs Note: * fsl,ns16550: diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 1cbadafc6889..f34dd23376f4 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -19,11 +19,13 @@ #include <linux/of_irq.h> @@ -132,6 +134,18 @@ static int of_platform_serial_setup(struct platform_device *ofdev, } } + info->rst = devm_reset_control_get_optional(&ofdev->dev, NULL); + } else { + ret = reset_control_deassert(info->rst);
[PATCH 27/27] Drivers: ccree: cc_crypto_ctx.h - align block comments
Derek Robson writes: (Summary) @@ -279,9 +281,10 @@ struct drv_ctx_aead { /* Get the address of a @member within a given @ctx address - @ctx: The context address - @type: Type of context structure - @member: Associated context field */ + * @ctx: The context address + * @type: Type of context structure + * @member: Associated context field + */ #define GET_CTX_FIELD_ADDR(ctx, type, member) (ctx + offsetof(type, member)) #endif /* _CC_CRYPTO_CTX_H_ */ -- 2.12.2
[PATCH 26/27] Drivers: ccree: cc_hw_queue_defs.h - align block com ...
Derek Robson writes: (Summary) \ @@ -411,7 +411,7 @@ enum cc_hw_des_key_size { * * \param pDesc pointer HW descriptor struct * \param flowMode Any one of the modes defined in [CC7x-DESC] -*/ + */ #define HW_DESC_SET_FLOW_MODE(pDesc, flowMode) \ do { \ @@ -423,7 +423,7 @@ enum cc_hw_des_key_size { * * \param pDesc pointer HW descriptor struct * \param cipherMode Any one of the modes defined in [CC7x-DESC] -*/ + */ #define HW_DESC_SET_CIPHER_MODE(pDesc, cipherMode) \ do { \ CC_REG_FLD_SET(CRY_KERNEL, DSCRPTR_QUEUE_WORD4, CIPHER_MODE, (pDesc)->word[4], (cipherMode));
[PATCH 24/27] Drivers: ccree: hash_defs.h - align block comments
Derek Robson writes: (Summary) 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ccree/hash_defs.h b/drivers/staging/ccree/hash_defs.h index 613897038f6d..3f2b2d1521c2 100644 --- a/drivers/staging/ccree/hash_defs.h +++ b/drivers/staging/ccree/hash_defs.h @@ -59,13 +59,14 @@ enum HashCipherDoPadding { typedef struct SepHashPrivateContext { /* The current length is placed at the end of the context buffer because the hash - context is used for all HMAC operations as well. + * This means that this structure size (without the reserved field can be up to 20 bytes , + * in case sha512 is not suppported it is 20 bytes (SEP_HASH_LENGTH_WORDS define to 2 ) and in the other + * case it is 28 (SEP_HASH_LENGTH_WORDS define to 4) + */ u32 reserved[(sizeof(struct drv_ctx_hash)/sizeof(u32)) - SEP_HASH_LENGTH_WORDS - 3];
[PATCH 25/27] Drivers: ccree: cc_regs.h - align block comments
Derek Robson writes: (Summary) 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccree/cc_regs.h b/drivers/staging/ccree/cc_regs.h index 8b89f0603f16..f4b3b5a23ae2 100644 --- a/drivers/staging/ccree/cc_regs.h +++ b/drivers/staging/ccree/cc_regs.h @@ -55,8 +55,9 @@ do { \ BITFIELD_GET(reg_val, CC_ ## reg_name ## _ ## fld_name ## _BIT_SHIFT, \ CC_ ## reg_name ## _ ## fld_name ## _BIT_SIZE)) -/* yael TBD !!! Bit fields set */ @@ -86,10 +87,10 @@ do { \ } while (0) /* Usage example: - u32 reg_shadow = READ_REGISTER(CC_REG_ADDR(CRY_KERNEL,AES_CONTROL));
[PATCH 23/27] Drivers: ccree: ssi_aead.c - align block comments
Derek Robson writes: (Summary) /* All tests of keys sizes passed */ } -/*This function prepers the user key so it can pass to the hmac processing - (copy to intenral buffer or hash in case of key longer than block */ +/* This function prepers the user key so it can pass to the hmac processing + * (copy to intenral buffer or hash in case of key longer than block + */ static int ssi_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) { @@ -600,7 +603,8 @@ ssi_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) (AES_MIN_KEY_SIZE + CTR_RFC3686_NONCE_SIZE)) goto badkey;
[PATCH 22/27] Drivers: ccree: ssi_aead.h - align block comments
Derek Robson writes: (Summary) 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.h b/drivers/staging/ccree/ssi_aead.h index 654a181729d7..00a3680cb8ab 100644 --- a/drivers/staging/ccree/ssi_aead.h +++ b/drivers/staging/ccree/ssi_aead.h @@ -15,7 +15,7 @@ */ /* \file ssi_aead.h - ARM CryptoCell AEAD Crypto API + * ARM CryptoCell AEAD Crypto API */ #ifndef __SSI_AEAD_H__ @@ -62,8 +62,9 @@ enum aead_ccm_header_size { struct aead_req_ctx { /* Allocate cache line although only 4 bytes are needed to - * assure next field falls @ cache line - * Used for both: digest HW compare and CCM/GCM MAC value */ + * assure next field falls @ cache line + * Used for both: digest HW compare and CCM/GCM MAC value + */ u8 mac_buf[MAX_MAC_SIZE] ____cacheline_aligned;
[PATCH 21/27] Drivers: ccree: ssi_buffer_mgr.c - align block comments
Derek Robson writes: (Summary) } else { /* DOUBLE-PASS flow */ /* - * Prepare MLLI table(s) in this order: - * - * If ENCRYPT/DECRYPT (inplace): - * (1) MLLI table for assoc - * (2) IV entry (chained right after end of assoc) - * (3) MLLI for src/dst (inplace operation) - * - * If ENCRYPT (non-inplace) - * (1) MLLI table for assoc - * (2) IV entry (chained right after end of assoc) - * (3) MLLI for dst - * (4) MLLI for src - * - * If DECRYPT (non-inplace) - * (1) MLLI table for assoc - * (2) IV entry (chained right after end of assoc) - * (3) MLLI for src - * (4) MLLI for dst - */ + * Prepare MLLI table(s) in this order: + * + * If ENCRYPT/DECRYPT (inplace): + * (1) MLLI table for assoc + * (2) IV entry (chained right after end of assoc) + * (3) MLLI for src/dst (inplace operation) + * + * If ENCRYPT (non-inplace) + * (1) MLLI table for assoc + * (2) IV entry (chained right after end of assoc) + * (3) MLLI for dst + * (4) MLLI for src + * + * If DECRYP
[PATCH 20/27] Drivers: ccree: ssi_buffer_mgr.h - align block comments
Derek Robson writes: (Summary) Fixed block comment alignment, Style fix only
Found using checkpatch
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com> 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.h b/drivers/staging/ccree/ssi_buffer_mgr.h index 4acbb4b6afc9..98355dd789e5 100644 --- a/drivers/staging/ccree/ssi_buffer_mgr.h +++ b/drivers/staging/ccree/ssi_buffer_mgr.h @@ -15,7 +15,7 @@ */ /* \file buffer_mgr.h - Buffer Manager + * Buffer Manager */ #ifndef __SSI_BUFFER_MGR_H__ -- 2.12.2
[PATCH 19/27] Drivers: ccree: ssi_cipher.h - align block comments
Derek Robson writes: (Summary) Fixed block comment alignment, Style fix only
Found using checkpatch
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com> 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_cipher.h b/drivers/staging/ccree/ssi_cipher.h index 7d58b56fc2c7..22d7b431edb9 100644 --- a/drivers/staging/ccree/ssi_cipher.h +++ b/drivers/staging/ccree/ssi_cipher.h @@ -15,7 +15,7 @@ */ /* \file ssi_cipher.h - ARM CryptoCell Cipher Crypto API + * ARM CryptoCell Cipher Crypto API */ #ifndef __SSI_CIPHER_H__ -- 2.12.2
[PATCH 18/27] Drivers: ccree: ssi_config.h - align block comments
Derek Robson writes: (Summary) 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_config.h b/drivers/staging/ccree/ssi_config.h index 431b518d893a..9feb692fff0d 100644 --- a/drivers/staging/ccree/ssi_config.h +++ b/drivers/staging/ccree/ssi_config.h @@ -15,7 +15,7 @@ */ /* \file ssi_config.h - Definitions for ARM CryptoCell Linux Crypto Driver + * Definitions for ARM CryptoCell Linux Crypto Driver */ #ifndef __SSI_CONFIG_H__ @@ -49,7 +49,8 @@ #define SSI_CACHE_PARAMS (0x000) /* CC attached to NONE-ACP such as HPP/ACE/AMBA4.

Linux News | Linux Articles | Linux Distributions | Linux Apps | Linux Kernel | Free Linux Download | Linux & Me Blog
Free Press Release Service | Bible Study Tool | New Covenant Workshop | Gary Sims
Press Releases and SEO

The original content of these pages (not the syndicated items) is licensed under a Creative Commons License.
News and media about the Linux operating system, open source software, Unix, Apache, LAMP, PHP, RSS, GNU and much more.