Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
83089c8f
Commit
83089c8f
authored
Feb 06, 2023
by
Heiko Carstens
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into features
Signed-off-by:
Heiko Carstens
<
hca@linux.ibm.com
>
parents
6bddf115
7ab41c2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
arch/s390/boot/decompressor.c
arch/s390/boot/decompressor.c
+1
-1
drivers/watchdog/diag288_wdt.c
drivers/watchdog/diag288_wdt.c
+12
-3
No files found.
arch/s390/boot/decompressor.c
View file @
83089c8f
...
...
@@ -81,6 +81,6 @@ void *decompress_kernel(void)
void
*
output
=
(
void
*
)
decompress_offset
;
__decompress
(
_compressed_start
,
_compressed_end
-
_compressed_start
,
NULL
,
NULL
,
output
,
0
,
NULL
,
error
);
NULL
,
NULL
,
output
,
vmlinux
.
image_size
,
NULL
,
error
);
return
output
;
}
drivers/watchdog/diag288_wdt.c
View file @
83089c8f
...
...
@@ -86,7 +86,7 @@ static int __diag288(unsigned int func, unsigned int timeout,
"1:
\n
"
EX_TABLE
(
0
b
,
1
b
)
:
"+d"
(
err
)
:
"d"
(
__func
),
"d"
(
__timeout
),
"d"
(
__action
),
"d"
(
__len
)
:
"1"
,
"cc"
);
"d"
(
__action
),
"d"
(
__len
)
:
"1"
,
"cc"
,
"memory"
);
return
err
;
}
...
...
@@ -268,12 +268,21 @@ static int __init diag288_init(void)
char
ebc_begin
[]
=
{
194
,
197
,
199
,
201
,
213
};
char
*
ebc_cmd
;
watchdog_set_nowayout
(
&
wdt_dev
,
nowayout_info
);
if
(
MACHINE_IS_VM
)
{
if
(
__diag288_vm
(
WDT_FUNC_INIT
,
15
,
ebc_begin
,
sizeof
(
ebc_begin
))
!=
0
)
{
ebc_cmd
=
kmalloc
(
sizeof
(
ebc_begin
),
GFP_KERNEL
);
if
(
!
ebc_cmd
)
{
pr_err
(
"The watchdog cannot be initialized
\n
"
);
return
-
ENOMEM
;
}
memcpy
(
ebc_cmd
,
ebc_begin
,
sizeof
(
ebc_begin
));
ret
=
__diag288_vm
(
WDT_FUNC_INIT
,
15
,
ebc_cmd
,
sizeof
(
ebc_begin
));
kfree
(
ebc_cmd
);
if
(
ret
!=
0
)
{
pr_err
(
"The watchdog cannot be initialized
\n
"
);
return
-
EINVAL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment