From: Marcin Niesluchowski
There is no possibility to clear additional kmsg buffers,
get size of them or know what size should be passed to read
file operation (too small size causes it to retrun -EINVAL).
Add following ioctls which solve those issues:
* KMSG_CMD_GET_BUF_SIZE
* KMSG_CMD_GET_READ
This patch adds selftests framework and four test scenarios for kmsg.
The framework shape and code was inspired by similar selftests framework
for kdbus.
Signed-off-by: Paul Osmialowski
---
samples/kmsg/kmsg-api.h| 44 +++
tools/testing/selftests/Makefile
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Separate code responsible for storing log message in proper format
from operations on consoles by putting it in another function.
Signed-off-by: Marcin Niesluchowski
---
kernel/printk/printk.c | 183
From: Marcin Niesluchowski
kmsg* devices write operation wrote no dict along with message
Due to usage of kmsg devices in userspace dict has been added
identifying pid, tid and comm of writing process.
Signed-off-by: Marcin Niesluchowski
---
kernel/printk/printk.c | 40
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Moves some code responsible for storing log messages in proper format.
Signed-off-by: Marcin Niesluchowski
---
kernel/printk/printk.c | 254 -
1 file changed, 127 insertio
ers
kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict
kmsg: add ioctl for adding and deleting kmsg* devices
kmsg: add ioctl for kmsg* devices operating on buffers
Paul Osmialowski (1):
kmsg: selftests
Documentation/ioctl/ioctl-number.txt |1 +
dri
From: Marcin Niesluchowski
There is no possibility to add/delete kmsg* buffers from userspace.
Adds following ioctl for main kmsg device adding and deleting
additional kmsg devices:
* KMSG_CMD_BUFFER_ADD
* KMSG_CMD_BUFFER_DEL
Signed-off-by: Marcin Niesluchowski
---
Documentation/ioctl/ioctl-n
From: Marcin Niesluchowski
Memory class does not support additional kmsg buffers.
Add additional kmsg buffers support to:
* devnode() callback of "mem" class
* file operations of major "mem" character device
Signed-off-by: Marcin Niesluchowski
---
drivers/char/mem.c | 27 +
From: Marcin Niesluchowski
kmsg device provides operations on cyclic logging buffer used mainly
by kernel but also in userspace by privileged processes.
Additional kmsg devices keep the same log format but may be added
dynamically with custom size.
Signed-off-by: Marcin Niesluchowski
---
fs/p
From: Marcin Niesluchowski
Additional kmsg buffers should be created and deleted dynamically.
Adding two functions
* kmsg_sys_buffer_add() creates additional kmsg buffer returning minor
* kmsg_sys_buffer_del() deletes one based on provided minor
Signed-off-by: Marcin Niesluchowski
---
include
Hi Joe,
Thanks for your comment. I'll consider that.
Thanks,
Paul
On Mon, 12 Oct 2015, Joe Perches wrote:
On Mon, 2015-10-12 at 11:29 +0200, Paul Osmialowski wrote:
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Moves some code responsible for storin
Hi Linus,
On Tue, 14 Jul 2015, Linus Walleij wrote:
> OK...
>
> I want Shawn and Sascha to look at this as they worked with
> other Freescale pin controllers. Especially I want to know if this
> is a sibling to the other Freescale controllers or a separate hardware.
>
> If it is *not* a sibling
, it causes warning. Also when kdbus/connection.h
is included alone, the same warning is shown since kdbus/connection.h
includes kdbus/metadata.h.
This patch adds missing inclusion.
Signed-off-by: Paul Osmialowski
---
ipc/kdbus/metadata.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/ipc
during compilation.
Paul Osmialowski (1):
kdbus: Eliminate warning caused by lack of uapi/linux/kdbus.h
inclusion
ipc/kdbus/metadata.h | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a
Following suggestions regarding printk.c code bloat, I prepared this
patch which moves kmsg-related routines to new file, kmsg.c
This is premilinary step needed for an attempt to extent kmsg interface
with ability to dynamically create (and destroy) kmsg-like devices.
Signed-off-by: Paul
From: Marcin Niesluchowski
Memory class does not support additional kmsg buffers.
Add additional kmsg buffers support to:
* devnode() callback of "mem" class
* file operations of major "mem" character device
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmia
From: Marcin Niesluchowski
kmsg* devices write operation wrote no dict along with message
Due to usage of kmsg devices in userspace dict has been added
identifying pid, tid and comm of writing process.
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
kernel/printk
This patch adds selftests framework and four test scenarios for kmsg.
The framework shape and code was inspired by similar selftests framework
for kdbus.
Signed-off-by: Paul Osmialowski
---
samples/kmsg/kmsg-api.h| 44 +++
tools/testing/selftests/Makefile
From: Marcin Niesluchowski
There is no possibility to add/delete kmsg* buffers from userspace.
Adds following ioctl for main kmsg device adding and deleting
additional kmsg devices:
* KMSG_CMD_BUFFER_ADD
* KMSG_CMD_BUFFER_DEL
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
for adding and deleting additional buffers
kmsg: add ioctl for adding and deleting kmsg* devices
kmsg: add ioctl for kmsg* devices operating on buffers
kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict
Paul Osmialowski (2):
printk: extract kmsg-related routines from pri
* KMSG_CMD_GET_READ_SIZE_MAX
* KMSG_CMD_CLEAR
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
Documentation/ioctl/ioctl-number.txt | 2 +-
include/uapi/linux/kmsg_ioctl.h | 15 ++
kernel/printk/kmsg.c | 57 ++--
3 files changed
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Separate code responsible for storing log message in proper format
from operations on consoles by putting it in another function.
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
kernel/printk
-off-by: Paul Osmialowski
---
fs/proc/kmsg.c | 4 +-
kernel/printk/kmsg.c | 301 --
kernel/printk/printk.c | 317 ++---
kernel/printk/printk.h | 69 +++
4 files changed, 431 insertions
-by: Paul Osmialowski
---
include/linux/printk.h | 9 +
kernel/printk/kmsg.c | 107 +++--
kernel/printk/printk.c | 12 ++
kernel/printk/printk.h | 4 ++
4 files changed, 129 insertions(+), 3 deletions(-)
diff --git a/include/linux/printk.h
kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict
Paul Osmialowski (2):
printk: extract kmsg-related routines from printk.c to kmsg.c
kmsg: selftests
Documentation/ioctl/ioctl-number.txt |1 +
drivers/char/mem.c | 27 +-
fs
* KMSG_CMD_GET_READ_SIZE_MAX
* KMSG_CMD_CLEAR
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
Documentation/ioctl/ioctl-number.txt | 2 +-
include/uapi/linux/kmsg_ioctl.h | 15 ++
kernel/printk/kmsg.c | 57 ++--
3 files changed
-off-by: Paul Osmialowski
---
fs/proc/kmsg.c | 4 +-
kernel/printk/kmsg.c | 301 --
kernel/printk/printk.c | 317 ++---
kernel/printk/printk.h | 69 +++
4 files changed, 431 insertions
From: Marcin Niesluchowski
There is no possibility to add/delete kmsg* buffers from userspace.
Adds following ioctl for main kmsg device adding and deleting
additional kmsg devices:
* KMSG_CMD_BUFFER_ADD
* KMSG_CMD_BUFFER_DEL
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
-by: Paul Osmialowski
---
include/linux/printk.h | 9 +
kernel/printk/kmsg.c | 107 +++--
kernel/printk/printk.c | 12 ++
kernel/printk/printk.h | 4 ++
4 files changed, 129 insertions(+), 3 deletions(-)
diff --git a/include/linux/printk.h
From: Marcin Niesluchowski
kmsg* devices write operation wrote no dict along with message
Due to usage of kmsg devices in userspace dict has been added
identifying pid, tid and comm of writing process.
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
kernel/printk
This patch adds selftests framework and four test scenarios for kmsg.
The framework shape and code was inspired by similar selftests framework
for kdbus.
Signed-off-by: Paul Osmialowski
---
samples/kmsg/kmsg-api.h| 44 +++
tools/testing/selftests/Makefile
From: Marcin Niesluchowski
Memory class does not support additional kmsg buffers.
Add additional kmsg buffers support to:
* devnode() callback of "mem" class
* file operations of major "mem" character device
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmia
Following suggestions regarding printk.c code bloat, I prepared this
patch which moves kmsg-related routines to new file, kmsg.c
This is premilinary step needed for an attempt to extent kmsg interface
with ability to dynamically create (and destroy) kmsg-like devices.
Signed-off-by: Paul
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Separate code responsible for storing log message in proper format
from operations on consoles by putting it in another function.
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
kernel/printk
Hi Shuah,
Thanks for your comments,
On Mon, 19 Oct 2015, Shuah Khan wrote:
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -7,6 +7,7 @@ TARGETS += ftrace
TARGETS += futex
TARGETS += kcmp
TARGETS += kdbus
Doesn't look like this patch is based on linux-kself
Hi Andy,
On Mon, 19 Oct 2015, Andy Lutomirski wrote:
On Mon, Oct 19, 2015 at 5:58 AM, Paul Osmialowski
wrote:
From: Marcin Niesluchowski
kmsg* devices write operation wrote no dict along with message
Due to usage of kmsg devices in userspace dict has been added
identifying pid, tid and
Hi Shuah,
I'm attaching proposal version which makes use of inline
functions from kselftest.h. I hope you'll like it.
Thanks,
Paul
On Tue, 20 Oct 2015, Paul Osmialowski wrote:
Hi Shuah,
Thanks for your comments,
On Mon, 19 Oct 2015, Shuah Khan wrote:
--- a/tools/testing
From: Marcin Niesluchowski
There is no possibility to add/delete kmsg* buffers from userspace.
Adds following ioctl for main kmsg device adding and deleting
additional kmsg devices:
* KMSG_CMD_BUFFER_ADD
* KMSG_CMD_BUFFER_DEL
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
From: Marcin Niesluchowski
Preparation commit for future changes purpose.
Separate code responsible for storing log message in proper format
from operations on consoles by putting it in another function.
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
kernel/printk
This patch adds selftests framework and four test scenarios for kmsg.
The framework shape and code was inspired by similar selftests framework
for kdbus.
Signed-off-by: Paul Osmialowski
---
samples/kmsg/kmsg-api.h| 44 +++
tools/testing/selftests/Makefile
-by: Paul Osmialowski
---
include/linux/printk.h | 9 +
kernel/printk/kmsg.c | 107 +++--
kernel/printk/printk.c | 12 ++
kernel/printk/printk.h | 4 ++
4 files changed, 129 insertions(+), 3 deletions(-)
diff --git a/include/linux/printk.h
From: Marcin Niesluchowski
Memory class does not support additional kmsg buffers.
Add additional kmsg buffers support to:
* devnode() callback of "mem" class
* file operations of major "mem" character device
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmia
* KMSG_CMD_GET_READ_SIZE_MAX
* KMSG_CMD_CLEAR
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
---
Documentation/ioctl/ioctl-number.txt | 2 +-
include/uapi/linux/kmsg_ioctl.h | 15 ++
kernel/printk/kmsg.c | 57 ++--
3 files changed
g log in proper format
kmsg: introduce additional kmsg devices support
kmsg: add additional buffers support to memory class
kmsg: add function for adding and deleting additional buffers
kmsg: add ioctl for adding and deleting kmsg* devices
kmsg: add ioctl for kmsg* devices operating o
-off-by: Paul Osmialowski
---
fs/proc/kmsg.c | 4 +-
kernel/printk/kmsg.c | 301 --
kernel/printk/printk.c | 317 ++---
kernel/printk/printk.h | 69 +++
4 files changed, 431 insertions
Following suggestions regarding printk.c code bloat, I prepared this
patch which moves kmsg-related routines to new file, kmsg.c
This is premilinary step needed for an attempt to extent kmsg interface
with ability to dynamically create (and destroy) kmsg-like devices.
Signed-off-by: Paul
Hi Stephen,
On Wed, 30 Sep 2015, Stephen Boyd wrote:
> In the pinctrl node we would have
>
> pinctrl {
> compatible = "fsl,kenetis70-pinctrl";
> reg = <0x40049000 0x2000>;
> clocks = <&sim SIM_CLK_SCGC5_PORTA>, <&sim SIM_CLK_SCGC5_PORTB>;
>
>
From: Paul Osmialowski
These two functions are added to ease management of clocks obtained
from OF device nodes.
They are particulary useful while iterating over DT subnodes using e.g.
for_each_child_of_node(dev->of_node, child) in order do get resources
(i.e. clocks) for subdevices defined
ecomes stable.
Signed-off-by: Paul Osmialowski
---
drivers/mmc/host/sdhci-s3c.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index c45b893..115f556 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhc
and regmap-i2c make use of exposed i2c transfer
preparation and unpreparation stages.
Note that this change does not require modifications in other places.
Signed-off-by: Paul Osmialowski
---
drivers/base/regmap/internal.h | 2 +
drivers/base/regmap/regmap-i2c.c | 18 +++
drivers/bas
This adopts i2c-s3c2410 driver for new enhancement of i2c API that
exposes preparation and unpreparation stages of i2c transfer.
Signed-off-by: Paul Osmialowski
---
drivers/i2c/busses/i2c-s3c2410.c | 69
1 file changed, 63 insertions(+), 6 deletions
uire modifications in other places:
old behaviour is kept preserved. Anyone who requires this new way of using i2c
transfer can adapt their drivers voluntarily.
Separate commit adapts regmap to use this new feature.
Signed-off-by: Paul Osmialowski
---
Documentation/i2c/writing-clients | 15 +++
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 03:39:53PM +0100, Paul Osmialowski wrote:
This uses the enhancement of i2c API in order to address following problem
caused by circular lock dependency:
Please don't just dump enormous backtraces into commit messag
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 06:36:14PM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
I don't know what this means, sorry. I'm also very worried about the
fact that this is being discussed purely in terms of I2C - why
;ve replaced this call with clk_disable() and
I've added clk_unprepare() call in s3c24xx_i2c_remove().
The s3c24xx_i2c_xfer() function now uses clk_enable() instead of
clk_prepare_enable() (and clk_disable() instead of clk_unprepare_disable()).
Signed-off-by: Paul Osmialowski
---
drive
RAM memory, controlled
by Bit 29 in the Vector Table Base register. This implies
that the OS vector table needs to be copied to the internal RAM.
New option CONFIG_COPY_VECTOR_TABLE_TO_SRAM_ADDR allows specification
of the desired destination for the OS vector table.
Signed-off-by: Paul Osmialowski
Since stack on Cortex-M3 is too small, we need configuration option
to avoid using it for huge encoder tables of zlib.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig-nommu | 4
lib/zlib_inflate/inflate.c | 5 +
2 files changed, 9 insertions(+)
diff --git a/arch/arm/Kconfig
This one is inspired a serie by commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
Entry commit: f014da1df860ad702d923c95cb97e068bd302cb0
RT75957. twr-k70f120m: basic support
by: Alexander Potashev
Signed-off-by: Paul Osmialowski
---
Documentation
ving only "-mcpu=cortex-m3" to make
sure only the correct instructions will be generated.
by: Sergei Poselenov
I reworked these patches to make them less intrusive.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig| 2 +-
arch/arm/Makefile | 1 +
arch/arm/mm/Kconfig | 11 +++
enabling tx DMA resulted in messy output, so I didn't configure
it in the .dts file - however nothing in the code prevents one from doing
so. Also note that original reference UART driver did not implement tx DMA
at all.
Signed-off-by: Paul Osmialowski
---
.../devicetree/bindings/serial/fsl-lpuar
.
Signed-off-by: Paul Osmialowski
---
Documentation/devicetree/bindings/dma/fsl-edma.txt | 38 +-
arch/arm/Kconfig | 4 ++
arch/arm/boot/dts/kinetis.dtsi | 34 +
arch/arm/mach-kinetis/include/mach/memory.h| 61
velopment board - I can't imagine myself doing all this stuff
without it.
Paul Osmialowski (9):
arm: select different compiler flags for ARM CortexM3
arm: do not place huge encoder tables on stack when it is too small
arm: add call to CPU idle quirks handler
arm: allow copying of vect
Some SoCs need additional actions to be performed after arch idle,
e.g. Kinetis requires invalidation of the I/D bus cache.
Such handler could be held in provided header file.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig | 7 +++
arch/arm/kernel/process.c | 7 +++
2
This is very cheap and simple implementation of pinctrl driver
for Kinetis SoC - its primary role is to provide means for enabling UART
fuctionality on I/O PORT_E which will be utilized by the commits
yet to come.
Signed-off-by: Paul Osmialowski
---
.../bindings/pinctrl/fsl,kinetis-pinctrl.txt
Based on K70P256M150SF3RM.pdf
Signed-off-by: Paul Osmialowski
---
.../devicetree/bindings/clock/kinetis-clock.txt| 25 ++
.../bindings/timer/fsl,kinetis-pit-timer.txt | 18 ++
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/kinetis-twr-k70f120m.dts
Hi Arnd,
Thanks for all of your input. Your comments will all be considered during
my works on the second iteration of this patchset.
On Wed, 24 Jun 2015, Arnd Bergmann wrote:
On Tuesday 23 June 2015 23:19:43 Paul Osmialowski wrote:
@@ -1740,7 +1752,7 @@ source "mm/Kconfig&quo
+0200, Paul Osmialowski wrote:
This one is inspired by two commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
1) 6302b692f570ff9d5645a6e72c11f87b0c1aa409
RT #62654. Fixed kernel crashes while running httpd by enabling
"-mfix-cortex-m3-ldrd"
Hi Stephen,
Thanks for the valuable input - all of those points are now on my
checklist for the work on the second iteration of this patchset.
On Tue, 23 Jun 2015, Stephen Boyd wrote:
On 06/23/2015 02:19 PM, Paul Osmialowski wrote:
diff --git a/drivers/clk/clk-kinetis.c b/drivers/clk/clk
Hi Vinod,
Tanks for your comments. Actually, fsl-lpuart driver is done the way you
propose to rework this one. I'll consider this during my work on the
second iteration.
On Wed, 24 Jun 2015, Vinod Koul wrote:
On Tue, Jun 23, 2015 at 11:19:46PM +0200, Paul Osmialowski wrote:
Surpris
Hi Paul,
Thanks for your comments. I'll make it tristate.
On Wed, 24 Jun 2015, Paul Bolle wrote:
On Tue, 2015-06-23 at 23:19 +0200, Paul Osmialowski wrote:
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
+config PINCTRL_KINETIS
+ bool "Kinet
With this applied, you can do following:
$ cp kdbus-test daemon
$ cp kdbus-test send
Then run 'daemon' in one shell session:
$ ./daemon --bus test
...and 'send' in another:
$ ./send --bus test
Useful for testing features introduced by previous patches.
Signed-off-
(branch: kdbus-lsm-v4.for-systemd-v212)
commit: 103c26fd27d1ec8c32d85dd3d85681f936ac66fb
Signed-off-by: Karol Lewandowski
Signed-off-by: Paul Osmialowski
---
security/smack/smack_lsm.c | 68 ++
1 file changed, 68 insertions(+)
diff --git a/security/smack
-systemd-v212)
commit: a9fe4c33b6e5ab25a243e0590df406aabb6add12
Signed-off-by: Karol Lewandowski
Signed-off-by: Paul Moore
Signed-off-by: Paul Osmialowski
---
include/linux/lsm_hooks.h | 67 ++
include/linux/security.h | 99 +++
security
s connection to it.
This patch adds the missing ability to specify TEST_CREATE_CONN alone.
It will be used by a new test case (will be added by separate commit) which
is supposed to connect to already started test-daemon case.
Signed-off-by: Paul Osmialowski
---
tools/testing/selftests/kdbus/kd
Originates from:
https://github.com/lmctl/kdbus.git (branch: kdbus-lsm-v4.for-systemd-v212)
commit: aa0885489d19be92fa41c6f0a71df28763228a40
Signed-off-by: Karol Lewandowski
Signed-off-by: Paul Osmialowski
---
ipc/kdbus/bus.c| 12 ++-
ipc/kdbus/bus.h| 3 +++
ipc/kdbus
From: Karol Lewandowski
This is required for using filedesc related LSM hooks in kdbus code
if it is built as a module.
Signed-off-by: Karol Lewandowski
---
security/security.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/security.c b/security/security.c
index 595fffa..b1e935b
ges in almost
all of the test case files.
Signed-off-by: Karol Lewandowski
Signed-off-by: Paul Osmialowski
---
tools/testing/selftests/kdbus/Makefile | 1 +
tools/testing/selftests/kdbus/kdbus-test.c | 11 +++-
tools/testing/selftests/kdbus/kdbus-test.h | 1 +
tools/tes
ocess.
Karol Lewandowski (1):
lsm: make security_file_receive available for external modules
Paul Osmialowski (7):
lsm: smack: Make ipc/kdbus includes visible so smack callbacks could
see them
lsm: kdbus security hooks
lsm: smack: smack callbacks for kdbus security hooks
kdbus: us
Signed-off-by: Paul Osmialowski
---
security/smack/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/security/smack/Makefile b/security/smack/Makefile
index ee2ebd5..bd6927c 100644
--- a/security/smack/Makefile
+++ b/security/smack/Makefile
@@ -6,3 +6,5 @@ obj
Returning EPERM can be misleading.
From 9c37667302f104e0f412ba2727c4d3df81fb59da Mon Sep 17 00:00:00 2001
From: Paul Osmialowski
Date: Tue, 26 May 2015 12:00:33 +0200
Subject: [RFC 5/8] kdbus: use LSM hooks in kdbus code
Originates from:
https://github.com/lmctl/kdbus.git (branch: kdbus-lsm-v4.for-sy
Hi Greg,
Thanks for your comments,
On Wed, 8 Jul 2015, Greg Kroah-Hartman wrote:
Why not create symlinks automatically so this works without having to
manually run 'cp'?
It can be anything on which one can apply security label. Symlinks can do.
But really, is spelling out the command line
On Thu, 9 Jul 2015, Sergei Zviagintsev wrote:
Hi,
On Wed, Jul 08, 2015 at 02:12:03PM +0200, Paul Osmialowski wrote:
[...]
+ ret = security_kdbus_bus_alloc(b);
+ if (ret) {
+ goto exit_unref;
+ }
checkpatch.pl will complain about this
It should but it
(cover as much subsystems as
possible) and then at some stage switch to intensive approach. This board
is a somewhat huge monster (for a Cortex-M4 SoC) and there will be a lot
of coding opportunity in this field in the future.
Thanks,
Paul
On Tue, 28 Jul 2015, Michael Turquette wrote:
> Quo
ote that fec (ethernet device) driver is connected directly to osc0
(though clock gate, you can see this CG attached to osc0 on the diagram
too) - to control this gate I need to access SIM device registers, so it
should be covered by the same fsl,kinetis-sim driver.
On Wed, 29 Jul 2015, Michael Tu
ma-names = "rx";
status = "disabled";
};
};
};
As you can see, mcg part is not required anymore.
I guess that the approach above would require split into soc-specific and
board-specific part (as I said, dividers arrangement is s
This humble patch for linux-next is a first small step towards further attempts
to add LSM hooks for kdbus. In order to implement useful callbacks within given
LSM (SMACK, SELinux) knowledge about kdbus structures defined in these headers
must be easily accessible. Therefore these headers must be
These headers are required to implement LSM hooks for kdbus
and possibly other things that might deal with kdbus.
Signed-off-by: Paul Osmialowski
---
include/linux/kdbus/bus.h| 101 +++
include/linux/kdbus/connection.h | 257 +++
include
Hi,
First of all, I'm sorry for this no-subject covering letter. Accidents
never happen only in a perfect world.
On Wed, 25 Mar 2015, David Herrmann wrote:
I'd prefer if we only move the required structure definitions into a
separate header. There is no reason to export all internal entry
p
ecomes stable.
Signed-off-by: Paul Osmialowski
---
drivers/mmc/host/sdhci-s3c.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index c45b893..115f556 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhc
On Mon, 19 Jan 2015, Mark Brown wrote:
On Mon, Jan 19, 2015 at 10:31:22AM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
What I'm saying is that I want to understand this change from a point of
view that isn't tied to I2C - at the regmap level what is
RAM memory, controlled
by Bit 29 in the Vector Table Base register. This implies
that the OS vector table needs to be copied to the internal RAM.
New option CONFIG_COPY_VECTOR_TABLE_TO_SRAM_ADDR allows specification
of the desired destination for the OS vector table.
Signed-off-by: Paul Osmialowski
This one was inspired by a serie of commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
Entry commit: f014da1df860ad702d923c95cb97e068bd302cb0
RT75957. twr-k70f120m: basic support
by: Alexander Potashev
Signed-off-by: Paul Osmialowski
: Paul Osmialowski
---
.../devicetree/bindings/serial/fsl-lpuart.txt | 6 +-
drivers/tty/serial/fsl_lpuart.c| 90 ++
2 files changed, 80 insertions(+), 16 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
b/Documentation
Note that enabling tx DMA resulted in messy output, so I didn't configure
it in the .dts file - however nothing in the code prevents one from doing
so. Also note that original reference UART driver from Emcraft did not
implement tx DMA at all.
Signed-off-by: Paul Osmialowski
---
arch/arm
Based on legacy pre-OF code by Alexander Potashev
Signed-off-by: Paul Osmialowski
---
.../bindings/timer/fsl,kinetis-pit-timer.txt | 50
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/kinetis-twr-k70f120m.dts | 4 +
arch/arm/boot/dts
This is a very cheap and simple implementation of pinctrl driver
for Kinetis SoC - its primary role is to provide means for enabling UART
fuctionality on I/O PORT_E which will be utilized by the commits
yet to come.
Signed-off-by: Paul Osmialowski
---
.../bindings/pinctrl/fsl,kinetis
Surprisingly small amount of work was required in order to extend already
existing eDMA driver with the support for Kinetis SoC architecture.
Signed-off-by: Paul Osmialowski
---
Documentation/devicetree/bindings/dma/fsl-edma.txt | 38 ++-
drivers/dma/fsl-edma.c
Based on K70P256M150SF3RM.pdf K70 Sub-Family Reference Manual, Rev. 3.
Signed-off-by: Paul Osmialowski
---
.../devicetree/bindings/clock/kinetis-clock.txt| 63 +++
arch/arm/boot/dts/kinetis.dtsi | 36 ++
drivers/clk/Makefile | 1
Note that is needed (which is denoted by
CONFIG_NEED_MACH_MEMORY_H) as it provides macros required for proper
operation of DMA allocation functions.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig| 4 ++
arch/arm/boot/dts/kinetis.dtsi | 34
all occurences of CONFIG_ARCH_KINETIS from fsl-edma.c - now it
looks more like fsl-lpuart driver (boolean 'kinetis' field in the main
driver structure).
Paul Osmialowski (9):
arm: allow copying of vector table to internal SRAM memory
arm: twr-k70f120m: basic support for Kinetis
1 - 100 of 126 matches
Mail list logo